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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +9 -4
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddc26cd5aece21eab29ef63b32a7d9dd03a7f17c11752bc34a1d7a6817b9260a
4
- data.tar.gz: '029b2df51b6ec4426210d942545c1cd336d9cc90f6cce2ff5e55f490d15fcc51'
3
+ metadata.gz: cad93aa4977818ea5c0b3c3d7449aee4eb10515d778df25b4ddf3f157f392a31
4
+ data.tar.gz: e612406ca6dd4b114a0c666cb1fa812d5aadf86a8b24c88f5bfba4ebced0b0c6
5
5
  SHA512:
6
- metadata.gz: 8d699f281f909e353984fdad04bd2627bf7f581a34970ebb4a1bbc710a6ce1c3f0b923e50a8427bf3a1a199e844232ff360d673b2927f9832230cf25bfb9efa2
7
- data.tar.gz: fc99ddd04c6cd920cd75dde7ab335bdf8d6e5a652a0422ad41f26855b3b8b1036be08ad8f802db4d0ad6deeaa5a4e03d52dd895cb4a12a93d3be7d5459d4ce57
6
+ metadata.gz: 21e9db91e97de92cf3cff722f9375405aab0164c5a10dbdae5944c76a17301b83f42228ef5d302629a4fc0de7b218c6c62cf5ccae6382139f63a9e1f99a30827
7
+ data.tar.gz: 6ae4ef58865a797e09e0fe1f0b33ca432549b64da681de079526a1dcf790e107732691f4b9534ef207cf97b59c16c8dcd75111d83d041090837a85c22eb07108
@@ -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
- Style/MethodMissingSuper:
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
- 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.2
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-04-16 00:00:00.000000000 Z
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: 0.82.0
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: 0.82.0
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.2
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: []