aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/duration_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Deprecated Float#years and Float#months, moved Numeric#years and Numeric#mont...Tom Lea2008-10-131-0/+18
* Time#advance recognizes fractional days and weeks [#970 state:resolved]Tom Lea2008-10-131-0/+34
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveS...Joshua Peek2008-06-031-4/+4
* Duration #since and #ago with no argument (e.g., 5.days.ago) return TimeWithZ...gbuesing2008-04-201-0/+42
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
* Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument error...Jeremy Kemper2008-01-021-0/+11
* Ruby 1.9 compat: define Duration#== [chuyeow]Jeremy Kemper2007-12-151-1/+0
* Mark Duration test failing with Ruby 1.9Jeremy Kemper2007-09-271-2/+3
* Improve test coverage of Duration. Closes #7182 [richcollins]Michael Koziarski2007-01-211-0/+4
* Fix that Dates couldn't be subtracted from Dates after [5940].Sam Stephenson2007-01-151-1/+5
* Make 1.months and friends accurate by introducing a Duration class. #6835 [e...Michael Koziarski2007-01-151-0/+13