Daniel Colson
82c39e1a0b
Use assert_empty and assert_not_empty
2018-01-25 23:32:59 -05:00
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
Rafael Mendonça França
fe1f4b2ad5
Add more rubocop rules about whitespaces
2016-10-29 01:17:49 -02: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
stopdropandrew
a007800a55
ActiveSupport::Notifications::Instrumenter#instrument should yield
...
its payload the same way that ActiveSupport::Notifications does.
Fix spelling in test name.
2013-03-02 16:05:05 -08:00
Aaron Patterson
56f3d05f47
adding start / finish on the instrumenter, adding tests for the class
2013-01-09 15:34:58 -08:00
Eric Saxby
6fe36ba585
Evented notifications take priority over Timed notifications
...
In cases where a notification subscriber includes methods to support
both Evented and Timed events, Evented should take priority over Timed.
This allows subscribers to be backwards compatible (older Rails only
allows Timed events) while defaulting to newer behavior.
2012-08-11 17:39:20 -07:00
Aaron Patterson
ea482d366a
oops, forgot to commit the tests! 💣
2012-03-23 11:47:42 -07:00