2019/05/24分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activestorage/CHANGELOG.md
Bump Gemfile entry jbuilder version
railties/lib/rails/generators/app_base.rbの修正です。
rails newで新規に作成するGemfile内のjbuilderのバージョン指定を~> 2.5から~> 2.7に修正しています。jbuilder 2.6.4以降でRails 6をサポートしており、2.5系だとインストールに失敗してしまう為。
Add :allow_nil option to delegate_missing_to; use in ActiveStorage
activestorage/lib/active_storage/attached/one.rb、
activesupport/lib/active_support/core_ext/module/delegation.rbの修正です。
まず、delegate_missing_toメソッドにallow_nilオプションを追加しています。allow_nilが指定されている場合、delegate先のObjectがnilの場合にDelegationErrorをraiseする代わりにnilを返すようになります。
合わせて、Active Storageのsingular attachmentでこのオプションを指定するようにして、attachmentが指定されてない場合にメソッドを使用した場合に、エラーがraiseされないようにしています。
Delete evented_file_update_checker existing_parent
activesupport/lib/active_support/evented_file_update_checker.rbの修正です。
使用していないEventedFileUpdateChecker#existing_parentメソッドを削除しています。
Merge pull request #36323 from jhawthorn/cache_expiry_mutex
actionview/lib/action_view/cache_expiry.rbの修正です。
Action Viewのcacheの削除処理をmutexで囲むよう修正しています。複数のリクエストで同時に処理が実行された場合に、エラーになってしまうのを防ぐ為。