rubocop-shopify 1.0.2 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +9 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cad93aa4977818ea5c0b3c3d7449aee4eb10515d778df25b4ddf3f157f392a31
|
4
|
+
data.tar.gz: e612406ca6dd4b114a0c666cb1fa812d5aadf86a8b24c88f5bfba4ebced0b0c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e9db91e97de92cf3cff722f9375405aab0164c5a10dbdae5944c76a17301b83f42228ef5d302629a4fc0de7b218c6c62cf5ccae6382139f63a9e1f99a30827
|
7
|
+
data.tar.gz: 6ae4ef58865a797e09e0fe1f0b33ca432549b64da681de079526a1dcf790e107732691f4b9534ef207cf97b59c16c8dcd75111d83d041090837a85c22eb07108
|
data/rubocop.yml
CHANGED
@@ -195,6 +195,7 @@ Style/FrozenStringLiteralComment:
|
|
195
195
|
SupportedStyles:
|
196
196
|
- always
|
197
197
|
- never
|
198
|
+
SafeAutoCorrect: true
|
198
199
|
|
199
200
|
Style/GlobalVars:
|
200
201
|
AllowedVariables: []
|
@@ -264,7 +265,7 @@ Style/MethodCallWithArgsParentheses:
|
|
264
265
|
- raise
|
265
266
|
- puts
|
266
267
|
Exclude:
|
267
|
-
- Gemfile
|
268
|
+
- '**/Gemfile'
|
268
269
|
|
269
270
|
Style/MethodDefParentheses:
|
270
271
|
EnforcedStyle: require_parentheses
|
@@ -577,6 +578,7 @@ Layout/BlockEndNewline:
|
|
577
578
|
|
578
579
|
Style/CaseEquality:
|
579
580
|
Enabled: true
|
581
|
+
AllowOnConstant: true
|
580
582
|
|
581
583
|
Style/CharacterLiteral:
|
582
584
|
Enabled: true
|
@@ -674,7 +676,7 @@ Style/LineEndConcatenation:
|
|
674
676
|
Style/MethodCallWithoutArgsParentheses:
|
675
677
|
Enabled: true
|
676
678
|
|
677
|
-
|
679
|
+
Lint/MissingSuper:
|
678
680
|
Enabled: true
|
679
681
|
|
680
682
|
Style/MissingRespondToMissing:
|
@@ -834,7 +836,7 @@ Style/ZeroLengthPredicate:
|
|
834
836
|
Enabled: true
|
835
837
|
|
836
838
|
Layout/HeredocIndentation:
|
837
|
-
|
839
|
+
Enabled: true
|
838
840
|
|
839
841
|
Lint/AmbiguousOperator:
|
840
842
|
Enabled: true
|
@@ -964,7 +966,7 @@ Lint/UselessAccessModifier:
|
|
964
966
|
Lint/UselessAssignment:
|
965
967
|
Enabled: true
|
966
968
|
|
967
|
-
Lint/
|
969
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
968
970
|
Enabled: true
|
969
971
|
|
970
972
|
Lint/UselessElseWithoutRescue:
|
@@ -1015,3 +1017,6 @@ Style/ModuleFunction:
|
|
1015
1017
|
|
1016
1018
|
Lint/OrderedMagicComments:
|
1017
1019
|
Enabled: true
|
1020
|
+
|
1021
|
+
Lint/DeprecatedOpenSSLConstant:
|
1022
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-shopify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '1.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '1.4'
|
27
27
|
description: Gem containing the rubocop.yml config that corresponds to the implementation
|
28
28
|
of the Shopify's style guide for Ruby.
|
29
29
|
email: gems@shopify.com
|
@@ -37,7 +37,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
|
|
37
37
|
licenses:
|
38
38
|
- MIT
|
39
39
|
metadata:
|
40
|
-
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v1.0.
|
40
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v1.0.7
|
41
41
|
allowed_push_host: https://rubygems.org
|
42
42
|
post_install_message:
|
43
43
|
rdoc_options: []
|