2021/02/08分のコミットです。
CHANGELOGへの追加はありませんでした。
Remove checks for Module#method_defined? arity
activerecord/lib/active_record/autosave_association.rb
、
activesupport/lib/active_support/callbacks.rb
の修正です。
Ruby 2.6以下向けのコードを削除しています。
Removes Symbol#start_with? and Symbol#end_with? since they are defined in Ruby 2.7
activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb
の修正です。
不要になったSymbol#start_with?
、及び、Symbol#end_with?
を削除しています。
Merge pull request #41357 from andrehjr/dedup-redundant-frozen-check
activesupport/lib/active_support/core_ext/object/deep_dup.rb
の修正です。
freeze済みのHashのkeyに対してfrozenチェックを行っていたのを削除しています。
Use native Range#cover? which accepts Range arguments since Ruby 2.6
activesupport/lib/active_support/core_ext/range/compare_range.rb
の修正です。
Ruby 2.7以上のみをサポートする事で不要になったRange#cover?
用のモンキーパッチを削除しています。
Merge pull request #40995 from garrettdimon/patch-1
rails guideのAction Text Overview
の修正です。
Installation
の項に、primary keyにUUIDを使用している場合の設定方法についての説明を追加しています。
Remove check for UnboundMethod#method_defined? bind_call
activesupport/lib/active_support/core_ext/name_error.rb
の修正です。
Ruby 2.7以上のみをサポートする事で不要になったbind_call
が定義されているかどうかのチェック処理を削除しています。
Use bind_call(obj, ...)
instead of bind(obj).call(...)
Performance/BindCall
copを追加、及び、各ファイルにcopを適応しています。