rubocop-shopify 1.0.1 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop-cli.yml +2 -3
  3. data/rubocop.yml +12 -7
  4. metadata +11 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3632e11cdb0f5dc4ebbf13a16f71531fa628b225b5a69c9e21f19c7738b5d48
4
- data.tar.gz: a0de760d78b9188748ac8c2468259b91f67cbbaba4aa7aaac00154e6200fab74
3
+ metadata.gz: 9c3a6f150d500f3e50eb61c01fc4de66424f317c6243e4379e2e5a0add746047
4
+ data.tar.gz: 9b7127525557a81ed75fae736cd2a524ccd34664a4563ed244310c3f929e45e9
5
5
  SHA512:
6
- metadata.gz: ca404b0dbbbdf44f2b11c9b59711e14ee6c75e25095fab1445dab1300c3f1e31c58c1446b6a6d054092a2103ae351384eced2de0b0364d283f7d422f4692e16d
7
- data.tar.gz: e173efc56d75ef6f78e4fc38d7118a0f9d45b420feb3c83ee9853f522c497d759b511abe8287c923813e67f16e8cabff58e7ccf55eef5521308913e1eeccd146
6
+ metadata.gz: 7260cc538e68ff904b904ee5967feb18681d64deb336858f145003a9bc7d1ae4add62d0895ebb65fe5807501246385a642e08087cf4cfb1fa261800763e8be82
7
+ data.tar.gz: f7c61b9bd1d3b4555878929f9a339b06c358c7fdd0104af1616419dde706450ffce82aa21cbbf4a8412aa0da212e775f1d644ef13966d03e368b78759c935580
@@ -9,9 +9,8 @@ AllCops:
9
9
  Exclude:
10
10
  - 'vendor/**/*'
11
11
 
12
- # Mac OS High Sierra ships with Ruby 2.3.x
13
- # Therefore we target Ruby 2.3
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,
@@ -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
@@ -659,6 +661,9 @@ Style/IfWithSemicolon:
659
661
  Style/IdenticalConditionalBranches:
660
662
  Enabled: true
661
663
 
664
+ Layout/IndentationStyle:
665
+ Enabled: true
666
+
662
667
  Style/InfiniteLoop:
663
668
  Enabled: true
664
669
 
@@ -671,7 +676,7 @@ Style/LineEndConcatenation:
671
676
  Style/MethodCallWithoutArgsParentheses:
672
677
  Enabled: true
673
678
 
674
- Style/MethodMissingSuper:
679
+ Lint/MissingSuper:
675
680
  Enabled: true
676
681
 
677
682
  Style/MissingRespondToMissing:
@@ -803,9 +808,6 @@ Layout/SpaceInsideRangeLiteral:
803
808
  Style/SymbolLiteral:
804
809
  Enabled: true
805
810
 
806
- Layout/Tab:
807
- Enabled: true
808
-
809
811
  Layout/TrailingWhitespace:
810
812
  Enabled: true
811
813
 
@@ -834,7 +836,7 @@ Style/ZeroLengthPredicate:
834
836
  Enabled: true
835
837
 
836
838
  Layout/HeredocIndentation:
837
- EnforcedStyle: squiggly
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/UselessComparison:
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.1
4
+ version: 1.0.6
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-04-03 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.81.0
19
+ version: '0.92'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '0.94'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 0.81.0
29
+ version: '0.92'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '0.94'
27
33
  description: Gem containing the rubocop.yml config that corresponds to the implementation
28
34
  of the Shopify's style guide for Ruby.
29
35
  email: gems@shopify.com
@@ -37,7 +43,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
37
43
  licenses:
38
44
  - MIT
39
45
  metadata:
40
- source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v1.0.1
46
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v1.0.6
41
47
  allowed_push_host: https://rubygems.org
42
48
  post_install_message:
43
49
  rdoc_options: []