2014/09/06分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fix for inflector's incorrect camelCase replacement for acronyms
activesupport/lib/active_support/inflector/methods.rb
の修正です。
Inflector#underscore
メソッドで、頭文字の変換処理にバグがあったのを修正した、らしいのですが…。良く解らない…。
Merge pull request #14911 from estsauver/14908
actionpack/lib/action_dispatch/testing/assertions/routing.rb
の修正です。
assert_routing
メソッドは引数に出力するエラーメッセージを渡せるのですが、そのエラーメッセージが正しく出力されてなかったバグを修正しています。
Message doesn't need to be optional
actionpack/lib/action_dispatch/testing/assertions/routing.rb
の修正です。
fail_on
メソッドのmessage
引数を必須引数にしています。渡し忘れを防ぐ為ですかね。
Add test to assert_recognizes with custom message
actionpack/test/dispatch/routing_assertions_test.rb
の修正です。
assert_recognizes
メソッドにカスタムメッセージを設定した際のテストを追加しています。
actionpack/lib/action_dispatch/testing/assertions/routing.rb
の修正です。
不要なスペースの削除を行っています。
Added enable_extension! to helper
ActiveRecordのテストの修正です。
extensionの有効化処理をメソッドに切り出しています。
Do not mark object as persisted after an association is saved
Don't save through records twiceをrevertしています。
ActiveRecordのcallbackに関する修正だったのですが、元々の挙動はdocにも名言されている正式な仕様という事で、revertしたようです。
Remove CHANGELOG entry [ci skip]
activerecord/CHANGELOG.md
の修正です。
上記revertしたコミットについて、CHANGELOGから削除しています。
Add TODO to release the gems before the next Rails release
Gemfile
の修正です。
TODOをGemfileに記述しています。
+# TODO: Release this gem gem 'jquery-rails', github: 'rails/jquery-rails', branch: 'master' gem 'coffee-rails', '~> 4.0.0' +# TODO: Release this gem gem 'rails-html-sanitizer', github: 'rails/rails-html-sanitizer' +# TODO: Release this gem gem 'rails-deprecated_sanitizer', github: 'rails/rails-deprecated_sanitizer' +# TODO: Release this gem +gem 'rails-dom-testing', github: 'rails/rails-dom-testing'
リリースしなくてはならないgemのメモですね。
Use the released jquery-rails gem
Gemfile
、railties/lib/rails/generators/app_base.rb
の修正です。
jquery-rails
について、リリースしたgemを使用するよう修正しています。
Dependencies: bump to jquery-rails 4.0.0.beta2
もう一回Gemfile
、railties/lib/rails/generators/app_base.rb
の修正です。
jquery-rails
のバージョンをbeta1 -> beta2に修正しています。
beta1リリースしてから2h後にbeta2がリリースされているようです。差分みる感じだと、rails-dom-testingについてのパッチが追加されているようです。
fix the undefined method content_tag #15245
actionview/lib/action_view/helpers/translation_helper.rb
の修正です。
TagHelper
のincudeを追加しています。内部でcontent_tag
メソッドを使用しているのに、includeが無くてエラーになっていた為、対応しています。
Deprecate implicit AD::Response splatting and Array conversion
actionpack/lib/action_dispatch/http/response.rb
の修正です。
Response#to_ary
メソッドがDeprecateになっています。
status, headers, body = response
こう書いていたのを、
status, header, body = *response
こう修正する必要があるとの事です。
元々のto_ary
メソッドの振る舞いが良くない為、Deprecateにしたようです。"Nonsense behavior"というに言ってますねえ。
Dynamically modified schema and association would not be correctly reset
activerecord/test/cases/locking_test.rb
の修正です。
test_destroy_dependents
のテストでエラーになっていたのを対応しています。
そもそも、associationの設定の仕方に誤りがあったような…。