activesupport 5.0.0.beta3 → 5.0.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activesupport might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +171 -4
- data/lib/active_support.rb +12 -0
- data/lib/active_support/cache.rb +32 -23
- data/lib/active_support/cache/strategy/local_cache.rb +1 -1
- data/lib/active_support/callbacks.rb +4 -4
- data/lib/active_support/concurrency/share_lock.rb +2 -2
- data/lib/active_support/core_ext/array/grouping.rb +6 -10
- data/lib/active_support/core_ext/date/conversions.rb +1 -0
- data/lib/active_support/core_ext/date_and_time/calculations.rb +2 -0
- data/lib/active_support/core_ext/date_and_time/compatibility.rb +18 -0
- data/lib/active_support/core_ext/date_time.rb +1 -1
- data/lib/active_support/core_ext/date_time/calculations.rb +30 -8
- data/lib/active_support/core_ext/date_time/compatibility.rb +5 -0
- data/lib/active_support/core_ext/enumerable.rb +16 -0
- data/lib/active_support/core_ext/hash/conversions.rb +1 -1
- data/lib/active_support/core_ext/hash/keys.rb +1 -1
- data/lib/active_support/core_ext/marshal.rb +5 -2
- data/lib/active_support/core_ext/module/attribute_accessors.rb +2 -2
- data/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +2 -2
- data/lib/active_support/core_ext/module/delegation.rb +2 -5
- data/lib/active_support/core_ext/module/introspection.rb +4 -0
- data/lib/active_support/core_ext/object/blank.rb +7 -3
- data/lib/active_support/core_ext/object/json.rb +6 -0
- data/lib/active_support/core_ext/string/conversions.rb +3 -2
- data/lib/active_support/core_ext/string/inflections.rb +9 -0
- data/lib/active_support/core_ext/string/output_safety.rb +1 -1
- data/lib/active_support/core_ext/time.rb +1 -0
- data/lib/active_support/core_ext/time/calculations.rb +7 -0
- data/lib/active_support/core_ext/time/compatibility.rb +5 -0
- data/lib/active_support/dependencies.rb +9 -52
- data/lib/active_support/dependencies/interlock.rb +6 -8
- data/lib/active_support/deprecation/reporting.rb +0 -1
- data/lib/active_support/duration.rb +20 -0
- data/lib/active_support/duration/iso8601_parser.rb +122 -0
- data/lib/active_support/duration/iso8601_serializer.rb +51 -0
- data/lib/active_support/evented_file_update_checker.rb +18 -13
- data/lib/active_support/execution_wrapper.rb +117 -0
- data/lib/active_support/executor.rb +6 -0
- data/lib/active_support/file_update_checker.rb +22 -2
- data/lib/active_support/gem_version.rb +1 -1
- data/lib/active_support/i18n_railtie.rb +2 -2
- data/lib/active_support/inflector/methods.rb +9 -0
- data/lib/active_support/number_helper.rb +8 -1
- data/lib/active_support/number_helper/number_to_delimited_converter.rb +1 -1
- data/lib/active_support/number_helper/number_to_phone_converter.rb +11 -2
- data/lib/active_support/number_helper/number_to_rounded_converter.rb +5 -3
- data/lib/active_support/reloader.rb +129 -0
- data/lib/active_support/rescuable.rb +10 -0
- data/lib/active_support/time_with_zone.rb +9 -14
- data/lib/active_support/values/time_zone.rb +14 -5
- metadata +12 -5
- data/lib/active_support/core_ext/date_time/zones.rb +0 -6