standard 0.6.0 → 0.6.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +4 -4
- data/config/base.yml +36 -11
- data/lib/standard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9654797002b2853c22fb85ce8f30747664f186564b5903e187e9d8b9d443a31e
|
|
4
|
+
data.tar.gz: 4f864cebb45664f60b3938d30d17f4ac7f0a04c06e54ebf327a04a4840b8d8e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d003fc55ed2bcc71dc36a71f002c72955c04eac552b3d16f4fb839a948b3bb28f65e3dd11018efb3bbb82a83cce35c4c8c8731413ea8d5161fe809cc9ea5ec4
|
|
7
|
+
data.tar.gz: ec117bb9cb8fe46ef3728c870b9171d4c9d48b847b8fe75e26a52f5c957e7f87437636ceef9ccdacbbb9149e77320c261f0ba66c279deee25246895af34465aa
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
* Update Rubocop from
|
|
6
|
+
[0.90](https://github.com/rubocop-hq/rubocop/releases/tag/v0.90.0)
|
|
7
|
+
to
|
|
8
|
+
[0.91](https://github.com/rubocop-hq/rubocop/releases/tag/v0.91.0),
|
|
9
|
+
enabling:
|
|
10
|
+
* [`Lint/UselessTimes`](https://github.com/rubocop-hq/rubocop/pull/8702)
|
|
11
|
+
* [`Layout/BeginEndAlignment`](https://github.com/rubocop-hq/rubocop/pull/8628)
|
|
12
|
+
* [`Lint/ConstantDefinitionInBlock`](https://github.com/rubocop-hq/rubocop/pull/8707)
|
|
13
|
+
* [`Lint/IdentityComparison`](https://github.com/rubocop-hq/rubocop/pull/8699/)
|
|
14
|
+
re-enabling after bug fixes:
|
|
15
|
+
* [`Bundler/DuplicatedGem`](https://github.com/rubocop-hq/rubocop/pull/8666)
|
|
16
|
+
* [`Naming/BinaryOperatorParameterName`](https://github.com/rubocop-hq/rubocop/issues/8664)
|
|
17
|
+
|
|
3
18
|
## 0.6.0
|
|
4
19
|
|
|
5
20
|
* Update Rubocop from
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (0.6.
|
|
4
|
+
standard (0.6.1)
|
|
5
5
|
rubocop (~> 0.90)
|
|
6
6
|
rubocop-performance (~> 1.8.0)
|
|
7
7
|
|
|
@@ -24,16 +24,16 @@ GEM
|
|
|
24
24
|
rake (13.0.1)
|
|
25
25
|
regexp_parser (1.7.1)
|
|
26
26
|
rexml (3.2.4)
|
|
27
|
-
rubocop (0.
|
|
27
|
+
rubocop (0.91.0)
|
|
28
28
|
parallel (~> 1.10)
|
|
29
29
|
parser (>= 2.7.1.1)
|
|
30
30
|
rainbow (>= 2.2.2, < 4.0)
|
|
31
31
|
regexp_parser (>= 1.7)
|
|
32
32
|
rexml
|
|
33
|
-
rubocop-ast (>= 0.
|
|
33
|
+
rubocop-ast (>= 0.4.0, < 1.0)
|
|
34
34
|
ruby-progressbar (~> 1.7)
|
|
35
35
|
unicode-display_width (>= 1.4.0, < 2.0)
|
|
36
|
-
rubocop-ast (0.
|
|
36
|
+
rubocop-ast (0.4.1)
|
|
37
37
|
parser (>= 2.7.1.4)
|
|
38
38
|
rubocop-performance (1.8.0)
|
|
39
39
|
rubocop (>= 0.87.0)
|
data/config/base.yml
CHANGED
|
@@ -7,6 +7,13 @@ AllCops:
|
|
|
7
7
|
DisabledByDefault: true
|
|
8
8
|
Exclude: []
|
|
9
9
|
|
|
10
|
+
Bundler/DuplicatedGem:
|
|
11
|
+
Enabled: true
|
|
12
|
+
Include:
|
|
13
|
+
- '**/*.gemfile'
|
|
14
|
+
- '**/Gemfile'
|
|
15
|
+
- '**/gems.rb'
|
|
16
|
+
|
|
10
17
|
Bundler/InsecureProtocolSource:
|
|
11
18
|
Enabled: true
|
|
12
19
|
Include:
|
|
@@ -32,16 +39,15 @@ Layout/ArrayAlignment:
|
|
|
32
39
|
Enabled: true
|
|
33
40
|
EnforcedStyle: with_fixed_indentation
|
|
34
41
|
|
|
35
|
-
Layout/
|
|
42
|
+
Layout/AssignmentIndentation:
|
|
36
43
|
Enabled: true
|
|
37
|
-
|
|
38
|
-
EnforcedColonStyle: key
|
|
39
|
-
EnforcedLastArgumentHashStyle: always_inspect
|
|
44
|
+
IndentationWidth: ~
|
|
40
45
|
|
|
41
|
-
Layout/
|
|
46
|
+
Layout/BeginEndAlignment:
|
|
42
47
|
Enabled: true
|
|
43
|
-
|
|
44
|
-
|
|
48
|
+
EnforcedStyleAlignWith: start_of_line
|
|
49
|
+
AutoCorrect: true
|
|
50
|
+
Severity: warning
|
|
45
51
|
|
|
46
52
|
Layout/BlockAlignment:
|
|
47
53
|
Enabled: true
|
|
@@ -149,15 +155,17 @@ Layout/FirstArrayElementIndentation:
|
|
|
149
155
|
EnforcedStyle: consistent
|
|
150
156
|
IndentationWidth: ~
|
|
151
157
|
|
|
152
|
-
Layout/AssignmentIndentation:
|
|
153
|
-
Enabled: true
|
|
154
|
-
IndentationWidth: ~
|
|
155
|
-
|
|
156
158
|
Layout/FirstHashElementIndentation:
|
|
157
159
|
Enabled: true
|
|
158
160
|
EnforcedStyle: consistent
|
|
159
161
|
IndentationWidth: ~
|
|
160
162
|
|
|
163
|
+
Layout/HashAlignment:
|
|
164
|
+
Enabled: true
|
|
165
|
+
EnforcedHashRocketStyle: key
|
|
166
|
+
EnforcedColonStyle: key
|
|
167
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
|
168
|
+
|
|
161
169
|
Layout/HeredocIndentation:
|
|
162
170
|
Enabled: true
|
|
163
171
|
|
|
@@ -208,6 +216,11 @@ Layout/MultilineOperationIndentation:
|
|
|
208
216
|
EnforcedStyle: indented
|
|
209
217
|
IndentationWidth: ~
|
|
210
218
|
|
|
219
|
+
Layout/ParameterAlignment:
|
|
220
|
+
Enabled: true
|
|
221
|
+
EnforcedStyle: with_fixed_indentation
|
|
222
|
+
IndentationWidth: ~
|
|
223
|
+
|
|
211
224
|
Layout/RescueEnsureAlignment:
|
|
212
225
|
Enabled: true
|
|
213
226
|
|
|
@@ -335,6 +348,9 @@ Lint/BooleanSymbol:
|
|
|
335
348
|
Lint/CircularArgumentReference:
|
|
336
349
|
Enabled: true
|
|
337
350
|
|
|
351
|
+
Lint/ConstantDefinitionInBlock:
|
|
352
|
+
Enabled: true
|
|
353
|
+
|
|
338
354
|
Lint/Debugger:
|
|
339
355
|
Enabled: true
|
|
340
356
|
|
|
@@ -400,6 +416,9 @@ Lint/FloatOutOfRange:
|
|
|
400
416
|
Lint/FormatParameterMismatch:
|
|
401
417
|
Enabled: true
|
|
402
418
|
|
|
419
|
+
Lint/IdentityComparison:
|
|
420
|
+
Enabled: true
|
|
421
|
+
|
|
403
422
|
Lint/ImplicitStringConcatenation:
|
|
404
423
|
Enabled: true
|
|
405
424
|
|
|
@@ -562,6 +581,9 @@ Lint/UselessElseWithoutRescue:
|
|
|
562
581
|
Lint/UselessSetterCall:
|
|
563
582
|
Enabled: true
|
|
564
583
|
|
|
584
|
+
Lint/UselessTimes:
|
|
585
|
+
Enabled: true
|
|
586
|
+
|
|
565
587
|
Lint/Void:
|
|
566
588
|
Enabled: true
|
|
567
589
|
CheckForMethodsWithNoSideEffects: false
|
|
@@ -569,6 +591,9 @@ Lint/Void:
|
|
|
569
591
|
Migration/DepartmentName:
|
|
570
592
|
Enabled: true
|
|
571
593
|
|
|
594
|
+
Naming/BinaryOperatorParameterName:
|
|
595
|
+
Enabled: true
|
|
596
|
+
|
|
572
597
|
Naming/ClassAndModuleCamelCase:
|
|
573
598
|
Enabled: true
|
|
574
599
|
|
data/lib/standard/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-09-
|
|
11
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|