ezcater_rubocop 0.49.7.rc2 → 0.49.7.rc3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2e8d139545f889826d15b3adfdd2e31f8d26b7b720a9a171352fa304465f80e
|
4
|
+
data.tar.gz: 7537c6e78cfb5b48b1eb0c2b0cdc1d6b400ed7f9dfb98603a8379d195eab7c7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 773ca1df145d3793148c843ff4b96697e464ecfe2d9856cc624dc3ceb0f52873a1c0bd66575c29f02e19ab8eb212cf48d5589f9f5b9707bb044b128e72bf65b3
|
7
|
+
data.tar.gz: 116f5d04739607af4ead0815e0a58f216204f38016941842546ed86c54816b2fadd736ff829744b9c243e26afc5aa054398024ec1669903c4584892271c63b74
|
@@ -29,9 +29,7 @@ module RuboCop
|
|
29
29
|
def on_send(node)
|
30
30
|
return if !response_status_assertion(node) && !response_code_assertion(node)
|
31
31
|
|
32
|
-
add_offense(node,
|
33
|
-
location: :expression,
|
34
|
-
message: format(MSG, node_source: node.source))
|
32
|
+
add_offense(node, :expression, format(MSG, node_source: node.source))
|
35
33
|
end
|
36
34
|
end
|
37
35
|
end
|