Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -6/+11 |
| | |||||
* | 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 | 2 | -2/+22 |
| | |||||
* | Add missing require | kennyj | 2012-03-20 | 1 | -0/+1 |
| | |||||
* | Provide access to logger instance within TaggedLogging blocks | FND | 2012-03-19 | 2 | -2/+7 |
| | | | | | | | | | | 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 |
| | |||||
* | remove some mocha stubs | Aaron Patterson | 2012-03-16 | 1 | -6/+11 |
| | |||||
* | 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 | 9 | -71/+36 |
| | | | | | | | | | * 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 | ||||
* | fixed - warning: assigned but unused variable - checker | Sandeep | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | escape commas in paths before globbing to avoid infinite hang in Dir[] | Jon Rowe | 2012-03-15 | 2 | -1/+20 |
| | |||||
* | 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 | 2 | -0/+5 |
|\ | | | | | 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 | 2 | -0/+5 |
| | | |||||
* | | 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 #5349 from rafaelfranca/changelog-fix | Vijay Dev | 2012-03-08 | 1 | -0/+5 |
|\ | | | | | Fix my name in the CHANGELOG to follow the convention | ||||
| * | Fix my name in the CHANGELOG to follow the convention | Rafael Mendonça França | 2012-03-09 | 1 | -0/+5 |
| | | | | | | | | Also add missing entries and use the formating convention | ||||
* | | Remove warning of unused variable | Rafael Mendonça França | 2012-03-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #5287 from nashby/hash-slice-extract | Aaron Patterson | 2012-03-08 | 2 | -8/+11 |
|\ | | | | | refactor Hash#slice and Hash#extract! | ||||
| * | refactor Hash#slice and Hash#extract! | Vasiliy Ermolovich | 2012-03-06 | 2 | -8/+11 |
| | | |||||
* | | Ensure load hooks can be called more than once with different contexts. | José Valim | 2012-03-06 | 2 | -6/+35 |
| | | |||||
* | | Clean up module docs [ci skip] | Vijay Dev | 2012-03-07 | 9 | -52/+45 |
|/ | | | | Removed some useless docstrings and no-doc'ed some. | ||||
* | remove usages of AS::OrderedHash | Vishnu Atrai | 2012-03-03 | 2 | -3/+3 |
| | |||||
* | Stop SafeBuffer#clone_empty from issuing warnings | Carlos Antonio da Silva | 2012-03-02 | 1 | -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. | ||||
* | Add release dates to documentation | claudiob | 2012-03-01 | 1 | -2/+2 |
| | | | | Set "March 1, 2012" as the release date for 3.2.2, 3.1.4, 3.0.12 | ||||
* | Merge branch 'master-security' | Aaron Patterson | 2012-03-01 | 2 | -24/+52 |
|\ | | | | | | | | | | | | | | | | | | | | | | | * 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é Valim | 2012-02-29 | 2 | -16/+41 |
| | | |||||
| * | delete vulnerable AS::SafeBuffer#[] | Akira Matsuda | 2012-02-20 | 2 | -12/+0 |
| | | |||||
| * | add AS::SafeBuffer#clone_empty | Akira Matsuda | 2012-02-20 | 2 | -0/+15 |
| | | |||||
* | | Inflector/constantize - inject method lets us to avoid using another variable | homa | 2012-02-28 | 1 | -5/+3 |
| | | |||||
* | | Merge pull request #4284 from mattdbridges/time_calculation_aliases | Xavier Noria | 2012-02-28 | 5 | -0/+68 |
|\ \ | | | | | | | 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 | 5 | -0/+68 |
| | | | | | | | | | | | | core extensions | ||||
* | | | call binmode on the tempfile for Ruby 1.8 compatibility | Aaron Patterson | 2012-02-27 | 1 | -1/+2 |
| | | | |||||
* | | | Merge pull request #5179 from RalphShnelvar/Binary_mode_Window_bug | Aaron Patterson | 2012-02-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Binary mode window bug | ||||
* | | | Update changelogs with rails 3.0-stable branch info | Paco Guzman | 2012-02-25 | 1 | -2/+72 |
| | | | |||||
* | | | decouples the implementation of the inflector from its test suite | Xavier Noria | 2012-02-24 | 2 | -73/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | Trying alternative implementations of the inflections is hard because the suite is coupled with the current one, setting ivars by hand etc. This commit relies on initialize_dup, as long as you maintain that one you can tweak the implementation. | ||||
* | | | AS::Callbacks: deprecate rescuable option | Bogdan Gusiev | 2012-02-22 | 3 | -34/+4 |
| | | | |||||
* | | | ordered_options will work if inherited from Hash, remove OrderedHash usage | Vishnu Atrai | 2012-02-21 | 1 | -3/+1 |
| | | | |||||
* | | | Merge pull request #5108 from mirakui/patch-1 | Aaron Patterson | 2012-02-21 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Bug: cache_key.size doesn't return length of filename but size of file | ||||
| * | | | Bug: cache_path.size doesn't return length of filename but size of file if ↵ | Issei Naruta | 2012-02-21 | 1 | -1/+1 |
| | |/ | |/| | | | | | | | cache_path is Pathname. | ||||
* | | | Merge pull request #5112 from nupurjain/activesupport_cache_refactor | Santiago Pastorino | 2012-02-21 | 1 | -5/+1 |
|\ \ \ | |/ / |/| | | suggested changes. |