ruby_language_server 0.2.9 → 0.2.10
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 +8 -8
- data/Makefile +5 -5
- data/README.md +7 -0
- data/lib/ruby_language_server/gem_installer.rb +2 -0
- data/lib/ruby_language_server/project_manager.rb +2 -0
- 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: 10cb4b4c269544056f69b47cd3ffa4bfe55eeb2637e9d8a47279c8a13e34bb7d
|
4
|
+
data.tar.gz: b17613ed4c17e3fc62cc04623ece8ca442568ae54d3843cdad1adf630521e8bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1d40873acea7759a42cc18408c1f7783266359820772c6ba3b34c46789caca9513da83ffd568206a3d77a3a5b36fc6bdf799ae43acb829049cdfa9ac5c50afb
|
7
|
+
data.tar.gz: 494d757d57eae4824f1b1be25756a033000a75baab0ed0d3dfa3c892ea49c85225f6b9c3ce37ba1258b9cb245d70ac83e8b754ff8cafa0bff1a13e5c05e4e104
|
data/CHANGELOG.txt
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_language_server (0.2.
|
4
|
+
ruby_language_server (0.2.10)
|
5
5
|
amatch
|
6
6
|
bundler
|
7
7
|
etc
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
guard-rubocop (1.3.0)
|
40
40
|
guard (~> 2.0)
|
41
41
|
rubocop (~> 0.20)
|
42
|
-
jaro_winkler (1.5.
|
42
|
+
jaro_winkler (1.5.3)
|
43
43
|
json (2.2.0)
|
44
44
|
listen (3.1.5)
|
45
45
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
@@ -53,7 +53,7 @@ GEM
|
|
53
53
|
mize (0.3.5)
|
54
54
|
protocol
|
55
55
|
nenv (0.3.0)
|
56
|
-
notiffany (0.1.
|
56
|
+
notiffany (0.1.3)
|
57
57
|
nenv (~> 0.1)
|
58
58
|
shellany (~> 0.0)
|
59
59
|
parallel (1.17.0)
|
@@ -68,27 +68,27 @@ GEM
|
|
68
68
|
byebug (~> 11.0)
|
69
69
|
pry (~> 0.10)
|
70
70
|
rainbow (3.0.0)
|
71
|
-
rake (12.3.
|
71
|
+
rake (12.3.3)
|
72
72
|
rb-fsevent (0.10.3)
|
73
73
|
rb-inotify (0.10.0)
|
74
74
|
ffi (~> 1.0)
|
75
|
-
rubocop (0.
|
75
|
+
rubocop (0.74.0)
|
76
76
|
jaro_winkler (~> 1.5.1)
|
77
77
|
parallel (~> 1.10)
|
78
78
|
parser (>= 2.6)
|
79
79
|
rainbow (>= 2.2.2, < 4.0)
|
80
80
|
ruby-progressbar (~> 1.7)
|
81
81
|
unicode-display_width (>= 1.4.0, < 1.7)
|
82
|
-
rubocop-rspec (1.
|
82
|
+
rubocop-rspec (1.35.0)
|
83
83
|
rubocop (>= 0.60.0)
|
84
84
|
ruby-progressbar (1.10.1)
|
85
85
|
ruby_dep (1.5.0)
|
86
86
|
ruby_parser (3.13.1)
|
87
87
|
sexp_processor (~> 4.9)
|
88
|
-
sexp_processor (4.12.
|
88
|
+
sexp_processor (4.12.1)
|
89
89
|
shellany (0.0.1)
|
90
90
|
thor (0.20.3)
|
91
|
-
tins (1.
|
91
|
+
tins (1.21.1)
|
92
92
|
unicode-display_width (1.6.0)
|
93
93
|
|
94
94
|
PLATFORMS
|
data/Makefile
CHANGED
@@ -17,17 +17,17 @@ continuous_development: build
|
|
17
17
|
done
|
18
18
|
|
19
19
|
console: build
|
20
|
-
docker run -it $(LOCAL_LINK) $(PROJECT_NAME) bin/console
|
20
|
+
docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) bin/console
|
21
21
|
|
22
22
|
test: build
|
23
|
-
docker run -it $(LOCAL_LINK) $(PROJECT_NAME) rake test && rubocop
|
23
|
+
docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) rake test && rubocop
|
24
24
|
|
25
25
|
shell: build
|
26
|
-
docker run -it $(LOCAL_LINK) $(PROJECT_NAME) sh
|
26
|
+
docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) sh
|
27
27
|
|
28
28
|
# Just to make sure it works.
|
29
29
|
server: build
|
30
|
-
docker run -it $(LOCAL_LINK) $(PROJECT_NAME)
|
30
|
+
docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME)
|
31
31
|
|
32
32
|
gem: build
|
33
33
|
rm -f $(PROJECT_NAME)*.gem
|
@@ -35,4 +35,4 @@ gem: build
|
|
35
35
|
|
36
36
|
# Requires rubygems be installed on host
|
37
37
|
gem_release: gem
|
38
|
-
gem push $(PROJECT_NAME)*.gem
|
38
|
+
docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) gem push $(PROJECT_NAME)*.gem
|
data/README.md
CHANGED
@@ -46,6 +46,13 @@ Write tests and guard will run them. Make changes and reload the window. Test
|
|
46
46
|
* [mtsmfm/language_server-ruby](https://github.com/mtsmfm/language_server-ruby)
|
47
47
|
* [castwide/solargraph](https://github.com/castwide/solargraph)
|
48
48
|
|
49
|
+
# Release instructions to self
|
50
|
+
|
51
|
+
* For for release
|
52
|
+
* bump version in version.rb file and Gemfile.lock
|
53
|
+
* change log
|
54
|
+
* make gem_release
|
55
|
+
|
49
56
|
# Authors
|
50
57
|
|
51
58
|
* [Kurt Werle](kurt@CircleW.org)
|
@@ -12,8 +12,10 @@ module RubyLanguageServer
|
|
12
12
|
return if gem_names.nil? || gem_names.empty?
|
13
13
|
|
14
14
|
RubyLanguageServer.logger.info("Trying to install gems #{gem_names}")
|
15
|
+
rubocop_gem = Gem::Specification.find_by_name 'rubocop'
|
15
16
|
gemfile do
|
16
17
|
source 'https://rubygems.org'
|
18
|
+
gem 'rubocop', rubocop_gem.version.to_s
|
17
19
|
gem_names.each do |gem_name|
|
18
20
|
gem gem_name
|
19
21
|
end
|
@@ -66,6 +66,8 @@ module RubyLanguageServer
|
|
66
66
|
Thread.new do
|
67
67
|
RubyLanguageServer::GemInstaller.install_gems(gem_names)
|
68
68
|
@additional_gem_mutex.synchronize { @additional_gems_installed = true }
|
69
|
+
rescue StandardError => e
|
70
|
+
RubyLanguageServer.logger.error("Issue installing rubocop gems: #{e}")
|
69
71
|
end
|
70
72
|
end
|
71
73
|
|
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.2.
|
4
|
+
version: 0.2.10
|
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-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|