From 575dbeeefcaafeb566afc07cdd8b55603b698d9f Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Thu, 21 Jul 2016 23:41:03 +0200 Subject: define Range#match? if Ruby < 2.4 See the rationale in the documentation included in this patch. We are going to gradually introduce this predicate in the code base. --- activesupport/CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'activesupport/CHANGELOG.md') diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 8d47f99b22..b24f9e6987 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,9 @@ +* Defines `Regexp.match?` for Ruby versions prior to 2.4. The predicate + has the same interface, but it does not have the performance boost. It's + purpose is to be able to write 2.4 compatible code. + + *Xavier Noria* + * Allow MessageEncryptor to take advantage of authenticated encryption modes. AEAD modes like `aes-256-gcm` provide both confidentiality and data @@ -55,7 +61,7 @@ *John Gesimondo* -* `travel/travel_to` travel time helpers, now raise on nested calls, +* `travel/travel_to` travel time helpers, now raise on nested calls, as this can lead to confusing time stubbing. Instead of: @@ -69,7 +75,7 @@ preferred way to achieve above is: - travel 2.days do + travel 2.days do # 2 days from today end -- cgit v1.2.3