2022/06/23分のコミットです。
CHANGELOGへの追加はありませんでした。
Tweak MessageVerifier :urlsafe option doc [ci-skip]
activesupport/lib/active_support/message_verifier.rb
のdocの修正です。
ActiveSupport::MessageVerifier
のdoc内の:urlsafe
オプションについての説明について、フォーマット、グラマーの修正等を行っています。
Merge pull request #45424 from shouichi/remove-padding-from-urlsafe-message-verifier
activesupport/lib/active_support/message_verifier.rb
の修正です。
ActiveSupport::MessageVerifier
でurlsafeな値を生成する際に、urlunsafeな=
が含まれてしまう事があったのを修正しています。
activerecord/test/cases/migration/foreign_key_test.rb
、
activerecord/test/cases/schema_dumper_test.rb
の修正です。
in-memory DBかどうかをチェックするのに、ヘルパーメソッドを使用するよう修正しています。
Fix wrong sample code about allow_deprecated_singular_associations_name [skip ci]
rails guideのConfiguring Rails Applications
の修正です。
config.active_record.allow_deprecated_singular_associations_name
の項にあるexampleコードが、allow_deprecated_singular_associations_name
の値に影響の無いexampleになっていたのを修正しています。
Fix CollectionProxy#load_async
activerecord/lib/active_record/associations/collection_proxy.rb
、
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
の修正です。
associationsに対するload_async
が正しく動作していなかったのを修正しています。
.github/workflows/rubocop.yml
の修正です。
Rubocopを実行するRubyのバージョンをRubyの最新バージョンに更新しています。
activesupport/lib/active_support/testing/method_call_assertions.rb
の修正です。
minitest 5.16がMock#expect
でキーワード引数を受け取るようになったのに合わせて、assert_called_with
でキーワード引数を扱えるよう修正、及び、各テストのassert_called_with
の呼び出し処理キーワード引数を使用するよう修正しています。
Pass deseriallized defaults when copying tables in sqlite3
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
の修正です。
sqlite3のtable copy処理で、default
の指定が正しく引き継がれないバグがあったのを修正しています。