aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/duration.rb
Commit message (Expand)AuthorAgeFilesLines
* 1.day should respond_to kind_of tooNeeraj Singh2010-05-211-0/+1
* Qualify constant lookup in BasicObjectJeremy Kemper2010-01-071-1/+1
* Remove unneeded reliance on super -> method_missing quirkJeremy Kemper2010-01-071-2/+4
* duration.rb needs active_support/core_ext/object/acts_likeXavier Noria2010-01-011-0/+1
* make #inspect if zero length duration return '0 seconds' instead of empty str...Levin Alexander2009-07-021-2/+4
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+1
* Force all internal calls to Array#to_sentence to use English [#2010 state:res...David Heinemeier Hansson2009-02-271-1/+1
* Duration requires BasicObject in case it's autoloaded earlyJeremy Kemper2008-11-231-0/+2
* Duration #since and #ago with no argument (e.g., 5.days.ago) return TimeWithZ...gbuesing2008-04-201-3/+3
* Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument error...Jeremy Kemper2008-01-021-1/+1
* Revert const_missing bypass in favor of Duration constant lookup tweakJeremy Kemper2007-12-151-1/+1
* Ruby 1.9 compat: define Duration#== [chuyeow]Jeremy Kemper2007-12-151-25/+35
* Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility.Jeremy Kemper2007-10-071-2/+2
* Add Date#since, ago, beginning_of_day, and end_of_day. Date + seconds works n...Jeremy Kemper2007-06-041-4/+1
* Time durations use since instead of + for accuracy. Closes #8513.Jeremy Kemper2007-05-301-1/+1
* Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich Col...Rick Olson2007-01-231-1/+1
* change Duration to use the new Object#acts_like? helper to do duck typingJamis Buck2007-01-151-2/+2
* Make sure Duration uses duck-typing instead of explicit classes, so apps can ...Jamis Buck2007-01-151-3/+4
* Make 1.months and friends accurate by introducing a Duration class. #6835 [e...Michael Koziarski2007-01-151-0/+88