aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Tiny documentation edits [ci skip]Robin Dupret2015-05-041-14/+16
| | | | | | * Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `<tt>`
* [ci skip] Rework docs, add examples on deprecation proxiesNick Cox2015-04-241-22/+38
|
* Fix typos in deprecation proxy docs [ci skip]Carlos Antonio da Silva2013-04-301-3/+3
|
* Update activesupport/lib/active_support/deprecation/proxy_wrappers.rbClaudio B.2012-12-071-1/+1
| | | Fix a typo in rdoc (*expect* for *except*)
* Copy-edit deprecation relared documentation [ci skip]Rafael Mendonça França2012-09-131-22/+23
|
* Change ActiveSupport::Deprecation to class.Piotr Niełacny2012-09-131-10/+49
| | | | | | | | | | | | | | | | | | | | | | | | 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 Pankowecki2012-09-131-7/+12
| | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included
* In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵Josh Kalderimis2011-01-121-1/+1
| | | | | | date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Prevent any warnings from being printed during RDoc generationJoost Baaij2010-08-261-1/+1
|
* fixing space errorsAaron Patterson2010-07-261-2/+2
|
* Override new on proxy objects so that they never wrap nil or false.Leigh Caplan2010-07-261-0/+7
|
* Don't undefine object_idJeremy Kemper2009-04-261-1/+1
|
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-1/+3
|
* Dice up ActiveSupport::DeprecationJeremy Kemper2009-04-171-0/+72