Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Time#advance recognizes fractional days and weeks [#970 state:resolved] | Tom Lea | 2008-10-13 | 1 | -0/+34 | |
| | ||||||
* | test nested hash with float | Dan Barry | 2008-10-12 | 1 | -0/+12 | |
| | | | | | | [#652 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Made i18n simple backend able to store false values (and not confuse them ↵ | Tarmo Tänav | 2008-10-09 | 1 | -0/+16 | |
| | | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Mark utf-8 source encoding | Jeremy Kemper | 2008-10-06 | 1 | -0/+2 | |
| | ||||||
* | Fix memoize_all for methods with punctuation [#1175 state:resolved] | Eugene Pimenov | 2008-10-05 | 1 | -0/+5 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵ | Pratik Naik | 2008-10-04 | 1 | -0/+75 | |
| | | | | ActionController::Base. | |||||
* | 1.8 compatibility for random_number method on SecureRandom. | Michael Koziarski | 2008-10-04 | 1 | -0/+4 | |
| | | | | 1.9 has its own version. | |||||
* | Fix mismatched assertions. | Michael Koziarski | 2008-10-04 | 1 | -2/+2 | |
| | ||||||
* | added nicer failure reporting to #assert_difference to tell you the ↵ | madlep | 2008-10-03 | 1 | -0/+18 | |
| | | | | | | | expression that failed rather than just the expected and actual values Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1161 state:committed] | |||||
* | 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> | |||||
* | Modified ActiveSupport::Inflector#parameterize with code from slugalizer ↵ | Adam Cigánek | 2008-09-23 | 2 | -1/+10 | |
| | | | | | | | | | (http://github.com/henrik/slugalizer) Handles trailing and leading slashes, and squashes repeated separators into a single character. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1034 state:committed] | |||||
* | Set encoding of the multibyte test helpers file to UTF-8 so the strings can ↵ | Manfred Stienstra | 2008-09-21 | 1 | -0/+2 | |
| | | | | be read by Ruby 1.9. | |||||
* | Deprecated String#chars in favor of String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -0/+6 | |
| | ||||||
* | Move multibyte test helpers to a separate file and make the conformance ↵ | Manfred Stienstra | 2008-09-21 | 3 | -22/+26 | |
| | | | | tests run again. | |||||
* | Add tests for u_unpack to make sure it raises an EncodingError on invalid ↵ | Manfred Stienstra | 2008-09-21 | 1 | -0/+11 | |
| | | | | UTF-8 strings. | |||||
* | Non-string results from forwarded methods should be returned vertabim. | Manfred Stienstra | 2008-09-21 | 1 | -7/+12 | |
| | ||||||
* | All methods which normally return a string now return a proxy instance. | Manfred Stienstra | 2008-09-21 | 1 | -7/+42 | |
| | ||||||
* | Move with_kcode helper to abstract_unit. Add tests for multibyte string ↵ | Manfred Stienstra | 2008-09-21 | 3 | -19/+61 | |
| | | | | extensions. | |||||
* | Add a test for ActiveSupport::Multibyte::Chars.consumes?. | Manfred Stienstra | 2008-09-21 | 1 | -1/+8 | |
| | ||||||
* | Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9. | Manfred Stienstra | 2008-09-21 | 5 | -584/+567 | |
| | | | | | | * Unicode methods are now defined directly on Chars instead of a handler * Updated Unicode database to Unicode 5.1.0 * Improved documentation | |||||
* | 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 | 2 | -0/+10 | |
| | | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed] | |||||
* | Flesh out the parameterize method to support non-ascii text and underscores. | Michael Koziarski | 2008-09-11 | 1 | -1/+4 | |
| | ||||||
* | Added Inflector#parameterize for easy slug generation ("Donald E. ↵ | David Heinemeier Hansson | 2008-09-10 | 2 | -0/+11 | |
| | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby] | |||||
* | 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 | 4 | -19/+36 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -18/+13 | |
| | | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | |||||
| * | Fix test to not assume which thread finishes first | Jeremy Kemper | 2008-08-29 | 1 | -1/+2 | |
| | | ||||||
* | | 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] | |||||
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom. | Hongli Lai (Phusion | 2008-08-27 | 1 | -0/+15 | |
| | | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed] | |||||
* | Work around frozen Date memoization | Jeremy Kemper | 2008-08-25 | 1 | -4/+12 | |
| | ||||||
* | New inflectors will overwrite defaults [#337 state:resolved] | Peter Wagenet | 2008-08-23 | 1 | -0/+7 | |
| | | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | |||||
* | camelize(:lower) should always downcase first character. [#696 state:resolved] | Amos King | 2008-08-22 | 2 | -0/+8 | |
| | | | | 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> | |||||
* | Simplified and renamed CallbackChain union method to replace_or_append! | Joshua Peek | 2008-08-21 | 1 | -4/+4 | |
| | ||||||
* | Partial revert of 2681685 premature TypeArray abstraction | Joshua Peek | 2008-08-21 | 1 | -51/+0 | |
| | ||||||
* | Ensure objects cached with MemoryStore are immutable | Joshua Peek | 2008-08-19 | 1 | -0/+6 | |
| | ||||||
* | Maintain a seperate buffer for each thread | Joshua Peek | 2008-08-18 | 1 | -4/+25 | |
| | ||||||
* | Replace MemoryStore mutex with a monitor to avoid issues with nested calls | Joshua Peek | 2008-08-18 | 1 | -0/+24 | |
| | ||||||
* | Ensure results returned by a memoized method are immutable | Joshua Peek | 2008-08-13 | 1 | -0/+5 | |
| | ||||||
* | Marshal FileStore values | Joshua Peek | 2008-08-13 | 1 | -0/+27 | |
| |