aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support.rb
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
* Ruby 1.9 compat: move from the deprecated Base64 module to ↵Jeremy Kemper2007-12-181-0/+2
| | | | | | ActiveSupport::Base64. Closes #10554. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-261-0/+2
| | | | | | to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rebundle Builder 2.1.2 but prefer a newer RubyGem if available.Jeremy Kemper2007-10-101-11/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Builder unbundle message directs to Bulk updating Gem source index for: ↵Jeremy Kemper2007-10-081-0/+7
| | | | | | http://gems.rubyforge.org git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* String#to_xs uses the fast_xs extension if available for Builder speedup.Jeremy Kemper2007-10-071-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility.Jeremy Kemper2007-10-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit ↵David Heinemeier Hansson2007-09-251-0/+3
| | | | | | with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH] Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [DHH]. (You can change it back with config.logger = Logger.new(/path/to/log, level).) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de