aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'sven/i18n'Jeremy Kemper2008-08-273-23/+5
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| * I18n: remove #populate from Simple backend as wellMarko Seppae2008-08-271-7/+0
| |
| * I18n: removed call to #populate from main library filesMarko Seppae2008-08-271-3/+1
| |
| * I18n: removed #populate and #store_translations from apiMarko Seppae2008-08-272-13/+4
| |
* | Moved Logger extensions into core_extJoshua Peek2008-08-273-129/+128
| |
* | Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵Luca Guidi2008-08-271-1/+22
| | | | | | | | are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved]
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-272-0/+199
|/ | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed]
* Ruby 1.9 compat: switch profile_options to superclass_delegating_accessorJeremy Kemper2008-08-251-8/+9
|
* Harmonize framework require strategy. Don't add self to load path since ↵Jeremy Kemper2008-08-251-2/+0
| | | | Rails initializer and RubyGems handle it.
* Work around frozen Date memoizationJeremy Kemper2008-08-251-0/+16
|
* update i18n gemSven Fuchs2008-08-252-175/+173
|
* Ruby 1.9 compat: update bundled i18n libJeremy Kemper2008-08-232-168/+174
|
* Ruby 1.9: silence some warnings for block args shadowing local varsJeremy Kemper2008-08-232-7/+7
|
* Ruby 1.9: constantize takes advantage of new inherit arg to const_get and ↵Jeremy Kemper2008-08-231-24/+39
| | | | const_defined?
* I18n: use :other instead of :many as default key for pluralization to better ↵Sven Fuchs2008-08-231-1/+1
| | | | | | conform w/ cldr pluralization rules Signed-off-by: Michael Koziarski <michael@koziarski.com>
* New inflectors will overwrite defaults [#337 state:resolved]Peter Wagenet2008-08-231-0/+6
| | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
* Pass class through to DeprecatedConstantProxy targetTarmo Tänav2008-08-231-0/+4
| | | | | | | This is needed because include_all_modules_from checks calls "class" on every constant and sometimes it can hit deprecated constants which aren't even Modules, but while checking for it deprecation warnings are shown.
* Merge branch 'master' into i18nJeremy Kemper2008-08-221-1/+1
|\
| * camelize(:lower) should always downcase first character. [#696 state:resolved]Amos King2008-08-221-1/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Merge commit 'sven/i18n' into i18nJeremy Kemper2008-08-2215-872/+245
|\ \ | |/ |/|
| * Merge branch 'master' into i18nSven Fuchs2008-08-2111-98/+161
| |\
| * | Locale file changed to yamlIain Hecker2008-08-203-30/+32
| | |
| * | add human_name and value to ar validation #generate_messageSven Fuchs2008-08-201-1/+1
| | |
| * | switch to class and instance instead of a module for the simple backendSven Fuchs2008-08-192-169/+169
| | |
| * | fix bug in I18n::Backend::Simple (A default array of non-existant keys ↵Sven Fuchs2008-08-131-1/+1
| | | | | | | | | | | | returns the default array)
| * | update activesupport/vendor i18n gemSven Fuchs2008-08-132-3/+20
| | |
| * | switch to using I18n.load_translations instead of requiring plain ruby filesSven Fuchs2008-08-132-26/+27
| | |
| * | fix require path in vendor.rb for fixed vendor/gem dir structureSven Fuchs2008-08-131-1/+1
| | |
| * | update i18n gem and clean up dir structure within i18n-0.0.1Sven Fuchs2008-08-1010-694/+47
| | |
* | | Mark Class as not being duplicable. [#829 state:resolved]Frederick Cheung2008-08-211-0/+6
| |/ |/| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Simplified and renamed CallbackChain union method to replace_or_append!Joshua Peek2008-08-211-8/+13
| |
* | Partial revert of 2681685 premature TypeArray abstractionJoshua Peek2008-08-212-32/+0
| |
* | Ensure objects cached with MemoryStore are immutableJoshua Peek2008-08-191-1/+1
| |
* | Maintain a seperate buffer for each threadJoshua Peek2008-08-181-7/+12
| |
* | Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-183-9/+13
| | | | | | | | RAILS_DEFAULT_LOGGER unless necessary.
* | Replace MemoryStore mutex with a monitor to avoid issues with nested callsJoshua Peek2008-08-181-12/+24
| |
* | Ruby 1.9 and GC::Profiler updatesJeremy Kemper2008-08-181-6/+60
| |
* | Ensure results returned by a memoized method are immutableJoshua Peek2008-08-131-2/+2
| |
* | Marshal FileStore valuesJoshua Peek2008-08-131-2/+2
| |
* | memoize_ and unmemoize_allJeremy Kemper2008-08-131-18/+33
| |
* | Account for the possibility of a nil options argument to ↵Jeffrey Hardy2008-08-131-4/+4
| | | | | | | | CompressedMemCacheStore#read/#write
* | Freeze memoized results when instance is frozen instead of immediately so ↵Jeremy Kemper2008-08-071-3/+3
|/ | | | you can memoize mutable objects
* Fixed memoize with punctuation and freezing memoized methods with argumentsJeremy Kemper2008-08-071-4/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Optimize memoized method if there are no argumentsJoshua Peek2008-08-061-7/+17
|
* JRuby: improve constantize performance. [#410 state:resolved]Jeremy Kemper2008-08-061-5/+8
|
* Ensure file atomic write uses the cache directory as its tmp folderJoshua Peek2008-08-061-1/+1
|
* Treat single C operations in MemoryStore as atomicJoshua Peek2008-08-061-23/+8
|
* Make FileStore use atomic writesJoshua Peek2008-08-061-1/+1
|
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-062-30/+43
|
* Make File.atomic_write copy the original permissions or use the directories ↵Joshua Peek2008-08-062-20/+50
| | | | default.