rubocop-shopify 1.0.0 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop-cli.yml +2 -3
- data/rubocop.yml +10 -9
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac5f6295eac491cc35911a42911f00a92a14cfef7d26f2dee9d1dcef073ce70e
|
4
|
+
data.tar.gz: '09362a58de27e525d82c50dc5ec40aa6d88ae2aff3c639782e80ab4dfce65bd6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25b30b47f546e0dc7335e129b0791a36d5ec53f278669f604e652551d72d4bdb49c65c82789d87caebe5eba863059d9453d6d1d80c03d053abcbfb8164b97d28
|
7
|
+
data.tar.gz: de16ef2d532d46189ed5b3c3f177f967fbca7383311d48a2d346c85c05eef737332b1e9da9297a8694864315001f8a4c6fec53ed30f0f77ace0f3f95b3fbf3e2
|
data/rubocop-cli.yml
CHANGED
@@ -9,9 +9,8 @@ AllCops:
|
|
9
9
|
Exclude:
|
10
10
|
- 'vendor/**/*'
|
11
11
|
|
12
|
-
# Mac OS
|
13
|
-
|
14
|
-
TargetRubyVersion: 2.3
|
12
|
+
# Mac OS Catalina ships with 2.6.3
|
13
|
+
TargetRubyVersion: 2.6
|
15
14
|
|
16
15
|
# We disable this at entrypoint.
|
17
16
|
# Due to CLI apps being invoked via an entry point,
|
data/rubocop.yml
CHANGED
@@ -577,6 +577,7 @@ Layout/BlockEndNewline:
|
|
577
577
|
|
578
578
|
Style/CaseEquality:
|
579
579
|
Enabled: true
|
580
|
+
AllowOnConstant: true
|
580
581
|
|
581
582
|
Style/CharacterLiteral:
|
582
583
|
Enabled: true
|
@@ -659,6 +660,9 @@ Style/IfWithSemicolon:
|
|
659
660
|
Style/IdenticalConditionalBranches:
|
660
661
|
Enabled: true
|
661
662
|
|
663
|
+
Layout/IndentationStyle:
|
664
|
+
Enabled: true
|
665
|
+
|
662
666
|
Style/InfiniteLoop:
|
663
667
|
Enabled: true
|
664
668
|
|
@@ -671,7 +675,7 @@ Style/LineEndConcatenation:
|
|
671
675
|
Style/MethodCallWithoutArgsParentheses:
|
672
676
|
Enabled: true
|
673
677
|
|
674
|
-
|
678
|
+
Lint/MissingSuper:
|
675
679
|
Enabled: true
|
676
680
|
|
677
681
|
Style/MissingRespondToMissing:
|
@@ -803,9 +807,6 @@ Layout/SpaceInsideRangeLiteral:
|
|
803
807
|
Style/SymbolLiteral:
|
804
808
|
Enabled: true
|
805
809
|
|
806
|
-
Layout/Tab:
|
807
|
-
Enabled: true
|
808
|
-
|
809
810
|
Layout/TrailingWhitespace:
|
810
811
|
Enabled: true
|
811
812
|
|
@@ -834,7 +835,7 @@ Style/ZeroLengthPredicate:
|
|
834
835
|
Enabled: true
|
835
836
|
|
836
837
|
Layout/HeredocIndentation:
|
837
|
-
|
838
|
+
Enabled: true
|
838
839
|
|
839
840
|
Lint/AmbiguousOperator:
|
840
841
|
Enabled: true
|
@@ -872,9 +873,6 @@ Lint/EmptyEnsure:
|
|
872
873
|
Lint/EmptyInterpolation:
|
873
874
|
Enabled: true
|
874
875
|
|
875
|
-
Lint/EndInMethod:
|
876
|
-
Enabled: true
|
877
|
-
|
878
876
|
Lint/EnsureReturn:
|
879
877
|
Enabled: true
|
880
878
|
|
@@ -967,7 +965,7 @@ Lint/UselessAccessModifier:
|
|
967
965
|
Lint/UselessAssignment:
|
968
966
|
Enabled: true
|
969
967
|
|
970
|
-
Lint/
|
968
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
971
969
|
Enabled: true
|
972
970
|
|
973
971
|
Lint/UselessElseWithoutRescue:
|
@@ -1018,3 +1016,6 @@ Style/ModuleFunction:
|
|
1018
1016
|
|
1019
1017
|
Lint/OrderedMagicComments:
|
1020
1018
|
Enabled: true
|
1019
|
+
|
1020
|
+
Lint/DeprecatedOpenSSLConstant:
|
1021
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
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.5
|
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-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.89.0
|
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: 0.
|
26
|
+
version: 0.89.0
|
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,8 @@ 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.5
|
41
|
+
allowed_push_host: https://rubygems.org
|
41
42
|
post_install_message:
|
42
43
|
rdoc_options: []
|
43
44
|
require_paths:
|