Koichi ITO
ac717d65a3
[Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment
2017-07-11 13:12:32 +09:00
Kir Shatrov
72950568dd
Use frozen-string-literal in ActiveSupport
2017-07-09 15:08:29 +03:00
Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Xavier Noria
5c315a8fa6
modernizes hash syntax in activesupport
2016-08-06 19:38:33 +02:00
Xavier Noria
a731125f12
applies new string literal convention in activesupport/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:10:53 +02:00
Brandon Dunne
6c98fbd9c3
Fix bug where custom deprecators are not used.
...
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"
2015-10-14 07:49:39 -04:00
Carlos Antonio da Silva
cad3a13086
Remove deprecated AS::BasicObject, use AS::ProxyObject instead
2013-07-01 22:26:54 -03:00
Yves Senn
cfa35c55bb
remove deprecated BufferedLogger
.
2013-07-01 22:16:37 +02:00
Yves Senn
8787c6e0e5
deprecation warning when BufferedLogger is instantiated
2012-12-25 20:21:14 +01:00
Yves Senn
433ebbdc4c
ActiveSupport::BufferedLogger can be subclassed
2012-12-25 15:50:35 +01:00
Pavel Pravosud
bb1d3c1f8e
AS::BasicObject can be inherited from
2012-12-15 20:57:45 +07:00
Aaron Patterson
b8d8c50785
use AS::TestCase as the base class
2012-01-05 17:12:46 -08:00
Aaron Patterson
32844cbc02
fixing space errors
2010-07-26 09:58:35 -07:00
Leigh Caplan
37d82f2ca0
Test to ensure that falsy objects aren't wrapped by deprecation proxies
2010-07-26 09:53:42 -07:00