Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove warning of unused variable | Rafael Mendonça França | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | refactor Hash#slice and Hash#extract! | Vasiliy Ermolovich | 2012-03-06 | 1 | -0/+7 |
| | |||||
* | remove usages of AS::OrderedHash | Vishnu Atrai | 2012-03-03 | 2 | -3/+3 |
| | |||||
* | Merge pull request #4284 from mattdbridges/time_calculation_aliases | Xavier Noria | 2012-02-28 | 3 | -0/+58 |
|\ | | | | | Added aliases for prev_year, prev_month, and prev_week in Time and Date calculations | ||||
| * | Adding :last_week, :last_month, and :last_year aliases to Time and Date | Matt Bridges | 2012-02-21 | 3 | -0/+58 |
| | | | | | | | | core extensions | ||||
* | | make Range#overlaps? accept Range of Time | Shigeya Suzuki | 2012-02-09 | 1 | -0/+12 |
| | | |||||
* | | Merge pull request #4878 from vijaydev/ordinal-2072 | Xavier Noria | 2012-02-07 | 1 | -0/+5 |
|\ \ | | | | | | | PR #2072 with docs | ||||
| * | | Document Integer#ordinal available in PR #2072. | Vijay Dev | 2012-02-04 | 1 | -1/+0 |
| | | | | | | | | | | | | Also remove an unasserted line in the tests. | ||||
| * | | Add ActiveSupport::Inflector.ordinal and Integer#ordinal | Tim Gildea | 2012-02-04 | 1 | -0/+6 |
| | | | |||||
* | | | Optional start_day argument for Time#all_week. | kennyj | 2012-02-06 | 1 | -0/+1 |
|/ / | | | | | | | Closes #4883 | ||||
* | | remove unasserted line in test | Vijay Dev | 2012-02-04 | 1 | -1/+0 |
| | | |||||
* | | Deprecate DateTime.local_offset | brainopia | 2012-01-25 | 2 | -15/+6 |
| | | |||||
* | | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. | kennyj | 2012-01-19 | 1 | -6/+2 |
| | | |||||
* | | deprecates Module#local_constant_names | Xavier Noria | 2012-01-12 | 1 | -0/+6 |
|/ | |||||
* | add the class name to the assertion message | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | use AS::TestCase as the base class | Aaron Patterson | 2012-01-05 | 32 | -53/+53 |
| | |||||
* | Nano seconds fraction of time is copied properly in Time#advance | Pawel Pierzchala | 2012-01-05 | 1 | -0/+5 |
| | | | | | | When day, month or year was passed, advance created a new time ignoring previous nsec fraction. Now nsec is passed through usec as a Rational number. | ||||
* | Merge pull request #4252 from lest/deprecate-activesupport-base64 | José Valim | 2012-01-02 | 1 | -10/+0 |
|\ | | | | | remove ActiveSupport::Base64 in favor of ::Base64 | ||||
| * | remove ActiveSupport::Base64 in favor of ::Base64 | Sergey Nartimov | 2012-01-02 | 1 | -10/+0 |
| | | |||||
* | | fix a warning about grouped expressions | Vijay Dev | 2012-01-01 | 1 | -1/+1 |
|/ | |||||
* | refactor Range#include? to handle ranges with floats | Sergey Nartimov | 2011-12-29 | 1 | -0/+4 |
| | |||||
* | deprecate Base64.encode64s from AS. Use Base64.strict_encode64 instead | Vasiliy Ermolovich | 2011-12-27 | 1 | -2/+4 |
| | |||||
* | remove File#to_path alias | Vasiliy Ermolovich | 2011-12-25 | 1 | -4/+0 |
| | |||||
* | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 1 | -1/+3 |
| | |||||
* | Revert "Added Enumerable#pluck to wrap the common pattern of ↵ | Aaron Patterson | 2011-12-22 | 1 | -7/+0 |
| | | | | | | | | | | | | collect(&:method) *DHH*" This reverts commit 4d20de8a50d889a09e6f5642984775fe796ca943. Conflicts: activesupport/CHANGELOG.md activesupport/lib/active_support/core_ext/enumerable.rb activesupport/test/core_ext/enumerable_test.rb | ||||
* | deprecate Array#uniq_by and Array#uniq_by! in favor of Array#uniq and ↵ | Vasiliy Ermolovich | 2011-12-22 | 1 | -6/+14 |
| | | | | Array#uniq! from ruby 1.9 | ||||
* | remove Enumerable#each_with_object from core_ext as it is present in ruby 1.9 | lest | 2011-12-21 | 1 | -10/+1 |
| | |||||
* | remove Kernel#singleton_class from core_ext as it is present in ruby 1.9 | lest | 2011-12-21 | 1 | -6/+1 |
| | |||||
* | remove Array#sample from core_ext | Vasiliy Ermolovich | 2011-12-21 | 1 | -28/+0 |
| | |||||
* | Remove some of the ActiveSupport core extensions related to 1.8. | Uģis Ozols | 2011-12-21 | 2 | -49/+0 |
| | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 5 | -71/+11 |
| | | | | | | 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. | ||||
* | Overrode Hash#nested_under_indifferent_access in HashWithIndifferentAccess | Miles Georgi | 2011-12-11 | 1 | -0/+3 |
| | | | | to return self. | ||||
* | Restore performance of ERB::Util.html_escape | Jon Jensen | 2011-12-03 | 1 | -6/+17 |
| | | | | | | | Revert html_escape to do a single gsub again, but add the "n" flag (no language, i.e. not multi-byte) to protect against XSS via invalid utf8 Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added Enumerable#pluck to wrap the common pattern of collect(&:method) *DHH* | David Heinemeier Hansson | 2011-12-02 | 1 | -1/+8 |
| | |||||
* | Module#synchronize is deprecated with no replacement. Please use `monitor` ↵ | Aaron Patterson | 2011-11-29 | 1 | -89/+0 |
| | | | | from ruby's standard library. | ||||
* | Merge pull request #3767 from tadast/object_in | Yehuda Katz | 2011-11-26 | 1 | -0/+10 |
|\ | | | | | Object#in? also accepts multiple parameters | ||||
| * | Object#in? also accepts multiple parameters | Tadas Tamošauskas | 2011-11-26 | 1 | -0/+10 |
| | | |||||
* | | add more tests for monday and sunday methods | Vijay Dev | 2011-11-26 | 1 | -0/+2 |
| | | |||||
* | | Tests added for monday and sunday | Arun Agrawal | 2011-11-26 | 1 | -0/+8 |
| | | | | | | | | | | Reference commits : a8f2860d0e7db86c61bb70935006100b04667ab1 80ac4dc6d0632937ccf61b38bc15fc2f6e27b18b | ||||
* | | beginning_of_week extended in both Time and Date so that to return week ↵ | gregolsen | 2011-11-25 | 2 | -0/+38 |
| | | | | | | | | start based on start day that is monday by default | ||||
* | | Merge pull request #3725 from marcandre/twz_eql | Yehuda Katz | 2011-11-22 | 2 | -2/+15 |
|\ \ | |/ |/| | Fix inconsistencies with Time{WithZone}#{hash,eql?} | ||||
| * | Fix inconsistencies with Time{WithZone}#{hash,eql?} | Marc-Andre Lafortune | 2011-11-22 | 2 | -2/+15 |
| | | |||||
* | | refactor test_multiple_of | Vijay Dev | 2011-11-16 | 1 | -4/+3 |
| | | |||||
* | | Merge pull request #3549 from luckydev/rmethod | Aaron Patterson | 2011-11-07 | 1 | -0/+29 |
|\ \ | | | | | | | remove_method tests and changes | ||||
| * | | added remove_method core_ext tests | Anand | 2011-11-07 | 1 | -0/+29 |
| |/ | |||||
* / | Removed argument throwing warnings when running tests. | Henrik Hodne | 2011-11-06 | 2 | -16/+16 |
|/ | | | | | | | | The last argument to DateTime.new/civil is the Julian day number for when the calendar reform occured. DateTime ignores it if it's 0, and sets it to the default of DateTime::ITALY instead, so we could just leave it out. This also removes the warnings while running the ActiveSupport tests (there still are some for the setup though). | ||||
* | defines Module#qualified_const_(defined?|get|set) and String#deconstantize | Xavier Noria | 2011-10-29 | 2 | -0/+98 |
| | | | | | | | | | | This commit also implements a faster version of #demodulize I was unable to isolate with git add --patch. Not a big fan of the name #deconstantize. It complements #demodulize getting rid of the rightmost constant, hence the name, but it is unrelated to the well-known #constantize. So unsure. Could not come with anything better, please feel free to rename. | ||||
* | Merge pull request #3151 from zenprogrammer/pluralize_without_count | José Valim | 2011-10-17 | 1 | -4/+8 |
|\ | | | | | Added include_count parameter to pluralize. | ||||
| * | Modified String#pluralize to take an optional count parameter. | Ryan Oblak | 2011-09-28 | 1 | -4/+8 |
| | | |||||
* | | Fixed test_nonexisting_method_with_arguments to revert commit 29a5aea | Yasuo Honda | 2011-10-06 | 1 | -1/+1 |
| | |