Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update activesupport/lib/active_support/deprecation/proxy_wrappers.rb | Claudio B. | 2012-12-07 | 1 | -1/+1 |
| | | | Fix a typo in rdoc (*expect* for *except*) | ||||
* | nodoc AS::Deprecation::InstanceDelegator class [ci skip] | Francesco Rodriguez | 2012-11-29 | 1 | -3/+3 |
| | |||||
* | Make caller attribute in deprecation methods optional | Alexey Gaziev | 2012-10-30 | 2 | -3/+6 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-21 | 2 | -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 Rodriguez | 2012-09-14 | 2 | -9/+9 |
| | | |||||
* | | warning removed: shadowing outer local variable - message | Arun Agrawal | 2012-09-14 | 1 | -2/+2 |
| | | |||||
* | | Copy-edit deprecation relared documentation [ci skip] | Rafael Mendonça França | 2012-09-13 | 2 | -22/+24 |
| | | |||||
* | | Change ActiveSupport::Deprecation to class. | Piotr Niełacny | 2012-09-13 | 5 | -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 Pankowecki | 2012-09-13 | 4 | -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 Dev | 2012-06-22 | 1 | -1/+1 |
| | |||||
* | add example to AS::Deprecation#deprecate_methods [ci skip] | Francesco Rodriguez | 2012-06-18 | 1 | -0/+20 |
| | |||||
* | add example to AS::Deprecation#silence [ci skip] | Francesco Rodriguez | 2012-06-17 | 1 | -1/+10 |
| | |||||
* | fix bad formatting [ci skip] | Vijay Dev | 2012-05-17 | 1 | -2/+2 |
| | |||||
* | copy edit AS deprecation/behaviours docs [ci skip] | Vijay Dev | 2012-05-01 | 1 | -22/+11 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-01 | 1 | -1/+19 |
|\ | |||||
| * | Document ActiveSupport::Deprecations.behavior | twinturbo | 2012-04-29 | 1 | -1/+19 |
| | | |||||
* | | Document #behavior= and update CHANGELOG | twinturbo | 2012-04-28 | 1 | -0/+7 |
| | | |||||
* | | Add a "silence" behavior to completely turn off deprecation warnings. | Adam Hawkins | 2012-04-28 | 1 | -2/+3 |
|/ | |||||
* | 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 |
| | |||||
* | Remove Array.wrap calls in ActiveSupport | Rafael Mendonça França | 2012-01-06 | 1 | -2/+1 |
| | |||||
* | using the active support logger | Karunakar (Ruby) | 2012-01-04 | 1 | -2/+2 |
| | |||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -2/+2 |
| | | | | | | English to American English(according to Weber) | ||||
* | minor changes | Vijay Dev | 2011-04-27 | 1 | -3/+1 |
| | |||||
* | fixing whitespace errors | Aaron Patterson | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵ | Josh Kalderimis | 2011-01-12 | 1 | -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 Bigg | 2010-12-21 | 2 | -1/+14 |
| | |||||
* | Prevent any warnings from being printed during RDoc generation | Joost Baaij | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | better callstack reporting in deprecation messages | Jakub Suder | 2010-08-25 | 1 | -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 errors | Aaron Patterson | 2010-07-26 | 1 | -2/+2 |
| | |||||
* | Override new on proxy objects so that they never wrap nil or false. | Leigh Caplan | 2010-07-26 | 1 | -0/+7 |
| | |||||
* | fix failure if behavior is not define and try use the default | Cyril Mougel | 2010-07-01 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add the possibility to have several behaviors in AS::Deprecation. | José Valim | 2010-07-01 | 2 | -3/+5 |
| | |||||
* | Create a deprecation behavior that triggers a notification for deprecation ↵ | wycats | 2010-06-29 | 1 | -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 Kemper | 2010-03-05 | 1 | -1/+2 |
| | |||||
* | Commented metaprogramming turned out to be noisier not clearer | Jeremy Kemper | 2010-02-25 | 1 | -9/+9 |
| | |||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -1/+1 |
| | |||||
* | method_wrappers.rb needs active_support/core_ext/array/extract_options | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | Explicitly require logger | Jeremy Kemper | 2009-10-14 | 1 | -1/+7 |
| | |||||
* | Make logger work again (h/t Sam Ruby) | Yehuda Katz | 2009-10-13 | 1 | -1/+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> | ||||
* | Don't undefine object_id | Jeremy Kemper | 2009-04-26 | 1 | -1/+1 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 2 | -1/+4 |
| | |||||
* | 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 | 4 | -0/+186 |