2020/05/08分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fix assert{enqueued,performed}with doc examples [ci skip]
activejob/lib/active_job/test_helper.rbのdocの修正です。
assert_enqueued_with / assert_performed_withのdoc内にあるexampleで、jobに指定する引数とassertionに指定する引数が一致してなかったのを修正しています。
Link between configuration.md and cache_store documentation [ci skip]
rails guideのConfiguring Rails Applicationsの修正です。
config.cache_storeについて説明している箇所に、オプションに指定出来る値についてのdocへのリンク(Cache Stores guide)を追加しています。
Support procs for assert{enqueued,performed}with
activejob/lib/active_job/test_helper.rb、
activejob/test/cases/test_helper_test.rbの修正です。
assert_enqueued_with / assert_performed_withのdoc内にargs引数にProcが指定出来る旨説明を追加、及び、Procを指定した場合のテストを追加しています。
Merge pull request #39001 from jonathanhefner/test-runner-recognize-windows-paths
railties/lib/rails/test_unit/runner.rbの修正です。
test runnerのpath match処理が、Windowsでも動作するよう修正しています。
Make Active Storage update migrations reversible
activestorage/db/update_migrate/20190112182829_add_service_name_to_active_storage_blobs.rb、
activestorage/db/update_migrate/20191206030411_create_active_storage_variant_records.rbの修正です。
Active Storageのupdate用migirationをrollback出来るよう対応しています。
remove_foreign_key doesn't care :validate option if database has no feature
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb、
activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rbの修正です。
MySQL adapterで、add_foreign_keyにvalidateオプションを指定した場合に、ArgumentErrorが発生してしまうリグレッションが起こっていたのを修正しています。
Add config.generators.after_generate for processing to generated files
railtiesの修正です。
generatorsで生成したファイルに対して処理を行えるようにする為の、config.generators.after_generate callbackを追加しています。
activemodel/lib/active_model/attribute_methods.rbの修正です。
undefine_attribute_methodsでメソッドを未定義にするのに、メソッド毎にundef_methodを呼び出していたのを、一度のundef_methodでまとめて未定義にするよう修正しています。