aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/deprecation
Commit message (Collapse)AuthorAgeFilesLines
* Update activesupport/lib/active_support/deprecation/proxy_wrappers.rbClaudio B.2012-12-071-1/+1
| | | Fix a typo in rdoc (*expect* for *except*)
* nodoc AS::Deprecation::InstanceDelegator class [ci skip]Francesco Rodriguez2012-11-291-3/+3
|
* Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-302-3/+6
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-212-8/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/configurable.rb activesupport/lib/active_support/core_ext/module/deprecation.rb guides/source/action_controller_overview.md guides/source/active_support_core_extensions.md guides/source/ajax_on_rails.textile guides/source/association_basics.textile guides/source/upgrading_ruby_on_rails.md While resolving conflicts, I have chosen to ignore changes done in docrails at some places - these will be most likely 1.9 hash syntax changes.
| * update AS/deprecation docs [ci skip]Francesco Rodriguez2012-09-142-9/+9
| |
* | warning removed: shadowing outer local variable - messageArun Agrawal2012-09-141-2/+2
| |
* | Copy-edit deprecation relared documentation [ci skip]Rafael Mendonça França2012-09-132-22/+24
| |
* | Change ActiveSupport::Deprecation to class.Piotr Niełacny2012-09-135-155/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-134-101/+104
|/ | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included
* fixes a few mistakes in api docs [ci skip]Vijay Dev2012-06-221-1/+1
|
* add example to AS::Deprecation#deprecate_methods [ci skip]Francesco Rodriguez2012-06-181-0/+20
|
* add example to AS::Deprecation#silence [ci skip]Francesco Rodriguez2012-06-171-1/+10
|
* fix bad formatting [ci skip]Vijay Dev2012-05-171-2/+2
|
* copy edit AS deprecation/behaviours docs [ci skip]Vijay Dev2012-05-011-22/+11
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-1/+19
|\
| * Document ActiveSupport::Deprecations.behaviortwinturbo2012-04-291-1/+19
| |
* | Document #behavior= and update CHANGELOGtwinturbo2012-04-281-0/+7
| |
* | Add a "silence" behavior to completely turn off deprecation warnings.Adam Hawkins2012-04-281-2/+3
|/
* revises requires of some AS deprecation filesXavier Noria2012-04-051-2/+2
|
* Remove not used require from as to avoid circular requiresCarlos Antonio da Silva2012-04-051-1/+0
|
* Remove Array.wrap calls in ActiveSupportRafael Mendonça França2012-01-061-2/+1
|
* using the active support loggerKarunakar (Ruby)2012-01-041-2/+2
|
* Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-241-2/+2
| | | | | | English to American English(according to Weber)
* minor changesVijay Dev2011-04-271-3/+1
|
* fixing whitespace errorsAaron Patterson2011-01-121-1/+1
|
* 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>
* Improve documentation on ActiveSupport::Deprecation.Ryan Bigg2010-12-212-1/+14
|
* Prevent any warnings from being printed during RDoc generationJoost Baaij2010-08-261-1/+1
|
* better callstack reporting in deprecation messagesJakub Suder2010-08-251-4/+8
| | | | | | | | | | now the reported line is the first line in the stack that's outside Rails, which is the one that actually caused the problem in the first place [#5231 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* 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
|
* fix failure if behavior is not define and try use the defaultCyril Mougel2010-07-011-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add the possibility to have several behaviors in AS::Deprecation.José Valim2010-07-012-3/+5
|
* Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-291-9/+12
| | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
* Allow deprecation messages with or without a final period.Jeremy Kemper2010-03-051-1/+2
|
* Commented metaprogramming turned out to be noisier not clearerJeremy Kemper2010-02-251-9/+9
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-131-1/+1
|
* method_wrappers.rb needs active_support/core_ext/array/extract_optionsXavier Noria2010-01-011-0/+1
|
* Explicitly require loggerJeremy Kemper2009-10-141-1/+7
|
* Make logger work again (h/t Sam Ruby)Yehuda Katz2009-10-131-1/+1
|
* Fix deprecating =-methods by using send [#2431 status:resolved]Michael Siebert2009-08-091-9/+9
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't undefine object_idJeremy Kemper2009-04-261-1/+1
|
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-222-1/+4
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-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::DeprecationJeremy Kemper2009-04-174-0/+186