ruby_language_server 0.3.1 → 0.3.2
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 +2 -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: 24623019ffbbd4d0a3f0e07e9a8ae75737c072068d0d61945dd87efffa9c1ba8
|
4
|
+
data.tar.gz: b2c2ad7e4c4f8d984d0c8d298b63e32a4eb39430568843fc2c8a5ada6ccc2193
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8894f83cec8a8fa8b5e4890d09a0f6f81d711b66b6f525fb1fe9f1add9da7fe40ed59b11910e9ccc154d9aed9410c9033e10ae38fc13278e531983411159481
|
7
|
+
data.tar.gz: de1370aae5e2634e7bc502f4862795a3ea9b741c922421f2adb1b316812fedecdebbd701053b608232c9c6bd490765fb9fbc521f8312dc2c7eff430503e71a80
|
data/CHANGELOG.txt
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -48,11 +48,11 @@ Write tests and guard will run them. Make changes and reload the window. Test
|
|
48
48
|
|
49
49
|
# Release instructions to self
|
50
50
|
|
51
|
-
*
|
51
|
+
* Branch for release
|
52
52
|
* bump version in version.rb file and Gemfile.lock
|
53
53
|
* [CHANGELOG.txt](CHANGELOG.txt)
|
54
54
|
* make gem_release
|
55
|
-
** This is probably going to get more because of 2FA: https://rubygems.org/profile/edit
|
55
|
+
** This is probably going to get more painful because of 2FA: https://rubygems.org/profile/edit
|
56
56
|
|
57
57
|
# Authors
|
58
58
|
|
@@ -249,7 +249,7 @@ module RubyLanguageServer
|
|
249
249
|
return_array = []
|
250
250
|
while check_scope
|
251
251
|
scope.variables.each do |variable|
|
252
|
-
return_array << Location.hash(uri.delete_prefix(self.class.root_uri), variable.line
|
252
|
+
return_array << Location.hash(uri.delete_prefix(self.class.root_uri), variable.line, 1) if variable.name == name
|
253
253
|
end
|
254
254
|
check_scope = check_scope.parent
|
255
255
|
end
|
@@ -261,7 +261,7 @@ module RubyLanguageServer
|
|
261
261
|
scopes = RubyLanguageServer::ScopeData::Scope.where(name: name)
|
262
262
|
variables = RubyLanguageServer::ScopeData::Variable.constant_variables.where(name: name)
|
263
263
|
(scopes + variables).reject{|scope| scope.code_file.nil?}.map do |scope|
|
264
|
-
Location.hash(scope.code_file.uri.delete_prefix(self.class.root_uri), scope.top_line)
|
264
|
+
Location.hash(scope.code_file.uri.delete_prefix(self.class.root_uri), scope.top_line, 1)
|
265
265
|
end
|
266
266
|
end
|
267
267
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kurt Werle
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|