diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-12-28 12:00:42 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-12-28 12:00:42 +0000 |
commit | 7ff7c1bd622b3f3f5d7ba21240fb2a1f3e3a3002 (patch) | |
tree | 3d747278043fe4bc053d6c2bbeef598cf4be3da9 /dev-ruby/multi_xml/files | |
parent | version bump. (diff) | |
download | gentoo-2-7ff7c1bd622b3f3f5d7ba21240fb2a1f3e3a3002.tar.gz gentoo-2-7ff7c1bd622b3f3f5d7ba21240fb2a1f3e3a3002.tar.bz2 gentoo-2-7ff7c1bd622b3f3f5d7ba21240fb2a1f3e3a3002.zip |
Version bump. Add ruby19 and fix tests for it.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/multi_xml/files')
-rw-r--r-- | dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch b/dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch new file mode 100644 index 000000000000..1a556b630176 --- /dev/null +++ b/dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch @@ -0,0 +1,15 @@ +Ruby 1.9.3 no longer makes a long number a BigDecimal, it seems. + +https://github.com/sferik/multi_xml/issues/18 + +--- spec/parser_shared_example.rb.~1~ 2011-12-28 12:54:08.770134726 +0100 ++++ spec/parser_shared_example.rb 2011-12-28 12:54:55.186385918 +0100 +@@ -302,7 +302,7 @@ + end + + it "should return the correct number" do +- MultiXml.parse(@xml)['tag'].should == 3.14159265358979323846264338327950288419716939937510 ++ MultiXml.parse(@xml)['tag'].should == BigDecimal.new('3.14159265358979323846264338327950288419716939937510') + end + end + |