Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Optimize the performance of #delegate | Daniel Schierbeck | 2012-04-12 | 1 | -9/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | Inline the symbolize_keys/stringify_keys methods | Santiago Pastorino | 2012-04-08 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user system total real symbolize_keys 5.980000 0.070000 6.050000 ( 6.048187) new_symbolize_keys 4.310000 0.050000 4.360000 ( 4.364745) | |||||
* | | | | | Remove Fixnum#to_sym support in 1.8.7 | Santiago Pastorino | 2012-04-08 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | update stdlib doc urls in comments - ↵ | Trevor Wennblom | 2012-04-07 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | active_support/core_ext/[integer|numeric]/time.rb http://stdlib.rubyonrails.org/ last updated in 2005 | |||||
* | | | | | revises the regexp used in titleize | Xavier Noria | 2012-04-07 | 1 | -1/+1 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regexp used in titleize matches saxon genitive and other contractions, only to call capitalize on the captured text and have the apostrophe upcased which yields the apostrophe itself. It is more clear that the regexp matches just what it has to match. | |||||
* | | | | revises requires of some AS deprecation files | Xavier Noria | 2012-04-05 | 3 | -3/+4 | |
| | | | | ||||||
* | | | | Initialize variables in file update checker to avoid warnings | Carlos Antonio da Silva | 2012-04-05 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Remove not used require from as to avoid circular requires | Carlos Antonio da Silva | 2012-04-05 | 1 | -1/+0 | |
| | | | | ||||||
* | | | | Merge pull request #3084 from esad/master | Xavier Noria | 2012-04-05 | 1 | -0/+2 | |
|\ \ \ \ | | | | | | | | | | | Dependency fix for activesupport | |||||
| * | | | | Add a missing require for 'active_support/deprecation' in Module#deprecate | Esad Hajdarevic | 2011-09-20 | 1 | -0/+2 | |
| | | | | | ||||||
* | | | | | Merge pull request #5716 from jurriaan/tr-gsub-cleanup | Santiago Pastorino | 2012-04-04 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Updated/changed unneeded tr/gsubs | |||||
| * | | | | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #5188 from jlxw/patch-1 | Santiago Pastorino | 2012-04-04 | 1 | -1/+1 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | logger.silence is deprecated | |||||
| * | | | | | | logger.silence is deprecated | jlxw | 2012-02-27 | 1 | -1/+1 | |
| | |_|/ / / | |/| | | | | ||||||
* | | | | | | the file update checker now also detects removed files | Xavier Noria | 2012-04-03 | 1 | -24/+38 | |
| |/ / / / |/| | | | | ||||||
* | | | | | Fix typo | Artyom Bolshakov | 2012-04-03 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | use undef_method to avoid NameError exceptions all the time | Aaron Patterson | 2012-03-31 | 1 | -5/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #4911 from Floppy/master | Aaron Patterson | 2012-03-30 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore | |||||
| * | | | | | Change FILENAME_MAX_SIZE in FileStore to 228. | James Smith | 2012-02-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | In order that temp filenames generated from it will fit in 255 chars. See https://github.com/rails/rails/issues/4907 | |||||
* | | | | | | validate attribute names in class and module attribute accessors | Dmitry Plashchynski | 2012-03-30 | 2 | -0/+4 | |
| | | | | | | ||||||
* | | | | | | remove redundant variable | Dmitrii Golub | 2012-03-28 | 1 | -2/+1 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | Merge pull request #5331 from castlerock/remove_unused_require | Aaron Patterson | 2012-03-26 | 1 | -2/+0 | |
|\ \ \ \ \ | | | | | | | | | | | | | remove unused require from AS/core_ext/class/delegating_att.rb | |||||
| * | | | | | remove unused require from AS/core_ext/class/delegating_att.rb | Vishnu Atrai | 2012-03-10 | 1 | -2/+0 | |
| | | | | | | ||||||
* | | | | | | String#titleize works properly with smart quotes, closes #5584 | Vasiliy Ermolovich | 2012-03-26 | 1 | -2/+4 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #5566 from lest/patch-3 | Piotr Sarnacki | 2012-03-25 | 1 | -0/+4 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | fix HashWithIndifferentAccess.[] method | |||||
| * | | | | | | fix HashWithIndifferentAccess.[] method | Sergey Nartimov | 2012-03-23 | 1 | -0/+4 | |
| | | | | | | | ||||||
* | | | | | | | removed warning: shadowing outer local variable - exception | Arun Agrawal | 2012-03-24 | 1 | -1/+1 | |
|/ / / / / / | ||||||
* | | | | | | Fix tests, when creating rescue handler, we need to check for arity now | Piotr Sarnacki | 2012-03-23 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before it was handled by Proc.bind, but since Proc.bind has been deprecated, this is no longer the case and returned handler needs to match rescuer. | |||||
* | | | | | | deprecate Proc#bind that can cause symbol memory leak | Sergey Nartimov | 2012-03-22 | 2 | -1/+4 | |
| | | | | | | ||||||
* | | | | | | remove duplicate requires. thanks @atambo | Aaron Patterson | 2012-03-21 | 1 | -1/+0 | |
| | | | | | | ||||||
* | | | | | | evented listeners can subscribe to any message | Aaron Patterson | 2012-03-21 | 1 | -9/+27 | |
| | | | | | | ||||||
* | | | | | | evented subscribers work | Aaron Patterson | 2012-03-21 | 1 | -6/+10 | |
| | | | | | | ||||||
* | | | | | | start / finish events are sent by the instrumenter | Aaron Patterson | 2012-03-21 | 2 | -7/+41 | |
| | | | | | | ||||||
* | | | | | | push the autoloads up to requires | Aaron Patterson | 2012-03-21 | 1 | -4/+4 | |
| | | | | | | ||||||
* | | | | | | split subscribers based on pattern type | Aaron Patterson | 2012-03-21 | 1 | -13/+31 | |
| | | | | | | ||||||
* | | | | | | probably should require the objects we monkey patch. | Aaron Patterson | 2012-03-20 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | search private and protected methods for convert_key | Aaron Patterson | 2012-03-20 | 2 | -3/+3 | |
| | | | | | | ||||||
* | | | | | | bigdecimal can be duped on Ruby 2.0 | Aaron Patterson | 2012-03-20 | 1 | -0/+12 | |
| | | | | | | ||||||
* | | | | | | Provide access to logger instance within TaggedLogging blocks | FND | 2012-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this improves encapsulation, simplifying occurrences like the following: Rails.logger.tagged("DEBUG") { Rails.logger.debug(msg) } ... by removing the need to rely on (i.e. repeat) outer variables: Rails.logger.tagged("DEBUG") { |logger| logger.debug(msg) } | |||||
* | | | | | | use empty? on the hash to avoid another method call | Aaron Patterson | 2012-03-16 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | removed unnecessary calls to "freeze" | Aaron Patterson | 2012-03-16 | 1 | -2/+1 | |
| | | | | | | ||||||
* | | | | | | make stubbing Time.now easier | Aaron Patterson | 2012-03-16 | 1 | -1/+7 | |
| | | | | | | ||||||
* | | | | | | Remove deprecation from AS::Deprecation behavior, some minor cleanups | Carlos Antonio da Silva | 2012-03-16 | 8 | -69/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor log subscriber, use select! to avoid a new object * Remove deprecation messages related to AS::Deprecation behavior This was added about 2 years ago for Rails 3: https://github.com/rails/rails/commit/d4c7d3fd94e5a885a6366eaeb3b908bb58ffd4db * Remove some not used requires * Refactor delegate to avoid string conversions and if statements inside each block | |||||
* | | | | | | escape commas in paths before globbing to avoid infinite hang in Dir[] | Jon Rowe | 2012-03-15 | 1 | -1/+5 | |
| | | | | | | ||||||
* | | | | | | make the tagged formatter extend the existing formatter | Aaron Patterson | 2012-03-12 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #5394 from erichmenge/master | Aaron Patterson | 2012-03-12 | 1 | -0/+1 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | retrieve_cache_key should work on objects that act like arrays. | |||||
| * | | | | | | Allow retrieve_cache_key to work on collections such as ActiveRecord::Relation. | Erich Menge | 2012-03-12 | 1 | -0/+1 | |
| | | | | | | | ||||||
* | | | | | | | Improved ActiveSupport::Autoload performance. | Pan Thomakos | 2012-03-11 | 1 | -4/+7 | |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ActiveSupport::Autoload#autoload` performance is improved in the default case where a path is present. Since the full path name is not generated, it isn't necessary to determine the full constant name either. This results in a 3x performance gain and reduces the number of Ruby objects generated. For a full benchmark check [this gist](https://gist.github.com/2020228). | |||||
* | | | | | | Merge pull request #5287 from nashby/hash-slice-extract | Aaron Patterson | 2012-03-08 | 1 | -8/+4 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | refactor Hash#slice and Hash#extract! | |||||
| * | | | | | refactor Hash#slice and Hash#extract! | Vasiliy Ermolovich | 2012-03-06 | 1 | -8/+4 | |
| | | | | | |