2019/12/13分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #37847 from pwim/action-mailbox-mail-ext-tests
actionmailbox/test/unit/mail_ext/addresses_test.rb
の修正です。
Action Mailboxで拡張しているMail
クラスについてのテストを追加しています。
Clarify documentation by removing charged words
rails guideの修正です。
各ガイドの説明から、'just'、'simply'、'easy'を使用していた言い回しを削除しています。実際にそこに説明されている内容が簡単に出来なかった場合に、イライラさせてしまう可能性がある為、との事です。
Merge pull request #37073 from woahdae/fix-hierarchical-route-options
actionpack/lib/action_dispatch/routing/mapper.rb
の修正です。
routeにoptional scopeのみを複数指定(e.g. (:a)(:b)
)、かつ、optionが一部だけ指定された場合に、不正なパスが生成されてしまうバグがあったのを修正しています。
Merge pull request #37075 from woahdae/fix-multiple-choice-route-options
actionpack/lib/action_dispatch/routing/mapper.rb
の修正です。
routeにoptional scope + pathを指定(e.g. (:a)(foo/:b)
)、かつ、pathが指定されたscope optionだけが指定された場合に、不正なパスが生成されてしまうバグがあったのを修正しています。
Reorder active support instrumentation guide (#37639)
rails guideのActive Support Instrumentation
の修正です。
(一番重要なだと思われる)Subscribing to an event
がページ上部に来るように構成を変更しています。
Merge pull request #37928 from CGA1123/fix-race-in-action-view
actionview/lib/action_view/lookup_context.rb
の修正です。
ActionView::LookupContext::DetailsKey.view_context_class
メソッド内のview_context_class
の取得処理がスレッドセーフになるよう修正しています。
Strip default_ prefix from retry_jitter config to match conventions
Merge pull request #37923 from cpruitt/add-config-for-activejob-retry-jitterで追加されたdefault_retry_jitter
をretry_jitter
にリネームにしています。
Set default directly with default:
activejob/lib/active_job/exceptions.rb
の修正です。
retry_jitter
のデフォルト値の指定をclass_attribute
のdefault
オプションで指定するよう修正しています。
Fix deprecation being thrown at boot time:
Active Jobの修正です。
callback chainがhaltした場合にafter_enqueue / after_perform callbackを実行しないよう修正した、Don't run AJ after_enqueue / after_perform when chain is halted:の対応で、job classがActiveJob::Base
classを継承したタイミングでdeprecateメッセージを出力するようになっていたのを、実際にjobがabortするよになるタイミングでdeprecateメッセージを出力するよう修正しています。
Generate 45% faster query methods
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
query methodsでdefault
値をメソッド定義時に保持するよにうにして、メソッド実行時にDEFAULT_VALUES
へアクセスしないよう修正しています。処理高速化の為。
Workaroud to address apt-get update at GitHub Actions
.github/workflows/rubocop.yml
の修正です。
GitHub Actionsでapt-get
する前に特定のパッケージ用のsource listを削除しています。それらのsouce listからのデータ取得に失敗する為。
なお、この記事記載時点ではGitHub側で問題修正済みとの事です。
参考: https://github.community/t5/GitHub-Actions/ubuntu-latest-Apt-repository-list-issues/m-p/41199#M4529、.NET Core Linux Feeds -- Now available
Fixes typo in autoloading_and_reloading_constants guide [ci skip]
rails guideのAutoloading and Reloading Constants (Zeitwerk Mode)
の修正です。
app
配下のディレクトリ名をタイポしている箇所があったのを修正しています。