ruby-lsp 0.16.0 → 0.16.1
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/README.md +1 -1
- data/VERSION +1 -1
- data/lib/ruby_lsp/global_state.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b52249bb9ff4600edc041d0ac28d961c7670f5dad2475b632fa5ea87c02e1657
|
|
4
|
+
data.tar.gz: c15ed4c4cd012c64f526ce3c31ca0f70a248467a44034dc6ffeed50cda94d9ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf9936e23669e947cc802e5efe4fc5466528dff0e290d3daf255522cdca7e41d08802737da2f93b0690ca3abf3916a726926b454964f21a67bb661e902494390
|
|
7
|
+
data.tar.gz: 6d6b39a1dfe90b54e4e20a1a4eda471a71418b85c94ee305c5e9b1a77be8251a304d0da9f4c72fae28773e14bdb1f316da12ce41ef436c2bc72d78903a647fb1
|
data/README.md
CHANGED
|
@@ -29,7 +29,7 @@ The Ruby LSP features include
|
|
|
29
29
|
- Debugging support
|
|
30
30
|
- Running and debugging tests through VS Code's UI
|
|
31
31
|
- Go to definition for classes, modules, constants and required files
|
|
32
|
-
- Showing
|
|
32
|
+
- Showing documentation on hover for classes, modules and constants
|
|
33
33
|
- Completion for classes, modules, constants and require paths
|
|
34
34
|
- Fuzzy search classes, modules and constants anywhere in the project and its dependencies (workspace symbol)
|
|
35
35
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.16.
|
|
1
|
+
0.16.1
|
|
@@ -63,17 +63,17 @@ module RubyLsp
|
|
|
63
63
|
|
|
64
64
|
sig { returns(String) }
|
|
65
65
|
def detect_test_library
|
|
66
|
+
if direct_dependency?(/^rspec/)
|
|
67
|
+
"rspec"
|
|
66
68
|
# A Rails app may have a dependency on minitest, but we would instead want to use the Rails test runner provided
|
|
67
69
|
# by ruby-lsp-rails.
|
|
68
|
-
|
|
70
|
+
elsif direct_dependency?(/^rails$/)
|
|
69
71
|
"rails"
|
|
70
72
|
# NOTE: Intentionally ends with $ to avoid mis-matching minitest-reporters, etc. in a Rails app.
|
|
71
73
|
elsif direct_dependency?(/^minitest$/)
|
|
72
74
|
"minitest"
|
|
73
75
|
elsif direct_dependency?(/^test-unit/)
|
|
74
76
|
"test-unit"
|
|
75
|
-
elsif direct_dependency?(/^rspec/)
|
|
76
|
-
"rspec"
|
|
77
77
|
else
|
|
78
78
|
"unknown"
|
|
79
79
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-lsp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: language_server-protocol
|