aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
...
* Changelog entry for manfred's multibyte changesMichael Koziarski2008-09-221-0/+4
|
* TimeWithZone #wday, #yday and #to_date avoid trip through #method_missinggbuesing2008-09-141-0/+2
|
* Add thorough tests for Time-object #past?, #future? and #today. Fix ↵gbuesing2008-09-141-0/+2
| | | | TimeWithZone #today? to use #time instead of #utc for date comparison. Update changelog. [#720 state:resolved]
* Fix Sri Jayawardenepura time zone to map to Asia/ColomboJamis Buck2008-09-101-0/+2
|
* Added Inflector#parameterize for easy slug generation ("Donald E. ↵David Heinemeier Hansson2008-09-101-0/+2
| | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby]
* Changed all benchmarking reports to be in millisecondsDavid Heinemeier Hansson2008-09-051-0/+2
|
* Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵Luca Guidi2008-08-271-0/+2
| | | | are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved]
* 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