diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-12-20 18:23:15 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-12-20 18:53:25 +0200 |
commit | 25b969a4469d7baefc1b339656008dabd79c975c (patch) | |
tree | f662f0ca6ae1952f02b01a2d658881339ea8ccfb /activesupport/lib/active_support/core_ext/numeric | |
parent | 3da358ea83b86368021d6f289627d0682d24d30b (diff) | |
download | rails-25b969a4469d7baefc1b339656008dabd79c975c.tar.gz rails-25b969a4469d7baefc1b339656008dabd79c975c.tar.bz2 rails-25b969a4469d7baefc1b339656008dabd79c975c.zip |
Follow up #34754
- Fix a few deprecation warnings
- Remove testing of `Hash#slice`
- Imporve test of `Hash#slice!`
- Remove mention about `Hash#slice` from the guide
Diffstat (limited to 'activesupport/lib/active_support/core_ext/numeric')
-rw-r--r-- | activesupport/lib/active_support/core_ext/numeric/inquiry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/numeric/inquiry.rb b/activesupport/lib/active_support/core_ext/numeric/inquiry.rb index e05e40825b..6b5240d051 100644 --- a/activesupport/lib/active_support/core_ext/numeric/inquiry.rb +++ b/activesupport/lib/active_support/core_ext/numeric/inquiry.rb @@ -2,4 +2,4 @@ require "active_support/deprecation" -ActiveSupport::Deprecation.warn "Ruby 2.4+ (required by Rails 6) provides Numeric#positive? and Numeric#negative? natively, so requiring active_support/core_ext/numeric/inquiry is no longer necessary. Requiring it will raise LoadError in Rails 6.1." +ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Numeric#positive? and Numeric#negative? natively, so requiring active_support/core_ext/numeric/inquiry is no longer necessary. Requiring it will raise LoadError in Rails 6.1." |