aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-184-7/+7
| | | | 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
|/
* Switch to AS::TestCase for assert_deprecatedJeremy Kemper2008-11-151-2/+2
|
* Merge branch 'master' into testingJeremy Kemper2008-11-156-8/+28
|\
| * Wrong referenceDavid Heinemeier Hansson2008-11-151-1/+1
| |
| * Added lambda merging to OptionMerger (especially useful with named_scope and ↵David Heinemeier Hansson2008-11-152-1/+15
| | | | | | | | with_options) [#740 state:committed] (Paweł Kondzior)
| * Added lambda merging to OptionMerger (especially useful with named_scope and ↵David Heinemeier Hansson2008-11-151-0/+5
| | | | | | | | with_options) [#740 state:commited] (Paweł Kondzior)
| * Missing changelog for memcache-client changesMichael Koziarski2008-11-141-0/+2
| |
| * Prepare for RC2David Heinemeier Hansson2008-11-142-8/+2
| |
| * TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone ↵gbuesing2008-11-133-3/+5
| | | | | | | | offsets to more current date
| * TimeZone: Caracas GMT offset changed to -4:30 [#1361 state:resolved]Phil Ross2008-11-122-1/+4
| |
* | Prefer a feature check to a version checkJeremy Kemper2008-11-121-1/+1
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-112-7/+15
|\|
| * Only track new constant definitions when we're reloading dependenciesJeremy Kemper2008-11-102-7/+15
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-081-1/+2
|\|
| * Move sshpublisher require into the rake tasks that use it so ruby 1.9 and ↵Jeremy Kemper2008-11-081-1/+2
| | | | | | | | macruby don't need the rake gem installed
* | 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
| |
* | Just rescue exception rather than checking for both miniunit and test/unitJeremy Kemper2008-11-072-7/+3
| |
* | Subclass AS::TestCase to get custom assertionsJeremy Kemper2008-11-071-1/+1
| |
* | Safer but hacky minitest autorun overrideJeremy Kemper2008-11-071-4/+5
| |
* | Rework testing extensions to reflect the recent miniunit upheavalJeremy Kemper2008-11-076-52/+64
| |
* | Remove direct TestCase mixins. Add miniunit compatibility.Jeremy Kemper2008-11-075-19/+91
|/
* Don't shadow local with black argJeremy Kemper2008-11-071-4/+4
|