rubocop-shopify 2.6.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +16 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27e2888826f579c69efbf5df48f4f1f40630ae20f9d962cfde7ab86f08dbdeb7
4
- data.tar.gz: 90e1f14c3f766ca65058237f9d28d6157017101709177d4bacf9bdc997e39a3c
3
+ metadata.gz: 9436f1120bb39bca1433d1d5cece0818f6f103710e20eb2888973874651e2398
4
+ data.tar.gz: fb39f6f552f0b46082b0dfb1aad399ee0734fc251be027f437a20744126fc1f7
5
5
  SHA512:
6
- metadata.gz: 357cf572615207e7cc87f3fd47a1c0b58a1027eb017691ff1a05f1a081edbed5f88a5c3e70c5a5af603957eb3b56b9d73521fe1bede2ea89880bcdcc7227b149
7
- data.tar.gz: 1e6526dd264bd0cfb29b26f7ca1dadf645ca12ff073cdfcb3108791b09e6a28c38d25589c449b65acec6ec6be27edbc9bf83c4a6c3724952aee96c2da3bd7c28
6
+ metadata.gz: 327baf61e43e2b609ecb53d97f8c03e09dd6120158b7b78e3885859330c3e43ef59bed5741ff3b17a4178ac6f700e8bd1b0f0463ff2b91878185f63e581a2575
7
+ data.tar.gz: f76f47ef54165657a87463f1749e27c56e3e7847b6e245536e42060727327f50fc43b0c697b53cf1946fe02f8b2f1fb2026c221603603ca9fb68a4f98b33b5e5
data/rubocop.yml CHANGED
@@ -9,7 +9,7 @@ AllCops:
9
9
  Bundler/OrderedGems:
10
10
  Enabled: false
11
11
 
12
- Gemspec/DateAssignment:
12
+ Gemspec/DeprecatedAttributeAssignment:
13
13
  Enabled: true
14
14
 
15
15
  Gemspec/RequiredRubyVersion:
@@ -39,6 +39,12 @@ Layout/FirstHashElementIndentation:
39
39
  Layout/HashAlignment:
40
40
  EnforcedLastArgumentHashStyle: ignore_implicit
41
41
 
42
+ Layout/LineContinuationLeadingSpace:
43
+ Enabled: false
44
+
45
+ Layout/LineContinuationSpacing:
46
+ Enabled: false
47
+
42
48
  Layout/LineEndStringConcatenationIndentation:
43
49
  Enabled: true
44
50
  EnforcedStyle: indented
@@ -79,6 +85,9 @@ Lint/BooleanSymbol:
79
85
  Lint/ConstantDefinitionInBlock:
80
86
  Enabled: false
81
87
 
88
+ Lint/ConstantOverwrittenInRescue:
89
+ Enabled: true
90
+
82
91
  Lint/DeprecatedConstants:
83
92
  Enabled: false
84
93
 
@@ -160,6 +169,9 @@ Lint/NestedPercentLiteral:
160
169
  Lint/NoReturnInBeginEndBlocks:
161
170
  Enabled: false
162
171
 
172
+ Lint/NonAtomicFileOperation:
173
+ Enabled: false
174
+
163
175
  Lint/NonDeterministicRequireOrder:
164
176
  Enabled: false
165
177
 
@@ -511,6 +523,9 @@ Style/KeywordParametersOrder:
511
523
  Style/Lambda:
512
524
  Enabled: false
513
525
 
526
+ Style/MapCompactWithConditionalBlock:
527
+ Enabled: false
528
+
514
529
  Style/MapToHash:
515
530
  Enabled: false
516
531
 
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.6.0
4
+ version: 2.8.0
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-05-13 00:00:00.000000000 Z
11
+ date: 2022-06-28 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.29'
19
+ version: '1.31'
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.29'
26
+ version: '1.31'
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/v2.6.0
40
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.8.0
41
41
  allowed_push_host: https://rubygems.org
42
42
  post_install_message:
43
43
  rdoc_options: []
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubygems_version: 3.2.20
57
+ rubygems_version: 3.3.3
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Shopify's style guide for Ruby.