standard 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e0ed7905758dc33bf60b4ee211ec73c0623ecce07a80832e823fd0b4c92cc63
4
- data.tar.gz: cf601065a98ddcb9634bb6d0ed7d4a21920fec02f04bc26c31b14af571c48238
3
+ metadata.gz: 3b81947d8fd0c0d0ac932f947406aa3ecaa893f26861d143895c4c17d5174e12
4
+ data.tar.gz: 451ce5e6c758f9d12539e6ae7ee877ea3597c6cb876994e192d5ccc54bc3d453
5
5
  SHA512:
6
- metadata.gz: f08938462874c2e05a7d39caca82c51c4bc74baec78876e1c26f9a0a1ac1c3d3447c2dec0d1f7827cd6f88bc1a28735bea426c38ab4c0031e2c1f92407df6874
7
- data.tar.gz: 0d53496da3a90508936db4a37cb3f4aa134c437dfb30d071992b2cd6d8f05cd602a1debaf2152fb9115727f43a0f228c1d4a8e42ae0c72bae5268d7356218b52
6
+ metadata.gz: 4b25fcaa73ce0ec0ac525497f600a8d7c37c36e780c7d913d84e1837fa77d3551ed75890b069312950a81b00376725080b0272639be67ca8e1741f9f4cb9b91c
7
+ data.tar.gz: cca1619ce8107cb4e8d2a5156846272759643dd1031e4fe53671ec4c8f7ae7e7f31d01ec49499ef407de6a11b89236534638890cdf93454fd6cd536dc290fe66
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  matrix:
18
18
  os: [ubuntu-latest]
19
- ruby-version: [2.6, 2.7, '3.0', 3.1]
19
+ ruby-version: [2.6, 2.7, '3.0', 3.1, 3.2]
20
20
 
21
21
  runs-on: ${{ matrix.os }}
22
22
 
@@ -3,7 +3,9 @@ name: Update
3
3
  on:
4
4
  workflow_dispatch:
5
5
  schedule:
6
- - cron: '5 7 * * 1'
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,10 @@
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
+
3
8
  ## 1.20.0
4
9
 
5
10
  * Update rubocop from 1.39.0 to [1.40.0](https://github.com/rubocop/rubocop/releases/tag/v1.40.0)
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.20.0)
4
+ standard (1.21.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
- rubocop (= 1.40.0)
7
- rubocop-performance (= 1.15.1)
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.16.3)
19
+ minitest (5.17.0)
20
20
  parallel (1.22.1)
21
- parser (3.1.3.0)
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.40.0)
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.23.0, < 2.0)
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.0)
40
+ rubocop-ast (1.24.1)
41
41
  parser (>= 3.1.1.0)
42
- rubocop-performance (1.15.1)
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.21.2)
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.3.0)
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
@@ -1213,6 +1213,9 @@ Style/CommentAnnotation:
1213
1213
  Style/CommentedKeyword:
1214
1214
  Enabled: false
1215
1215
 
1216
+ Style/ConcatArrayLiterals:
1217
+ Enabled: false
1218
+
1216
1219
  Style/ConditionalAssignment:
1217
1220
  Enabled: true
1218
1221
  EnforcedStyle: assign_to_condition
@@ -1429,6 +1432,9 @@ Style/MapCompactWithConditionalBlock:
1429
1432
  Style/MapToHash:
1430
1433
  Enabled: false
1431
1434
 
1435
+ Style/MapToSet:
1436
+ Enabled: false
1437
+
1432
1438
  Style/MethodCallWithArgsParentheses:
1433
1439
  Enabled: false
1434
1440
 
@@ -1445,6 +1451,9 @@ Style/MethodDefParentheses:
1445
1451
  Style/MinMax:
1446
1452
  Enabled: false
1447
1453
 
1454
+ Style/MinMaxComparison:
1455
+ Enabled: false
1456
+
1448
1457
  Style/MissingElse:
1449
1458
  Enabled: false
1450
1459
 
@@ -1652,6 +1661,9 @@ Style/RedundantConditional:
1652
1661
  Style/RedundantConstantBase:
1653
1662
  Enabled: false
1654
1663
 
1664
+ Style/RedundantDoubleSplatHashBraces:
1665
+ Enabled: true
1666
+
1655
1667
  Style/RedundantEach:
1656
1668
  Enabled: false
1657
1669
 
@@ -1911,5 +1923,8 @@ Style/YodaCondition:
1911
1923
  Enabled: true
1912
1924
  EnforcedStyle: forbid_for_all_comparison_operators
1913
1925
 
1926
+ Style/YodaExpression:
1927
+ Enabled: false
1928
+
1914
1929
  Style/ZeroLengthPredicate:
1915
1930
  Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.20.0")
2
+ VERSION = Gem::Version.new("1.21.0")
3
3
  end
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.40.0"
23
- spec.add_dependency "rubocop-performance", "1.15.1"
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.20.0
4
+ version: 1.21.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-12-20 00:00:00.000000000 Z
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.40.0
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.40.0
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.1
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.1
40
+ version: 1.15.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: language_server-protocol
43
43
  requirement: !ruby/object:Gem::Requirement