aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #4316 from wrozka/time_advance_nsecAaron Patterson2012-01-051-1/+1
|\ \ \ | |/ / |/| | Time advance nsec bug
| * | Nano seconds fraction of time is copied properly in Time#advancePawel Pierzchala2012-01-051-1/+1
| | | | | | | | | | | | | | | | | | 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.
* | | simplify Class#descendants using singleton_class methodSergey Nartimov2012-01-041-1/+1
| | |
* | | No need to override the to_yaml method in ActiveSupporte::SafeBufferRafael Mendonça França2012-01-041-5/+0
| | |
* | | No need to override the to_yaml method in BigDecimalRafael Mendonça França2012-01-041-15/+0
| | |
* | | No need to use rescue block to require psychRafael Mendonça França2012-01-041-6/+1
| | |
* | | No need to check if YAML::ENGINE is defined since ruby 1.9 does thatRafael Mendonça França2012-01-042-2/+2
|/ /
* | use correct variant of checking whether class is a singletonSergey Nartimov2012-01-031-1/+1
| |
* | rename ruby-debug to ruby-debug19Vishnu Atrai2012-01-011-1/+1
| |
* | remove condition since to_time always available in ruby19 DateTimeVishnu Atrai2011-12-311-1/+1
| |
* | adds a comments that clarifies why Range#include? chooses the comparison ↵Xavier Noria2011-12-301-0/+1
| | | | | | | | operator
* | refactor Range#include? to handle ranges with floatsSergey Nartimov2011-12-291-1/+2
| |
* | Revert "Merge pull request #4220 from bensie/singleton-class-master"Jon Leighton2011-12-281-1/+14
| | | | | | | | | | | | | | This reverts commit 90df0d4f687596943bda108ab0b98dd99cacd46b, reversing changes made to 5e6fc81d63837559a393c173eade281ddeb687dd. Reason: build breakage
* | Further simplify singleton_class checking in class_attributeJames Miller2011-12-281-14/+1
| |
* | refactor Range#include? for range valueVasiliy Ermolovich2011-12-261-3/+1
| |
* | remove rexml security fix for rubies 1.8Vasiliy Ermolovich2011-12-261-46/+0
| |
* | remove File#to_path aliasVasiliy Ermolovich2011-12-252-6/+0
| |
* | removes the compatibility method Module#method_namesXavier Noria2011-12-252-6/+0
| |
* | removes the compatibility method Module#instance_method_namesXavier Noria2011-12-251-4/+0
| |
* | ruby 1.9 returns method names as symbolsSergey Nartimov2011-12-251-11/+6
| |
* | Module#name returns nil for anonymous class in ruby 1.9Vasiliy Ermolovich2011-12-251-6/+2
| |
* | remove date methods that are present in 1.9 rubySergey Nartimov2011-12-251-20/+0
| |
* | remove useless 1.8 ruby code from Range#step, because Range#step without ↵Vasiliy Ermolovich2011-12-251-21/+5
| | | | | | | | block always returns enumerator
* | remove checks for encodings availabilitySergey Nartimov2011-12-251-88/+24
| |
* | remove Time._dump and Time._load patching for ruby 1.8Vasiliy Ermolovich2011-12-251-27/+0
| |
* | remove deprecated Module#synchronize from ActiveSupportSergey Nartimov2011-12-242-47/+1
| |
* | deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-1/+4
| |
* | remove Enumerable#each_with_object againSergey Nartimov2011-12-231-21/+0
| | | | | | | | it come back occasionally in 367741ef
* | adds deprecation warnings to the RDoc of Array#uniq_by(!)Xavier Noria2011-12-201-2/+6
| |
* | remove conflict markerVijay Dev2011-12-231-1/+0
| |
* | Revert "Added Enumerable#pluck to wrap the common pattern of ↵Aaron Patterson2011-12-221-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #4135 from nashby/deprecate-uniq-byJosé Valim2011-12-221-6/+8
|\ \ | | | | | | deprecate Array#uniq_by and Array#uniq_by!
| * | deprecate Array#uniq_by and Array#uniq_by! in favor of Array#uniq and ↵Vasiliy Ermolovich2011-12-221-6/+8
| | | | | | | | | | | | Array#uniq! from ruby 1.9
* | | no more need to make Time#to_date and Time#to_datetime publicSergey Nartimov2011-12-223-12/+0
|/ / | | | | | | they are public in actual 1.9 ruby version (tested at least in 1.9.2-p180)
* | remove Proces.daemon from core_extVasiliy Ermolovich2011-12-222-24/+0
| |
* | Merge pull request #4104 from lest/remove-1-8-codeJosé Valim2011-12-211-21/+0
|\ \ | | | | | | remove Enumerable#each_with_object from core_ext as it is present in ruby 1.9
| * | remove Enumerable#each_with_object from core_ext as it is present in ruby 1.9lest2011-12-211-21/+0
| | |
* | | Merge pull request #4097 from guilleiguaran/safebuffer-html-escapeAaron Patterson2011-12-211-27/+15
|\ \ \ | |/ / |/| | We don't need a special html_escape for 1.8 anymore
| * | We don't need a special html_escape for 1.8 anymoreGuillermo Iguaran2011-12-211-27/+15
| | |
* | | remove Kernel#singleton_class from core_ext as it is present in ruby 1.9lest2011-12-211-7/+0
| | |
* | | remove Array#sample from core_extVasiliy Ermolovich2011-12-212-31/+0
|/ /
* | remove support for ruby 1.8 in AS String extensionsSergey Nartimov2011-12-212-38/+1
| |
* | Remove some of the ActiveSupport core extensions related to 1.8.Uģis Ozols2011-12-214-68/+0
| |
* | requiring enumerator is not nessessary in ruby 1.9Sergey Nartimov2011-12-201-2/+0
| |
* | Remove more dead code from AS.José Valim2011-12-201-18/+6
| |
* | Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-2013-200/+67
| | | | | | | | | | | | 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.
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the loggerAaron Patterson2011-12-191-0/+3
| | | | | | | | from Ruby stdlib.
* | Remove duplicate html_escape docsJeremy Kemper2011-12-111-10/+1
| |
* | Use 1.9 native XML escaping to speed up html_escape and shush regexp warningsJeremy Kemper2011-12-111-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | length user system total real before 6 0.010000 0.000000 0.010000 ( 0.012378) after 6 0.010000 0.000000 0.010000 ( 0.012866) before 60 0.040000 0.000000 0.040000 ( 0.046273) after 60 0.040000 0.000000 0.040000 ( 0.036421) before 600 0.390000 0.000000 0.390000 ( 0.390670) after 600 0.210000 0.000000 0.210000 ( 0.209094) before 6000 3.750000 0.000000 3.750000 ( 3.751008) after 6000 1.860000 0.000000 1.860000 ( 1.857901)
* | fix nodocsVijay Dev2011-12-091-1/+1
| |