standard 1.36.0 → 1.37.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/README.md +1 -0
- data/config/base.yml +6 -0
- data/lib/standard/lsp/routes.rb +0 -8
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2deb844275c075310374ee37f374dfb1ab31ded453dd65744a051c2b4c1139a
|
4
|
+
data.tar.gz: 036bbabc58241f5edf1b18a0da1d47e36262b51c37a196298bc0ef4b5e5ba4e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2723bef6152debb628fd5f510f527296d30714c5e68bff12489b9af0ce6add2361c44911198dea8f764b5302ec24049f7da3671f15e033543f42427f951abe46
|
7
|
+
data.tar.gz: 3804a98d3c95ae5a040380f2dff8b8aaf15431c95392a42563d1687c513e84d55e14337351d24222d301b89755443527b10b5ea2ed93ad2ee93f323c4188a36b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
4
|
+
standard (1.37.0)
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
6
6
|
lint_roller (~> 1.0)
|
7
|
-
rubocop (~> 1.
|
7
|
+
rubocop (~> 1.64.0)
|
8
8
|
standard-custom (~> 1.0.0)
|
9
9
|
standard-performance (~> 1.4)
|
10
10
|
|
@@ -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.
|
33
|
+
rubocop (1.64.1)
|
34
34
|
json (~> 2.3)
|
35
35
|
language_server-protocol (>= 3.17.0)
|
36
36
|
parallel (~> 1.10)
|
data/README.md
CHANGED
@@ -502,6 +502,7 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
|
|
502
502
|
* [thoughtbot](https://thoughtbot.com/)
|
503
503
|
* [Topkey](https://topkey.io)
|
504
504
|
* [University of Wisconsin-Eau Claire](https://www.uwec.edu/)
|
505
|
+
* [Cartwheel](https://www.cartwheel.org)
|
505
506
|
|
506
507
|
Does your team use Standard? [Add your name to the list](https://github.com/standardrb/standard/edit/main/README.md)!
|
507
508
|
|
data/config/base.yml
CHANGED
@@ -1662,6 +1662,9 @@ Style/Semicolon:
|
|
1662
1662
|
Style/Send:
|
1663
1663
|
Enabled: false
|
1664
1664
|
|
1665
|
+
Style/SendWithLiteralMethodName:
|
1666
|
+
Enabled: false
|
1667
|
+
|
1665
1668
|
Style/SignalException:
|
1666
1669
|
Enabled: false
|
1667
1670
|
|
@@ -1724,6 +1727,9 @@ Style/Strip:
|
|
1724
1727
|
Style/StructInheritance:
|
1725
1728
|
Enabled: false
|
1726
1729
|
|
1730
|
+
Style/SuperArguments:
|
1731
|
+
Enabled: true
|
1732
|
+
|
1727
1733
|
Style/SuperWithArgsParentheses:
|
1728
1734
|
Enabled: true
|
1729
1735
|
|
data/lib/standard/lsp/routes.rb
CHANGED
@@ -27,10 +27,6 @@ module Standard
|
|
27
27
|
@writer.write(id: request[:id], result: Proto::Interface::InitializeResult.new(
|
28
28
|
capabilities: Proto::Interface::ServerCapabilities.new(
|
29
29
|
document_formatting_provider: true,
|
30
|
-
diagnostic_provider: LanguageServer::Protocol::Interface::DiagnosticOptions.new(
|
31
|
-
inter_file_dependencies: false,
|
32
|
-
workspace_diagnostics: false
|
33
|
-
),
|
34
30
|
text_document_sync: Proto::Interface::TextDocumentSyncOptions.new(
|
35
31
|
change: Proto::Constant::TextDocumentSyncKind::FULL,
|
36
32
|
open_close: true
|
@@ -51,10 +47,6 @@ module Standard
|
|
51
47
|
end
|
52
48
|
end
|
53
49
|
|
54
|
-
handle "textDocument/diagnostic" do |_request|
|
55
|
-
# no op, diagnostics are handled in textDocument/didChange
|
56
|
-
end
|
57
|
-
|
58
50
|
handle "textDocument/didChange" do |request|
|
59
51
|
params = request[:params]
|
60
52
|
result = diagnostic(params[:textDocument][:uri], params[:contentChanges][0][:text])
|
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
@@ -23,7 +23,7 @@ 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.
|
26
|
+
spec.add_dependency "rubocop", "~> 1.64.0"
|
27
27
|
|
28
28
|
spec.add_dependency "lint_roller", "~> 1.0"
|
29
29
|
spec.add_dependency "standard-custom", "~> 1.0.0"
|
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.37.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-
|
11
|
+
date: 2024-06-11 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.64.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.64.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: lint_roller
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|