aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* camelize(:lower) should always downcase first character. [#696 state:resolved]Amos King2008-08-222-0/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Mark Class as not being duplicable. [#829 state:resolved]Frederick Cheung2008-08-211-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Simplified and renamed CallbackChain union method to replace_or_append!Joshua Peek2008-08-211-4/+4
|
* Partial revert of 2681685 premature TypeArray abstractionJoshua Peek2008-08-211-51/+0
|
* Ensure objects cached with MemoryStore are immutableJoshua Peek2008-08-191-0/+6
|
* Maintain a seperate buffer for each threadJoshua Peek2008-08-181-4/+25
|
* Replace MemoryStore mutex with a monitor to avoid issues with nested callsJoshua Peek2008-08-181-0/+24
|
* Ensure results returned by a memoized method are immutableJoshua Peek2008-08-131-0/+5
|
* Marshal FileStore valuesJoshua Peek2008-08-131-0/+27
|
* memoize_ and unmemoize_allJeremy Kemper2008-08-131-0/+15
|
* Use current umask when testing the expected file mode [#823 state:resolved]S. Brent Faulkner2008-08-131-4/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed memoize with punctuation and freezing memoized methods with argumentsJeremy Kemper2008-08-071-0/+15
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-061-67/+0
|
* Make File.atomic_write copy the original permissions or use the directories ↵Joshua Peek2008-08-061-6/+44
| | | | default.
* Added config.dependency_loading to enable or disable the dependency loader ↵Joshua Peek2008-07-241-0/+12
| | | | after initialization
* Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵Joshua Peek2008-07-221-0/+51
| | | | same type [#673 state:resolved]
* Improved Memoizable test coverage and added support for multiple argumentsJoshua Peek2008-07-221-39/+127
|
* If it doesn't overflow, it won't have a .start method. So don't run the ↵Michael Koziarski2008-07-201-1/+1
| | | | second assertion either
* Handle the case where 64bit time_t won't overflow.Michael Koziarski2008-07-201-1/+6
|
* Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵Joshua Peek2008-07-181-7/+35
| | | | memoize class method
* Allow memoized methods to be reloaded and allow multiple symbolsJoshua Peek2008-07-181-13/+26
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-171-0/+67
|\
| * Cleanup ActiveSupport::Cache::ThreadSafety module and add test coverageJoshua Peek2008-07-171-0/+67
| |
* | Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-173-0/+66
|\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb
| * Add extra tests to ensure Hash#slice works with an array as a key. #613MatthewRudy2008-07-171-0/+21
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Revert "Hash#slice supports an array of keys [#613 state:resolved]"Pratik Naik2008-07-171-35/+21
| | | | | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679.
| * Revert "Run callbacks from object's metaclass"Joshua Peek2008-07-161-24/+0
| |
| * Allow deep merging of hash values for nested with_options. [#490 state:resolved]Lawrence Pit2008-07-172-0/+37
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Hash#slice supports an array of keys [#613 state:resolved]Josh Owens2008-07-161-21/+35
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Run callbacks from object's metaclass [#575 state:resolved]Joshua Peek2008-07-151-0/+24
| |
| * Added Object#metaclassJoshua Peek2008-07-151-0/+8
| |
* | make i18n date/time tests timezone independentSven Fuchs2008-07-161-10/+10
| |
* | merge forward to current rails/masterSven Fuchs2008-07-167-10/+314
|\|
| * Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵Adrian Mugnolo2008-07-151-4/+46
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵gbuesing2008-07-141-0/+6
| | | | | | | | because Ruby's marshaling of Time instances doesn't respect the zone
| * Some performance tweaks to ActiveSupport::MemoizableTarmo Tänav2008-07-141-0/+4
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * memorize typoJoshua Peek2008-07-141-2/+2
| |
| * Added Memoizable mixin for caching simple lazy loaded attributesJoshua Peek2008-07-141-0/+45
| |
| * Add Inflection rules for String#humanize. [#535 state:resolved] [dcmanges]Pratik Naik2008-07-021-4/+25
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵gbuesing2008-06-291-0/+168
| | | | | | | | years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods.
| * Added support for regexp matching of priority zones in time_zone_select ↵Ernie Miller2008-06-291-0/+7
| | | | | | | | [#195 state:resolved]
| * Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved]David Heinemeier Hansson2008-06-201-2/+7
| |
| * Fall back to #to_s for cache key expansionJeremy Kemper2008-06-201-0/+6
| |
* | align with changes in i18nSven Fuchs2008-07-061-6/+6
| |
* | remove core extensions in favor of I18n#translate and I18n#localizeSven Fuchs2008-07-022-75/+75
| |
* | Fixed Date and Time localization for ActiveSupportLuca Guidi2008-07-021-0/+75
|/
* Added Array#second through Array#tenth as aliases for Array#[1] through ↵David Heinemeier Hansson2008-06-171-0/+14
| | | | Array#[9] [DHH]
* Change Enumberal#several? to Enumberal#many?David Heinemeier Hansson2008-06-131-3/+3
|
* Added Object#present? which is equivalent to !Object#blank? [DHH]David Heinemeier Hansson2008-06-121-0/+5
|
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-06-124-17/+44
|\