2021/04/21分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #41897 from ricardotk002/allow-parallel-tests-to-fail-fast
activesupport/lib/active_support/testing/parallelization/server.rb
、
activesupport/lib/active_support/testing/parallelization/worker.rb
の修正です。
parallel testを使用している場合に、testの--fail-fast
オプションが動作しなバグがあったのを修正しています。
Merge pull request #42015 from Shopify/refactor-inheritance-column
activerecord/lib/active_record/model_schema.rb
の修正です。
ModelSchema.inheritance_column
をclass attributeで保持するようリファクタリングしています。
Merge pull request #42014 from Shopify/local-cache-rafactor-take-2
activesupport/lib/active_support/cache.rb
、
activesupport/lib/active_support/cache/strategy/local_cache.rb
の修正です。
LocalCache
について、Marshal.dump
の呼び出し回数を減らすようリファクタリングしています。Refactor LocalCache to avoid calling Marshal.dump as muchのリトライ。
Merge pull request #41999 from jhawthorn/resolver_glob_cleanup
actionview/lib/action_view/template/resolver.rb
、
actionview/lib/action_view/testing/resolvers.rb
の修正です。
templateのglobとcheck処理を一緒のタイミングで行うよう修正してます。path参照時にreject処理をしないで済むようにする為。
Merge pull request #41997 from jhawthorn/unbound_template_details
actionview/lib/action_view/template/resolver.rb
、
actionview/lib/action_view/unbound_template.rb
の修正です。
Resolver/UnboundTemplateのパース済みのdetailsデータのハンドリング処理をリファクタリングしています。別途UnboundTemplatesの性能改善対応を行っており、その準備の為。
Perform details matching on UnboundTemplates
Action Viewの修正です。
template's pathのparse処理を一度だけで済むようリファクタリングしています。
Merge pull request #42011 from siaw23/improve-webpacker-documntation
rails guideのWebpacker
の修正です。
各箇所のグラマー、言い回しの修正を行っています。
Merge pull request #42027 from aidanharan/annotation-test-sqlserver
activerecord/test/cases/annotate_test.rb
の修正です。
annotateのtestがSQL Server adapterでも通るよう修正しています。
Replace SecureRandom.random_bytes by Random.bytes in cache store tests
activesupport/test/cache/behaviors/cache_store_behavior.rb
の修正です。
cache storeのテストでSecureRandom.random_bytes
を使用していたのをRandom.byte
を使用するよう修正しています。/dev/urandom
が使用しすぎてエントロピープールが枯渇するのを避ける為。