standard 1.32.1 → 1.33.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: cc2fe16b90280011abe341a176a2f3214c6c4c05955a013b6b536534fdfd1c9e
4
- data.tar.gz: 4b7bf51389d3d612127ececff2f798069de5b61863cad426d3209ee064e17158
3
+ metadata.gz: d2d9b2d176cfaf42632e3007ae0520736726fe7bf4d0b8cf2bbfcace98bffbc3
4
+ data.tar.gz: 4f200b152f0d8bee0cce4540d3b19b4270180598fe4f534563875736f2beff9d
5
5
  SHA512:
6
- metadata.gz: 4bbe989b44bdca0fe39287c04acd3a73f7df88e4262c7508d8dabdd1a8fa75315a9feaa937f7c2f1bf321c00d5835d422cea2657c5b438f53c283607cb52d176
7
- data.tar.gz: a8fa56f7eb9f0a2260b7831c08c23138ba12d8463d2815989d3fa3a86acb5dc1fff64400236e753f57554e036d0c00c17ad8740495b819b9a4b8fa9be6645707
6
+ metadata.gz: 93430778d9de63b32a445825e4d68ad9fe9f7d4afc86b090482d1459ecd3c4a440326688287c3148ddec14a17755b82b9dfd119476d09737e62e1e5e1791aa92
7
+ data.tar.gz: e0d6055c79a0e81d236183f30a50edf4b4136c37525d182747155da6a67c29444477583fd223f72a2c54aa26f5fe94cc1326d4b9f6899b510d5aa0a2564872b4
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  matrix:
18
18
  os: [ubuntu-latest]
19
- ruby-version: [2.7, '3.0', 3.1, 3.2, head]
19
+ ruby-version: [2.7, '3.0', 3.1, 3.2, 3.3]
20
20
 
21
21
  runs-on: ${{ matrix.os }}
22
22
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.33.0
4
+
5
+ * Updates rubocop to [1.59.0](https://github.com/rubocop/rubocop/releases/tag/v1.59.0)
6
+ * Updates standard-performance to [1.3.0](https://github.com/standardrb/standard-performance/releases/tag/v1.3.0)
7
+
3
8
  ## 1.32.1
4
9
 
5
10
  * Fixes regeneration of TODO files ot avoid missing already-ignored rules [#587](https://github.com/standardrb/standard/pull/587)
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.32.1)
4
+ standard (1.33.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.57.2)
7
+ rubocop (~> 1.59.0)
8
8
  standard-custom (~> 1.0.0)
9
- standard-performance (~> 1.2)
9
+ standard-performance (~> 1.3)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -31,7 +31,7 @@ GEM
31
31
  rake (13.0.6)
32
32
  regexp_parser (2.8.2)
33
33
  rexml (3.2.6)
34
- rubocop (1.57.2)
34
+ rubocop (1.59.0)
35
35
  json (~> 2.3)
36
36
  language_server-protocol (>= 3.17.0)
37
37
  parallel (~> 1.10)
@@ -39,14 +39,14 @@ GEM
39
39
  rainbow (>= 2.2.2, < 4.0)
40
40
  regexp_parser (>= 1.8, < 3.0)
41
41
  rexml (>= 3.2.5, < 4.0)
42
- rubocop-ast (>= 1.28.1, < 2.0)
42
+ rubocop-ast (>= 1.30.0, < 2.0)
43
43
  ruby-progressbar (~> 1.7)
44
44
  unicode-display_width (>= 2.4.0, < 3.0)
45
- rubocop-ast (1.29.0)
45
+ rubocop-ast (1.30.0)
46
46
  parser (>= 3.2.1.0)
47
- rubocop-performance (1.19.1)
48
- rubocop (>= 1.7.0, < 2.0)
49
- rubocop-ast (>= 0.4.0)
47
+ rubocop-performance (1.20.1)
48
+ rubocop (>= 1.48.1, < 2.0)
49
+ rubocop-ast (>= 1.30.0, < 2.0)
50
50
  ruby-progressbar (1.13.0)
51
51
  simplecov (0.22.0)
52
52
  docile (~> 1.1)
@@ -57,9 +57,9 @@ GEM
57
57
  standard-custom (1.0.2)
58
58
  lint_roller (~> 1.0)
59
59
  rubocop (~> 1.50)
60
- standard-performance (1.2.1)
60
+ standard-performance (1.3.0)
61
61
  lint_roller (~> 1.1)
62
- rubocop-performance (~> 1.19.1)
62
+ rubocop-performance (~> 1.20.1)
63
63
  unicode-display_width (2.5.0)
64
64
 
65
65
  PLATFORMS
@@ -76,4 +76,4 @@ DEPENDENCIES
76
76
  standard!
77
77
 
78
78
  BUNDLED WITH
79
- 2.4.21
79
+ 2.4.12
data/README.md CHANGED
@@ -498,6 +498,7 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
498
498
  * [Spinal](https://spinalcms.com/)
499
499
  * [Teamtailor](https://www.teamtailor.com/)
500
500
  * [thoughtbot](https://thoughtbot.com/)
501
+ * [University of Wisconsin-Eau Claire](https://www.uwec.edu/)
501
502
 
502
503
  Does your team use Standard? [Add your name to the list](https://github.com/standardrb/standard/edit/main/README.md)!
503
504
 
data/config/base.yml CHANGED
@@ -586,12 +586,18 @@ Lint/InheritException:
586
586
  Lint/InterpolationCheck:
587
587
  Enabled: true
588
588
 
589
+ Lint/ItWithoutArgumentsInBlock:
590
+ Enabled: true
591
+
589
592
  Lint/LambdaWithoutLiteralBlock:
590
593
  Enabled: false
591
594
 
592
595
  Lint/LiteralAsCondition:
593
596
  Enabled: true
594
597
 
598
+ Lint/LiteralAssignmentInCondition:
599
+ Enabled: true
600
+
595
601
  Lint/LiteralInInterpolation:
596
602
  Enabled: true
597
603
 
@@ -977,6 +983,9 @@ Style/ArgumentsForwarding:
977
983
  Style/ArrayCoercion:
978
984
  Enabled: false
979
985
 
986
+ Style/ArrayFirstLast:
987
+ Enabled: false
988
+
980
989
  Style/ArrayIntersect:
981
990
  Enabled: false
982
991
 
@@ -1712,6 +1721,9 @@ Style/Strip:
1712
1721
  Style/StructInheritance:
1713
1722
  Enabled: false
1714
1723
 
1724
+ Style/SuperWithArgsParentheses:
1725
+ Enabled: true
1726
+
1715
1727
  Style/SwapValues:
1716
1728
  Enabled: false
1717
1729
 
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.32.1")
2
+ VERSION = Gem::Version.new("1.33.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
  spec.metadata["rubygems_mfa_required"] = "true"
25
25
 
26
- spec.add_dependency "rubocop", "~> 1.57.2"
26
+ spec.add_dependency "rubocop", "~> 1.59.0"
27
27
 
28
28
  spec.add_dependency "lint_roller", "~> 1.0"
29
29
  spec.add_dependency "standard-custom", "~> 1.0.0"
30
- spec.add_dependency "standard-performance", "~> 1.2"
30
+ spec.add_dependency "standard-performance", "~> 1.3"
31
31
 
32
32
  # not semver: first three are lsp protocol version, last is patch
33
33
  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.32.1
4
+ version: 1.33.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: 2023-12-04 00:00:00.000000000 Z
11
+ date: 2023-12-26 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.57.2
19
+ version: 1.59.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.57.2
26
+ version: 1.59.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: lint_roller
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.2'
61
+ version: '1.3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.2'
68
+ version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: language_server-protocol
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.4.21
186
+ rubygems_version: 3.1.6
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Ruby Style Guide, with linter & automatic code fixer