aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Initialize variables in file update checker to avoid warningsCarlos Antonio da Silva2012-04-051-0/+3
|
* Remove not used require from as to avoid circular requiresCarlos Antonio da Silva2012-04-051-1/+0
|
* Merge pull request #3084 from esad/masterXavier Noria2012-04-051-0/+2
|\ | | | | Dependency fix for activesupport
| * Add a missing require for 'active_support/deprecation' in Module#deprecateEsad Hajdarevic2011-09-201-0/+2
| |
* | Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-041-1/+1
|\ \ | | | | | | Updated/changed unneeded tr/gsubs
| * | Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-1/+1
| | |
* | | Merge pull request #5188 from jlxw/patch-1Santiago Pastorino2012-04-041-1/+1
|\ \ \ | | | | | | | | logger.silence is deprecated
| * | | logger.silence is deprecatedjlxw2012-02-271-1/+1
| | | |
* | | | the file update checker now also detects removed filesXavier Noria2012-04-031-24/+38
| |/ / |/| |
* | | Fix typoArtyom Bolshakov2012-04-031-1/+1
| | |
* | | use undef_method to avoid NameError exceptions all the timeAaron Patterson2012-03-311-5/+1
| | |
* | | Merge pull request #4911 from Floppy/masterAaron Patterson2012-03-301-1/+1
|\ \ \ | | | | | | | | Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore
| * | | Change FILENAME_MAX_SIZE in FileStore to 228.James Smith2012-02-061-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 accessorsDmitry Plashchynski2012-03-302-0/+4
| | | |
* | | | remove redundant variableDmitrii Golub2012-03-281-2/+1
| | | |
* | | | Merge pull request #5331 from castlerock/remove_unused_requireAaron Patterson2012-03-261-2/+0
|\ \ \ \ | | | | | | | | | | remove unused require from AS/core_ext/class/delegating_att.rb
| * | | | remove unused require from AS/core_ext/class/delegating_att.rbVishnu Atrai2012-03-101-2/+0
| | | | |
* | | | | String#titleize works properly with smart quotes, closes #5584Vasiliy Ermolovich2012-03-261-2/+4
| | | | |
* | | | | Merge pull request #5566 from lest/patch-3Piotr Sarnacki2012-03-251-0/+4
|\ \ \ \ \ | | | | | | | | | | | | fix HashWithIndifferentAccess.[] method
| * | | | | fix HashWithIndifferentAccess.[] methodSergey Nartimov2012-03-231-0/+4
| | | | | |
* | | | | | removed warning: shadowing outer local variable - exceptionArun Agrawal2012-03-241-1/+1
|/ / / / /
* | | | | Fix tests, when creating rescue handler, we need to check for arity nowPiotr Sarnacki2012-03-231-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 leakSergey Nartimov2012-03-222-1/+4
| | | | |
* | | | | remove duplicate requires. thanks @atamboAaron Patterson2012-03-211-1/+0
| | | | |
* | | | | evented listeners can subscribe to any messageAaron Patterson2012-03-211-9/+27
| | | | |
* | | | | evented subscribers workAaron Patterson2012-03-211-6/+10
| | | | |
* | | | | start / finish events are sent by the instrumenterAaron Patterson2012-03-212-7/+41
| | | | |
* | | | | push the autoloads up to requiresAaron Patterson2012-03-211-4/+4
| | | | |
* | | | | split subscribers based on pattern typeAaron Patterson2012-03-211-13/+31
| | | | |
* | | | | probably should require the objects we monkey patch.Aaron Patterson2012-03-201-0/+1
| | | | |
* | | | | search private and protected methods for convert_keyAaron Patterson2012-03-202-3/+3
| | | | |
* | | | | bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-0/+12
| | | | |
* | | | | Provide access to logger instance within TaggedLogging blocksFND2012-03-191-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 callAaron Patterson2012-03-161-1/+1
| | | | |
* | | | | removed unnecessary calls to "freeze"Aaron Patterson2012-03-161-2/+1
| | | | |
* | | | | make stubbing Time.now easierAaron Patterson2012-03-161-1/+7
| | | | |
* | | | | Remove deprecation from AS::Deprecation behavior, some minor cleanupsCarlos Antonio da Silva2012-03-168-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 Rowe2012-03-151-1/+5
| | | | |
* | | | | make the tagged formatter extend the existing formatterAaron Patterson2012-03-121-2/+2
| | | | |
* | | | | Merge pull request #5394 from erichmenge/masterAaron Patterson2012-03-121-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 Menge2012-03-121-0/+1
| | | | | |
* | | | | | Improved ActiveSupport::Autoload performance.Pan Thomakos2012-03-111-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-extractAaron Patterson2012-03-081-8/+4
|\ \ \ \ \ | |/ / / / |/| | | | refactor Hash#slice and Hash#extract!
| * | | | refactor Hash#slice and Hash#extract!Vasiliy Ermolovich2012-03-061-8/+4
| | | | |
* | | | | Ensure load hooks can be called more than once with different contexts.José Valim2012-03-061-6/+6
| | | | |
* | | | | Clean up module docs [ci skip]Vijay Dev2012-03-079-52/+45
|/ / / / | | | | | | | | | | | | Removed some useless docstrings and no-doc'ed some.
* | | | Stop SafeBuffer#clone_empty from issuing warningsCarlos Antonio da Silva2012-03-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logic in clone_empty method was dealing with old @dirty variable, which has changed by @html_safe in this commit: https://github.com/rails/rails/commit/139963c99a955520db6373343662e55f4d16dcd1 This was issuing a "not initialized variable" warning - related to: https://github.com/rails/rails/pull/5237 The logic applied by this method is already handled by the [] override, so there is no need to reset the variable here.
* | | | Merge branch 'master-security'Aaron Patterson2012-03-011-16/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
| * | | | Ensure [] respects the status of the buffer.José Valim2012-02-291-12/+18
| | | | |
| * | | | delete vulnerable AS::SafeBuffer#[]Akira Matsuda2012-02-201-6/+0
| | | | |