aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
Commit message (Collapse)AuthorAgeFilesLines
* Fix copypaste. [ci skip]Edward Tsech2012-05-111-2/+2
|
* Merge pull request #6064 from gazay/fix_guides_for_as_core_extXavier Noria2012-05-071-0/+12
|\ | | | | Fix guides for as core ext
| * Added tests for comparsion operator for RangeAlexey Gaziev2012-05-071-0/+12
| |
* | Keep all methods in object/deep_dupPiotr Sarnacki2012-05-061-2/+1
| |
* | Nice logic for deep_dup in railsAlexey Gaziev2012-05-062-15/+54
| |
* | Merge pull request #6169 from marcandre/respond_to_missingJosé Valim2012-05-051-0/+1
|\ \ | | | | | | Respond to missing
| * | Use respond_to_missing for TimeWithZoneMarc-Andre Lafortune2012-05-051-0/+1
| |/
* | Merge pull request #6156 from mjtko/feature-beginning_of_hourJeremy Kemper2012-05-043-0/+30
|\ \ | | | | | | Beginning and end of hour support for Time and DateTime
| * | added beginning_of_hour support to core_ext calculations for Time and DateTimeMark J. Titorenko2012-05-043-0/+30
| |/
* / enable tests for beginning_of_* and end_of_* within time zone tests; enable ↵Mark J. Titorenko2012-05-041-8/+8
|/ | | | test for future_with_time_current_as_time_with_zone; fix beginning_of_month test.
* Tests for regexp separator in String#truncateAlexey Gaziev2012-04-291-0/+6
| | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270
* Optimize the performance of #delegateDaniel Schierbeck2012-04-121-0/+19
| | | | | | Remove the use of #__send__ in order to boost performance. This also means that you can no longer delegate to private methods on the target object.
* validate attribute names in class and module attribute accessorsDmitry Plashchynski2012-03-302-0/+28
|
* fix HashWithIndifferentAccess.[] methodSergey Nartimov2012-03-231-0/+9
|
* deprecate Proc#bind that can cause symbol memory leakSergey Nartimov2012-03-221-5/+7
|
* bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-2/+10
|
* Remove warning of unused variableRafael Mendonça França2012-03-081-1/+1
|
* refactor Hash#slice and Hash#extract!Vasiliy Ermolovich2012-03-061-0/+7
|
* remove usages of AS::OrderedHashVishnu Atrai2012-03-032-3/+3
|
* Merge pull request #4284 from mattdbridges/time_calculation_aliasesXavier Noria2012-02-283-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 DateMatt Bridges2012-02-213-0/+58
| | | | | | | | core extensions
* | make Range#overlaps? accept Range of TimeShigeya Suzuki2012-02-091-0/+12
| |
* | Merge pull request #4878 from vijaydev/ordinal-2072Xavier Noria2012-02-071-0/+5
|\ \ | | | | | | PR #2072 with docs
| * | Document Integer#ordinal available in PR #2072.Vijay Dev2012-02-041-1/+0
| | | | | | | | | | | | Also remove an unasserted line in the tests.
| * | Add ActiveSupport::Inflector.ordinal and Integer#ordinalTim Gildea2012-02-041-0/+6
| | |
* | | Optional start_day argument for Time#all_week.kennyj2012-02-061-0/+1
|/ / | | | | | | Closes #4883
* | remove unasserted line in testVijay Dev2012-02-041-1/+0
| |
* | Deprecate DateTime.local_offsetbrainopia2012-01-252-15/+6
| |
* | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.kennyj2012-01-191-6/+2
| |
* | deprecates Module#local_constant_namesXavier Noria2012-01-121-0/+6
|/
* add the class name to the assertion messageAaron Patterson2012-01-061-1/+1
|
* use AS::TestCase as the base classAaron Patterson2012-01-0532-53/+53
|
* Nano seconds fraction of time is copied properly in Time#advancePawel Pierzchala2012-01-051-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-base64José Valim2012-01-021-10/+0
|\ | | | | remove ActiveSupport::Base64 in favor of ::Base64
| * remove ActiveSupport::Base64 in favor of ::Base64Sergey Nartimov2012-01-021-10/+0
| |
* | fix a warning about grouped expressionsVijay Dev2012-01-011-1/+1
|/
* refactor Range#include? to handle ranges with floatsSergey Nartimov2011-12-291-0/+4
|
* deprecate Base64.encode64s from AS. Use Base64.strict_encode64 insteadVasiliy Ermolovich2011-12-271-2/+4
|
* remove File#to_path aliasVasiliy Ermolovich2011-12-251-4/+0
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-1/+3
|
* Revert "Added Enumerable#pluck to wrap the common pattern of ↵Aaron Patterson2011-12-221-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 Ermolovich2011-12-221-6/+14
| | | | Array#uniq! from ruby 1.9
* remove Enumerable#each_with_object from core_ext as it is present in ruby 1.9lest2011-12-211-10/+1
|
* remove Kernel#singleton_class from core_ext as it is present in ruby 1.9lest2011-12-211-6/+1
|
* remove Array#sample from core_extVasiliy Ermolovich2011-12-211-28/+0
|
* Remove some of the ActiveSupport core extensions related to 1.8.Uģis Ozols2011-12-212-49/+0
|
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-205-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 HashWithIndifferentAccessMiles Georgi2011-12-111-0/+3
| | | | to return self.
* Restore performance of ERB::Util.html_escapeJon Jensen2011-12-031-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 Hansson2011-12-021-1/+8
|