2019/12/17分のコミットです。
CHANGELOGへの追加はありませんでした。
Load framework test files in deterministic order
各コンポーネントでテストファイルをロードする際に、Dir.glob
を使用していたのをRake::FileList
を使用するよう修正しています。
Dir.glob
だと環境によってファイルリストの結果が異なる、かつ、それがCIと異なっているとローカルで失敗したテストを再現しようとした場合に問題になる(同じseedでも同じテストが実行されない可能性がある)為。
Merge pull request #35085 from vinistock/check_testing_framework_in_action_text_installerで削除された、actiontext/lib/tasks/actiontext.rake
を再度追加しています。
Rails 6.0までと同様にaction_text:install
でインストール処理が実行出来るようにする為。
Use prism.js for code highlighting in guides [ci skip]
rails guideのコードハイライトに、SyntaxHighlighterを使用していたのを、PrismJS/prismを使用するよう修正しています。SyntaxHighlighterはもうメンテされていない為。
quick regression fix for zeitwerk:check
railties/lib/rails/tasks/zeitwerk.rake
の修正です。
zeitwerk:check
taskがRails 6.0.2で動作しない(実行するとNoMethodError
が発生する)バグがあったのを修正しています。
railties/lib/rails/application.rb
の修正です。
config_for
に指定するymlがHash
以外の場合(e.g. Array
)にエラーになってしまうバグがあったのを修正しています。
Merge pull request #37995 from abhaynikam/37918-fix-typo-in-class_names-helper-documentation
actionview/lib/action_view/helpers/tag_helper.rb
のdoc、及び、
actionview/test/template/tag_helper_test.rb
の修正です。
doc内のnil / false / 空文字を指定した場合のexampleの結果が実際の内容と異なっていたのを修正、及び、左記場合についてのテストを追加しています。
Refactor query methods not to depend on internal DEFAULT_VALUES
constant
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
query methodsを内部定数のDEFAULT_VALUES
を使用しないようリファクタリングしています。
Do not allow mutation for empty clauses
activerecord/lib/active_record/relation/from_clause.rb
、
activerecord/lib/active_record/relation/where_clause.rb
の修正です。
empty clausesをfreezeして値を変更出来ないよう修正しています。
Removes the un-used function call for syntaxhighlighterConfig [ci skip]
guides/assets/javascripts/guides.js
の修正です。
Use prism.js for code highlighting in guides [ci skip]により不要になったfunction callを削除しています。