Commit graph

17 commits

Author SHA1 Message Date
taca
44b0724c74 Update devel/ruby-activesupport32 to 3.2.18.
No change except version number.
2014-05-11 10:01:28 +00:00
taca
a2b71e877d Update ruby-activesupport32 to 3.2.17.
Update of version number only.
2014-03-02 15:00:23 +00:00
taca
42a79a227a Update ruby-activesupport32 to 3.2.16.
Only version number has updated.
2013-12-04 15:42:52 +00:00
taca
2574eaa2d7 Update ruby-activesupport32 to 3.2.15.
## Rails 3.2.15 (Oct 16, 2013) ##

* Fix ActiveSupport::Cache::FileStore#cleanup to no longer rely on missing
  each_key method.

    *Murray Steele*

* Add respond_to_missing? for TaggedLogging which is best practice when
  overriding method_missing. This permits wrapping TaggedLogging by another
  log abstraction such as em-logger.

    *Wolfram Arnold*
2013-10-18 15:24:38 +00:00
taca
98eca69ccd Update ruby-activesupport32 to 3.2.14.
## Rails 3.2.14 (Jul 22, 2013) ##

* Make `Time.at_with_coercion` retain the second fraction and return local
 time.  Fixes #11350

    *Neer Friedman*, *Andrew White*

* Fix `ActiveSupport::TaggedLogging` incorrectly providing program name the
  same as log message even when block is not provided.

    *Carson Reinke*

* Override `Time.at` to support the passing of Time-like values when called
  with a single argument.

    *Andrew White*

* Revert the changes on unicode character encoding from
  `ActiveSupport::JSON.encode`.
  This was causing a regression where the resulting string is always returning
  UTF-8.
  Also it changes the behavior of this method on a stable release.  Fixes
  #9498.

    *Rafael Mendon«®a Fran«®a*

* Fix `ActiveSupport::TimeZone.parse` when time is at a local DST jump.  Fixes
  #9678.

    *Andrew White*
2013-09-11 13:26:01 +00:00
taca
a3ca4f14bf Update ruby-activesupport32 to 3.2.13.
## Rails 3.2.13 (Feb 17, 2013) ##

*   Fix DateTime comparison with DateTime::Infinity object.
    *Dan Kubb*

*   Remove surrogate unicode character encoding from ActiveSupport::JSON.encode
    The encoding scheme was broken for unicode characters outside the basic
    multilingual plane; since json is assumed to be UTF-8, and we already force
    the encoding to UTF-8 simply pass through the un-encoded characters.
    *Brett Carter*

*   Fix mocha v0.13.0 compatibility. *James Mead*

*   `#as_json` isolates options when encoding a hash. [Backport #8185]
    Fix #8182
    *Yves Senn*

*   Handle the possible Permission Denied errors atomic.rb might trigger due to
    its chown and chmod calls. [Backport #8027]
    *Daniele Sluijters*
2013-03-19 16:09:00 +00:00
taca
4c85245381 Update ruby-activesupport32 to 3.2.12.
Change of version only.
2013-02-12 14:28:59 +00:00
taca
ddc2a92767 Update ruby-activesupport32 to 3.2.11.
## Rails 3.2.10 (Jan 8, 2012) ##

*   Hash.from_xml raises when it encounters type="symbol" or type="yaml".
    Use Hash.from_trusted_xml to parse this XML.

    CVE-2013-0156

    *Jeremy Kemper*
2013-01-09 12:41:15 +00:00
taca
cde1c89474 Update ruby-activesupport32 to 3.2.10.
Only version has updated.
2013-01-05 14:18:39 +00:00
taca
4f0700fd17 Update ruby-activesupport32 to 3.9.2.
## Rails 3.2.9 (unreleased)

*   Add logger.push_tags and .pop_tags to complement logger.tagged:

        class Job
          def before
            Rails.logger.push_tags :jobs, self.class.name
          end

          def after
            Rails.logger.pop_tags 2
          end
        end

    *Jeremy Kemper*

* Add %:z and %::z format string support to
  ActiveSupport::TimeWithZone#strftime. [fixes #6962] *kennyj*
2012-12-16 14:08:00 +00:00
taca
9b8ce18e5a Update ruby-activesupport32 to 3.2.8.
## Rails 3.2.8 (Aug 9, 2012) ##

* Fix ActiveSupport integration with Mocha > 0.12.1. *Mike Gunderloy*

* Reverted the deprecation of ActiveSupport::JSON::Variable.
  *Rafael Mendonça França*
2012-08-12 12:38:09 +00:00
taca
3abb1b9a4e Update ruby-activesupport32 to 3.2.7.
## Rails 3.2.7 (unreleased)

* Hash#fetch(fetch) is not the same as doing hash[key]
* adds a missing require [fixes #6896]
* make sure the inflection rules are loaded when cherry-picking
  active_support/core_ext/string/inflections.rb [fixes #6884]
* Merge pull request #6857 from rsutphin/as_core_ext_time_missing_require
* bump AS deprecation_horizon to 4.0
2012-07-31 12:51:18 +00:00
taca
26d173b35a Set RUBY_RAILS_STRICT_DEP to yes. 2012-06-14 15:12:15 +00:00
taca
eb16677880 Update ruby-activesupport32 to 3.2.6.
## Rails 3.2.6 (Jun 12, 2012)

*   No changes.
2012-06-13 15:13:11 +00:00
taca
5a1fe5bf3b Update ruby-activesupport32 to 3.2.5.
3.2.4 had some regression related problem.

## Rails 3.2.4 (May 31, 2012) ##

*   Added #beginning_of_hour and #end_of_hour to Time and DateTime core
    extensions. *Mark J. Titorenko*

*   ActiveSupport::JSON::Variable is deprecated. Define your own #as_json and #encode_json methods
    for custom JSON string literals. *Erich Menge*
2012-06-02 01:39:07 +00:00
taca
ec6e63af9c Update devel/ruby-activesupport32 to 3.2.3.
No change but version.
2012-04-29 12:56:35 +00:00
taca
07328b6fb4 Importing ruby-activesupport32 version 3.2.2.
## Rails 3.2.1 (January 26, 2012) ##

*   Documentation fixes and improvements.

*   Update time zone offset information. *Ravil Bayramgalin*

*   The deprecated `ActiveSupport::Base64.decode64` calls `::Base64.decode64`
    now. *Jonathan Viney*

*   Fixes uninitialized constant `ActiveSupport::TaggedLogging::ERROR`. *kennyj*


## Rails 3.2.0 (January 20, 2012) ##

*   ActiveSupport::Base64 is deprecated in favor of ::Base64. *Sergey Nartimov*

*   Module#synchronize is deprecated with no replacement.  Please use `monitor`
    from ruby's standard library.

*   (Date|DateTime|Time)#beginning_of_week accept an optional argument to
    be able to set the day at which weeks are assumed to start.

*   Deprecated ActiveSupport::MessageEncryptor#encrypt and decrypt. *José Valim*

*   ActiveSupport::Notifications.subscribed provides subscriptions to events while a block runs. *fxn*

*   Module#qualified_const_(defined?|get|set) are analogous to the corresponding methods
    in the standard API, but accept qualified constant names. *fxn*

*   Added inflection #deconstantize which complements #demodulize. This inflection
    removes the righmost segment in a qualified constant name. *fxn*

*   Added ActiveSupport:TaggedLogging that can wrap any standard Logger class to provide tagging capabilities *DHH*

        Logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
        Logger.tagged("BCX") { Logger.info "Stuff" }                            # Logs "[BCX] Stuff"
        Logger.tagged("BCX", "Jason") { Logger.info "Stuff" }                   # Logs "[BCX] [Jason] Stuff"
        Logger.tagged("BCX") { Logger.tagged("Jason") { Logger.info "Stuff" } } # Logs "[BCX] [Jason] Stuff"

*   Added safe_constantize that constantizes a string but returns nil instead of an exception if the constant (or part of it) does not exist *Ryan Oblak*

*   ActiveSupport::OrderedHash is now marked as extractable when using Array#extract_options! *Prem Sichanugrist*

*   Added Array#prepend as an alias for Array#unshift and Array#append as an alias for Array#<< *DHH*

*   The definition of blank string for Ruby 1.9 has been extended to Unicode whitespace.
    Also, in 1.8 the ideographic space U+3000 is considered to be whitespace. *Akira Matsuda, Damien Mathieu*

*   The inflector understands acronyms. *dlee*

*   Deprecated ActiveSupport::Memoizable in favor of Ruby memoization pattern *José Valim*

*   Added Time#all_day/week/quarter/year as a way of generating ranges (example: Event.where(created_at: Time.now.all_week)) *DHH*

*   Added instance_accessor: false as an option to Class#cattr_accessor and friends *DHH*

*   Removed ActiveSupport::SecureRandom in favor of SecureRandom from the standard library *Jon Leighton*

*   ActiveSupport::OrderedHash now has different behavior for #each and
    \#each_pair when given a block accepting its parameters with a splat. *Andrew Radev*

*   ActiveSupport::BufferedLogger#silence is deprecated.  If you want to squelch
    logs for a certain block, change the log level for that block.

*   ActiveSupport::BufferedLogger#open_log is deprecated.  This method should
    not have been public in the first place.

*   ActiveSupport::BufferedLogger's behavior of automatically creating the
    directory for your log file is deprecated.  Please make sure to create the
    directory for your log file before instantiating.

*   ActiveSupport::BufferedLogger#auto_flushing is deprecated.  Either set the
    sync level on the underlying file handle like this:

        f = File.open('foo.log', 'w')
        f.sync = true
        ActiveSupport::BufferedLogger.new f

    Or tune your filesystem.  The FS cache is now what controls flushing.

*   ActiveSupport::BufferedLogger#flush is deprecated.  Set sync on your
    filehandle, or tune your filesystem.
2012-03-18 06:44:50 +00:00