Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Explicitly require Builder in test that uses it | Jeremy Kemper | 2008-11-24 | 1 | -0/+1 |
| | |||||
* | Revert "Hack builder to look for fast_xs instead of insisting on its own ↵ | Jeremy Kemper | 2008-11-24 | 1 | -1/+0 |
| | | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b. | ||||
* | Allow optional arguments and/or block for Object#try like Object#send does. ↵ | Eloy Duran | 2008-11-24 | 1 | -0/+7 |
| | | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Hack builder to look for fast_xs instead of insisting on its own String#to_xs | Jeremy Kemper | 2008-11-23 | 1 | -0/+1 |
| | |||||
* | Require mocha >= 0.9.0 for AS tests | Jeremy Kemper | 2008-11-22 | 7 | -315/+291 |
| | |||||
* | Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵ | David Heinemeier Hansson | 2008-11-22 | 1 | -1/+1 |
| | | | | 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 Hansson | 2008-11-21 | 1 | -6/+2 |
| | | | | personal use. With the massive savings in overhead, I was able to fit Array#forty_two | ||||
* | Ensure only delegations to methods can have an automatic prefix. [#1235 ↵ | Daniel Schierbeck | 2008-11-21 | 1 | -0/+11 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Enumerable#none? conforms to Ruby 1.8.7 behavior | Jeremy Kemper | 2008-11-19 | 1 | -1/+2 |
| | |||||
* | Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵ | Pratik Naik | 2008-11-19 | 1 | -0/+25 |
| | | | | Wanstrath] | ||||
* | Added Enumerable#none? to check that none of the elements match the block ↵ | Damian Janowski | 2008-11-19 | 1 | -0/+10 |
| | | | | | | [#1408 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Switch to AS::TestCase for assert_deprecated | Jeremy Kemper | 2008-11-15 | 1 | -2/+2 |
| | |||||
* | Subclass AS::TestCase to get custom assertions | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 1 | -4/+4 |
| | |||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | TimeWithZone#freeze: preload instance variables so that we can actually freeze | gbuesing | 2008-10-19 | 1 | -0/+13 |
| | |||||
* | Moved test object instantiation to a setup method. | Daniel Schierbeck | 2008-10-19 | 1 | -9/+9 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Made the :prefix option on Module#delegate accept a custom prefix. | Daniel Schierbeck | 2008-10-19 | 1 | -0/+9 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Added :prefix option to Module#delegate. | Daniel Schierbeck | 2008-10-19 | 1 | -0/+12 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix test warnings | Pratik Naik | 2008-10-17 | 1 | -2/+2 |
| | |||||
* | Enhance testing for fractional days and weeks. Update changelog. | gbuesing | 2008-10-13 | 2 | -13/+17 |
| | |||||
* | Added deprecated warning messages to Float#months and Float#years deprications. | Tom Lea | 2008-10-13 | 1 | -8/+10 |
| | |||||
* | Deprecated Float#years and Float#months, moved Numeric#years and ↵ | Tom Lea | 2008-10-13 | 1 | -0/+18 |
| | | | | Numeric#months into Integer. | ||||
* | Time#advance recognizes fractional days and weeks [#970 state:resolved] | Tom Lea | 2008-10-13 | 1 | -0/+34 |
| | |||||
* | Adds failed test case for slicing hash with indifferent access with symbol keys | adam | 2008-09-23 | 1 | -0/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Deprecated String#chars in favor of String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -0/+6 |
| | |||||
* | Move with_kcode helper to abstract_unit. Add tests for multibyte string ↵ | Manfred Stienstra | 2008-09-21 | 1 | -6/+47 |
| | | | | extensions. | ||||
* | Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved] | Carlos Brando | 2008-09-19 | 1 | -0/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | TimeWithZone #wday, #yday and #to_date avoid trip through #method_missing | gbuesing | 2008-09-14 | 1 | -1/+3 |
| | |||||
* | Add thorough tests for Time-object #past?, #future? and #today. Fix ↵ | gbuesing | 2008-09-14 | 4 | -41/+195 |
| | | | | TimeWithZone #today? to use #time instead of #utc for date comparison. Update changelog. [#720 state:resolved] | ||||
* | Introduce convenience methods past?, today? and future? for Date and Time ↵ | Clemens Kofler | 2008-09-14 | 4 | -15/+79 |
| | | | | classes to facilitate Date/Time comparisons. | ||||
* | Ensure Hash#except is allowed on a frozen hash. References #382 | Mislav Marohnić | 2008-09-13 | 1 | -0/+14 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵ | Manfred Stienstra | 2008-09-11 | 1 | -0/+6 |
| | | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed] | ||||
* | Don't run 32bit dependant assertions in 64bit environments | Tarmo Tänav | 2008-09-04 | 1 | -4/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Add each_with_object from 1.9 for a more convenient alternative to inject. | Adam Keys | 2008-09-03 | 1 | -0/+5 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#962 state:committed] | ||||
* | Database connections are now pooled, one pool per #establish_connection call. | Jeremy Kemper | 2008-09-02 | 2 | -9/+25 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pools start out empty and grow as necessary to a maximum size (default is 5, configure size with key 'pool' in your database configuration). If no connections are available, a thread will wait up to a 'wait_timeout' time (default is 5 seconds). Connections are verified and reset when checked out from the pool (usually upon first access to ActiveRecord::Base.connection), and returned back to the pool after each request. If you would like to use connection pools outside of ActionPack, there is an ActiveRecord::Base.connection_pool method that gives you access to the pool, and you can manually checkout/checkin connections, or supply a block to ActiveRecord::Base.connection_pool.with_connection which takes care of the checkout/checkin for you. [#936 state:resolved] | ||||
| * | Merge rexml-expansion-fix gem into activesupport. | Michael Koziarski | 2008-09-02 | 1 | -0/+21 |
| | | | | | | | | | | Addresses the security issue documented at: * http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ | ||||
| * | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 2 | -9/+4 |
| | | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | | Module#synchronize: Add testcase to ensure that singleton methods can be wrapped | Nick | 2008-08-29 | 1 | -3/+17 |
| | | |||||
* | | Add method punctuation handling to #synchronize | Nick | 2008-08-29 | 1 | -0/+14 |
| | | |||||
* | | Adds Module#synchronize for easier method-level synchronization. | Nick | 2008-08-29 | 1 | -0/+57 |
|/ | |||||
* | Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵ | Luca Guidi | 2008-08-27 | 1 | -0/+34 |
| | | | | are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved] | ||||
* | Work around frozen Date memoization | Jeremy Kemper | 2008-08-25 | 1 | -4/+12 |
| | |||||
* | camelize(:lower) should always downcase first character. [#696 state:resolved] | Amos King | 2008-08-22 | 1 | -0/+4 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Mark Class as not being duplicable. [#829 state:resolved] | Frederick Cheung | 2008-08-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Use current umask when testing the expected file mode [#823 state:resolved] | S. Brent Faulkner | 2008-08-13 | 1 | -4/+4 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make File.atomic_write copy the original permissions or use the directories ↵ | Joshua Peek | 2008-08-06 | 1 | -6/+44 |
| | | | | default. | ||||
* | If it doesn't overflow, it won't have a .start method. So don't run the ↵ | Michael Koziarski | 2008-07-20 | 1 | -1/+1 |
| | | | | second assertion either | ||||
* | Handle the case where 64bit time_t won't overflow. | Michael Koziarski | 2008-07-20 | 1 | -1/+6 |
| | |||||
* | Add extra tests to ensure Hash#slice works with an array as a key. #613 | MatthewRudy | 2008-07-17 | 1 | -0/+21 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |