2020/06/30分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Remove unnecessary rescue from safe_constantize
activesupport/lib/active_support/inflector/methods.rb
の修正です。
safe_constantize
からArgumentError
のrescueを削除しています。[better error message for constants autoloaded from anonymous modules f…の対応により不要になった為。
Modified the note to include [ci skip] in pull request title instead of commit message.
rails guideのContributing to Ruby on Rails
の修正です。
Contributing to the Rails Documentation
の項にあるCIをスキップする方法の説明に、コミットメッセージに[ci skip]
を入れる旨説明が記載されていたのを、PRのタイトルに[ci skip]
を入れるよう説明を修正しています。
BuildkiteだとPRのタイトルに入れる必要がある為。
Use URI::DEFAULT_PARSER rather than instantiate a new one
Active Supportの修正です。
Railsで独自に定義しているURI.parser
をdeprecatedにしています。今後は、URI::DEFAULT_PARSER
を使用する必要がある。
URI.parser
だと、毎回新しいインスタンスを生成してしまう、かつ、そもそもRails内部のURI.parser
は古いRubyへの互換性の為に追加されたメソッドで、独自に定義する必要はもう無いため。
Merge pull request #39671 from hahmed/railties/speed-up-test-skip-webpack-install
railties/test/generators/app_generator_test.rb
の修正です。
test_skip_webpack_install
でbundle
の実行をstubするよう修正、及び、グローバルのRailsコマンドを使用しないよう修正しています。
Remove redundant Exclude in .rubocop.yml
.rubocop.yml
の修正です。
.rubocop.yml
でExcludeの指定が重複している箇所があったのを削除しています。
Add tests for loaded pluck and pick with alias
activerecord/test/cases/calculations_test.rb
の修正です。
load済みのrelationに対して、aliasをpluckとpickに指定した場合のテストを追加しています。
Fix yaml_compatibility_fixtures/rails_v1_mysql.yml
's structure
activerecord/test/support/yaml_compatibility_fixtures/rails_v1_mysql.yml
の修正です。
v1 YAMLのテスト用ファイルに、v1のときには存在しないattributeが含まれていたのを削除しています。