standard 1.9.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/update.yml +1 -1
- data/CHANGELOG.md +17 -5
- data/Gemfile.lock +8 -8
- data/config/base.yml +17 -1
- data/config/ruby-3.0.yml +3 -0
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- 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: 160bbb3b30393c05c6c1c5a03bd1456c5cb5ae89fd5157ebc6582a04c14863d0
|
4
|
+
data.tar.gz: c08c42c4f0cbcf9c6ccea76965bfdaa7576a4f88d5cb213340437e06bbed4f70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58e58fcc64e812c1a79341f355789d4a6a81a9d2b1e4238733fe73a413102baa2cfb4cfd47460de8bd4a9f77a73d0faaa3dd9e55892cc0f451a8e10751d7c6d9
|
7
|
+
data.tar.gz: f68af3cd1c571bf8a9468a924032d35bd8641b313b60a55278c48f3a74c4c6740835a9f3a34a5cac104bb3ffef7fb610cfdb6559f1fe45875fc1cb60c6b75074
|
@@ -30,7 +30,7 @@ jobs:
|
|
30
30
|
run: |
|
31
31
|
eval "$(bundle outdated rubocop rubocop-performance |
|
32
32
|
grep rubocop |
|
33
|
-
awk '{print "sed -i \"2i* Update "$1" from "$2" to ["$3"](https://github.com/rubocop/"$1"/tag/v"$3")\" CHANGELOG.md"}' - )";
|
33
|
+
awk '{print "sed -i \"2i* Update "$1" from "$2" to ["$3"](https://github.com/rubocop/"$1"/releases/tag/v"$3")\" CHANGELOG.md"}' - )";
|
34
34
|
sed -i '2i\\n## Unreleased\n' CHANGELOG.md;
|
35
35
|
- name: Update Gemspec
|
36
36
|
run: |
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.11.0
|
4
|
+
|
5
|
+
* Update rubocop from 1.27.0 to [1.28.2](https://github.com/rubocop/rubocop/releases/tag/v1.28.2)
|
6
|
+
|
7
|
+
## 1.10.0
|
8
|
+
|
9
|
+
* Update rubocop from 1.26.1 to [1.27.0](https://github.com/rubocop/rubocop/releases/tag/v1.27.0)
|
10
|
+
|
11
|
+
## 1.9.1
|
12
|
+
|
13
|
+
* Update rubocop from 1.26.0 to [1.26.1](https://github.com/rubocop/rubocop/releases/tag/v1.26.1)
|
14
|
+
|
3
15
|
## 1.9.0
|
4
16
|
|
5
17
|
* Rule change to `Layout/CaseIndentation` to have the `when` and `in`s inside a case statement aligned with the `end` of the case. The `end` will be aligned with a variable instead of the `case` keyword if applicable.
|
6
18
|
|
7
19
|
## 1.8.0
|
8
20
|
|
9
|
-
* Update rubocop from 1.25.1 to [1.26.0](https://github.com/rubocop/rubocop/tag/v1.26.0)
|
21
|
+
* Update rubocop from 1.25.1 to [1.26.0](https://github.com/rubocop/rubocop/releases/tag/v1.26.0)
|
10
22
|
|
11
23
|
## 1.7.3
|
12
24
|
|
@@ -18,22 +30,22 @@
|
|
18
30
|
|
19
31
|
## 1.7.1
|
20
32
|
|
21
|
-
* Update rubocop from 1.25.0 to [1.25.1](https://github.com/rubocop/rubocop/tag/v1.25.1)
|
33
|
+
* Update rubocop from 1.25.0 to [1.25.1](https://github.com/rubocop/rubocop/releases/tag/v1.25.1)
|
22
34
|
|
23
35
|
## 1.7.0
|
24
36
|
|
25
37
|
* Update rubocop-performance from 1.13.1 to [1.13.2](https://github.com/rubocop/rubocop-performance/tag/v1.13.2)
|
26
|
-
* Update rubocop from 1.24.1 to [1.25.0](https://github.com/rubocop/rubocop/tag/v1.25.0)
|
38
|
+
* Update rubocop from 1.24.1 to [1.25.0](https://github.com/rubocop/rubocop/releases/tag/v1.25.0)
|
27
39
|
|
28
40
|
## 1.6.0
|
29
41
|
|
30
42
|
* Update rubocop-performance from 1.12.0 to [1.13.1](https://github.com/rubocop/rubocop-performance/tag/v1.13.1)
|
31
|
-
* Update rubocop from 1.23.0 to [1.24.1](https://github.com/rubocop/rubocop/tag/v1.24.1)
|
43
|
+
* Update rubocop from 1.23.0 to [1.24.1](https://github.com/rubocop/rubocop/releases/tag/v1.24.1)
|
32
44
|
|
33
45
|
## 1.5.0
|
34
46
|
|
35
47
|
* Update rubocop-performance from 1.11.5 to [1.12.0](https://github.com/rubocop/rubocop-performance/tag/v1.12.0)
|
36
|
-
* Update rubocop from 1.22.3 to [1.23.0](https://github.com/rubocop/rubocop/tag/v1.23.0)
|
48
|
+
* Update rubocop from 1.22.3 to [1.23.0](https://github.com/rubocop/rubocop/releases/tag/v1.23.0)
|
37
49
|
|
38
50
|
## 1.4.0
|
39
51
|
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
5
|
-
rubocop (= 1.
|
4
|
+
standard (1.11.0)
|
5
|
+
rubocop (= 1.28.2)
|
6
6
|
rubocop-performance (= 1.13.3)
|
7
7
|
|
8
8
|
GEM
|
@@ -14,26 +14,26 @@ GEM
|
|
14
14
|
gimme (0.5.0)
|
15
15
|
method_source (1.0.0)
|
16
16
|
minitest (5.15.0)
|
17
|
-
parallel (1.22.
|
18
|
-
parser (3.1.
|
17
|
+
parallel (1.22.1)
|
18
|
+
parser (3.1.2.0)
|
19
19
|
ast (~> 2.4.1)
|
20
20
|
pry (0.14.1)
|
21
21
|
coderay (~> 1.1)
|
22
22
|
method_source (~> 1.0)
|
23
23
|
rainbow (3.1.1)
|
24
24
|
rake (13.0.6)
|
25
|
-
regexp_parser (2.
|
25
|
+
regexp_parser (2.3.1)
|
26
26
|
rexml (3.2.5)
|
27
|
-
rubocop (1.
|
27
|
+
rubocop (1.28.2)
|
28
28
|
parallel (~> 1.10)
|
29
29
|
parser (>= 3.1.0.0)
|
30
30
|
rainbow (>= 2.2.2, < 4.0)
|
31
31
|
regexp_parser (>= 1.8, < 3.0)
|
32
32
|
rexml
|
33
|
-
rubocop-ast (>= 1.
|
33
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
34
34
|
ruby-progressbar (~> 1.7)
|
35
35
|
unicode-display_width (>= 1.4.0, < 3.0)
|
36
|
-
rubocop-ast (1.
|
36
|
+
rubocop-ast (1.17.0)
|
37
37
|
parser (>= 3.1.1.0)
|
38
38
|
rubocop-performance (1.13.3)
|
39
39
|
rubocop (>= 1.7.0, < 2.0)
|
data/config/base.yml
CHANGED
@@ -235,7 +235,7 @@ Layout/IndentationStyle:
|
|
235
235
|
Layout/IndentationWidth:
|
236
236
|
Enabled: true
|
237
237
|
Width: 2
|
238
|
-
|
238
|
+
AllowedPatterns: []
|
239
239
|
|
240
240
|
Layout/InitialIndentation:
|
241
241
|
Enabled: true
|
@@ -665,6 +665,10 @@ Lint/RedundantWithIndex:
|
|
665
665
|
Lint/RedundantWithObject:
|
666
666
|
Enabled: true
|
667
667
|
|
668
|
+
Lint/RefinementImportMethods:
|
669
|
+
Enabled: true
|
670
|
+
SafeAutoCorrect: false
|
671
|
+
|
668
672
|
Lint/RegexpAsCondition:
|
669
673
|
Enabled: true
|
670
674
|
|
@@ -1053,6 +1057,9 @@ Performance/StringIdentifierArgument:
|
|
1053
1057
|
Security/Eval:
|
1054
1058
|
Enabled: true
|
1055
1059
|
|
1060
|
+
Security/CompoundHash:
|
1061
|
+
Enabled: true
|
1062
|
+
|
1056
1063
|
Security/JSONLoad:
|
1057
1064
|
Enabled: true
|
1058
1065
|
AutoCorrect: false
|
@@ -1268,6 +1275,9 @@ Style/ExplicitBlockArgument:
|
|
1268
1275
|
Style/ExponentialNotation:
|
1269
1276
|
Enabled: false
|
1270
1277
|
|
1278
|
+
Style/FetchEnvVar:
|
1279
|
+
Enabled: false
|
1280
|
+
|
1271
1281
|
Style/FloatDivision:
|
1272
1282
|
Enabled: false
|
1273
1283
|
|
@@ -1502,6 +1512,9 @@ Style/NumericLiterals:
|
|
1502
1512
|
Style/NumericPredicate:
|
1503
1513
|
Enabled: false
|
1504
1514
|
|
1515
|
+
Style/ObjectThen:
|
1516
|
+
Enabled: false
|
1517
|
+
|
1505
1518
|
Style/OneLineConditional:
|
1506
1519
|
Enabled: true
|
1507
1520
|
|
@@ -1586,6 +1599,9 @@ Style/RedundantFileExtensionInRequire:
|
|
1586
1599
|
Style/RedundantFreeze:
|
1587
1600
|
Enabled: true
|
1588
1601
|
|
1602
|
+
Style/RedundantInitialize:
|
1603
|
+
Enabled: true
|
1604
|
+
|
1589
1605
|
Style/RedundantInterpolation:
|
1590
1606
|
Enabled: true
|
1591
1607
|
|
data/config/ruby-3.0.yml
CHANGED
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency "rubocop", "1.
|
22
|
+
spec.add_dependency "rubocop", "1.28.2"
|
23
23
|
spec.add_dependency "rubocop-performance", "1.13.3"
|
24
24
|
end
|
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: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-25 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.28.2
|
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.28.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
rubygems_version: 3.2.
|
117
|
+
rubygems_version: 3.2.32
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Ruby Style Guide, with linter & automatic code fixer
|