aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-05-21 23:53:38 +0200
committerutilum <oz@utilum.com>2018-05-22 15:56:36 +0200
commite04a79e772fc9d016d73138c3f322212f3b6ead7 (patch)
treeff8e99281546467b2fbb230c810d4f8e83670445 /activesupport/CHANGELOG.md
parent0fcb921a65e615c301450d7820b03473acd53898 (diff)
downloadrails-e04a79e772fc9d016d73138c3f322212f3b6ead7.tar.gz
rails-e04a79e772fc9d016d73138c3f322212f3b6ead7.tar.bz2
rails-e04a79e772fc9d016d73138c3f322212f3b6ead7.zip
add CHANGELOG/Doc
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index a384fc3bd2..91818c3112 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,3 +1,14 @@
+* Allow Range#=== and Range#cover? on Range
+
+ `Range#cover?` can now accept a range argument like `Range#include?` and
+ `Range#===`. `Range#===` works correctly on Ruby 2.6. `Range#include?` is moved
+ into a new file, with these two methods.
+
+ *Requiring active_support/core_ext/range/include_range is now deprecated.*
+ *Use `require "active_support/core_ext/range/compare_range"` instead.*
+
+ *utilum*
+
* Add `index_with` to Enumerable.
Allows creating a hash from an enumerable with the value from a passed block