2016/12/31分のコミットです。
CHANGELOGへの追加はありませんでした。
Remove needless ActiveSupport::Deprecation.silence
railties/lib/rails/commands/rake/rake_command.rb
の修正です。
rake_tasks
メソッドでrequire_application_and_environment!
メソッドを呼び出す際に、ActiveSupport::Deprecation.silence
を使用してdeprecationを表示しないようにしていたのを、ActiveSupport::Deprecation.silence
を削除しています。require_application_and_environment!
メソッドの呼び出しでdeprecationメッセージが表示される事が無くなった為。
Allow log remote ip addres when config.action_dispatch.trusted_proxies passed
railties/lib/rails/application/default_middleware_stack.rb
の修正です。
ActionDispatch::RemoteIp
middlewareをRails::Rack::Logger
より先にuseするよう修正しています。
loggerでproxryを使用している場合にもrequest_id
が正しく表示されるようにする為に、ActionDispatch::RemoteIp
を先にuseするようにしたとの事です。
Enforce middleware ordering with a test, instead of comments
railties/test/application/middleware_test.rb
の修正です。
middlewareの読み込み順が想定通りになっているか確認する為のテストを追加しています。
Mark internal cache constants as private
activerecord/lib/active_record/relation/delegation.rb
の修正です。
Rails内部用の定数をの可視性をprivateに変更しています。
Add missing word in activerecord/CHANGELOG.md
activerecord/CHANGELOG.md
の修正です。
CHANGELOGエントリーのグラマーの修正を行っています。
Only add regexes for the new words
activesupport/lib/active_support/inflector/inflections.rb
の修正です。
ActiveSupport::Inflector::Inflections::Uncountables#add
メソッドでwordを登録する度に登録済みのwordsに対しても再度正規表現を追加しなおしていたのを、#add
で追加されたwordのみ正規表現を登録するよう修正しています。
Prefer Regexp#match? over Regexp#===
activesupport/lib/active_support/inflector/inflections.rb
の修正です。
Regexp#===
メソッドの代わりにRegexp#match?
メソッドを使用するよう修正しています。
Merge pull request #12509 from eitoball/pluralize_for_non_ascii_character_words
activesupport/test/inflector_test.rb
の修正です。
ActiveSupport::Inflector.pluralize
メソッドにnon-ASCIIの値を指定した場合のテストを追加しています。
remove skip_bundle
option from plugin generator
railties/lib/rails/generators/app_base.rb
、
railties/lib/rails/generators/rails/app/app_generator.rb
の修正です。
plugin generatorからskip_bundle
オプションを削除しています。
Do not run `bundle install` when generating a new pluginの対応によりオプションの指定のあるなしに関わらずbundle install
は実行されなくなり、オプションの意味が無い為。
license yearsを2017に更新しています。