[DRE-commits] [ruby-multimap] 01/04: added patch to fix spec error

Jonas Genannt jonas at brachium-system.net
Mon Mar 10 13:15:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

hggh-guest pushed a commit to branch master
in repository ruby-multimap.

commit c9e4bebd2667914f5400455b5dafc16daf1940a7
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Mon Mar 10 14:12:21 2014 +0100

    added patch to fix spec error
---
 debian/patches/fixnum_string.patch | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/fixnum_string.patch b/debian/patches/fixnum_string.patch
new file mode 100644
index 0000000..e8a1bbc
--- /dev/null
+++ b/debian/patches/fixnum_string.patch
@@ -0,0 +1,16 @@
+Author: Jonas Genannt <jonas.genannt at capi2name.de>
+Description: wrong argument type Fixnum
+Forwarded: yes
+Bug: https://github.com/josh/multimap/pull/5
+
+--- a/spec/multiset_spec.rb
++++ b/spec/multiset_spec.rb
+@@ -160,7 +160,7 @@ describe Multiset do
+   it "should dump yaml" do
+     require 'yaml'
+ 
+-    set = Multiset[1, 2, 3, 4, 5]
++    set = Multiset[1, 2, 3, 4, 5].to_s
+     data = YAML.dump(set)
+     YAML.load(data).should eql(set)
+   end
diff --git a/debian/patches/series b/debian/patches/series
index a4ce9e5..0b18170 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fixnum_string.patch
 fix_syntax_for_shared_examples.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-multimap.git



More information about the Pkg-ruby-extras-commits mailing list