index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activesupport
/
test
/
core_ext
/
duration_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Deprecate implicit coercion of `ActiveSupport::Duration`
Andrew White
2017-03-02
1
-3
/
+55
*
Add Duration#before and #after as aliases for #ago and #since
Nick Johnstone
2017-02-26
1
-0
/
+13
*
Add additional tests for #27610
Andrew White
2017-01-12
1
-1
/
+38
*
Fix inconsistent results when parsing large durations and constructing durati...
Andrey Novikov
2017-01-09
1
-0
/
+1
*
assert_equal takes expectation first
Akira Matsuda
2016-12-26
1
-2
/
+2
*
Fix Fixnum deprecated warning in Ruby 2.4+
utilum
2016-12-16
1
-1
/
+1
*
Treat combined durations as a single unit
Sean Griffin
2016-11-29
1
-0
/
+11
*
Tweaking some test data due to sprintf behavior change in 2.4
Akira Matsuda
2016-11-05
1
-5
/
+5
*
Ensure duration parsing is consistent across DST changes
Andrew White
2016-10-31
1
-0
/
+31
*
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
1
-9
/
+9
*
RuboCop is 100% green :tada:
Xavier Noria
2016-09-02
1
-1
/
+5
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-1
/
+1
*
remove redundant curlies from hash arguments
Xavier Noria
2016-08-06
1
-1
/
+1
*
applies new string literal convention in activesupport/test
Xavier Noria
2016-08-06
1
-53
/
+53
*
AS::Duration should serialize empty values correctly. (#25656)
Paul Sadauskas
2016-07-11
1
-0
/
+1
*
Support for unified Integer class in Ruby 2.4+
Jeremy Daer
2016-05-18
1
-1
/
+1
*
Change 1.week to create 1 week durations instead of 7 days durations.
Andrey Novikov
2016-04-28
1
-2
/
+12
*
Revert "Change 1.week to create 1 week durations instead of 7 days durations."
Jeremy Daer
2016-04-27
1
-3
/
+2
*
`ActiveSupport::Duration` supports ISO8601 formatting and parsing.
Arnau Siches, Andrey Novikov
2016-04-18
1
-0
/
+85
*
Change 1.week to create 1 week durations instead of 7 days durations.
Andrey Novikov
2016-04-18
1
-2
/
+3
*
Removed mocha stubbing in active_support
Ronak Jangir
2015-06-07
1
-16
/
+18
*
Removing :en in favor of I18n.default_locale in duration#inspect
Dominik Masur
2015-01-12
1
-0
/
+9
*
Merge pull request #17493 from petewest/duration-comparable
Aaron Patterson
2014-11-07
1
-0
/
+12
|
\
|
*
Delegate comparison operator to value
Peter West
2014-11-03
1
-0
/
+12
*
|
Removed the unused require of proxy_object and test related to it
Prathamesh Sonpatki
2014-11-05
1
-1
/
+0
|
/
*
define hash on duration
lsylvester
2014-10-03
1
-0
/
+4
*
Fix another false assertions
Yuki Nishijima
2014-09-21
1
-2
/
+2
*
Merge pull request #11794 from yoazt/duration-eql
Rafael Mendonça França
2014-09-17
1
-0
/
+4
|
\
|
*
Added method `#eql?` to `ActiveSupport::Duration`, in addition to `#==`.
Joost Lubach
2013-08-07
1
-0
/
+8
*
|
add implementation of respond_to? for ActiveSupport::Duration
lsylvester
2014-09-15
1
-0
/
+9
*
|
Skip #eql? tests on Rubinius for AS::Duration
Robin Dupret
2014-08-24
1
-0
/
+3
*
|
Follow-up to #16560
Robin Dupret
2014-08-24
1
-5
/
+6
*
|
Define the Duration#instance_of? method
Robin Dupret
2014-08-18
1
-0
/
+5
*
|
missing activesupport test coverage
Eugene Gilburg
2014-07-19
1
-0
/
+4
*
|
Extract out with_env_tz helper method.
Zuhao Wan
2014-06-18
1
-8
/
+3
*
|
Fixed problem where `1.day.eql?(1.day)` is false
Emily Dobervich
2014-04-08
1
-0
/
+7
*
|
Prefer assert_raise instead of flunk + rescue to test for exceptions
Carlos Antonio da Silva
2013-12-19
1
-5
/
+3
*
|
Fix segmentation fault in Ruby 2.0.0-p353.
Dmitriy Kiriyenko
2013-11-30
1
-0
/
+5
*
|
Deprecated Numeric#{ago,until,since,from_now}
Godfrey Chan
2013-11-26
1
-4
/
+17
*
|
Revert "Merge pull request #12480 from iwiznia/master"
Jeremy Kemper
2013-10-11
1
-15
/
+0
*
|
flatten and flatten! methods for ActiveSupport::Duration
Ionatan Wiznia
2013-10-11
1
-0
/
+15
*
|
Reduce Duration#inspect to a single series of transformations
David Chelimsky
2013-09-11
1
-0
/
+3
|
/
*
Remove unnecessary begin..rescue..end, use only rescue
Akira Matsuda
2013-01-06
1
-8
/
+6
*
Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject
Francesco Rodriguez
2012-12-07
1
-2
/
+2
*
Missing dependency for duration test.
Rolf Timmermans
2011-03-13
1
-0
/
+1
*
updated Time, Date and DateTime current methods in AS to use Time.zone and no...
Josh Kalderimis
2011-02-28
1
-5
/
+5
*
Fix Duration#to_json
Pratik Naik
2010-12-29
1
-0
/
+5
*
Exception handling more readable
Thiago Pradi
2010-09-19
1
-2
/
+2
*
Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 s...
Krekoten' Marjan
2010-09-01
1
-0
/
+8
*
Deletes trailing whitespaces (over text files only find * -type f -exec sed '...
Santiago Pastorino
2010-08-14
1
-2
/
+2
[next]