aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/duration_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* prepare for Minitest 6utilum2017-06-201-1/+1
* Fix implicit calculations with scalars and durationsAndrew White2017-05-201-0/+34
* Fix test warningsAndrew White2017-03-161-5/+5
* Remove implicit coercion deprecation of durationsAndrew White2017-03-151-25/+117
* Deprecate implicit coercion of `ActiveSupport::Duration`Andrew White2017-03-021-3/+55
* Add Duration#before and #after as aliases for #ago and #sinceNick Johnstone2017-02-261-0/+13
* Add additional tests for #27610Andrew White2017-01-121-1/+38
* Fix inconsistent results when parsing large durations and constructing durati...Andrey Novikov2017-01-091-0/+1
* assert_equal takes expectation firstAkira Matsuda2016-12-261-2/+2
* Fix Fixnum deprecated warning in Ruby 2.4+utilum2016-12-161-1/+1
* Treat combined durations as a single unitSean Griffin2016-11-291-0/+11
* Tweaking some test data due to sprintf behavior change in 2.4Akira Matsuda2016-11-051-5/+5
* Ensure duration parsing is consistent across DST changesAndrew White2016-10-311-0/+31
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-9/+9
* RuboCop is 100% green :tada:Xavier Noria2016-09-021-1/+5
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-53/+53
* AS::Duration should serialize empty values correctly. (#25656)Paul Sadauskas2016-07-111-0/+1
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Change 1.week to create 1 week durations instead of 7 days durations.Andrey Novikov2016-04-281-2/+12
* Revert "Change 1.week to create 1 week durations instead of 7 days durations."Jeremy Daer2016-04-271-3/+2
* `ActiveSupport::Duration` supports ISO8601 formatting and parsing.Arnau Siches, Andrey Novikov2016-04-181-0/+85
* Change 1.week to create 1 week durations instead of 7 days durations.Andrey Novikov2016-04-181-2/+3
* Removed mocha stubbing in active_supportRonak Jangir2015-06-071-16/+18
* Removing :en in favor of I18n.default_locale in duration#inspectDominik Masur2015-01-121-0/+9
* Merge pull request #17493 from petewest/duration-comparableAaron Patterson2014-11-071-0/+12
|\
| * Delegate comparison operator to valuePeter West2014-11-031-0/+12
* | 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
* Fix another false assertionsYuki Nishijima2014-09-211-2/+2
* Merge pull request #11794 from yoazt/duration-eqlRafael Mendonça França2014-09-171-0/+4
|\
| * Added method `#eql?` to `ActiveSupport::Duration`, in addition to `#==`.Joost Lubach2013-08-071-0/+8
* | add implementation of respond_to? for ActiveSupport::Durationlsylvester2014-09-151-0/+9
* | Skip #eql? tests on Rubinius for AS::DurationRobin Dupret2014-08-241-0/+3
* | Follow-up to #16560Robin Dupret2014-08-241-5/+6
* | Define the Duration#instance_of? methodRobin Dupret2014-08-181-0/+5
* | missing activesupport test coverageEugene Gilburg2014-07-191-0/+4
* | Extract out with_env_tz helper method.Zuhao Wan2014-06-181-8/+3
* | Fixed problem where `1.day.eql?(1.day)` is falseEmily Dobervich2014-04-081-0/+7
* | Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-191-5/+3
* | Fix segmentation fault in Ruby 2.0.0-p353.Dmitriy Kiriyenko2013-11-301-0/+5
* | Deprecated Numeric#{ago,until,since,from_now}Godfrey Chan2013-11-261-4/+17
* | Revert "Merge pull request #12480 from iwiznia/master"Jeremy Kemper2013-10-111-15/+0
* | flatten and flatten! methods for ActiveSupport::DurationIonatan Wiznia2013-10-111-0/+15
* | Reduce Duration#inspect to a single series of transformationsDavid Chelimsky2013-09-111-0/+3
|/
* Remove unnecessary begin..rescue..end, use only rescueAkira Matsuda2013-01-061-8/+6