language_server 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/CHANGELOG.md +9 -0
- data/Dockerfile.development +4 -4
- data/README.md +0 -5
- data/bin/language_server-ruby +8 -0
- data/circle.yml +9 -4
- data/docker-compose.ci.yml +14 -0
- data/docker-compose.override.yml +14 -0
- data/docker-compose.yml +4 -6
- data/language_server.gemspec +1 -1
- data/lib/language_server/version.rb +1 -1
- metadata +7 -5
- data/docker-sync.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f539c291399eeb7ea1e033307134aa1fd8b86c5
|
4
|
+
data.tar.gz: 3f5c47d75fe00323a36ddc34d426e538e3a258f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412ff31e6c1c49cd0ef3ab42afd604e35a9c7b2d02bfe86e2422644e02a44d86f73705e3c33a081b787c1d70d1590d179e4c817ade7084ef3734112e2d734dc6
|
7
|
+
data.tar.gz: b431130afd449e31ba64a233c7649974840509ca6a048d9cb686e8866487ae9cf6c3c6ff1dd9a0297efe8fd0e066df3337690266323e23e1185b44e6b0f85937
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/Dockerfile.development
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
ARG RUBY_VERSION=
|
1
|
+
ARG RUBY_VERSION=
|
2
2
|
FROM ruby:$RUBY_VERSION
|
3
3
|
|
4
4
|
RUN apt-get update && apt-get install less -y
|
5
5
|
RUN groupadd --gid 1000 ruby && useradd --uid 1000 --gid ruby --shell /bin/bash --create-home ruby
|
6
|
-
RUN mkdir /app && chown ruby:ruby /app
|
6
|
+
RUN mkdir /app /vendor && chown -R ruby:ruby /app /vendor
|
7
7
|
|
8
8
|
ENV LANG=C.UTF-8 \
|
9
|
-
BUNDLE_PATH=/
|
9
|
+
BUNDLE_PATH=/vendor/bundle/$RUBY_VERSION \
|
10
10
|
BUNDLE_JOBS=4
|
11
11
|
|
12
12
|
USER ruby
|
13
13
|
WORKDIR /app
|
14
|
-
CMD ["
|
14
|
+
CMD ["bin/language_server-ruby"]
|
data/README.md
CHANGED
@@ -48,15 +48,10 @@ Currently, language_server-ruby supports only stdio to communicate.
|
|
48
48
|
|
49
49
|
https://docs.docker.com/engine/installation
|
50
50
|
|
51
|
-
#### docker-sync
|
52
|
-
|
53
|
-
https://github.com/EugenMayer/docker-sync/wiki/1.-Installation
|
54
|
-
|
55
51
|
### Setup
|
56
52
|
|
57
53
|
$ git clone https://github.com/mtsmfm/language_server-ruby.git
|
58
54
|
$ cd language_server-ruby
|
59
|
-
$ docker-sync start
|
60
55
|
$ docker-compose run app bin/setup
|
61
56
|
|
62
57
|
### Run test
|
data/circle.yml
CHANGED
@@ -4,6 +4,7 @@ jobs:
|
|
4
4
|
docker:
|
5
5
|
- image: tmaier/docker-compose
|
6
6
|
environment:
|
7
|
+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
|
7
8
|
SERVICE_NAME: ruby-2-4
|
8
9
|
steps:
|
9
10
|
- checkout
|
@@ -13,10 +14,12 @@ jobs:
|
|
13
14
|
name: setup
|
14
15
|
command: |
|
15
16
|
set -x
|
16
|
-
docker
|
17
|
-
docker create
|
18
|
-
docker
|
19
|
-
docker
|
17
|
+
docker info
|
18
|
+
docker volume create project
|
19
|
+
docker create -v project:/app --name project busybox chown -R 1000:1000 /app
|
20
|
+
docker cp . project:/app
|
21
|
+
docker start project
|
22
|
+
docker-compose build $SERVICE_NAME
|
20
23
|
- run: docker-compose run $SERVICE_NAME bin/setup
|
21
24
|
- run: docker-compose run $SERVICE_NAME bin/m
|
22
25
|
test-2-3:
|
@@ -24,12 +27,14 @@ jobs:
|
|
24
27
|
docker:
|
25
28
|
- image: tmaier/docker-compose
|
26
29
|
environment:
|
30
|
+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
|
27
31
|
SERVICE_NAME: ruby-2-3
|
28
32
|
test-2-2:
|
29
33
|
<<: *test
|
30
34
|
docker:
|
31
35
|
- image: tmaier/docker-compose
|
32
36
|
environment:
|
37
|
+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
|
33
38
|
SERVICE_NAME: ruby-2-2
|
34
39
|
workflows:
|
35
40
|
version: 2
|
data/docker-compose.yml
CHANGED
@@ -4,14 +4,13 @@ services:
|
|
4
4
|
build: &app-build
|
5
5
|
context: .
|
6
6
|
dockerfile: Dockerfile.development
|
7
|
+
args:
|
8
|
+
RUBY_VERSION: 2.4.2
|
7
9
|
environment:
|
8
10
|
LANGUAGE_SERVER_RUBY_REMOTE_ROOT: $PWD
|
9
11
|
volumes:
|
10
|
-
-
|
12
|
+
- vendor:/vendor
|
11
13
|
- home:/home/ruby
|
12
|
-
- $HOME/.gitconfig:/home/ruby/.gitconfig:ro
|
13
|
-
- $HOME/.ssh:/home/ruby/.ssh:ro
|
14
|
-
- $HOME/.gem:/home/ruby/.gem
|
15
14
|
ruby-2-4:
|
16
15
|
<<: *app
|
17
16
|
ruby-2-3:
|
@@ -27,6 +26,5 @@ services:
|
|
27
26
|
args:
|
28
27
|
RUBY_VERSION: 2.2.7
|
29
28
|
volumes:
|
30
|
-
mtsmfm-language-server-sync:
|
31
|
-
external: true
|
32
29
|
home:
|
30
|
+
vendor:
|
data/language_server.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_dependency "rcodetools"
|
29
|
-
spec.add_dependency "language_server-protocol", "0.
|
29
|
+
spec.add_dependency "language_server-protocol", "0.4.0"
|
30
30
|
|
31
31
|
spec.add_development_dependency "bundler", "~> 1.14"
|
32
32
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: language_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fumiaki MATSUSHIMA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcodetools
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.4.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.4.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,11 +155,13 @@ files:
|
|
155
155
|
- README.md
|
156
156
|
- Rakefile
|
157
157
|
- bin/console
|
158
|
+
- bin/language_server-ruby
|
158
159
|
- bin/m
|
159
160
|
- bin/setup
|
160
161
|
- circle.yml
|
162
|
+
- docker-compose.ci.yml
|
163
|
+
- docker-compose.override.yml
|
161
164
|
- docker-compose.yml
|
162
|
-
- docker-sync.yml
|
163
165
|
- exe/language_server-ruby
|
164
166
|
- language_server.gemspec
|
165
167
|
- lib/language_server.rb
|