aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md35
1 files changed, 24 insertions, 11 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index a5fe6d65d9..468b990f39 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,3 +1,16 @@
+* `String#remove` and `String#remove!` accept multiple arguments.
+
+ *Pavel Pravosud*
+
+* `TimeWithZone#strftime` now delegates every directive to `Time#strftime` except for '%Z',
+ it also now correctly handles escaped '%' characters placed just before time zone related directives.
+
+ *Pablo Herrero*
+
+* Corrected `Inflector#underscore` handling of multiple successive acroynms.
+
+ *James Le Cuirot*
+
* Delegation now works with ruby reserved words passed to `:to` option.
Fixes #16956.
@@ -19,8 +32,8 @@
*Joost Lubach*
-* Time#change can now change nanoseconds (:nsec) as a higher-precision
- alternative to microseconds (:usec).
+* `Time#change` can now change nanoseconds (`:nsec`) as a higher-precision
+ alternative to microseconds (`:usec`).
*Agis Anastasooulos*
@@ -35,14 +48,14 @@
*Akira Matsuda*, *Godfrey Chan*
-* Fixed a bug in Inflector#underscore where acroynms in nested constant names
+* Fixed a bug in `Inflector#underscore` where acroynms in nested constant names
are incorrectly parsed as camelCase.
Fixes #8015.
*Fred Wu*, *Matthew Draper*
-* Make Time#change throw an exception if the :usec option is out of range and
+* Make `Time#change` throw an exception if the `:usec` option is out of range and
the time has an offset other than UTC or local.
*Agis Anastasopoulos*
@@ -59,15 +72,15 @@
*Guo Xiang Tan*
-* Added instance_eval version to Object#try, so you can do this:
+* Added instance_eval version to Object#try and Object#try!, so you can do this:
- person.try { name.first }
+ person.try { name.first }
instead of:
- person.try { |person| person.name.first }
+ person.try { |person| person.name.first }
- *DHH*
+ *DHH*, *Ari Pollak*
* Fix the `ActiveSupport::Duration#instance_of?` method to return the right
value with the class itself since it was previously delegated to the
@@ -75,12 +88,12 @@
*Robin Dupret*
-* Fix rounding errors with #travel_to by resetting the usec on any passed time to zero, so we only travel
+* Fix rounding errors with `#travel_to` by resetting the usec on any passed time to zero, so we only travel
with per-second precision, not anything deeper than that.
*DHH*
-* Fix DateTime comparison with DateTime::Infinity object.
+* Fix DateTime comparison with `DateTime::Infinity` object.
*Rafael Mendonça França*
@@ -147,7 +160,7 @@
* Fixed `ActiveSupport::Cache::FileStore` exploding with long paths.
- *Adam Panzer / Michael Grosser*
+ *Adam Panzer*, *Michael Grosser*
* Fixed `ActiveSupport::TimeWithZone#-` so precision is not unnecessarily lost
when working with objects with a nanosecond component.