Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -3/+3 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines | Ryuta Kamizono | 2016-08-07 | 1 | -1/+0 |
| | |||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | modernizes hash syntax in activesupport | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -24/+24 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Fix missing requires for object/blank | Rafael Mendonça França | 2016-06-13 | 1 | -1/+1 |
| | |||||
* | Bump the deprecation horizon | Rafael Mendonça França | 2016-05-10 | 1 | -1/+1 |
| | |||||
* | Converting backtrace to strings before calling set_backtrace | Tony Novak | 2016-02-10 | 1 | -2/+2 |
| | | | | Fixes #23058 | ||||
* | Deprecation warning now targets at 5.1 | Akira Matsuda | 2015-12-19 | 1 | -1/+5 |
| | | | | | Also, added a test case to make sure that the default deprecation horizon is always bigger than the current Rails version. | ||||
* | Merge pull request #21953 from bdunne/fix_dep_warn | Matthew Draper | 2015-10-17 | 1 | -0/+8 |
| | | | | Fix deprecation warning messages on deprecate_methods | ||||
* | Removed use of mocha in active_support | Ronak Jangir | 2015-07-10 | 1 | -8/+8 |
| | |||||
* | - Extracted silence_stream method to new module in activesupport/testing. | Vipul A M | 2015-01-20 | 1 | -16/+3 |
| | | | | | | | | | | | | - Added include for the same in ActiveSupport::Test. - Removed occurrences of silence_stream being used elsewhere. - Reordered activesupport testcase requires alphabetically. - Removed require of silence stream from test_case - Moved quietly method to stream helper - Moved capture output to stream helper module and setup requires for the same elsewhere | ||||
* | Keep quietly and capture undeprecated on your suite | Rafael Mendonça França | 2014-07-15 | 1 | -0/+17 |
| | |||||
* | Prefer assert_raise instead of flunk + rescue to test for exceptions | Carlos Antonio da Silva | 2013-12-19 | 1 | -6/+3 |
| | | | | | | Change most tests to make use of assert_raise returning the raised exception rather than relying on a combination of flunk + rescue to check for exception types/messages. | ||||
* | Change all `MiniTest` to `Minitest` since, `MiniTest` namespace has been ↵ | Vipul A M | 2013-12-18 | 1 | -1/+1 |
| | | | | | | renamed to `Minitest` Ref: https://github.com/seattlerb/minitest/blob/master/History.txt | ||||
* | renames the :abort deprecation behaviour to :raise | Xavier Noria | 2013-08-13 | 1 | -3/+3 |
| | | | | That is a better name, thanks @jeremy. | ||||
* | defines a new :abort deprecation behaviour that raises | Xavier Noria | 2013-08-13 | 1 | -0/+16 |
| | | | | See the CHANGELONG message in the patch for further details. | ||||
* | Test that DeprecatedConstantProxy does not warn when accessing its class | Akira Matsuda | 2013-01-23 | 1 | -0/+1 |
| | |||||
* | Missing AS::Deprecation::DeprecatedObjectProxy test | Akira Matsuda | 2013-01-23 | 1 | -0/+5 |
| | |||||
* | deprecate `assert_blank` and `assert_present`. | Yves Senn | 2013-01-05 | 1 | -3/+4 |
| | | | | | They don't add any benefits over `assert object.blank?` and `assert object.present?` | ||||
* | Make caller attribute in deprecation methods optional | Alexey Gaziev | 2012-10-30 | 1 | -1/+1 |
| | |||||
* | Change ActiveSupport::Deprecation to class. | Piotr Niełacny | 2012-09-13 | 1 | -56/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | -0/+127 |
| | | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included | ||||
* | Add test for default silence and stderr deprecation behaviors | Carlos Antonio da Silva | 2012-04-28 | 1 | -0/+20 |
| | |||||
* | Remove more references to Test::Unit | Rafael Mendonça França | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | Remove unneeded tests | Rafael Mendonça França | 2012-01-06 | 1 | -18/+0 |
| | |||||
* | fixed failing tests of ActiveSupport for deprecation test | Raghunadh | 2011-05-21 | 1 | -1/+1 |
| | |||||
* | fix failure if behavior is not define and try use the default | Cyril Mougel | 2010-07-01 | 1 | -0/+7 |
| | | | | 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 | -0/+13 |
| | |||||
* | Modify backtrace test to take implementations with slightly different ↵ | Yehuda Katz | 2009-12-13 | 1 | -1/+1 |
| | | | | backtrace output into consideration. | ||||
* | Fix deprecating =-methods by using send [#2431 status:resolved] | Michael Siebert | 2009-08-09 | 1 | -0/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 1 | -11/+13 |
| | |||||
* | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -0/+10 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Remove unnecessary DeprecatedInstanceVariable class | Pratik Naik | 2008-05-13 | 1 | -10/+0 |
| | |||||
* | Add class to deprecate instance variables | Pratik Naik | 2008-05-06 | 1 | -0/+10 |
| | | | | | Add ActiveSupport::Deprecation::DeprecatedInstanceVariable class to deprecate instance variables of primitive types such as stings. | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | DeprecatedInstanceVariable#inspect doesn't warn since test/unit, error logs, ↵ | Jeremy Kemper | 2006-12-20 | 1 | -0/+4 |
| | | | | | | and others use it for diagnostics. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecation: silence warnings when reporting test errors. | Jeremy Kemper | 2006-12-17 | 1 | -0/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Extend deprecate so that alternatives can be specified via the deprecation | Jamis Buck | 2006-10-24 | 1 | -0/+20 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | assert_deprecated returns result of block | Jeremy Kemper | 2006-09-15 | 1 | -0/+12 |
| | | | | 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 | -0/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | silenced writer | Jeremy Kemper | 2006-09-04 | 1 | -1/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Quiet while testing, you. | Jeremy Kemper | 2006-09-04 | 1 | -5/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | get deprecation methods and callers straight | Jeremy Kemper | 2006-09-04 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add silencing to deprecations; avoid self-scolding. | Nicholas Seckar | 2006-08-14 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | New dependencies implementation | Nicholas Seckar | 2006-08-08 | 1 | -2/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Include called method in instance variable deprecation warning. | Jeremy Kemper | 2006-08-08 | 1 | -3/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't warn when the deprecated ivar proxy is instantiated. | Jeremy Kemper | 2006-08-07 | 1 | -4/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |