From e04a79e772fc9d016d73138c3f322212f3b6ead7 Mon Sep 17 00:00:00 2001 From: utilum Date: Mon, 21 May 2018 23:53:38 +0200 Subject: add CHANGELOG/Doc --- activesupport/CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'activesupport') 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 -- cgit v1.2.3