Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵ | gbuesing | 2008-07-14 | 1 | -0/+2 |
| | | | | because Ruby's marshaling of Time instances doesn't respect the zone | ||||
* | Added Memoizable mixin for caching simple lazy loaded attributes | Joshua Peek | 2008-07-14 | 1 | -0/+2 |
| | |||||
* | Move test related core_ext stuff out of regular core ext to prevent nasty ↵ | Michael Koziarski | 2008-07-04 | 1 | -0/+2 |
| | | | | surprises when you require active_support then use Test::Unit directly. | ||||
* | Add Inflection rules for String#humanize. [#535 state:resolved] [dcmanges] | Pratik Naik | 2008-07-02 | 1 | -0/+8 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵ | gbuesing | 2008-06-29 | 1 | -0/+2 |
| | | | | 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. | ||||
* | Fix indentation and update changelogs for previous commit | gbuesing | 2008-06-29 | 1 | -0/+2 |
| | |||||
* | Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved] | David Heinemeier Hansson | 2008-06-20 | 1 | -1/+1 |
| | |||||
* | Added Array#second through Array#tenth as aliases for Array#[1] through ↵ | David Heinemeier Hansson | 2008-06-17 | 1 | -0/+2 |
| | | | | Array#[9] [DHH] | ||||
* | Change Enumberal#several? to Enumberal#many? | David Heinemeier Hansson | 2008-06-13 | 1 | -1/+1 |
| | |||||
* | Added test/do declaration style testing to ActiveSupport::TestCase [DHH via ↵ | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+2 |
| | | | | Jay Fields] | ||||
* | Added Object#present? which is equivalent to !Object#blank? [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+2 |
| | |||||
* | Added Enumberable#several? to encapsulate collection.size > 1 [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+2 |
| | |||||
* | Renamed StringQuestioneer to StringInquirer. | Joshua Peek | 2008-06-04 | 1 | -1/+1 |
| | |||||
* | Wrapped Rails.env in StringQuestioneer so you can do Rails.env.development? ↵ | David Heinemeier Hansson | 2008-06-03 | 1 | -0/+2 |
| | | | | [DHH] | ||||
* | Add more standard Hash methods to ActiveSupport::OrderedHash [#314 ↵ | Steve Purcell | 2008-06-03 | 1 | -0/+4 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] ↵ | David Heinemeier Hansson | 2008-06-02 | 1 | -0/+5 |
| | | | | (Danger) | ||||
* | Fixed changelog merge. | Marcos Tapajos | 2008-06-02 | 1 | -1/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Making ready for release of 2.1 | David Heinemeier Hansson | 2008-05-31 | 1 | -2/+2 |
| | |||||
* | TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more ↵ | gbuesing | 2008-05-25 | 1 | -0/+2 |
| | | | | familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370] | ||||
* | Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out ↵ | gbuesing | 2008-05-18 | 1 | -0/+2 |
| | | | | of range of Time. Adding tests for utc offsets | ||||
* | TimeWithZone #+ and #- : ensure overflow to DateTime with Numeric arg | gbuesing | 2008-05-18 | 1 | -0/+2 |
| | |||||
* | Time#to_json: don't convert to utc before encoding. References #175 | gbuesing | 2008-05-18 | 1 | -0/+2 |
| | |||||
* | Making ready for RC1 release | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 |
| | |||||
* | Remove unused JSON methods. [#164 state:resolved] | Cheah Chu Yeow | 2008-05-11 | 1 | -0/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+2 |
| | | | | 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 | -0/+2 |
| | | | | class; no longer relying on method_missing | ||||
* | Updating changelogs | gbuesing | 2008-05-08 | 1 | -0/+4 |
| | |||||
* | Added Ruby 1.8 implementation of Process.daemon | Joshua Peek | 2008-05-05 | 1 | -0/+2 |
| | |||||
* | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵ | gbuesing | 2008-04-20 | 1 | -0/+2 |
| | | | | 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 | -0/+2 |
| | |||||
* | Add #getutc alias for DateTime#utc | gbuesing | 2008-04-12 | 1 | -0/+2 |
| | |||||
* | Refactor TimeWithZone: don't send #since, #ago, #+, #-, #advance through ↵ | gbuesing | 2008-04-12 | 1 | -0/+2 |
| | | | | method_missing | ||||
* | TimeWithZone respects config.active_support.use_standard_json_time_format | gbuesing | 2008-04-12 | 1 | -0/+2 |
| | |||||
* | Add config.active_support.escape_html_entities_in_json to allow disabling of ↵ | Rick Olson | 2008-04-08 | 1 | -0/+2 |
| | | | | | | html entity escaping. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix more typos and changelog | Pratik Naik | 2008-04-05 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Replaced callback method evaluation in AssociationCollection class to use ↵ | Josh Peek | 2008-04-04 | 1 | -0/+2 |
| | | | | | | ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ↵ | Geoff Buesing | 2008-04-04 | 1 | -0/+2 |
| | | | | | | #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/+2 |
| | | | | 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 | -2/+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/+2 |
| | | | | 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/+2 |
| | | | | | | 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 config.active_support.use_standard_json_time_format setting so that ↵ | Rick Olson | 2008-04-01 | 1 | -0/+2 |
| | | | | | | Times and Dates export to ISO 8601 dates. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TZInfo: Removing unneeded TimezoneProxy class | Geoff Buesing | 2008-03-30 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TZInfo: Removing unneeded TimezoneIndexDefinition, since we're not including ↵ | Geoff Buesing | 2008-03-30 | 1 | -0/+2 |
| | | | | | | Indexes::Timezones git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ↵ | Geoff Buesing | 2008-03-30 | 1 | -0/+2 |
| | | | | | | bundled git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone ↵ | Geoff Buesing | 2008-03-30 | 1 | -0/+2 |
| | | | | | | definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | config.time_zone and TimeWithZone#marshal_load accept tzinfo/Olson identifiers | Geoff Buesing | 2008-03-28 | 1 | -0/+2 |
| | | | | 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/+2 |
| | | | | | | 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/+2 |
| | | | | | | 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/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |