aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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
|
* 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-231-0/+45
| | | | | | 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-223-2/+81
| | | | 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-182-4/+4
| | | | 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
* | Require callbacks so AS::TestCase may be required in isolationJeremy Kemper2008-11-151-0/+2
|/
* Merge branch 'master' into testingJeremy Kemper2008-11-153-5/+12
|\
| * Added lambda merging to OptionMerger (especially useful with named_scope and ↵David Heinemeier Hansson2008-11-151-1/+7
| | | | | | | | with_options) [#740 state:committed] (Paweł Kondzior)
| * Prepare for RC2David Heinemeier Hansson2008-11-141-1/+1
| |
| * TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone ↵gbuesing2008-11-131-2/+2
| | | | | | | | offsets to more current date
| * TimeZone: Caracas GMT offset changed to -4:30 [#1361 state:resolved]Phil Ross2008-11-121-1/+2
| |
* | Prefer a feature check to a version checkJeremy Kemper2008-11-121-1/+1
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-111-2/+10
|\|
| * Only track new constant definitions when we're reloading dependenciesJeremy Kemper2008-11-101-2/+10
| |
* | Set AS::TestCase::Assertion to the underlying test exception for either ↵Jeremy Kemper2008-11-071-1/+4
| | | | | | | | miniunit or test/unit
* | Extract test method declarationJeremy Kemper2008-11-071-0/+21
| |