2019/11/14分のコミットです。
CHANGELOGへの追加はありませんでした。
Relocate require in AS::Deprecation
activesupport/lib/active_support/deprecation.rb
の修正です。
不足していたconcurrent/atomic/thread_local_var
のrequireを追加しています。
Remove redundant env.delete
in scrub_env!
actionpack/lib/action_controller/test_case.rb
の修正です。
scrub_env!
メソッドで重複して行われていたenv
のdelete処理を削除しています。
Address all possible Performance/StartWith
/ Performance/EndWith
violations
rubocop-performance
gemのバージョンを1.5.1に更新しています。
rubocop-performance
gem 1.5.1でRegexp#match?
とRegexp#=~
もPerformance/StartWith
、Performance/EndWith
copのチェック対象になった為、それらの使用している箇所をstart_with?
、end_with?
メソッドを使用するよう修正しています。
Fix undefined method `start_with?' for :to_json
activesupport/lib/active_support/option_merger.rb
の修正です。
先程のstart_with?
/ end_with?
メソッドの修正の影響で、レシーバーがSymbolの処理がエラーになるようになってしまったので、to_s
でStringに変換してからチェックを行うよう修正しています。
Fix ActiveStorage::Blob#service method redefined warning
activestorage/app/models/active_storage/blob.rb
の修正です。
ActiveStorage::Blob#service
の再定義のwarningが出ていたのを対応しています。
activerecord/lib/active_record/connection_adapters.rb
の修正です。
Remove ConnectionAdapters::Resolver in favor of DatabaseConfigurationsで削除したResolver
クラスのautoload処理が残っていたのを削除しています。
activesupport/lib/active_support/parameter_filter.rb
の修正です。
使用していないactive_support/core_ext/array/extract
のrequireを削除しています。
Merge pull request #37683 from soartec-lab/add_token_authentication_to_guide
rails guideのAction Controller Overview
の修正です。
HTTP Authenticationsについて説明している箇所に、HTTP token authentication
について説明したToken Authentication
セクションを追加しています。