aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/duration_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObjectFrancesco Rodriguez2012-12-071-2/+2
* Missing dependency for duration test.Rolf Timmermans2011-03-131-0/+1
* updated Time, Date and DateTime current methods in AS to use Time.zone and no...Josh Kalderimis2011-02-281-5/+5
* Fix Duration#to_jsonPratik Naik2010-12-291-0/+5
* Exception handling more readableThiago Pradi2010-09-191-2/+2
* Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 s...Krekoten' Marjan2010-09-011-0/+8
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-2/+2
* 1.day should respond_to kind_of tooNeeraj Singh2010-05-211-0/+1
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-2/+2
* Remove unneeded reliance on super -> method_missing quirkJeremy Kemper2010-01-071-0/+25
* make #inspect if zero length duration return '0 seconds' instead of empty str...Levin Alexander2009-07-021-0/+1
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-201-1/+1
* Work around Float faux precisionJeremy Kemper2009-04-301-10/+10
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+1
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-0/+12
|\
| * Time.local instances: Adding 24.hours across the DST boundary adds 24 hours i...Michael Curtis2009-03-291-0/+12
* | * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc)Jeremy Kemper2009-03-211-20/+0
|/
* Remove obsolete silence_warnings wrappers from TZInfo-dependent tests in Acti...Levin Alexander2009-02-141-13/+11
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-221-60/+58
* Subclass AS::TestCase to get custom assertionsJeremy Kemper2008-11-071-1/+1
* Fix test warningsPratik Naik2008-10-171-2/+2
* Enhance testing for fractional days and weeks. Update changelog.gbuesing2008-10-131-13/+9
* Added deprecated warning messages to Float#months and Float#years deprications.Tom Lea2008-10-131-8/+10