rubocop-shopify 2.9.0 → 2.10.1

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 +12 -5
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9421e44b59a1ecaaaad089fc20585b3e0ebb4098573fc2d4c6a191a56276295
4
- data.tar.gz: 83eac3987d5c8014fc917bd273af585420118669b308dbf97f86ecd45e613c3b
3
+ metadata.gz: b3896ec2bc31920668db3e319ca82b9dcd7801bea9fb6ef17ec1de4c7ad0aab9
4
+ data.tar.gz: 21171a1e60227f3e2d6a2e0536800c257bb1c6e4beb560d173236a460c0d3c37
5
5
  SHA512:
6
- metadata.gz: 9e2c05e08cfac80b27607ac6ff87b5df8ddd8f0428cc3fba6421633a1bc94f6d81c3b23a65f3a7988811b26dc3cf503f060324628829893468d69835f4fbb787
7
- data.tar.gz: bd9567bb9feff7f8da173bda31c42aab68c004dfff01a8809030ef7bf5cc633768dcfcf1cb9d695dc97c448d40a192b01de44538a04b3f37d8d1cbe4c5e4e584
6
+ metadata.gz: 9aaa1b62c1caf2eae691cecfc15dd1ab03bcaee963662593445e575a24586fcfa2f0e9faf5b4be85b64dbf9cd07056856d15283f9c1fb97e860fb11b1ddd835b
7
+ data.tar.gz: c317c99a4e08450731fa9729bf44b59f43c6b8680fb510b937d20324c33b04911ff0f462837bfd1fdf83872cb91d86192e48d1b0ce513fbc747e25abe9ebc65d
data/rubocop.yml CHANGED
@@ -154,9 +154,6 @@ Lint/InterpolationCheck:
154
154
  Lint/LambdaWithoutLiteralBlock:
155
155
  Enabled: false
156
156
 
157
- Lint/MissingCopEnableDirective:
158
- Enabled: false
159
-
160
157
  Lint/MixedRegexpCaptureTypes:
161
158
  Enabled: false
162
159
 
@@ -208,6 +205,9 @@ Lint/RefinementImportMethods:
208
205
  Lint/RegexpAsCondition:
209
206
  Enabled: false
210
207
 
208
+ Lint/RequireRangeParentheses:
209
+ Enabled: true
210
+
211
211
  Lint/RequireRelativeSelfPath:
212
212
  Enabled: true
213
213
 
@@ -390,6 +390,7 @@ Style/BisectedAttrAccessor:
390
390
 
391
391
  Style/CaseEquality:
392
392
  AllowOnConstant: true
393
+ AllowOnSelfClass: true
393
394
 
394
395
  Style/CaseLikeIf:
395
396
  Enabled: false
@@ -433,6 +434,9 @@ Style/DoubleNegation:
433
434
  Style/EmptyBlockParameter:
434
435
  Enabled: false
435
436
 
437
+ Style/EmptyHeredoc:
438
+ Enabled: true
439
+
436
440
  Style/EmptyLambdaParameter:
437
441
  Enabled: false
438
442
 
@@ -523,6 +527,10 @@ Style/KeywordParametersOrder:
523
527
  Style/Lambda:
524
528
  Enabled: false
525
529
 
530
+ Style/MagicCommentFormat:
531
+ Enabled: true
532
+ ValueCapitalization: lowercase
533
+
526
534
  Style/MapCompactWithConditionalBlock:
527
535
  Enabled: false
528
536
 
@@ -701,7 +709,7 @@ Style/TrailingBodyOnMethodDefinition:
701
709
  Enabled: false
702
710
 
703
711
  Style/TrailingCommaInArguments:
704
- Enabled: false
712
+ EnforcedStyleForMultiline: comma
705
713
 
706
714
  Style/TrailingCommaInArrayLiteral:
707
715
  EnforcedStyleForMultiline: consistent_comma
@@ -727,4 +735,3 @@ Style/YodaCondition:
727
735
  Style/ClassMethodsDefinitions:
728
736
  EnforcedStyle: self_class
729
737
  Enabled: true
730
-
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: 2.9.0
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-05 00:00:00.000000000 Z
11
+ date: 2022-09-13 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: '1.33'
19
+ version: '1.35'
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: '1.33'
26
+ version: '1.35'
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
@@ -38,7 +38,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
38
38
  licenses:
39
39
  - MIT
40
40
  metadata:
41
- source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.9.0
41
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.10.1
42
42
  allowed_push_host: https://rubygems.org
43
43
  post_install_message:
44
44
  rdoc_options: []