2021/08/11分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Move require_dependencies suite to the one for dependencies
Active Supportの修正です。
Deletes the classic implementation of require_dependencyの対応で不要になった処理の削除、及び、require_dependency
のテストがrailtiesにあったのをActive Supportに移動しています。require_dependency
の挙動がapplicationの設定に依存しなくなった為。
Merge pull request #42987 from entretechno/simplify-pluck-value-first-to-pick-value
activerecord/lib/active_record/internal_metadata.rb
の修正です。
pluck
+ first
していた箇所を、pick
を使用するよう修正しています。
activesupport/test/dependencies_test.rb
の修正です。
rubocopの設定に違反している箇所があったのを修正しています。
Set record_timestamps = true in AR::InternalMetadata
activerecord/lib/active_record/internal_metadata.rb
の修正です。
ActiveRecord::InternalMetadata
でconfig.active_record.record_timestamps
の設定にかからわず必ずtimestampの設定を行うよう修正しています。timestampの設定をしないとエラーになる(ar_internal_metadata
とtimestamp系のカラムがnot-nullになっている)為。
Merge pull request #42988 from abhaynikam/fix-active-storage-test-warnings
Active Storageのテストの修正です。
テスト実行時にdeprecate warningsが出力されていたのを出力されないよう修正しています。
Stop trying to configure listen by default on compatible platforms (#42985)
railtiesの修正です。
listen
gemに関する各オプション、設定を削除しています。現在のスペックのPCでは、evented file update watcherを使うメリットはそんなにない(pollingでそれなりに速度がでる)だろう、という主張により対応が行われています。
Legacy option from the days of Bundler opposition (#42996)
railtiesの修正です。
rails new
からskip_gemfile
オプションを削除しています。現在の開発において、このオプションを使う(Gemfile無しにする)事は無いだろう、との理由です。
Puma is the only option used for the web server (#42998)
railtiesの修正です。
rails new
からskip_puma
オプションを削除しています。Railsとしては、web serverの選択肢としてはPumaのみを提供している為、スキップする為の機能は不要だろう、という理由です。
Remove test and docs of now gone --skip-puma
rails guideのThe Rails Command Line
の修正です。
--skip-puma
オプションに関する説明が残っていたのを削除しています。