Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TimeWithZone#advance: leverage Hash#values_at and non-block form of #any? ↵ | Geoff Buesing | 2009-02-09 | 1 | -1/+1 |
| | | | | for a little less line noise, and a slight speedup (thanks raggi and Roman2K) | ||||
* | Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and ↵ | Zachary Zolton | 2009-02-09 | 1 | -1/+1 |
| | | | | non-standard %z directive [#1899 state:resolved] | ||||
* | TimeWithZone#advance: use #any? instead of #detect | Geoff Buesing | 2009-02-08 | 1 | -1/+1 |
| | |||||
* | TimeWithZone: eliminate unnecessary flatten | Geoff Buesing | 2009-02-08 | 1 | -1/+1 |
| | |||||
* | TimeWithZone: use Array#any? instead of detect, since we don't care about ↵ | Geoff Buesing | 2009-02-08 | 1 | -1/+1 |
| | | | | the block return value | ||||
* | Make TimeWithZone#to_formatted_s an alias to TimeWithZone#to_s [#1796 ↵ | Levin Alexander | 2009-02-08 | 1 | -0/+1 |
| | | | | state:resolved] | ||||
* | Oops, don't yield per expression | Jeremy Kemper | 2009-02-06 | 1 | -10/+9 |
| | |||||
* | Remove dummy Object#try before aliasing it | Jeremy Kemper | 2009-02-06 | 1 | -0/+1 |
| | |||||
* | Avoid circular require | Jeremy Kemper | 2009-02-06 | 1 | -1/+1 |
| | |||||
* | Use Array.wrap, remove unneeded returning block | Jeremy Kemper | 2009-02-06 | 1 | -10/+9 |
| | |||||
* | Introduce Array.wrap(foo) to wrap the argument in an array unless it's ↵ | Jeremy Kemper | 2009-02-06 | 2 | -0/+21 |
| | | | | already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. | ||||
* | Include failed difference expression in assert message | Jeremy Kemper | 2009-02-06 | 1 | -8/+10 |
| | |||||
* | Remove dead testing core_ext | Jeremy Kemper | 2009-02-06 | 2 | -78/+0 |
| | |||||
* | Work around enumerable string deprecation warnings | Jeremy Kemper | 2009-02-06 | 1 | -6/+9 |
| | |||||
* | Tightening the condition for including ↵ | Matthias Hennemeyer | 2009-02-06 | 1 | -1/+1 |
| | | | | | | | | ActiveSupport::Testing::SetupAndTeardown::ForMiniTest. [#1871 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Handle every error that can come out of the Iconv branch by rescuing and ↵ | Michael Koziarski | 2009-02-06 | 1 | -1/+1 |
| | | | | | | returning nil [#1195 state:committed] | ||||
* | Revert "created unit tests and fixed bug that failed tests" | David Heinemeier Hansson | 2009-02-05 | 1 | -1/+1 |
| | | | | This reverts commit be1dbf321aba03c2e9bec423f753308e9bba3ef5. | ||||
* | created unit tests and fixed bug that failed tests | Thijs de Vries | 2009-02-05 | 1 | -1/+1 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Ruby 1.9: force ascii encoding for comparison with utf8 regexp | Jeremy Kemper | 2009-02-03 | 1 | -0/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-02-01 | 1 | -4/+9 |
| | |||||
* | Make sure XmlMini is being correctly autoloaded by Ruby 1.9.1 | Luca Guidi | 2009-01-31 | 1 | -90/+92 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure constant_watch_stack is protected by a mutex, so concurrent requires ↵ | Charles Nutter | 2009-01-30 | 1 | -5/+14 |
| | | | | | | | | do not corrupt it. [#1816 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Only dup local cache values if duplicable [#1653 state:resolved] | Joshua Peek | 2009-01-28 | 1 | -1/+1 |
| | |||||
* | add #available_locales to I18n and I18n::SimpleBackend, flatten translations ↵ | Sven Fuchs | 2009-01-25 | 3 | -1/+34 |
| | | | | | | load_path when loading translations [#1714 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | add an inspect method to OrderedHash to make it clear that it is not a ↵ | Greg Borenstein | 2009-01-26 | 1 | -0/+4 |
| | | | | | | | species of Array Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1782 state:committed] | ||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 9 | -11/+11 |
| | |||||
* | Refactor Object#try to use inheritance. [#1774 state:resolved] | Josh Susser | 2009-01-18 | 2 | -17/+30 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Decouple the local cache strategy from MemCacheStore for reuse with other ↵ | Lourens Naude | 2009-01-17 | 3 | -58/+114 |
| | | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Dup keys in OrderedHash to prevent them from being modified [#1676 ↵ | Brandon Keepers | 2009-01-16 | 1 | -9/+22 |
| | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Properly quote json keys. | Michael Koziarski | 2009-01-16 | 1 | -2/+2 |
| | | | | | According to the RFC and the json.org site all json keys must be strings, and those strings must be quoted with double quotes. [#1755 state:committed] | ||||
* | Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵ | Nahum Wild | 2009-01-15 | 1 | -4/+61 |
| | | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Change Object#try to raise NoMethodError on private methods and always ↵ | Pratik Naik | 2009-01-13 | 1 | -1/+1 |
| | | | | return nil when Object is nil [Pratik Naik, Lawrence Pit] | ||||
* | TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 ↵ | Nicholas Dainty | 2009-01-11 | 1 | -2/+6 |
| | | | | state:resolved] | ||||
* | Process time should be wall time when benchmarking | Pratik Naik | 2009-01-09 | 1 | -1/+1 |
| | |||||
* | Object#tap for Ruby < 1.8.7 | Jeremy Kemper | 2009-01-07 | 1 | -0/+15 |
| | |||||
* | Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del ↵ | Pratik Naik | 2009-01-07 | 1 | -1/+1 |
| | | | | Strother] | ||||
* | TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime ↵ | gbuesing | 2009-01-04 | 1 | -1/+1 |
| | | | | argument | ||||
* | Allow multiple conditions for callbacks [#1627 state:resolved] | Joshua Peek | 2008-12-28 | 1 | -7/+2 |
| | |||||
* | Fix 'i18n' require broken by 0.0.1 -> 0.1.1 commit [#1658 state:committed] | Yaroslav Markin | 2008-12-28 | 1 | -1/+1 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Update i18n gem to version 0.1.1 (Rails' changes were backported) [#1635 ↵ | Yaroslav Markin | 2008-12-28 | 15 | -71/+882 |
| | | | | | | state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 15 | -182/+194 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved] | trans | 2008-12-26 | 1 | -1/+8 |
| | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Add :allow_nil option to delegate [#1127 state:resolved] | Sergio Gil | 2008-12-21 | 1 | -1/+27 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Revert "Make constantize look into ancestors" | Jeremy Kemper | 2008-12-15 | 1 | -24/+41 |
| | | | | | | [#410 state:open] This reverts commit 262fef7ed57520b857605a0105fe7ba9265654f6. | ||||
* | Make constantize look into ancestors | Frederick Cheung | 2008-12-15 | 1 | -41/+24 |
| | | | | | | [#410 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵ | Frederick Cheung | 2008-12-15 | 2 | -2/+2 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make delete_if/reject faster and fix other mutators | Frederick Cheung | 2008-12-15 | 1 | -13/+24 |
| | | | | | | [#1559 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fixed ActiveSupport::OrderedHash #delete_if, #reject!, and #reject, which ↵ | Eloy Duran | 2008-12-11 | 1 | -0/+25 |
| | | | | | | | | did not sync the @keys after the operation. This probably holds true for other mutating methods as well. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Prefer Rails.logger over RAILS_DEFAULT_LOGGER | Joshua Peek | 2008-12-10 | 2 | -4/+4 |
| | |||||
* | Squash memory leak when calling flush with an empty buffer | Frederick Cheung | 2008-12-10 | 1 | -1/+4 |
| | | | | | | [#1552 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |