ruby_language_server 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.txt +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -2
- data/lib/ruby_language_server/project_manager.rb +2 -2
- data/lib/ruby_language_server/version.rb +1 -1
- 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: '09def74b7c6889127e52fb6accc2dff24804e22b0f8514beb8d910bb8c43114d'
|
4
|
+
data.tar.gz: 3d1a29a7fe53a601e369826dd2b97383a58bdd8a667b1028cc2be7e882a92886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d146ed91de8fc4c6174dec7045ec8b460539ab58cab9b2824646696786a16b95dd3a0bdf914bb5490053d44f5d8a7d5cfe3865ace4ff9eaad726a84dc7fb91c
|
7
|
+
data.tar.gz: 627d091f858a611b16d61bac8930912324cdf5da2379d9618b6807e467b843d55270dcf7a6ebe961bc64ac41d02c89d43e954553e415eb589c2dfbb4f16870c9
|
data/CHANGELOG.txt
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -49,11 +49,10 @@ Write tests and guard will run them. Make changes and reload the window. Test
|
|
49
49
|
# Release instructions to self
|
50
50
|
|
51
51
|
* For for release
|
52
|
-
* bump version in version.rb file and Gemfile.lock
|
52
|
+
* bump version in [version.rb](lib/ruby_language_server/version.rb) file and [Gemfile.lock](Gemfile.lock)
|
53
53
|
* [CHANGELOG.txt](CHANGELOG.txt)
|
54
54
|
* merge to master, etc
|
55
55
|
* make gem_release
|
56
|
-
** This is probably going to get more because of 2FA: https://rubygems.org/profile/edit
|
57
56
|
|
58
57
|
# Authors
|
59
58
|
|
@@ -20,7 +20,7 @@ module RubyLanguageServer
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def root_path
|
23
|
-
# I'm torn about
|
23
|
+
# I'm torn about this. Should this be set in the Server? Or is this right.
|
24
24
|
# Rather than worry too much, I'll just do this here and change it later if it feels wrong.
|
25
25
|
path = ENV['RUBY_LANGUAGE_SERVER_PROJECT_ROOT'] || @_root_path
|
26
26
|
return path if path.nil?
|
@@ -253,7 +253,7 @@ module RubyLanguageServer
|
|
253
253
|
return_array = []
|
254
254
|
while check_scope
|
255
255
|
scope.variables.each do |variable|
|
256
|
-
return_array << Location.hash(uri
|
256
|
+
return_array << Location.hash(uri, variable.line, 1) if variable.name == name
|
257
257
|
end
|
258
258
|
check_scope = check_scope.parent
|
259
259
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_language_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kurt Werle
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|