2022/08/01分のコミットです。
CHANGELOGへの追加はありませんでした。
TaggedLogging preserves formatter methods
activesupport/lib/active_support/tagged_logging.rb
の修正です。
TaggedLogging
でformatter classが保持しているメソッドを使用出来るよう修正しています。
Merge pull request #45708 from jonathanhefner/encrypted-config-tmp-path-with-spaces
railtiesの修正です。
encrypted commadでfile pathにスペースを含むpathを指定出来るよう修正しています。
Merge pull request #45664 from sambostock/teach-active-job-to-set-configs-on-itself
activejob/lib/active_job/railtie.rb
、
railties/lib/rails/application/configuration.rb
の修正です。
railtiesのconfigで指定したActive Job用のconfigがActive Job側で正しく設定されていない事があったのを修正しています。
RedisCacheStore: remove unused mget_capable? flag
activesupport/lib/active_support/cache/redis_cache_store.rb
の修正です。
使用していないmget_capable?
flagを削除しています。
RedisCacheStore: avoid monkey patching redis
activesupport/lib/active_support/cache/redis_cache_store.rb
の修正です。
yield self
を返すだけのwith
メソッドを独自に定義していたのを、Ruby本体のthen
メソッドを使用するよう修正しています。
RedisCacheStore: get rid of the Redis::Distributed check
activesupport/lib/active_support/cache/redis_cache_store.rb
の修正です。
Redis::Distributed
のチェック処理を削除しています。代わりに、pipeliningをサポートしているかどうかを実際のコマンド実行時に行うよう修正しています。
Refactor ExtendedDeterministicQueries to not mutate the arguments
activerecord/lib/active_record/encryption/extended_deterministic_queries.rb
の修正です。
ExtendedDeterministicQueries
での処理で、引数自体を変更していたのを、引数自体の値は変更しないようリファクタリングしています。
Optimize increment and decrement for RedisCacheStore
activesupport/lib/active_support/cache/redis_cache_store.rb
の修正です。
RedisCacheStore
のincrement
/decrement
処理で、Redisのリクエスト回数を減らすようリファクタリングしています。