Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Send deprecation horizon and gem name as arguments to deprecation heavier ↵ | Willem van Bergen | 2017-04-19 | 1 | -1/+1 |
| | | | | handler, and make sure they are used for the ActiveSupport::Notifications message. | ||||
* | Add AS::Deprecation::DeprecatedConstantAccessor | Dominic Cleal | 2017-03-22 | 1 | -0/+1 |
| | | | | | | | An alternative to DeprecatedConstantProxy which works more transparently with exceptions because it returns the object that the new constant refers to rather than a proxy. This is then compatible with `rescue OldException`. | ||||
* | Start Rails 5.2 development | Matthew Draper | 2017-03-22 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -8/+8 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Bump the deprecation horizon | Rafael Mendonça França | 2016-05-10 | 1 | -1/+1 |
| | |||||
* | Deprecation warning now targets at 5.1 | Akira Matsuda | 2015-12-19 | 1 | -1/+1 |
| | | | | | Also, added a test case to make sure that the default deprecation horizon is always bigger than the current Rails version. | ||||
* | Updated the deprecation warnings to 5.0 | Cristian Bica | 2014-08-20 | 1 | -1/+1 |
| | |||||
* | Changing deprecation_horizon to be Rails 4.2 | wangjohn | 2013-08-24 | 1 | -1/+1 |
| | | | | | Also, +ActiveRecord::Migrator.proper_table_name+ should actually have a deprecation horizon of Rails 4.2 (not 4.1). | ||||
* | fix grammar, change 'an' to 'a' [ci skip] | Prathamesh Sonpatki | 2013-06-27 | 1 | -3/+3 |
| | |||||
* | explains why these requires are in an unusual place | Xavier Noria | 2012-10-07 | 1 | -0/+8 |
| | |||||
* | Fix warning: circular require considered harmful. | kennyj | 2012-10-03 | 1 | -6/+7 |
| | |||||
* | Copy-edit deprecation relared documentation [ci skip] | Rafael Mendonça França | 2012-09-13 | 1 | -8/+2 |
| | |||||
* | Change ActiveSupport::Deprecation to class. | Piotr Niełacny | 2012-09-13 | 1 | -9/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+1 |
| | | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included | ||||
* | bump AS deprecation_horizon to 4.1 | Francesco Rodríguez | 2012-06-17 | 1 | -2/+2 |
| | |||||
* | revises requires of some AS deprecation files | Xavier Noria | 2012-04-05 | 1 | -0/+1 |
| | |||||
* | bump AS deprecation_horizon to 3.2 | Josh Kalderimis | 2011-04-25 | 1 | -1/+1 |
| | |||||
* | Implement deprecated version of AssociationReflection#primary_key_name, ↵ | Jon Leighton | 2011-01-03 | 1 | -1/+1 |
| | | | | which has been renamed to #foreign_key. Also bumping the deprecation_horizon in Active Support to 3.1. | ||||
* | Improve documentation on ActiveSupport::Deprecation. | Ryan Bigg | 2010-12-21 | 1 | -1/+1 |
| | |||||
* | Dice up ActiveSupport::Deprecation | Jeremy Kemper | 2009-04-17 | 1 | -185/+9 |
| | |||||
* | Remove unnecessary use of Kernel#silence_warnings | Jeremy Kemper | 2009-03-24 | 1 | -3/+1 |
| | |||||
* | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 1 | -4/+9 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵ | Frederick Cheung | 2008-12-15 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Prefer Rails.logger over RAILS_DEFAULT_LOGGER | Joshua Peek | 2008-12-10 | 1 | -1/+1 |
| | |||||
* | Move deprecation assertions so TestCase (and Mocha) needn't load on startup | Jeremy Kemper | 2008-11-23 | 1 | -59/+0 |
| | |||||
* | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 1 | -13/+20 |
| | |||||
* | Update the default deprecation message to not promise that theres more info ↵ | David Heinemeier Hansson | 2008-10-30 | 1 | -2/+2 |
| | | | | at the Rails site [#776 state:resolved] | ||||
* | Deprecate render_component. | Pratik Naik | 2008-08-29 | 1 | -1/+1 |
| | | | | | Please install render_component plugin from http://github.com/rails/render_component/tree/master if your application uses this functionality. | ||||
* | Deprecated implicit local assignments when rendering partials | Joshua Peek | 2008-08-28 | 1 | -0/+16 |
| | |||||
* | Pass class through to DeprecatedConstantProxy target | Tarmo Tänav | 2008-08-23 | 1 | -0/+4 |
| | | | | | | | This is needed because include_all_modules_from checks calls "class" on every constant and sometimes it can hit deprecated constants which aren't even Modules, but while checking for it deprecation warnings are shown. | ||||
* | remove DeprecatedConstantToMethodProxy again | Sven Fuchs | 2008-06-22 | 1 | -17/+0 |
| | |||||
* | experimental DeprecatedConstantToMethodProxy | Sven Fuchs | 2008-06-21 | 1 | -0/+17 |
| | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -7/+25 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Remove unnecessary DeprecatedInstanceVariable class | Pratik Naik | 2008-05-13 | 1 | -17/+0 |
| | |||||
* | Ruby 1.9 compat: define __setobj__ for Delegator | Jeremy Kemper | 2008-05-12 | 1 | -2/+6 |
| | |||||
* | Add class to deprecate instance variables | Pratik Naik | 2008-05-06 | 1 | -0/+14 |
| | | | | | Add ActiveSupport::Deprecation::DeprecatedInstanceVariable class to deprecate instance variables of primitive types such as stings. | ||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -1/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactored in use of extract_options! (closes #9079) [josh] | David Heinemeier Hansson | 2007-07-24 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecation: warn on stderr if RAILS_DEFAULT_LOGGER isn't set yet. | Jeremy Kemper | 2007-02-08 | 1 | -2/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Nodoc the irrelevant (from 1.2) | David Heinemeier Hansson | 2007-01-26 | 1 | -4/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | DeprecatedInstanceVariable#inspect doesn't warn since test/unit, error logs, ↵ | Jeremy Kemper | 2006-12-20 | 1 | -1/+8 |
| | | | | | | and others use it for diagnostics. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't require test/unit since it tries to turn everything into a test run. | Jeremy Kemper | 2006-12-18 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecation: silence warnings when reporting test errors. | Jeremy Kemper | 2006-12-17 | 1 | -0/+13 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve readability. | Jeremy Kemper | 2006-11-17 | 1 | -8/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Handle failed caller parsing, factor out deprecation caller message. | Jeremy Kemper | 2006-11-16 | 1 | -3/+17 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Extend deprecate so that alternatives can be specified via the deprecation | Jamis Buck | 2006-10-24 | 1 | -3/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | deprecation_method_warning and deprecation_horizon - fewer moving parts, ↵ | Jeremy Kemper | 2006-09-22 | 1 | -1/+9 |
| | | | | | | easy to localize git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | assert_deprecated returns result of block | Jeremy Kemper | 2006-09-15 | 1 | -4/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | assert_deprecated matches any warning caught in block | Jeremy Kemper | 2006-09-15 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |