Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | |||||
* | 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 | 5 | -9/+9 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | systematic revision of =~ usage in AS | Xavier Noria | 2016-07-22 | 1 | -1/+2 |
| | | | | | Where appropriate prefer the more concise Regexp#match?, String#include?, String#start_with?, and String#end_with? | ||||
* | `behaviour` --> `behavior` | Jon Moss | 2016-05-27 | 1 | -1/+1 |
| | | | | http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#english | ||||
* | Pass over all Rails 5 warnings, to make sure: | Vipul A M | 2016-04-12 | 1 | -1/+0 |
| | | | | | | | | | | - we are ending sentences properly - fixing of space issues - fixed continuity issues in some sentences. Reverts https://github.com/rails/rails/commit/8fc97d198ef31c1d7a4b9b849b96fc08a667fb02 . This change reverts making sure we add '.' at end of deprecation sentences. This is to keep sentences within Rails itself consistent and with a '.' at the end. | ||||
* | :bomb: run the test @rafaelfranca :angry: | Rafael Mendonça França | 2016-02-24 | 1 | -1/+1 |
| | |||||
* | Ignore callstacks from Ruby stdlib in deprecation | Rafael Mendonça França | 2016-02-24 | 1 | -4/+12 |
| | | | | Fixes #22982. | ||||
* | Converting backtrace to strings before calling set_backtrace | Tony Novak | 2016-02-10 | 1 | -1/+1 |
| | | | | Fixes #23058 | ||||
* | 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 |
| |