[ruby-cvs:70018] naruse:r62889 (ruby_2_5): merge revision(s) 62042, 62044: [Backport #14380]

naruse at ruby-lang.org naruse at ruby-lang.org
Thu Mar 22 16:00:17 JST 2018


naruse	2018-03-22 16:00:17 +0900 (Thu, 22 Mar 2018)

  New Revision: 62889

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62889

  Log:
    merge revision(s) 62042,62044: [Backport #14380]
    
    hash.c: support key swapping in Hash#transform_keys!
    
    * hash.c (rb_hash_transform_keys_bang): support key swapping in
      Hash#transform_keys!
      [Bug #14380] [ruby-core:84951]
    
    * test/ruby/test_hash.rb (test_transform_keys_bang):
      add assertions for this change
    
    Fix rubyspec against the change in Hash#transform_keys!
    
    [Bug #14380] [ruby-core:84951]

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/hash.c
    branches/ruby_2_5/spec/ruby/core/hash/transform_keys_spec.rb
    branches/ruby_2_5/test/ruby/test_hash.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list