Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Raise a better exception when a invalid depreation behavior is set | Rafael Mendonça França | 2018-05-18 | 1 | -0/+4 |
| | | | | Fixes #32928. | ||||
* | Correct ActiveSupport::Deprecation::Behavior#behavior= documentation | John Fragoulis | 2018-02-23 | 1 | -1/+1 |
| | | | | | The callback parameters need to reflect changes after https://github.com/rails/rails/pull/28800 | ||||
* | [Active Support] require_relative => require | Akira Matsuda | 2017-10-21 | 1 | -2/+2 |
| | | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | [Active Support] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -2/+2 |
| | |||||
* | Send deprecation horizon and gem name as arguments to deprecation heavier ↵ | Willem van Bergen | 2017-04-19 | 1 | -8/+21 |
| | | | | handler, and make sure they are used for the ActiveSupport::Notifications message. | ||||
* | modernizes hash syntax in activesupport | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | `behaviour` --> `behavior` | Jon Moss | 2016-05-27 | 1 | -1/+1 |
| | | | | http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#english | ||||
* | Converting backtrace to strings before calling set_backtrace | Tony Novak | 2016-02-10 | 1 | -1/+1 |
| | | | | Fixes #23058 | ||||
* | Fix nodoc to internal class error document some of them | Vipul A M | 2016-01-25 | 1 | -0/+2 |
| | | | | | | | [ci skip] Fixes #20808 [Vipul A M & Julio Lopez] | ||||
* | A few documentation tweaks [ci skip] | Robin Dupret | 2015-06-07 | 1 | -3/+3 |
| | | | | [Robin Dupret & Shunsuke Aida] | ||||
* | [skip ci] Add documentation for Deprecation::Behavior module | Anton Davydov | 2015-05-25 | 1 | -0/+12 |
| | |||||
* | Do not check only for the Rails constant | Rafael Mendonça França | 2015-01-02 | 1 | -1/+1 |
| | | | | | This constant may be define for auxiliar gems like rails-html-sanitizer and these methods call will fail. | ||||
* | renames the :abort deprecation behaviour to :raise | Xavier Noria | 2013-08-13 | 1 | -2/+2 |
| | | | | That is a better name, thanks @jeremy. | ||||
* | defines a new :abort deprecation behaviour that raises | Xavier Noria | 2013-08-13 | 1 | -5/+18 |
| | | | | See the CHANGELONG message in the patch for further details. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-21 | 1 | -5/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -6/+6 |
| | | |||||
* | | Change ActiveSupport::Deprecation to class. | Piotr Niełacny | 2012-09-13 | 1 | -48/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -33/+31 |
|/ | | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included | ||||
* | 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 |
|/ | |||||
* | 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) | ||||
* | Improve documentation on ActiveSupport::Deprecation. | Ryan Bigg | 2010-12-21 | 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 | 1 | -1/+2 |
| | |||||
* | 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. | ||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -1/+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 |
| | |||||
* | Dice up ActiveSupport::Deprecation | Jeremy Kemper | 2009-04-17 | 1 | -0/+32 |