Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | Revert "Hash#slice supports an array of keys [#613 state:resolved]" | Pratik Naik | 2008-07-17 | 1 | -35/+21 |
| | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679. | ||||
* | Allow deep merging of hash values for nested with_options. [#490 state:resolved] | Lawrence Pit | 2008-07-17 | 1 | -0/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Hash#slice supports an array of keys [#613 state:resolved] | Josh Owens | 2008-07-16 | 1 | -21/+35 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added Object#metaclass | Joshua Peek | 2008-07-15 | 1 | -0/+8 |
| | |||||
* | Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵ | Adrian Mugnolo | 2008-07-15 | 1 | -4/+46 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵ | gbuesing | 2008-07-14 | 1 | -0/+6 |
| | | | | because Ruby's marshaling of Time instances doesn't respect the zone | ||||
* | TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵ | gbuesing | 2008-06-29 | 1 | -0/+168 |
| | | | | years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods. | ||||
* | Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved] | David Heinemeier Hansson | 2008-06-20 | 1 | -2/+7 |
| | |||||
* | Added Array#second through Array#tenth as aliases for Array#[1] through ↵ | David Heinemeier Hansson | 2008-06-17 | 1 | -0/+14 |
| | | | | Array#[9] [DHH] | ||||
* | Change Enumberal#several? to Enumberal#many? | David Heinemeier Hansson | 2008-06-13 | 1 | -3/+3 |
| | |||||
* | Added Object#present? which is equivalent to !Object#blank? [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+5 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-06-12 | 3 | -17/+38 |
|\ | |||||
| * | Performance: faster Object.subclasses_of | Jeremy Kemper | 2008-06-08 | 1 | -1/+1 |
| | | |||||
| * | Wrap date part value method tests inside a uses mocha block. | Joshua Peek | 2008-06-07 | 1 | -16/+18 |
| | | |||||
| * | Move Class::ModelName to Active Support module core_ext | Jeremy Kemper | 2008-06-06 | 1 | -0/+19 |
| | | |||||
* | | Added Enumberable#several? to encapsulate collection.size > 1 [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+6 |
|/ | |||||
* | Fixed ambiguous first argument warning in ArrayExtTest. | Joshua Peek | 2008-06-03 | 1 | -14/+12 |
| | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 5 | -157/+157 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Added tests [#279 state:resolved] (Nicholas Schlueter) | David Heinemeier Hansson | 2008-06-02 | 3 | -0/+10 |
| | |||||
* | Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] ↵ | David Heinemeier Hansson | 2008-06-02 | 1 | -0/+1 |
| | | | | (Danger) | ||||
* | Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out ↵ | gbuesing | 2008-05-18 | 1 | -0/+38 |
| | | | | of range of Time. Adding tests for utc offsets | ||||
* | TimeWithZone #+ and #- : ensure overflow to DateTime with Numeric arg | gbuesing | 2008-05-18 | 1 | -0/+7 |
| | |||||
* | Include time zone offset in TimeWithZone#to_json | Daniel Morrison | 2008-05-13 | 1 | -1/+1 |
| | |||||
* | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+23 |
| | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default | ||||
* | TimeWithZone: date part getter methods (#year #mon #day etc) are defined on ↵ | gbuesing | 2008-05-08 | 1 | -1/+9 |
| | | | | class; no longer relying on method_missing | ||||
* | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵ | gbuesing | 2008-04-20 | 2 | -0/+66 |
| | | | | TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now | ||||
* | Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller] | gbuesing | 2008-04-12 | 1 | -2/+53 |
| | |||||
* | Add #getutc alias for DateTime#utc | gbuesing | 2008-04-12 | 1 | -0/+1 |
| | |||||
* | TimeWithZone respects config.active_support.use_standard_json_time_format | gbuesing | 2008-04-12 | 1 | -0/+7 |
| | |||||
* | Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ↵ | Geoff Buesing | 2008-04-04 | 1 | -0/+52 |
| | | | | | | #7399 [sblackstone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeWithZone: Adding tests for dst and leap day edge cases when advancing time | Geoff Buesing | 2008-04-02 | 1 | -0/+35 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert [9209] Use Hash#except | Pratik Naik | 2008-04-02 | 1 | -32/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding Hash#without Closes #7369 [eventualbuddha] | Pratik Naik | 2008-04-02 | 1 | -0/+32 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeWithZone#method_missing: send to utc to advance with dst correctness, ↵ | Geoff Buesing | 2008-04-02 | 1 | -0/+63 |
| | | | | | | otherwise send to time. Adding tests for time calculations methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add query methods for superclass_delegating_reader | Jeremy Kemper | 2008-03-31 | 1 | -4/+14 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ↵ | Geoff Buesing | 2008-03-30 | 1 | -456/+453 |
| | | | | | | bundled git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Play nice with 1.9's DateTime#to_s | Jeremy Kemper | 2008-03-29 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ensure threads finish running for time zone thread safety test. | Josh Peek | 2008-03-29 | 1 | -2/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | config.time_zone and TimeWithZone#marshal_load accept tzinfo/Olson identifiers | Geoff Buesing | 2008-03-28 | 1 | -0/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps ↵ | Geoff Buesing | 2008-03-28 | 1 | -0/+28 |
| | | | | | | result in TimeZone instance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeWithZone time conversions don't need to be wrapped in TimeOrDateTime, ↵ | Geoff Buesing | 2008-03-28 | 1 | -0/+12 |
| | | | | | | because TZInfo does this internally git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeWithZone#usec returns 0 instead of error when DateTime is wrapped | Geoff Buesing | 2008-03-28 | 1 | -0/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |