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
*
`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
*
making comments sentence more concise
Neeraj Singh
2010-07-23
1
-2
/
+2
*
1.day should respond_to kind_of too
Neeraj Singh
2010-05-21
1
-0
/
+1
*
Qualify constant lookup in BasicObject
Jeremy Kemper
2010-01-07
1
-1
/
+1
*
Remove unneeded reliance on super -> method_missing quirk
Jeremy Kemper
2010-01-07
1
-2
/
+4
*
duration.rb needs active_support/core_ext/object/acts_like
Xavier Noria
2010-01-01
1
-0
/
+1
*
make #inspect if zero length duration return '0 seconds' instead of empty str...
Levin Alexander
2009-07-02
1
-2
/
+4
*
Fix dependencies revealed by testing in isolation
Jeremy Kemper
2009-04-22
1
-0
/
+1
*
Force all internal calls to Array#to_sentence to use English [#2010 state:res...
David Heinemeier Hansson
2009-02-27
1
-1
/
+1
*
Duration requires BasicObject in case it's autoloaded early
Jeremy Kemper
2008-11-23
1
-0
/
+2
*
Duration #since and #ago with no argument (e.g., 5.days.ago) return TimeWithZ...
gbuesing
2008-04-20
1
-3
/
+3
*
Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument error...
Jeremy Kemper
2008-01-02
1
-1
/
+1
*
Revert const_missing bypass in favor of Duration constant lookup tweak
Jeremy Kemper
2007-12-15
1
-1
/
+1
*
Ruby 1.9 compat: define Duration#== [chuyeow]
Jeremy Kemper
2007-12-15
1
-25
/
+35
*
Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility.
Jeremy Kemper
2007-10-07
1
-2
/
+2
*
Add Date#since, ago, beginning_of_day, and end_of_day. Date + seconds works n...
Jeremy Kemper
2007-06-04
1
-4
/
+1
*
Time durations use since instead of + for accuracy. Closes #8513.
Jeremy Kemper
2007-05-30
1
-1
/
+1
*
Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich Col...
Rick Olson
2007-01-23
1
-1
/
+1
[next]