aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
...
* Extract XmlMini from XmlSimple. [#1474 state:committed]Joseph Holsten2008-11-251-21/+106
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-254-1/+117
|\
| * Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵Michael Koziarski2008-11-254-1/+117
| | | | | | | | | | | | | | | | 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
* Explicitly require Builder in test that uses itJeremy Kemper2008-11-241-0/+1
|
* Revert "Hack builder to look for fast_xs instead of insisting on its own ↵Jeremy Kemper2008-11-242-3/+2
| | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b.
* Allow optional arguments and/or block for Object#try like Object#send does. ↵Eloy Duran2008-11-242-2/+14
| | | | | | | | [#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-233-57/+8
|
* Hack builder to look for fast_xs instead of insisting on its own String#to_xsJeremy Kemper2008-11-232-2/+3
|
* 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-232-8/+8
|
* Add ActiveSupport::MessageVerifier to aid users who need to store ↵Michael Koziarski2008-11-234-0/+73
| | | | | | 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.
* Ruby 1.9 compat: don't use defined? on complex expressionsJeremy Kemper2008-11-221-1/+1
|
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-2214-570/+524
|
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-228-3/+133
| | | | 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-213-30/+6
| | | | personal use. With the massive savings in overhead, I was able to fit Array#forty_two
* Require mocha >= 0.9.0 for Active Support tests. Don't manipulate the load path.Jeremy Kemper2008-11-201-32/+17
|
* 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-212-0/+15
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-207-4/+68
|\
| * Enumerable#none? conforms to Ruby 1.8.7 behaviorJeremy Kemper2008-11-192-4/+5
| |
| * Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵Pratik Naik2008-11-193-0/+40
| | | | | | | | Wanstrath]
| * Assume that the next version is going to be 2.3 for nowDavid Heinemeier Hansson2008-11-192-3/+3
| |
| * 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-193-0/+21
| | | | | | | | | | | | [#1408 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * TimeZone offset tests: use current_period, to ensure TimeZone#utc_offset is ↵gbuesing2008-11-182-1/+3
| | | | | | | | up-to-date
* | 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-18141-172/+90
|
* 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>