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
*
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
*
|
Refactor Duration#inspect
David Chelimsky
2013-08-12
1
-7
/
+7
*
|
Use chop instead of singularize in Duration#inspect
David Chelimsky
2013-08-12
1
-1
/
+1
|
/
*
Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject
Francesco Rodriguez
2012-12-07
1
-2
/
+2
*
update AS docs [ci skip]
Francesco Rodriguez
2012-09-17
1
-3
/
+3
*
let ruby decompose the tuples in the iterator
Aaron Patterson
2012-08-06
1
-1
/
+1
*
removing unnecessary 'examples' noise from activesupport
Francesco Rodriguez
2012-05-13
1
-1
/
+0
*
ruby 1.8 ActiveSupport BasicObject no longer available
Vishnu Atrai
2011-12-30
1
-1
/
+0
*
Fix AS::Duration#duplicable? on 1.8
thedarkone
2011-05-21
1
-0
/
+1
*
Fix Duration#to_json
Pratik Naik
2010-12-29
1
-0
/
+4
*
Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 s...
Krekoten' Marjan
2010-09-01
1
-1
/
+1
*
Deletes trailing whitespaces (over text files only find * -type f -exec sed '...
Santiago Pastorino
2010-08-14
1
-1
/
+1
[next]