Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-21 | 3 | -5/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/configurable.rb activesupport/lib/active_support/core_ext/module/deprecation.rb guides/source/action_controller_overview.md guides/source/active_support_core_extensions.md guides/source/ajax_on_rails.textile guides/source/association_basics.textile guides/source/upgrading_ruby_on_rails.md While resolving conflicts, I have chosen to ignore changes done in docrails at some places - these will be most likely 1.9 hash syntax changes. | ||||
| * | update AS/core_ext docs [ci skip] | Francesco Rodriguez | 2012-09-12 | 3 | -5/+6 |
| | | |||||
* | | Date.beginning_of_week thread local and beginning_of_week application config ↵ | gregolsen | 2012-09-18 | 1 | -0/+23 |
|/ | | | | option added (default is Monday) | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-01 | 1 | -0/+1 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2012-09-01 | 1 | -1/+1 |
| | | |||||
| * | Expand documentation for change() method in Time, Date, and DateTime | Jeff Shantz | 2012-08-29 | 1 | -0/+1 |
| | | |||||
* | | Refactored common date and time calculations. | Pan Thomakos | 2012-08-04 | 1 | -181/+2 |
|/ | | | | | | | | * Added the `DateAndTime::Calculations` module that is included in Time and Date. It houses common calculations to reduce duplicated code. * Simplified and cleaned-up the calculation code. * Removed duplication in tests by adding a behavior module for shared tests. I also added some missing tests. | ||||
* | Add prev_quarter and next_quarter method in Time/Date/DateTime | paranoiase Kang | 2012-06-20 | 1 | -0/+11 |
| | |||||
* | Clean Date#beginning_of_month description | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 |
| | | | | | Unnecessary peace of text was injected at 507da04a149b44e20c5a0ba72a218fe1762b6baf by mistake. | ||||
* | removing unnecessary 'examples' noise from activesupport | Francesco Rodriguez | 2012-05-13 | 2 | -4/+0 |
| | |||||
* | String quotes and trailing spaces | Alexey Gaziev | 2012-04-29 | 1 | -7/+7 |
| | |||||
* | AS core_ext refactoring | Alexey Gaziev | 2012-04-29 | 2 | -16/+41 |
| | |||||
* | Adding :last_week, :last_month, and :last_year aliases to Time and Date | Matt Bridges | 2012-02-21 | 1 | -0/+7 |
| | | | | core extensions | ||||
* | remove date methods that are present in 1.9 ruby | Sergey Nartimov | 2011-12-25 | 1 | -20/+0 |
| | |||||
* | Remove some of the ActiveSupport core extensions related to 1.8. | Uģis Ozols | 2011-12-21 | 1 | -33/+0 |
| | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 2 | -41/+0 |
| | | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome. | ||||
* | Convert aliases monday and sunday to methods | Vijay Dev | 2011-11-26 | 1 | -2/+12 |
| | | | | | | | | A recent change to beginning_of_week and end_of_week added an argument that can be used to specify the week's starting day as a symbol. Now these methods were aliased as monday and sunday respectively which as a consequence of the argument addition, made calls like obj.monday(:sunday) possible. This commit makes them methods on their own. | ||||
* | minor doc changes | Vijay Dev | 2011-11-26 | 1 | -3/+3 |
| | |||||
* | some tweaks to PR#3547. [Closes #3547] | Xavier Noria | 2011-11-25 | 1 | -7/+12 |
| | |||||
* | API docstrings updated with default value info | gregolsen | 2011-11-25 | 1 | -3/+3 |
| | |||||
* | beginning_of_week extended in both Time and Date so that to return week ↵ | gregolsen | 2011-11-25 | 1 | -8/+16 |
| | | | | start based on start day that is monday by default | ||||
* | updating API docstring so that user can infer default value | gregolsen | 2011-11-17 | 1 | -2/+2 |
| | |||||
* | Allow a Date to be frozen more than once without an error in Ruby 1.8.x | Bradley Buda | 2011-06-08 | 1 | -4/+6 |
| | |||||
* | Remove extra white spaces on ActiveSupport docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #227 from farski/master | Santiago Pastorino | 2011-05-11 | 1 | -3/+3 |
|\ | | | | | Unnecessary redundancy in Time/Date calculations | ||||
| * | Removed some redundant Time#change time options from beginning_of_ methods ↵ | Chris Kalafarski | 2011-03-13 | 1 | -3/+3 |
| | | | | | | | | in Date and Time | ||||
* | | Better use #remove_possible_method here | Sebastian Martinez | 2011-05-08 | 1 | -2/+3 |
|/ | |||||
* | updated Time, Date and DateTime current methods in AS to use Time.zone and ↵ | Josh Kalderimis | 2011-02-28 | 2 | -5/+5 |
| | | | | | | not Time.zone_default. [#6410 state:committed] | ||||
* | Add Date#rfc3339 and Date#iso8601 to AS | Santiago Pastorino | 2011-02-13 | 1 | -0/+6 |
| | |||||
* | In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵ | Josh Kalderimis | 2011-01-12 | 1 | -1/+1 |
| | | | | | | date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵ | Rob Zolkos & Xavier Noria | 2010-10-16 | 1 | -2/+14 |
| | | | | state:committed] | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | itsy bitsy changes to documentation | Neeraj Singh | 2010-07-28 | 1 | -13/+13 |
| | |||||
* | Move Date#xmlschema to conversions and add a missing require | Santiago Pastorino | 2010-07-04 | 2 | -9/+10 |
| | |||||
* | Refactor move some date, time and date_time methods to */zones and fixed ↵ | Santiago Pastorino | 2010-07-03 | 3 | -19/+23 |
| | | | | some requires | ||||
* | Date#since, #ago, #beginning_of_day, #end_of_day, #xmlschema return ↵ | Geoff Buesing | 2010-06-12 | 2 | -5/+15 |
| | | | | | | TimeWithZone when Time.zone_default is set Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | removes deprecations of last_(month|year) from master, they will be ↵ | Xavier Noria | 2010-05-19 | 1 | -11/+0 |
| | | | | deprecated in 2.3 instead | ||||
* | defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵ | Xavier Noria | 2010-05-12 | 1 | -5/+16 |
| | | | | deprecates last_(month|year) | ||||
* | aliases Date#sunday to Date#end_of_week, for symmetry with existing alias ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+1 |
| | | | | Date#monday -> Date#beginning_of_week | ||||
* | Backports Date#>> from 1.9 so that calculations do the right thing around ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+18 |
| | | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9. | ||||
* | date/conversions needs time/calculations for (utc|local)_time | Xavier Noria | 2010-05-03 | 1 | -0/+1 |
| | |||||
* | let Date.yesterday and Date.tomorrow be based on Date.current rather than ↵ | Xavier Noria | 2010-05-02 | 1 | -2/+2 |
| | | | | Date.today | ||||
* | date/calculations.rb needs active_support/core_ext/object/acts_like because ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | it uses acts_like? | ||||
* | Fixes Dependency bug in ActiveSupport | Yehuda Katz | 2009-12-20 | 2 | -0/+2 |
| | |||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 1 | -3/+0 |
| | |||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 2 | -0/+2 |
| | |||||
* | Duplicating the options hash in Date#advance to prevent modification of the ↵ | Jay Pignata | 2009-08-31 | 1 | -0/+1 |
| | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Check for date/time methods that moved upstream in 1.9 | Jeremy Kemper | 2009-05-07 | 1 | -2/+2 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 2 | -0/+4 |
| | |||||
* | Convert Date calculations and conversions extension modules to class reopens | Jeremy Kemper | 2009-03-28 | 2 | -323/+298 |
| |