rubocop-shopify 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +21 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34017fcf49afc88f15b88b908e95438cc9718dddf0276f75cb379060bfdd5938
|
4
|
+
data.tar.gz: 26f48c655dc94bcbe27d188c6bd870d86195e4c9e996b6a1e07ce882ff27c1a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b77c16b8c19b9791da448d56a518f4ef940655ddc0c0f1cbbbf25906575bb118440af3c89b993a9980db618a43b41be0aca34686bbf8982de91107410e80ca3b
|
7
|
+
data.tar.gz: d11b5d953a318f61d6b7d420161688ec9fa98cf2869c3b79078e06098932214ecf497f3784e36aef608c419beaea16057cf96f6277a6f73bd5b5068b7cd7cec5
|
data/rubocop.yml
CHANGED
@@ -15,6 +15,9 @@ Gemspec/DateAssignment:
|
|
15
15
|
Gemspec/RequiredRubyVersion:
|
16
16
|
Enabled: false
|
17
17
|
|
18
|
+
Gemspec/RequireMFA:
|
19
|
+
Enabled: false
|
20
|
+
|
18
21
|
Layout/ArgumentAlignment:
|
19
22
|
EnforcedStyle: with_fixed_indentation
|
20
23
|
|
@@ -265,6 +268,9 @@ Lint/UriRegexp:
|
|
265
268
|
Lint/UselessMethodDefinition:
|
266
269
|
Enabled: false
|
267
270
|
|
271
|
+
Lint/UselessRuby2Keywords:
|
272
|
+
Enabled: true
|
273
|
+
|
268
274
|
Lint/UselessTimes:
|
269
275
|
Enabled: false
|
270
276
|
|
@@ -295,6 +301,9 @@ Metrics/PerceivedComplexity:
|
|
295
301
|
Migration/DepartmentName:
|
296
302
|
Enabled: false
|
297
303
|
|
304
|
+
Naming/BlockForwarding:
|
305
|
+
Enabled: false
|
306
|
+
|
298
307
|
Naming/BlockParameterName:
|
299
308
|
Enabled: false
|
300
309
|
|
@@ -435,6 +444,12 @@ Style/ExplicitBlockArgument:
|
|
435
444
|
Style/ExponentialNotation:
|
436
445
|
Enabled: false
|
437
446
|
|
447
|
+
Style/FileRead:
|
448
|
+
Enabled: false
|
449
|
+
|
450
|
+
Style/FileWrite:
|
451
|
+
Enabled: false
|
452
|
+
|
438
453
|
Style/FloatDivision:
|
439
454
|
Enabled: false
|
440
455
|
|
@@ -492,6 +507,9 @@ Style/KeywordParametersOrder:
|
|
492
507
|
Style/Lambda:
|
493
508
|
Enabled: false
|
494
509
|
|
510
|
+
Style/MapToHash:
|
511
|
+
Enabled: false
|
512
|
+
|
495
513
|
Style/MethodCallWithArgsParentheses:
|
496
514
|
Enabled: true
|
497
515
|
IgnoredMethods:
|
@@ -558,6 +576,9 @@ Style/NumericLiterals:
|
|
558
576
|
Style/NumericPredicate:
|
559
577
|
Enabled: false
|
560
578
|
|
579
|
+
Style/OpenStructUse:
|
580
|
+
Enabled: true
|
581
|
+
|
561
582
|
Style/OptionalBooleanParameter:
|
562
583
|
Enabled: false
|
563
584
|
|
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.
|
4
|
+
version: 2.4.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:
|
11
|
+
date: 2022-01-11 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.
|
19
|
+
version: '1.24'
|
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.
|
26
|
+
version: '1.24'
|
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.
|
40
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.4.0
|
41
41
|
allowed_push_host: https://rubygems.org
|
42
42
|
post_install_message:
|
43
43
|
rdoc_options: []
|