aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵Adrian Mugnolo2008-07-151-0/+6
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵gbuesing2008-07-141-0/+2
| | | | because Ruby's marshaling of Time instances doesn't respect the zone
* Added Memoizable mixin for caching simple lazy loaded attributesJoshua Peek2008-07-141-0/+2
|
* Move test related core_ext stuff out of regular core ext to prevent nasty ↵Michael Koziarski2008-07-041-0/+2
| | | | surprises when you require active_support then use Test::Unit directly.
* Add Inflection rules for String#humanize. [#535 state:resolved] [dcmanges]Pratik Naik2008-07-021-0/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵gbuesing2008-06-291-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 commitgbuesing2008-06-291-0/+2
|
* Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved]David Heinemeier Hansson2008-06-201-1/+1
|
* Added Array#second through Array#tenth as aliases for Array#[1] through ↵David Heinemeier Hansson2008-06-171-0/+2
| | | | Array#[9] [DHH]
* Change Enumberal#several? to Enumberal#many?David Heinemeier Hansson2008-06-131-1/+1
|
* Added test/do declaration style testing to ActiveSupport::TestCase [DHH via ↵David Heinemeier Hansson2008-06-121-0/+2
| | | | Jay Fields]
* Added Object#present? which is equivalent to !Object#blank? [DHH]David Heinemeier Hansson2008-06-121-0/+2
|
* Added Enumberable#several? to encapsulate collection.size > 1 [DHH]David Heinemeier Hansson2008-06-121-0/+2
|
* Renamed StringQuestioneer to StringInquirer.Joshua Peek2008-06-041-1/+1
|
* Wrapped Rails.env in StringQuestioneer so you can do Rails.env.development? ↵David Heinemeier Hansson2008-06-031-0/+2
| | | | [DHH]
* Add more standard Hash methods to ActiveSupport::OrderedHash [#314 ↵Steve Purcell2008-06-031-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 Hansson2008-06-021-0/+5
| | | | (Danger)
* Fixed changelog merge.Marcos Tapajos2008-06-021-1/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Making ready for release of 2.1David Heinemeier Hansson2008-05-311-2/+2
|
* TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more ↵gbuesing2008-05-251-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 ↵gbuesing2008-05-181-0/+2
| | | | of range of Time. Adding tests for utc offsets
* TimeWithZone #+ and #- : ensure overflow to DateTime with Numeric arggbuesing2008-05-181-0/+2
|
* Time#to_json: don't convert to utc before encoding. References #175gbuesing2008-05-181-0/+2
|
* Making ready for RC1 releaseDavid Heinemeier Hansson2008-05-111-1/+1
|
* Remove unused JSON methods. [#164 state:resolved]Cheah Chu Yeow2008-05-111-0/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding Date.current, which returns Time.zone.today if config.time_zone is ↵gbuesing2008-05-081-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 ↵gbuesing2008-05-081-0/+2
| | | | class; no longer relying on method_missing
* Updating changelogsgbuesing2008-05-081-0/+4
|
* Added Ruby 1.8 implementation of Process.daemonJoshua Peek2008-05-051-0/+2
|
* Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵gbuesing2008-04-201-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]gbuesing2008-04-121-0/+2
|
* Add #getutc alias for DateTime#utcgbuesing2008-04-121-0/+2
|
* Refactor TimeWithZone: don't send #since, #ago, #+, #-, #advance through ↵gbuesing2008-04-121-0/+2
| | | | method_missing
* TimeWithZone respects config.active_support.use_standard_json_time_formatgbuesing2008-04-121-0/+2
|
* Add config.active_support.escape_html_entities_in_json to allow disabling of ↵Rick Olson2008-04-081-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 changelogPratik Naik2008-04-051-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 Peek2008-04-041-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 Buesing2008-04-041-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 timeGeoff Buesing2008-04-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [9209] Use Hash#exceptPratik Naik2008-04-021-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 Naik2008-04-021-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 Buesing2008-04-021-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 Olson2008-04-011-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 classGeoff Buesing2008-03-301-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 Buesing2008-03-301-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 Buesing2008-03-301-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 Buesing2008-03-301-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 identifiersGeoff Buesing2008-03-281-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 Buesing2008-03-281-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 Buesing2008-03-281-0/+2
| | | | | | because TZInfo does this internally git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de