standard 1.19.1 → 1.21.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/test.yml +1 -1
- data/.github/workflows/update.yml +3 -1
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +11 -11
- data/README.md +4 -0
- data/config/base.yml +26 -1
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b81947d8fd0c0d0ac932f947406aa3ecaa893f26861d143895c4c17d5174e12
|
4
|
+
data.tar.gz: 451ce5e6c758f9d12539e6ae7ee877ea3597c6cb876994e192d5ccc54bc3d453
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b25fcaa73ce0ec0ac525497f600a8d7c37c36e780c7d913d84e1837fa77d3551ed75890b069312950a81b00376725080b0272639be67ca8e1741f9f4cb9b91c
|
7
|
+
data.tar.gz: cca1619ce8107cb4e8d2a5156846272759643dd1031e4fe53671ec4c8f7ae7e7f31d01ec49499ef407de6a11b89236534638890cdf93454fd6cd536dc290fe66
|
data/.github/workflows/test.yml
CHANGED
@@ -3,7 +3,9 @@ name: Update
|
|
3
3
|
on:
|
4
4
|
workflow_dispatch:
|
5
5
|
schedule:
|
6
|
-
- cron: '
|
6
|
+
- cron: '0 0 */100,1-7 * 1'
|
7
|
+
# https://blog.healthchecks.io/2022/09/schedule-cron-job-the-funky-way/
|
8
|
+
# In case you want to know how that cron job works to get the first Monday of each month.
|
7
9
|
|
8
10
|
jobs:
|
9
11
|
update:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.21.0
|
4
|
+
|
5
|
+
* Update rubocop-performance from 1.15.1 to [1.15.2](https://github.com/rubocop/rubocop-performance/releases/tag/v1.15.2)
|
6
|
+
* Update rubocop from 1.40.0 to [1.42.0](https://github.com/rubocop/rubocop/releases/tag/v1.42.0)
|
7
|
+
|
8
|
+
## 1.20.0
|
9
|
+
|
10
|
+
* Update rubocop from 1.39.0 to [1.40.0](https://github.com/rubocop/rubocop/releases/tag/v1.40.0)
|
11
|
+
|
3
12
|
## 1.19.1
|
4
13
|
|
5
14
|
* Loosen dependency on `language_server-protocol`
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
4
|
+
standard (1.21.0)
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
6
|
-
rubocop (= 1.
|
7
|
-
rubocop-performance (= 1.15.
|
6
|
+
rubocop (= 1.42.0)
|
7
|
+
rubocop-performance (= 1.15.2)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -16,9 +16,9 @@ GEM
|
|
16
16
|
json (2.6.3)
|
17
17
|
language_server-protocol (3.17.0.2)
|
18
18
|
method_source (1.0.0)
|
19
|
-
minitest (5.
|
19
|
+
minitest (5.17.0)
|
20
20
|
parallel (1.22.1)
|
21
|
-
parser (3.
|
21
|
+
parser (3.2.0.0)
|
22
22
|
ast (~> 2.4.1)
|
23
23
|
pry (0.14.1)
|
24
24
|
coderay (~> 1.1)
|
@@ -27,29 +27,29 @@ GEM
|
|
27
27
|
rake (13.0.6)
|
28
28
|
regexp_parser (2.6.1)
|
29
29
|
rexml (3.2.5)
|
30
|
-
rubocop (1.
|
30
|
+
rubocop (1.42.0)
|
31
31
|
json (~> 2.3)
|
32
32
|
parallel (~> 1.10)
|
33
33
|
parser (>= 3.1.2.1)
|
34
34
|
rainbow (>= 2.2.2, < 4.0)
|
35
35
|
regexp_parser (>= 1.8, < 3.0)
|
36
36
|
rexml (>= 3.2.5, < 4.0)
|
37
|
-
rubocop-ast (>= 1.
|
37
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
38
38
|
ruby-progressbar (~> 1.7)
|
39
39
|
unicode-display_width (>= 1.4.0, < 3.0)
|
40
|
-
rubocop-ast (1.24.
|
40
|
+
rubocop-ast (1.24.1)
|
41
41
|
parser (>= 3.1.1.0)
|
42
|
-
rubocop-performance (1.15.
|
42
|
+
rubocop-performance (1.15.2)
|
43
43
|
rubocop (>= 1.7.0, < 2.0)
|
44
44
|
rubocop-ast (>= 0.4.0)
|
45
45
|
ruby-progressbar (1.11.0)
|
46
|
-
simplecov (0.
|
46
|
+
simplecov (0.22.0)
|
47
47
|
docile (~> 1.1)
|
48
48
|
simplecov-html (~> 0.11)
|
49
49
|
simplecov_json_formatter (~> 0.1)
|
50
50
|
simplecov-html (0.12.3)
|
51
51
|
simplecov_json_formatter (0.1.4)
|
52
|
-
unicode-display_width (2.
|
52
|
+
unicode-display_width (2.4.0)
|
53
53
|
|
54
54
|
PLATFORMS
|
55
55
|
ruby
|
data/README.md
CHANGED
@@ -499,6 +499,10 @@ regularly updated
|
|
499
499
|
guide](https://evilmartians.com/chronicles/rubocoping-with-legacy-bring-your-ruby-code-up-to-standard)
|
500
500
|
on how to do so.
|
501
501
|
|
502
|
+
## How often is Standard updated?
|
503
|
+
|
504
|
+
We aim to update Standard once a month, in the first week of the month. In between releases, we'll be considering RuboCop updates, RuboCop Performance updates, and community contributions.
|
505
|
+
|
502
506
|
## Does Standard work with [Insert other tool name here]?
|
503
507
|
|
504
508
|
Maybe! Start by searching the repository to see if there's an existing issue
|
data/config/base.yml
CHANGED
@@ -182,7 +182,7 @@ Layout/EndOfLine:
|
|
182
182
|
Layout/ExtraSpacing:
|
183
183
|
Enabled: true
|
184
184
|
AllowForAlignment: false
|
185
|
-
AllowBeforeTrailingComments:
|
185
|
+
AllowBeforeTrailingComments: true
|
186
186
|
ForceEqualSignAlignment: false
|
187
187
|
|
188
188
|
Layout/FirstArgumentIndentation:
|
@@ -444,6 +444,7 @@ Lint/AmbiguousRegexpLiteral:
|
|
444
444
|
Lint/AssignmentInCondition:
|
445
445
|
Enabled: true
|
446
446
|
AllowSafeAssignment: true
|
447
|
+
AutoCorrect: false
|
447
448
|
|
448
449
|
Lint/BigDecimalNew:
|
449
450
|
Enabled: true
|
@@ -1127,6 +1128,9 @@ Style/ArgumentsForwarding:
|
|
1127
1128
|
Style/ArrayCoercion:
|
1128
1129
|
Enabled: false
|
1129
1130
|
|
1131
|
+
Style/ArrayIntersect:
|
1132
|
+
Enabled: false
|
1133
|
+
|
1130
1134
|
Style/ArrayJoin:
|
1131
1135
|
Enabled: true
|
1132
1136
|
|
@@ -1209,6 +1213,9 @@ Style/CommentAnnotation:
|
|
1209
1213
|
Style/CommentedKeyword:
|
1210
1214
|
Enabled: false
|
1211
1215
|
|
1216
|
+
Style/ConcatArrayLiterals:
|
1217
|
+
Enabled: false
|
1218
|
+
|
1212
1219
|
Style/ConditionalAssignment:
|
1213
1220
|
Enabled: true
|
1214
1221
|
EnforcedStyle: assign_to_condition
|
@@ -1425,6 +1432,9 @@ Style/MapCompactWithConditionalBlock:
|
|
1425
1432
|
Style/MapToHash:
|
1426
1433
|
Enabled: false
|
1427
1434
|
|
1435
|
+
Style/MapToSet:
|
1436
|
+
Enabled: false
|
1437
|
+
|
1428
1438
|
Style/MethodCallWithArgsParentheses:
|
1429
1439
|
Enabled: false
|
1430
1440
|
|
@@ -1441,6 +1451,9 @@ Style/MethodDefParentheses:
|
|
1441
1451
|
Style/MinMax:
|
1442
1452
|
Enabled: false
|
1443
1453
|
|
1454
|
+
Style/MinMaxComparison:
|
1455
|
+
Enabled: false
|
1456
|
+
|
1444
1457
|
Style/MissingElse:
|
1445
1458
|
Enabled: false
|
1446
1459
|
|
@@ -1645,6 +1658,12 @@ Style/RedundantCondition:
|
|
1645
1658
|
Style/RedundantConditional:
|
1646
1659
|
Enabled: true
|
1647
1660
|
|
1661
|
+
Style/RedundantConstantBase:
|
1662
|
+
Enabled: false
|
1663
|
+
|
1664
|
+
Style/RedundantDoubleSplatHashBraces:
|
1665
|
+
Enabled: true
|
1666
|
+
|
1648
1667
|
Style/RedundantEach:
|
1649
1668
|
Enabled: false
|
1650
1669
|
|
@@ -1703,6 +1722,9 @@ Style/RedundantStringEscape:
|
|
1703
1722
|
Style/RegexpLiteral:
|
1704
1723
|
Enabled: false
|
1705
1724
|
|
1725
|
+
Style/RequireOrder:
|
1726
|
+
Enabled: false
|
1727
|
+
|
1706
1728
|
Style/RescueModifier:
|
1707
1729
|
Enabled: true
|
1708
1730
|
|
@@ -1901,5 +1923,8 @@ Style/YodaCondition:
|
|
1901
1923
|
Enabled: true
|
1902
1924
|
EnforcedStyle: forbid_for_all_comparison_operators
|
1903
1925
|
|
1926
|
+
Style/YodaExpression:
|
1927
|
+
Enabled: false
|
1928
|
+
|
1904
1929
|
Style/ZeroLengthPredicate:
|
1905
1930
|
Enabled: false
|
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
@@ -19,8 +19,8 @@ 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.
|
23
|
-
spec.add_dependency "rubocop-performance", "1.15.
|
22
|
+
spec.add_dependency "rubocop", "1.42.0"
|
23
|
+
spec.add_dependency "rubocop-performance", "1.15.2"
|
24
24
|
|
25
25
|
# not semver: first three are lsp protocol version, last is patch
|
26
26
|
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
|
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.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.42.0
|
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.42.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.15.
|
33
|
+
version: 1.15.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.15.
|
40
|
+
version: 1.15.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: language_server-protocol
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.17.0.2
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- searls@gmail.com
|
58
58
|
executables:
|
@@ -118,7 +118,7 @@ files:
|
|
118
118
|
homepage: https://github.com/testdouble/standard
|
119
119
|
licenses: []
|
120
120
|
metadata: {}
|
121
|
-
post_install_message:
|
121
|
+
post_install_message:
|
122
122
|
rdoc_options: []
|
123
123
|
require_paths:
|
124
124
|
- lib
|
@@ -133,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
-
signing_key:
|
136
|
+
rubygems_version: 3.1.6
|
137
|
+
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
140
140
|
test_files: []
|