aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/duration.rb
Commit message (Expand)AuthorAgeFilesLines
* Change 1.week to create 1 week durations instead of 7 days durations.Andrey Novikov2016-04-181-1/+3
* [skip ci] Update documentation for Duration#to_sAnton Davydov2015-05-251-0/+4
* Add documentation for Duration#to_i for clarificationnerdinand2015-03-231-0/+24
* Removing :en in favor of I18n.default_locale in duration#inspectDominik Masur2015-01-121-1/+1
* Remove workaround to a Ruby 2.0.0 bugRafael Mendonça França2015-01-041-7/+0
* Fix syntax error with RDoc directive,Zachary Scott2014-12-201-1/+1
* Merge pull request #17493 from petewest/duration-comparableAaron Patterson2014-11-071-0/+2
|\
| * Delegate comparison operator to valuePeter West2014-11-031-0/+2
* | Removed the unused require of proxy_object and test related to itPrathamesh Sonpatki2014-11-051-1/+0
|/
* define hash on durationlsylvester2014-10-031-0/+4
* Merge pull request #11794 from yoazt/duration-eqlRafael Mendonça França2014-09-171-1/+3
|\
| * Added method `#eql?` to `ActiveSupport::Duration`, in addition to `#==`.Joost Lubach2013-08-071-0/+6
* | add implementation of respond_to? for ActiveSupport::Durationlsylvester2014-09-151-1/+9
* | Follow-up to #16560Robin Dupret2014-08-241-2/+2
* | Define the Duration#instance_of? methodRobin Dupret2014-08-181-1/+5
* | [ci skip] Remove Duration#=== when we drop support for 2.0.0-p353Akshay Vishnoi2014-05-231-2/+1
* | Fixed problem where `1.day.eql?(1.day)` is falseEmily Dobervich2014-04-081-0/+4
* | Fix segmentation fault in Ruby 2.0.0-p353.Dmitriy Kiriyenko2013-11-301-0/+8
* | Revert "Merge pull request #12480 from iwiznia/master"Jeremy Kemper2013-10-111-20/+0
* | flatten and flatten! methods for ActiveSupport::DurationIonatan Wiznia2013-10-111-0/+20
* | Reduce Duration#inspect to a single series of transformationsDavid Chelimsky2013-09-111-6/+4
* | Refactor Duration#inspectDavid Chelimsky2013-08-121-7/+7
* | Use chop instead of singularize in Duration#inspectDavid Chelimsky2013-08-121-1/+1
|/
* Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObjectFrancesco Rodriguez2012-12-071-2/+2
* update AS docs [ci skip]Francesco Rodriguez2012-09-171-3/+3
* let ruby decompose the tuples in the iteratorAaron Patterson2012-08-061-1/+1
* removing unnecessary 'examples' noise from activesupportFrancesco Rodriguez2012-05-131-1/+0
* ruby 1.8 ActiveSupport BasicObject no longer availableVishnu Atrai2011-12-301-1/+0
* Fix AS::Duration#duplicable? on 1.8thedarkone2011-05-211-0/+1
* Fix Duration#to_jsonPratik Naik2010-12-291-0/+4
* Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 s...Krekoten' Marjan2010-09-011-1/+1
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* making comments sentence more conciseNeeraj Singh2010-07-231-2/+2
* 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