aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make module dependency DSL opt inJoshua Peek2009-05-071-0/+1
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-221-1/+0
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| * Opt in to JSONJeremy Kemper2009-04-221-1/+0
| |
* | Opt in to DependenciesJeremy Kemper2009-04-221-1/+0
|/
* No more free lunchJeremy Kemper2009-04-221-3/+0
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-0/+2
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb
| * Add support for callbacksYehuda Katz2009-02-271-0/+1
| |
| * Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-0/+1
| |
* | Move AS::Duration autoload to core/time/autoloadJeremy Kemper2009-04-201-1/+0
| |
* | Encapsulate date/time core extensions and constant autoloads in ↵Jeremy Kemper2009-03-311-3/+3
|/ | | | active_support/core/time
* Autoload ActiveSupport::XmlMiniJeremy Kemper2008-11-261-0/+1
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-251-0/+1
|\
| * Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵Michael Koziarski2008-11-251-0/+1
| | | | | | | | | | | | | | | | encryption. The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to A motivated coder could use this to add an :encrypt=>true option to the cookie store.
* | AS::Dependencies also has core extensions; don't autoload it.Jeremy Kemper2008-11-241-1/+1
|/
* Add config.preload_frameworks to load all frameworks at startup. Default to ↵Jeremy Kemper2008-11-241-2/+0
| | | | false so Rails autoloads itself as it's used.
* JSON can't be autoloaded since it includes core extensionsJeremy Kemper2008-11-241-1/+1
|
* require json lib when serialization is loadedJoshua Peek2008-11-241-1/+1
|
* Add LAZY env flag for testing autoload/lazy load featureJoshua Peek2008-11-241-1/+1
|
* Autoload more ActiveSupport libsJoshua Peek2008-11-241-22/+19
|
* Autoload ActiveSupport::Duration, Gzip, OptionMerger, OrderedHash, ↵Jeremy Kemper2008-11-231-17/+14
| | | | OrderedOptions, StringInquirer, TimeWithZone, and TimeZone also
* Autoload ActiveSupport::SecureRandom and ::MessageVerifierJeremy Kemper2008-11-231-3/+5
|
* Add ActiveSupport::MessageVerifier to aid users who need to store ↵Michael Koziarski2008-11-231-0/+1
| | | | | | tamper-proof messages in cookies etc. This is particularly useful for things like remember-me tokens in web applications and auto-unsubscribe links in emails.
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-0/+1
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Remove stuff that was deprecated in 2-1-stablePratik Naik2008-10-211-4/+0
|
* Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵Pratik Naik2008-10-041-0/+2
| | | | ActionController::Base.
* I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵Sven Fuchs2008-09-201-1/+1
| | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge commit 'sven/i18n'Jeremy Kemper2008-08-271-3/+1
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| * I18n: removed call to #populate from main library filesMarko Seppae2008-08-271-3/+1
| |
* | Moved Logger extensions into core_extJoshua Peek2008-08-271-1/+0
| |
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-271-0/+2
|/ | | | | | | 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]
* Harmonize framework require strategy. Don't add self to load path since ↵Jeremy Kemper2008-08-251-2/+0
| | | | Rails initializer and RubyGems handle it.
* Merge branch 'master' into i18nSven Fuchs2008-08-211-1/+0
|\
| * Partial revert of 2681685 premature TypeArray abstractionJoshua Peek2008-08-211-1/+0
| |
* | Locale file changed to yamlIain Hecker2008-08-201-1/+1
| |
* | switch to using I18n.load_translations instead of requiring plain ruby filesSven Fuchs2008-08-131-2/+2
|/
* Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵Joshua Peek2008-07-221-0/+1
| | | | same type [#673 state:resolved]
* merge forward to current rails/masterSven Fuchs2008-07-161-0/+1
|\
| * Added Memoizable mixin for caching simple lazy loaded attributesJoshua Peek2008-07-141-0/+1
| |
* | Renamed lang/ to locale/ because that's what we seem toSven Fuchs2008-06-211-1/+1
| | | | | | | | | | | | standarize on. Also, in future this place can be used for data/code that's not literally translations but conceptually belongs to the locale (like custom pluralization algorithms etc.).
* | Changed process of storing translations from theSven Fuchs2008-06-211-1/+4
| | | | | | | | | | | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources.
* | add lang file for active_supportSven Fuchs2008-06-191-0/+1
|/
* Renamed StringQuestioneer to StringInquirer.Joshua Peek2008-06-041-1/+1
|
* Wrapped Rails.env in StringQuestioneer so you can do Rails.env.development? ↵David Heinemeier Hansson2008-06-031-0/+2
| | | | [DHH]
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵Joshua Peek2008-06-031-0/+4
| | | | ActiveSupport [#238 state:resolved]
* Create a seperate file for ActiveSupport::OrderedHash.Joshua Peek2008-05-141-0/+1
|
* Introduce ActiveSupport::TimeWithZone, for wrapping Time instances with a ↵Geoff Buesing2008-01-231-0/+2
| | | | | | TimeZone. Introduce instance methods to Time for creating TimeWithZone instances, and class methods for managing a global time zone git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵Jeremy Kemper2008-01-191-0/+1
| | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵Jeremy Kemper2008-01-051-3/+0
| | | | | | | | | [Josh Peek] * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the caching stores from ActionController::Caching::Fragments::* to ↵David Heinemeier Hansson2008-01-031-0/+3
| | | | | | ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH] Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH] All fragment cache keys are now by default prefixed with the 'views/' namespace [DHH] Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [DHH] Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke] Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel] Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de