Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 ↵ | Krekoten' Marjan | 2010-09-01 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | 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 |
| | | | | | | [#4656 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 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 ↵ | Levin Alexander | 2009-07-02 | 1 | -2/+4 |
| | | | | | | string [#2838 state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | ||||
* | 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 ↵ | David Heinemeier Hansson | 2009-02-27 | 1 | -1/+1 |
| | | | | state:resolved] | ||||
* | 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 ↵ | gbuesing | 2008-04-20 | 1 | -3/+3 |
| | | | | TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now | ||||
* | Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument ↵ | Jeremy Kemper | 2008-01-02 | 1 | -1/+1 |
| | | | | | | error. Closes #10594. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert const_missing bypass in favor of Duration constant lookup tweak | Jeremy Kemper | 2007-12-15 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: define Duration#== [chuyeow] | Jeremy Kemper | 2007-12-15 | 1 | -25/+35 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility. | Jeremy Kemper | 2007-10-07 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add Date#since, ago, beginning_of_day, and end_of_day. Date + seconds works ↵ | Jeremy Kemper | 2007-06-04 | 1 | -4/+1 |
| | | | | | | now. Closes #8575. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time durations use since instead of + for accuracy. Closes #8513. | Jeremy Kemper | 2007-05-30 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich ↵ | Rick Olson | 2007-01-23 | 1 | -1/+1 |
| | | | | | | Collins]. Remove unused code from Duration#inspect. Closes #7180. [Rich Collins] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | change Duration to use the new Object#acts_like? helper to do duck typing | Jamis Buck | 2007-01-15 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make sure Duration uses duck-typing instead of explicit classes, so apps can ↵ | Jamis Buck | 2007-01-15 | 1 | -3/+4 |
| | | | | | | pass proxy objects around and have it all "just work" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make 1.months and friends accurate by introducing a Duration class. #6835 ↵ | Michael Koziarski | 2007-01-15 | 1 | -0/+88 |
[eventualbuddha] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |