aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update CHANGELOGs to include 3.0.3 changes"Xavier Noria2011-01-021-9/+1
| | | | | | | Reason: Sorry, CHANGELOGs can only be edited in master. If you provide a patch I'll apply it myself. Thanks! This reverts commit 1f8ecb85d7c1b3efdf45c3cf3461502b608c1a7c.
* Update CHANGELOGs to include 3.0.3 changesPrem Sichanugrist2011-01-021-1/+9
|
* syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in masterXavier Noria2010-11-091-0/+4
|
* Merge CHANGELOGs from 3-0-stableSantiago Pastorino2010-10-181-0/+3
|
* implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵Rob Zolkos & Xavier Noria2010-10-161-0/+2
| | | | state:committed]
* Add before_remove_const callback to ↵Andrew White2010-09-011-1/+1
| | | | | | ActiveSupport::Dependencies.remove_unloadable_constants! Signed-off-by: Xavier Noria <fxn@hashref.com>
* Update CHANGELOGs for 3.0 release and upcoming 3.1Jeremy Kemper2010-08-291-20/+5
|
* implements String#strip_heredocXavier Noria2010-08-291-0/+2
|
* Support pluggable cache stores.Mike Perham2010-08-281-0/+10
| | | | | | [#5486 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-34/+34
| | | | 's/[ \t]*$//' -i {} \;)
* applied guidelines to "# =>"Paco Guzman2010-08-121-3/+3
|
* Prep for RCDavid Heinemeier Hansson2010-07-261-1/+1
|
* CHANGELOG updated Object#returning removedSantiago Pastorino2010-07-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add CHANGELOG for new deprecation stylewycats2010-06-291-0/+6
|
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-241-0/+2
|
* Update ActiveSupport CHANGELOG with latest changes.José Valim2010-06-201-0/+4
|
* revises implementation of AS::OrderedHash#merge!Xavier Noria2010-06-131-1/+1
|
* Support passing a block to ActiveSupport::OrderedHash's merge and merge! ↵Paul Mucur2010-06-131-0/+2
| | | | | | | | [#4838 state:committed] For better consistency with Ruby's own Hash implementation. Signed-off-by: Xavier Noria <fxn@hashref.com>
* registers 4146a44 in CHANGELOGXavier Noria2010-06-121-0/+5
|
* Get ready for beta 4David Heinemeier Hansson2010-06-081-1/+1
|
* removes Array#random_element and backports Array#sample from Ruby 1.9, ↵Xavier Noria2010-06-051-1/+1
| | | | thanks to Marc-Andre Lafortune
* Extracted String#truncate from TextHelper#truncate [DHH]David Heinemeier Hansson2010-06-011-0/+2
|
* Use multibyte proxy class on 1.9, refactor Unicode.Norman Clarke2010-05-211-1/+3
| | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* removes deprecations of last_(month|year) from master, they will be ↵Xavier Noria2010-05-191-1/+1
| | | | deprecated in 2.3 instead
* Renames Array#rand -> Array#random_elementRizwan Reza2010-05-171-0/+2
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵Xavier Noria2010-05-121-0/+2
| | | | deprecates last_(month|year)
* aliases Date#sunday to Date#end_of_week, for symmetry with existing alias ↵Xavier Noria2010-05-091-0/+2
| | | | Date#monday -> Date#beginning_of_week
* Backports Date#>> from 1.9 so that calculations do the right thing around ↵Xavier Noria2010-05-091-0/+2
| | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9.
* adds Date#to_time refinement from previous commit to the CHANGELOGXavier Noria2010-05-051-0/+2
|
* Speed up I18n helpers in views and add entry to CHANGELOG.José Valim2010-05-011-0/+2
|
* Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵José Valim2010-04-291-0/+2
| | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
* ActiveSupport::Cache refactoringBrian Durand2010-04-271-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Caches * Add default options to initializer that will be sent to all read, write, fetch, exist?, increment, and decrement * Add support for the :expires_in option to fetch and write for all caches. Cache entries are stored with the create timestamp and a ttl so that expiration can be handled independently of the implementation. * Add support for a :namespace option. This can be used to set a global prefix for cache entries. * Deprecate expand_cache_key on ActiveSupport::Cache and move it to ActionController::Caching and ActionDispatch::Http::Cache since the logic in the method used some Rails specific environment variables and was only used by ActionPack classes. Not very DRY but there didn't seem to be a good shared spot and ActiveSupport really shouldn't be Rails specific. * Add support for :race_condition_ttl to fetch. This setting can prevent race conditions on fetch calls where several processes try to regenerate a recently expired entry at once. * Add support for :compress option to fetch and write which will compress any data over a configurable threshold. * Nil values can now be stored in the cache and are distinct from cache misses for fetch. * Easier API to create new implementations. Just need to implement the methods read_entry, write_entry, and delete_entry instead of overwriting existing methods. * Since all cache implementations support storing objects, update the docs to state that ActiveCache::Cache::Store implementations should store objects. Keys, however, must be strings since some implementations require that. * Increase test coverage. * Document methods which are provided as convenience but which may not be universally available. MemoryStore * MemoryStore can now safely be used as the cache for single server sites. * Make thread safe so that the default cache implementation used by Rails is thread safe. The overhead is minimal and it is still the fastest store available. * Provide :size initialization option indicating the maximum size of the cache in memory (defaults to 32Mb). * Add prune logic that removes the least recently used cache entries to keep the cache size from exceeding the max. * Deprecated SynchronizedMemoryStore since it isn't needed anymore. FileStore * Escape key values so they will work as file names on all file systems, be consistent, and case sensitive * Use a hash algorithm to segment the cache into sub directories so that a large cache doesn't exceed file system limits. * FileStore can be slow so implement the LocalCache strategy to cache reads for the duration of a request. * Add cleanup method to keep the disk from filling up with expired entries. * Fix increment and decrement to use file system locks so they are consistent between processes. MemCacheStore * Support all keys. Previously keys with spaces in them would fail * Deprecate CompressedMemCacheStore since it isn't needed anymore (use :compress => true) [#4452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* JSON: encode objects that don't have a native JSON representation using ↵Jeremy Kemper2010-04-261-0/+5
| | | | to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings.
* Restore HWIA#stringify_keys! and update changelogJeremy Kemper2010-04-221-0/+2
|
* Update changelogs for releaseDavid Heinemeier Hansson2010-04-131-1/+1
|
* Improve reliability of Inflector.transliterate. [#4374 state:resolved]Norman Clarke2010-04-121-0/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make tidy_bytes work on 1.9 and improve its performance. [#4350 state:resolved]Norman Clarke2010-04-091-0/+5
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Release is today, yoDavid Heinemeier Hansson2010-04-011-1/+2
|
* Updated changelogs to differentiate beta1 and beta2wycats2010-04-011-3/+2
|
* Updated changelogswycats2010-04-011-0/+5
|
* adds and entry for assert_blank and assert_present to CHANGELOGXavier Noria2010-03-301-0/+2
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-0/+2
|
* Automatically prefer Yajl or JSON backend over Yaml, if availableJeremy Kemper2010-02-051-1/+1
|
* Add yajl-ruby as a JSON parsing backendBrian Lopez2010-02-051-0/+5
| | | | | | [#2666 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Introduce class_attribute to declare inheritable class attributes. Writing ↵Jeremy Kemper2010-02-011-0/+2
| | | | an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute.
* Time#- with a DateTime argument behaves the same as with a Time argument, ↵Geoff Buesing2010-01-271-0/+2
| | | | i.e. returns the difference between self and arg as a Float [#3476 status:resolved]
* Remove unbundle changelogsJeremy Kemper2010-01-271-7/+1
|
* Unvendor'd MemCache-Client. Now requires the MemCache Client gem as a ↵Mikel Lindsaar2010-01-281-2/+4
| | | | dependency - Don't forget to gem bundle buys and girls
* Unvendor'd Builder. Now requires the Builder gem as a dependencyMikel Lindsaar2010-01-281-0/+2
|
* Unbundling TZInfoMikel Lindsaar2010-01-281-0/+2
|