standard 1.35.1 → 1.36.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 970ec533ce4a793fceab483763f5ad1e37534e018dfdb06ac62dcd3cd0edcda4
4
- data.tar.gz: f3bfc465628caea38766b9175a8fdf1ca4145c75dc341346a6d545fb69fdc830
3
+ metadata.gz: 4cce4c8b3cfe5994fa8931693c13c9bdf987433cf956f5d6648bf67f6bdb2d5f
4
+ data.tar.gz: 17e17f6fa6a3d5e829f20ebcc0ba5a6539d41b634df5de0730f1f8c9918d21ec
5
5
  SHA512:
6
- metadata.gz: '09c79d036a93dec8343ae88d15d601dd56772fb7fd72c6e2e2415a2a20058b6b98f17711e3f4861ff7af77c09639a42c90bb5e19fa20c32dedc101c80bbafc62'
7
- data.tar.gz: 177a0d5a4b96a711412b1a153d415f2669a3c8a0ef83d695bc919339c0cc39bda3abab12df6803187834093424a3b4fd4707159249762ef2ae92977f0e2cfbd5
6
+ metadata.gz: 84f3243ad0d727237653f1d76dcee395e7a46e594734a4257c64faf881bd54da3e0856d673cab6c89f9cb81475cb5a564e0aa69319b154207fc7c02baa3c0bff
7
+ data.tar.gz: 148af7206a5f02c14b389f02dfa97507b697cf10b3119a307c4d0f5f7a7ca143411d958c7cce5ffb95d9e02c227cdb15ca7f6de321dbbc68612bfded6f9293e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.36.0
4
+
5
+ * Updates rubocop to [1.63.5](https://github.com/rubocop/rubocop/releases/tag/v1.63.5)
6
+ * Updates standard-performance to [1.4.0](https://github.com/standardrb/standard-performance/releases/tag/v1.4.0)
7
+
3
8
  ## 1.35.1
4
9
 
5
10
  * Corrects rubocop constraint to the patch version, not minor version.
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.35.1)
4
+ standard (1.36.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.62.0)
7
+ rubocop (~> 1.63.0)
8
8
  standard-custom (~> 1.0.0)
9
- standard-performance (~> 1.3)
9
+ standard-performance (~> 1.4)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -30,7 +30,7 @@ GEM
30
30
  rake (13.0.6)
31
31
  regexp_parser (2.8.2)
32
32
  rexml (3.2.6)
33
- rubocop (1.62.1)
33
+ rubocop (1.63.5)
34
34
  json (~> 2.3)
35
35
  language_server-protocol (>= 3.17.0)
36
36
  parallel (~> 1.10)
@@ -43,9 +43,9 @@ GEM
43
43
  unicode-display_width (>= 2.4.0, < 3.0)
44
44
  rubocop-ast (1.31.2)
45
45
  parser (>= 3.3.0.4)
46
- rubocop-performance (1.20.1)
46
+ rubocop-performance (1.21.0)
47
47
  rubocop (>= 1.48.1, < 2.0)
48
- rubocop-ast (>= 1.30.0, < 2.0)
48
+ rubocop-ast (>= 1.31.1, < 2.0)
49
49
  ruby-progressbar (1.13.0)
50
50
  simplecov (0.22.0)
51
51
  docile (~> 1.1)
@@ -56,9 +56,9 @@ GEM
56
56
  standard-custom (1.0.2)
57
57
  lint_roller (~> 1.0)
58
58
  rubocop (~> 1.50)
59
- standard-performance (1.3.0)
59
+ standard-performance (1.4.0)
60
60
  lint_roller (~> 1.1)
61
- rubocop-performance (~> 1.20.1)
61
+ rubocop-performance (~> 1.21.0)
62
62
  unicode-display_width (2.5.0)
63
63
 
64
64
  PLATFORMS
data/README.md CHANGED
@@ -184,7 +184,7 @@ above command and will subsequently manage the server process for you.
184
184
  Various continuous integration and quality-checking tools have been made to
185
185
  support Standard Ruby, as well.
186
186
 
187
- * [Github Actions](https://github.com/andrewmcodes/standardrb-action)
187
+ * [GitHub Actions](https://github.com/standardrb/standard-ruby-action)
188
188
  * [Code Climate](https://github.com/standardrb/standard/wiki/CI:-Code-Climate)
189
189
  * [Pronto](https://github.com/julianrubisch/pronto-standardrb)
190
190
  * [Danger](https://github.com/ashfurrow/danger-rubocop/)
@@ -466,6 +466,7 @@ inherit_gem:
466
466
  Here are a few examples of Ruby Standard-compliant teams & projects:
467
467
 
468
468
  * [Test Double](https://testdouble.com/agency)
469
+ * [AdBarker](https://adbarker.com)
469
470
  * [AlchemyCMS](https://alchemy-cms.com)
470
471
  * [Amazon Web Services](https://aws.amazon.com/)
471
472
  * [Arrows](https://arrows.to/)
@@ -499,6 +500,7 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
499
500
  * [Spinal](https://spinalcms.com/)
500
501
  * [Teamtailor](https://www.teamtailor.com/)
501
502
  * [thoughtbot](https://thoughtbot.com/)
503
+ * [Topkey](https://topkey.io)
502
504
  * [University of Wisconsin-Eau Claire](https://www.uwec.edu/)
503
505
 
504
506
  Does your team use Standard? [Add your name to the list](https://github.com/standardrb/standard/edit/main/README.md)!
data/config/base.yml CHANGED
@@ -1303,6 +1303,9 @@ Style/MagicCommentFormat:
1303
1303
  Style/MapCompactWithConditionalBlock:
1304
1304
  Enabled: true
1305
1305
 
1306
+ Style/MapIntoArray:
1307
+ Enabled: false
1308
+
1306
1309
  Style/MapToHash:
1307
1310
  Enabled: false
1308
1311
 
@@ -51,10 +51,8 @@ module Standard
51
51
  end
52
52
  end
53
53
 
54
- handle "textDocument/diagnostic" do |request|
55
- doc = request[:params][:textDocument]
56
- result = diagnostic(doc[:uri], doc[:text])
57
- @writer.write(result)
54
+ handle "textDocument/diagnostic" do |_request|
55
+ # no op, diagnostics are handled in textDocument/didChange
58
56
  end
59
57
 
60
58
  handle "textDocument/didChange" do |request|
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.35.1")
2
+ VERSION = Gem::Version.new("1.36.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.62.0"
26
+ spec.add_dependency "rubocop", "~> 1.63.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.3"
30
+ spec.add_dependency "standard-performance", "~> 1.4"
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.35.1
4
+ version: 1.36.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: 2024-03-12 00:00:00.000000000 Z
11
+ date: 2024-05-14 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.62.0
19
+ version: 1.63.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.62.0
26
+ version: 1.63.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.3'
61
+ version: '1.4'
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.3'
68
+ version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: language_server-protocol
71
71
  requirement: !ruby/object:Gem::Requirement