2022/01/07分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activejob/CHANGELOG.md
Document what the new default_headers will be [ci skip]
rails guideのConfiguring Rails Applications
の修正です。
load_defaults 7.1
を指定した場合の挙動について説明している箇所に、Remove X-Download-Options default headerで変更になったconfig.action_dispatch.default_headers
についての説明を追加しています。
document usage of :enable_starttls
docの修正です。
ActionMailer
のsmtp optionsについて説明している箇所に、:enable_starttls
オプションについての説明を追加しています。
activejob/lib/active_job/test_helper.rb
の修正です。
Active Jobで、discard_on/retry_onにActiveJob::DeserializationError
を指定した場合のテストがActive Jobのテスト用helperメソッドを使用して出来なかった(perform_now
を呼び出す前にActiveJob::DeserializationError
が発生するようになっていて、discard_on/retry_onまで処理がいかなかった)のを、処理順を調整し、テストが行えるよう修正しています。
QueryMethods#in_order_of
drop records not listed
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
QueryMethods#in_order_of
メソッドの結果を、引数に指定したlistにない値は含まないよう修正しています。Enumerable#in_order_of
と挙動を合わせる為。
Reuse view_context_class when possible
actionview/lib/action_view/rendering.rb
の修正です。
Rendering
内で保持しているview context classesを複数処理で使いまわすよう修正しています。
No need to check for Ruby version on the bug reports template anymore
guides/bug_report_templates/action_mailbox_gem.rb
、
guides/bug_report_templates/action_mailbox_main.rb
の修正です。
Ruby 3.1
以上の場合にnet-smtp
を追加するようにした処理を削除しています。Temporarily add net-gems as dependencies of frameworks that use mailでgem自体の依存に追加した為。
Run the gem template guides for 3.1 now that 7.0.1 is out
guides/Rakefile
の修正です。
bug report templateのテストをRuby 3.1でも実行するよう修正しています。Ruby 7.0.1がリリースされ、現在はテストが通るようになっている為。
Merge pull request #44089 from fnando/activestorage-expose-other-modules
activestorage/app/javascript/activestorage/index.js
の修正です。
direct upload用のcontroller(DirectUploadController
、DirectUploadsController
)もentry pointでexportするよう修正しています。
rails guideのAutoloading and Reloading Constants
の修正です。
Autoloading when the application boots
の項のタイポを修正しています。
Ensure codeblocks are rendered as such for (min|max)imum
activesupport/lib/active_support/core_ext/enumerable.rb
のdocの修正です。
minimum
、maximum
メソッドのdoc内のexampleコードのcodeblockが正しく表示されるよう修正、及び、各メソッドのdocのインデントを統一するよう修正しています。