aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/duration.rb
Commit message (Expand)AuthorAgeFilesLines
* Add duration constructors for use in Numeric extensionsAndrew White2017-01-121-26/+68
* Fix inconsistent results when parsing large durations and constructing durati...Andrey Novikov2017-01-091-8/+19
* Privatize unneededly protected methods in Active SupportAkira Matsuda2016-12-241-4/+2
* No need to nodoc private methodsAkira Matsuda2016-12-241-1/+1
* Treat combined durations as a single unitSean Griffin2016-11-291-3/+9
* Ensure duration parsing is consistent across DST changesAndrew White2016-10-311-2/+3
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-4/+4
* Add three new rubocop rulesRafael Mendonça França2016-08-161-2/+2
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-4/+4
* Change 1.week to create 1 week durations instead of 7 days durations.Andrey Novikov2016-04-281-1/+5
* Revert "Change 1.week to create 1 week durations instead of 7 days durations."Jeremy Daer2016-04-271-3/+1
* `ActiveSupport::Duration` supports ISO8601 formatting and parsing.Arnau Siches, Andrey Novikov2016-04-181-0/+20
* 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