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
/
lib
/
active_support
/
duration.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Remove unnecessary reduce in Duration#inspect
Daniel Colson
2018-11-24
1
-1
/
+0
*
Merge pull request #31923 from jdelStrother/duration-deserialization
Rafael França
2018-02-07
1
-0
/
+8
|
\
|
*
Fix yaml deserialization of ActiveSupport::Duration
Jonathan del Strother
2018-02-07
1
-0
/
+8
*
|
Empty duration inspect fix
Chen Kinnrot
2017-12-13
1
-1
/
+3
*
|
[Active Support] require_relative => require
Akira Matsuda
2017-10-21
1
-5
/
+5
*
|
Update links to use https instead of http [ci skip]
Yoshiyuki Hirano
2017-08-22
1
-1
/
+1
*
|
Add missing support for modulo operations on durations
Sayan Chakraborty
2017-07-28
1
-1
/
+47
*
|
Fix division where a duration is the denominator
Andrew White
2017-07-27
1
-5
/
+4
*
|
[Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
Koichi ITO
2017-07-11
1
-0
/
+1
*
|
Use frozen-string-literal in ActiveSupport
Kir Shatrov
2017-07-09
1
-0
/
+1
*
|
[Active Support] require => require_relative
Akira Matsuda
2017-07-01
1
-5
/
+5
|
/
*
Fix implicit calculations with scalars and durations
Andrew White
2017-05-20
1
-6
/
+35
*
`respond_to_missing?` should be private
Ryuta Kamizono
2017-04-22
1
-5
/
+5
*
Remove implicit coercion deprecation of durations
Andrew White
2017-03-15
1
-10
/
+78
*
Fix typo in comment
Andrew White
2017-03-03
1
-1
/
+1
*
Deprecate implicit coercion of `ActiveSupport::Duration`
Andrew White
2017-03-02
1
-2
/
+39
*
Add Duration#before and #after as aliases for #ago and #since
Nick Johnstone
2017-02-26
1
-0
/
+2
*
Add duration constructors for use in Numeric extensions
Andrew White
2017-01-12
1
-26
/
+68
*
Fix inconsistent results when parsing large durations and constructing durati...
Andrey Novikov
2017-01-09
1
-8
/
+19
*
Privatize unneededly protected methods in Active Support
Akira Matsuda
2016-12-24
1
-4
/
+2
*
No need to nodoc private methods
Akira Matsuda
2016-12-24
1
-1
/
+1
*
Treat combined durations as a single unit
Sean Griffin
2016-11-29
1
-3
/
+9
*
Ensure duration parsing is consistent across DST changes
Andrew White
2016-10-31
1
-2
/
+3
*
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
1
-4
/
+4
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-2
/
+2
*
applies new string literal convention in activesupport/lib
Xavier Noria
2016-08-06
1
-4
/
+4
*
Change 1.week to create 1 week durations instead of 7 days durations.
Andrey Novikov
2016-04-28
1
-1
/
+5
*
Revert "Change 1.week to create 1 week durations instead of 7 days durations."
Jeremy Daer
2016-04-27
1
-3
/
+1
*
`ActiveSupport::Duration` supports ISO8601 formatting and parsing.
Arnau Siches, Andrey Novikov
2016-04-18
1
-0
/
+20
*
Change 1.week to create 1 week durations instead of 7 days durations.
Andrey Novikov
2016-04-18
1
-1
/
+3
*
[skip ci] Update documentation for Duration#to_s
Anton Davydov
2015-05-25
1
-0
/
+4
*
Add documentation for Duration#to_i for clarification
nerdinand
2015-03-23
1
-0
/
+24
*
Removing :en in favor of I18n.default_locale in duration#inspect
Dominik Masur
2015-01-12
1
-1
/
+1
*
Remove workaround to a Ruby 2.0.0 bug
Rafael Mendonça França
2015-01-04
1
-7
/
+0
*
Fix syntax error with RDoc directive,
Zachary Scott
2014-12-20
1
-1
/
+1
*
Merge pull request #17493 from petewest/duration-comparable
Aaron Patterson
2014-11-07
1
-0
/
+2
|
\
|
*
Delegate comparison operator to value
Peter West
2014-11-03
1
-0
/
+2
*
|
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
*
Merge pull request #11794 from yoazt/duration-eql
Rafael Mendonça França
2014-09-17
1
-1
/
+3
|
\
|
*
Added method `#eql?` to `ActiveSupport::Duration`, in addition to `#==`.
Joost Lubach
2013-08-07
1
-0
/
+6
*
|
add implementation of respond_to? for ActiveSupport::Duration
lsylvester
2014-09-15
1
-1
/
+9
*
|
Follow-up to #16560
Robin Dupret
2014-08-24
1
-2
/
+2
*
|
Define the Duration#instance_of? method
Robin Dupret
2014-08-18
1
-1
/
+5
*
|
[ci skip] Remove Duration#=== when we drop support for 2.0.0-p353
Akshay Vishnoi
2014-05-23
1
-2
/
+1
*
|
Fixed problem where `1.day.eql?(1.day)` is false
Emily Dobervich
2014-04-08
1
-0
/
+4
*
|
Fix segmentation fault in Ruby 2.0.0-p353.
Dmitriy Kiriyenko
2013-11-30
1
-0
/
+8
*
|
Revert "Merge pull request #12480 from iwiznia/master"
Jeremy Kemper
2013-10-11
1
-20
/
+0
*
|
flatten and flatten! methods for ActiveSupport::Duration
Ionatan Wiznia
2013-10-11
1
-0
/
+20
*
|
Reduce Duration#inspect to a single series of transformations
David Chelimsky
2013-09-11
1
-6
/
+4
[next]