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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ab3ea4a4f1a9af05f36ddc55a19dc735a9b3d5b9bb4e63bcf7a5a5f3e281019
4
- data.tar.gz: 2de48c7e9b78606a33507ad3439088a42671c3c2eed366708714b14137a968a8
3
+ metadata.gz: '09def74b7c6889127e52fb6accc2dff24804e22b0f8514beb8d910bb8c43114d'
4
+ data.tar.gz: 3d1a29a7fe53a601e369826dd2b97383a58bdd8a667b1028cc2be7e882a92886
5
5
  SHA512:
6
- metadata.gz: 06e256c7dc709ef6343d22a8317b10aaa66175f781e7f08fb44703fbaeaa6c115850f53a557da260856c1c1f688c5403ee971349038a4da1e3b447890c8ea913
7
- data.tar.gz: ae4832012bce5be577ad6224b1093a9fd20fb9403b4042444f460b9847004f01711d74e4235951edc9addfcca5ba1ee8c5e2fed7f229b1a3629b3c8a3274e942
6
+ metadata.gz: 5d146ed91de8fc4c6174dec7045ec8b460539ab58cab9b2824646696786a16b95dd3a0bdf914bb5490053d44f5d8a7d5cfe3865ace4ff9eaad726a84dc7fb91c
7
+ data.tar.gz: 627d091f858a611b16d61bac8930912324cdf5da2379d9618b6807e467b843d55270dcf7a6ebe961bc64ac41d02c89d43e954553e415eb589c2dfbb4f16870c9
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ #### 0.3.7 Wed Jan 15 22:27:08 PST 2020
4
+
5
+ * #52 Jump to variable broken on vscode
6
+
3
7
  #### 0.3.6 Mon Jan 13 22:48:31 PST 2020
4
8
 
5
9
  * #51 Tweaks to support vs code
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_language_server (0.3.6)
4
+ ruby_language_server (0.3.7)
5
5
  activerecord (~> 5.2)
6
6
  amatch
7
7
  bundler
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 this. Should this be set in the Server? Or is this right.
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.delete_prefix(self.class.root_uri), variable.line, 1) if variable.name == name
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyLanguageServer
4
- VERSION = '0.3.6'
4
+ VERSION = '0.3.7'
5
5
  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.6
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-14 00:00:00.000000000 Z
11
+ date: 2020-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler