Package: ruby-multimap / 1.1.2+gh-2

Metadata

Package Version Patches format
ruby-multimap 1.1.2+gh-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fixnum_string.patch | (download)

spec/multiset_spec.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 wrong argument type fixnum
fix_syntax_for_shared_examples.patch | (download)

spec/enumerable_examples.rb | 2 1 + 1 - 0 !
spec/hash_examples.rb | 2 1 + 1 - 0 !
spec/set_examples.rb | 4 2 + 2 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 fix syntax of rspec shared examples groups
 to make it work with recent versions of RSpec
ruby22.patch | (download)

ext/nested_multimap_ext.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 [patch] multimap would not compile in ruby 2.2

Per https://github.com/ruby/ruby/commit/8250aa2df0d6b4dcfa11dbad5307d28c2d5dd85f, RHASH is no longer provided by ruby.h.  Looks like multimap just needed an RHASH_IFNONE check anyways, so I've replaced it with that macro, which is available, and defined it to what it was prior to ruby 2.2 if it is not available.

Note that RHASH_IFNONE is deprecated, so this is just kicking the can
down the road a bit.