aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵Michael Koziarski2008-11-252-0/+70
| | | | | | | | | | | | | | | | 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 builder before fast_xs so we don't tickle its over-eager ↵Jeremy Kemper2008-11-241-1/+2
| | | | String#to_xs collision check
* Revert "Hack builder to look for fast_xs instead of insisting on its own ↵Jeremy Kemper2008-11-241-2/+2
| | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b.
* Allow optional arguments and/or block for Object#try like Object#send does. ↵Eloy Duran2008-11-241-2/+7
| | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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 cache storesJeremy Kemper2008-11-231-6/+7
|
* Duration requires BasicObject in case it's autoloaded earlyJeremy Kemper2008-11-231-0/+2
|
* Lazy-require tzinfo for TimeZoneJeremy Kemper2008-11-232-0/+2
|
* Autoload ActiveSupport::SecureRandom and ::MessageVerifierJeremy Kemper2008-11-231-3/+5
|
* Lazy-require tempfile for File#atomic_writeJeremy Kemper2008-11-231-2/+2
|
* Lazy-require DRb for ActiveSupport::Cache::DRbStoreJeremy Kemper2008-11-231-3/+2
|
* Lazy-require OpenSSLJeremy Kemper2008-11-231-1/+2
|
* Lazy-require OpenSSL. Skip entirely if SecureRandom is available.Jeremy Kemper2008-11-231-6/+8
|
* Lazy-require XmlSimple. Move CGI require to object conversions where it's ↵Jeremy Kemper2008-11-232-3/+5
| | | | actually used.
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-232-56/+7
|
* Hack builder to look for fast_xs instead of insisting on its own String#to_xsJeremy Kemper2008-11-231-2/+2
|
* Lazy-require builder libJeremy Kemper2008-11-232-3/+3
|
* Move deprecation assertions so TestCase (and Mocha) needn't load on startupJeremy Kemper2008-11-233-59/+57
|
* Eliminate thread-local circular reference stack by passing it as an argument ↵Jeremy Kemper2008-11-231-20/+8
| | | | instead
* Don't include .rb suffix in core_ext requiresJeremy Kemper2008-11-231-1/+1
|
* Don't need _message as it's in the class name alreadyMichael Koziarski2008-11-231-4/+4
|
* Add ActiveSupport::MessageVerifier to aid users who need to store ↵Michael Koziarski2008-11-232-0/+46
| | | | | | 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.
* Changed the fallback String#each_char to use valid 1.9 syntax.Tom Lea2008-11-221-1/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. ↵Jeremy Kemper2008-11-223-106/+107
| | | | Fix broken Mocha + MiniTest. Assume ruby-core applies patch #771 fixing libraries which extend Test::Unit.
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-224-2/+82
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* Reduced the number of literal aliases to the range that has actually seen ↵David Heinemeier Hansson2008-11-211-23/+3
| | | | personal use. With the massive savings in overhead, I was able to fit Array#forty_two
* Mocha 0.9.0 compatibility for test setup/teardown callbacksJeremy Kemper2008-11-201-4/+6
|
* Ensure only delegations to methods can have an automatic prefix. [#1235 ↵Daniel Schierbeck2008-11-211-0/+4
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-203-2/+24
|\
| * Enumerable#none? conforms to Ruby 1.8.7 behaviorJeremy Kemper2008-11-191-3/+3
| |
| * Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵Pratik Naik2008-11-191-0/+13
| | | | | | | | Wanstrath]
| * Assume that the next version is going to be 2.3 for nowDavid Heinemeier Hansson2008-11-191-2/+2
| |
| * Update doc to make more senseDavid Heinemeier Hansson2008-11-191-1/+1
| |
| * Added Enumerable#none? to check that none of the elements match the block ↵Damian Janowski2008-11-191-0/+9
| | | | | | | | | | | | [#1408 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | alternative resolution to vendor load problemMatt Jones2008-11-201-21/+22
|/ | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Update bundled TZInfo to 0.3.12gbuesing2008-11-18140-172/+88
|
* add vendor/ back to load paths; catch errors in constant loadingMatt Jones2008-11-181-15/+19
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-183-5/+5
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix compatibility with Ruby 1.8 that also has the Miniunit gem installed.Hongli Lai (Phusion)2008-11-171-3/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Explicitly require AS::DurationJeremy Kemper2008-11-171-0/+2
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-171-5/+1
|\
| * BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-171-5/+1
| | | | | | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH]
* | Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-171-2/+0
|\|
| * The inflector is meant to work on words not phrases -- dont confuse people ↵David Heinemeier Hansson2008-11-161-2/+0
| | | | | | | | with a phrase example