2023/08/05分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fix NoMethodError when request Content-Type is blank.
actionpack/lib/action_dispatch/http/mime_type.rb
の修正です。
requestのContent-Type headerが空の場合に、mimeの取得処理でNoMethodError
がraiseしてしまうバグがあったのを修正しています。
Rename fixture_file_upload
method to file_fixture_upload
actionpack/lib/action_dispatch/testing/test_process.rb
の修正です。
fixture_file_upload
をfile_fixture_upload
にリネームしています。file fixtureを参照するメソッド名がfile_fixture
になっている、pathを設定するconfig名もfile_fixture_path
になっていることから、file_fixture
から始まる名前の方が一貫性があるのでは、という事で変更されています。互換性の為に古いメソッドも使えるままになっています。
Action Mailer Preview empty states
railtiesの修正です。
mailerがある、かつ、そのmailerに対するpreviewが1つも無い状態で、/rails/mailers
にアクセスした場合に空のbody
タグを返していたのを、previewが1つも無い状態である旨メッセージを表示するよう修正しています。
Make sure nested base errors are translatable
activemodel/lib/active_model/error.rb
の修正です。
errorのattributeにbase
が含まれている場合に、エラーメッセージのtranslation処理でそのbase
が無視されてしまっていたのを修正しています。
Merge pull request #48883 from zzak/welcome-logo-overflow-bug
railties/lib/rails/templates/rails/welcome/index.html.erb
の修正です。
welcome pageのlogo用のcssからoverflow:hidden
を削除しています。この指定があるとSafariでborderが正しく表示されなくなってしまう為。
Link to the API and let the documentation generator point to edge
rails guideのTesting Rails Applications
の修正です。
API docのリンク先がedgeのdocになっていたのを修正しています。
Merge pull request #48718 from alexandreruban/mirror-job
activestorage/app/models/active_storage/blob.rb
、
activestorage/lib/active_storage/service/mirror_service.rb
の修正です。
Active Storageのmirror upload処理がinlineで行われてしまってしたのを、非同期のjob処理で行うよう修正しています。
Allow setting number of parallel workers to 1
activesupport/lib/active_support/test_case.rb
、
activesupport/lib/active_support/testing/parallelize_executor.rb
の修正です。
テストをparallelで実行する為のworkerの数の指定に、1を指定出来るよう修正しています。parallelizationが有効になっているがparallelに実行出来ないテストファイルがある場合に、強制的にworkerを1に出来るようにする為。
Set the variable to false instead of checking if it is defined
activesupport/lib/active_support/testing/parallelize_executor.rb
の修正です。
クラス内で使用しているインスタンス変数の初期値の設定を、クラスの初期化時に行うよう修正しています。
Don't run memcache tests in parallel
activesupport/test/cache/stores/mem_cache_store_test.rb
の修正です。
memcacheのテストをparallelに実行しないよう修正しています。テストの後処理でcacheのclear処理を行っており、parallelに実行するとランダムにfailしてしまう為。
Don't pring parallelization info when running in a single process
activesupport/lib/active_support/testing/parallelize_executor.rb
の修正です。
workerが1つしか使用されていない場合は、不要なparallelizationに関するログを出力しないよう修正しています。
yarn.lock
の修正です。
yarn.lock
を最新の状態に更新しています。