./devel/ruby-activesupport42, Toolkit of support libraries (part of Rails 4.2)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 4.2.10, Package name: ruby24-activesupport42-4.2.10, Maintainer: minskim

A toolkit of support libraries and Ruby core extensions extracted from
the Rails framework. Rich support for multibyte strings,
internationalization, time zones, and testing.

Required to run:
[time/ruby-tzinfo] [devel/ruby-i18n] [misc/ruby-thread_safe] [lang/ruby24-base]

Required to build:

Master sites:

SHA1: b666bfe662b44da7c576e401a8f9545b149c7ce8
RMD160: e06517aa4bbc3718548855d14cd41c63828c3afd
Filesize: 326 KB

Version history: (Expand)

CVS history: (Expand)

   2018-03-18 15:21:22 by Takahiro Kambe | Files touched by this commit (37)
Log message:

   2018-03-13 17:29:26 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-activesupport42: update to 4.2.10

## Rails 4.2.10 (September 27, 2017) ##

*   No changes.

## Rails 4.2.9 (June 26, 2017) ##

*   Fixed bug in `DateAndTime::Compatibility#to_time` that caused it to
    raise `RuntimeError: can't modify frozen Time` when called on any frozen `Time`.
    Properly pass through the frozen `Time` or `ActiveSupport::TimeWithZone` object
    when calling `#to_time`.

    *Kevin McPhillips* & *Andrew White*

*   Restore the return type of `DateTime#utc`

    In Rails 5.0 the return type of `DateTime#utc` was changed to `Time` to be
    consistent with the new `DateTime#localtime` method. When these changes were
    backported in #27553 this inadvertently changed the return type in a patcn
    release. Since `DateTime#localtime` was new in Rails 4.2.8 it's okay to
    restore the return type of `DateTime#utc` but keep `DateTime#localtime` as
    returning `Time` without breaking backwards compatibility.

    *Andrew White*

*   In Core Extensions, make `MarshalWithAutoloading#load` pass through the \ 
second, optional
    argument for `Marshal#load( source [, proc] )`. This way we don't have to do
    `Marshal.method(:load).super_method.call(sourse, proc)` just to be able to \ 
pass a proc.

    *Jeff Latz*

*   Cache `ActiveSupport::TimeWithZone#to_datetime` before freezing.

    *Adam Rice*

*   `AS::Testing::TimeHelpers#travel_to` now changes `DateTime.now` as well as
    `Time.now` and `Date.today`.

    *Yuki Nishijima*
   2018-01-04 14:15:19 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
devel/ruby-activesupport42: improve dependency

No need to depends on ruby-minitest since minimum version of minitest
is bundled with Ruby 2.2 and later.

   2017-06-21 15:12:21 by Takahiro Kambe | Files touched by this commit (19) | Package updated
Log message:
Switch most of Ruby on Rails related packages to updated frame work.
   2017-04-14 10:00:26 by Min Sik Kim | Files touched by this commit (4)
Log message:
Import ruby-activesupport-4.2.8 as devel/ruby-activesupport42

Notable changes since 3.2:
- Replace deprecated memcache-client gem with dalli in
- Optimize ActiveSupport::Cache::Entry to reduce memory and processing
- Inflections can now be defined per locale. singularize and pluralize
  accept locale as an extra argument.
- Object#try will now return nil instead of raise a NoMethodError if
  the receiving object does not implement the method, but you can still
  get the old behavior by using the new Object#try!.
- String#to_date now raises ArgumentError: invalid date instead of
  NoMethodError: undefined method 'div' for nil:NilClass when given an
  invalid date. It is now the same as Date.parse, and it accepts more
  invalid dates than 3.x.

See the release notes of 4.0, 4.1, and 4.2 for the full list:
- http://edgeguides.rubyonrails.org/4_0_r … notes.html
- http://edgeguides.rubyonrails.org/4_1_r … notes.html
- http://edgeguides.rubyonrails.org/4_2_r … notes.html