2014/07/13分のコミットです。
CHANGELOGへの追加はありませんでした。
Don't construct a Proc if no block is given
activesupport/lib/active_support/core_ext/hash/transform_values.rb
の修正です。
Hash#transform_values
メソッドで引数のブロックが必須で無くなっています。次のコミットに続く。
Return an Enumerator if no block is given
引き続きactivesupport/lib/active_support/core_ext/hash/transform_values.rb
の修正です。
Hash#transform_values
とHash#transform_values!
メソッドで、引数にブロックが指定されたなかった場合、Enumeratorクラスがreturnされるよう修正しています。
Fix tests broken in https://github.com/rails/rails/pull/16149
activesupport/test/core_ext/hash/transform_keys_test.rb
の修正です。
上のコミットの対応で壊れてしまったテストがあるので、その修正を行っています。