aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-011-0/+2
| | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
* ActiveSupport CHANGELOG entry moved to correct placeAndrew Radev2011-05-281-2/+2
|
* Update CHANGELOG for ActiveSupport::OrderedHash changeAndrew Radev2011-05-281-0/+3
|
* Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵Jon Leighton2011-05-231-0/+6
| | | | standard library. (It has been deprecated in the 3-1-stable branch.)
* new reporting method Kernel#quietlyXavier Noria2011-05-131-0/+2
|
* updated the ActiveSupport changelogJosh Kalderimis2011-05-111-0/+2
|
* Merging 3.0.x CHANGELOGsGuillermo Iguaran2011-05-101-0/+28
|
* Just a minor fix in A.S CHANGELOGGuillermo Iguaran2011-05-081-1/+1
|
* Add String#inquiry as a convenience method for turning a string into a ↵David Heinemeier Hansson2011-04-181-0/+2
| | | | StringInquirer object [DHH]
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-1/+1
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-121-1/+1
| | | | suggestion!
* Add support for Object#in? and Object#either? in Active Support [#6321 ↵Prem Sichanugrist, Brian Morearty, John Reitano2011-04-111-0/+2
| | | | | | | | | | | | state:committed] This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both.
* Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-311-2/+0
|
* Add using Turn with natural language test case names if the library is ↵David Heinemeier Hansson2011-03-311-0/+2
| | | | available (which it will be in Rails 3.1) [DHH]
* * LocalCache strategy is now a real middleware class, not an anonymous classAaron Patterson2011-03-021-0/+3
| | | | posing for pictures.
* refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵Aaron Patterson2011-03-011-0/+6
| | | | that anonymous classes are supported
* adds Range#cover? to the CHANGELOGXavier Noria2011-02-201-0/+2
|
* 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
|