Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make caller attribute in deprecation methods optional | Alexey Gaziev | 2012-10-30 | 1 | -1/+1 |
| | |||||
* | Change ActiveSupport::Deprecation to class. | Piotr Niełacny | 2012-09-13 | 1 | -38/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | ActiveSupport::Deprecation is now a class rather than a module. You can get instance of ActiveSupport::Deprecation calling #instance method. ActiveSupport::Deprecation.instance But when you need to get new object od ActiveSupport::Deprecation you need to just call #new. @instance = ActiveSupport::Deprecation.new Since you can create a new object, you can change the version and the name of the library where the deprecator concerned. ActiveSupport::Deprecation.new('2.0', 'MyGem') If you need use another deprecator instance you can select it in the options of deprecate method. deprecate :method, :deprecator => deprecator_instance Documentation has been updated. | ||||
* | extend ActiveSupport::Deprecation with self, allow other objects to ↵ | Robert Pankowecki | 2012-09-13 | 1 | -2/+3 |
| | | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included | ||||
* | add example to AS::Deprecation#deprecate_methods [ci skip] | Francesco Rodriguez | 2012-06-18 | 1 | -0/+20 |
| | |||||
* | revises requires of some AS deprecation files | Xavier Noria | 2012-04-05 | 1 | -2/+2 |
| | |||||
* | Remove not used require from as to avoid circular requires | Carlos Antonio da Silva | 2012-04-05 | 1 | -1/+0 |
| | |||||
* | Commented metaprogramming turned out to be noisier not clearer | Jeremy Kemper | 2010-02-25 | 1 | -9/+9 |
| | |||||
* | method_wrappers.rb needs active_support/core_ext/array/extract_options | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | Fix deprecating =-methods by using send [#2431 status:resolved] | Michael Siebert | 2009-08-09 | 1 | -9/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 1 | -1/+1 |
| | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | ||||
* | Dice up ActiveSupport::Deprecation | Jeremy Kemper | 2009-04-17 | 1 | -0/+27 |