Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2016-02-07 | 1 | -2/+2 |
|\ | |||||
| * | [ci skip] Fix one more typo | Prathamesh Sonpatki | 2016-01-30 | 1 | -1/+1 |
| | | | | | | | | - Followup of https://github.com/rails/docrails/commit/10bc49710b7205a6172c3e072b3c77114fefd952 | ||||
| * | [ci skip] Fix typo | yui-knk | 2016-01-27 | 1 | -1/+1 |
| | | |||||
* | | 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] | ||||
* | Update deprecation_horizon to 5.1 from 5.0 [ci skip] | Ryuta Kamizono | 2016-01-14 | 1 | -3/+3 |
| | |||||
* | Fix deprecation message when frame doesn't have absolute_path | Rafael Mendonça França | 2015-11-03 | 1 | -1/+1 |
| | | | | | | When a frame is an eval block without filename argument there is no absolute_path so the previous implementation would fail because `nil` doesn't responds to `start_with?`. | ||||
* | Fix bug where custom deprecators are not used. | Brandon Dunne | 2015-10-14 | 1 | -12/+36 |
| | | | | | | | | | | | | Add tests for ActiveSupport::Deprecation.deprecate_methods Modify ActiveSupport::Testing::Deprecation to allow a custom deprecator Leverage ActiveSupport::Testing::Deprecation assert_deprecated Update documentation for ActiveSupport::Deprecation.deprecate_methods Use cases: Using the default deprecator => "removed from Rails X.Y" Passing a custom deprecator in the options hash => "removed from MyGem next-release" Deprecating methods directly from custom deprecator => "removed from MyGem next-release" | ||||
* | Only prepend a single module when defining deprecation wrappers. | Charles Oliver Nutter | 2015-10-13 | 1 | -4/+4 |
| | | | | | I could not find any reason why each method got its own prepended module here, and all tests appear to pass with my change. | ||||
* | Documentation typo | Akira Matsuda | 2015-09-20 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | use `caller_locations` instead of `caller` | Aaron Patterson | 2015-08-24 | 2 | -3/+14 |
| | | | | | We have `caller_locations`, so we don't need to parse the strings in the callstack. | ||||
* | A few documentation tweaks [ci skip] | Robin Dupret | 2015-06-07 | 2 | -4/+4 |
| | | | | [Robin Dupret & Shunsuke Aida] | ||||
* | Merge pull request #20286 from davydovanton/doc-deprecation-behavior | Abdelkader Boudih | 2015-05-25 | 1 | -0/+12 |
|\ | | | | | Add documentation for Deprecation::Behavior module | ||||
| * | [skip ci] Add documentation for Deprecation::Behavior module | Anton Davydov | 2015-05-25 | 1 | -0/+12 |
| | | |||||
* | | s/contstant/constant re #20282 [ci skip] | Zachary Scott | 2015-05-24 | 1 | -2/+2 |
| | | |||||
* | | [skip ci] Add documentation for DeprecatedConstantProxy#class | Anton Davydov | 2015-05-24 | 1 | -0/+5 |
|/ | |||||
* | Tiny documentation edits [ci skip] | Robin Dupret | 2015-05-04 | 1 | -14/+16 |
| | | | | | | * Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `<tt>` | ||||
* | [ci skip] Rework docs, add examples on deprecation proxies | Nick Cox | 2015-04-24 | 1 | -22/+38 |
| | |||||
* | Deprecate alias_method_chain in favour of Module#prepend | Kir Shatrov | 2015-03-22 | 1 | -3/+5 |
| | | | …as discussed #19413 | ||||
* | 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. | ||||
* | Fix typos in deprecation proxy docs [ci skip] | Carlos Antonio da Silva | 2013-04-30 | 1 | -3/+3 |
| | |||||
* | 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 |
| |