language_server 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/language_server/linter/ruby_wc.rb +1 -1
- data/lib/language_server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4688b01593c24927d0572463de9080c66ecbeba
|
4
|
+
data.tar.gz: a90af30ffe0433b3db1315f4134611be8d82fb09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c29ea2b693915d53c8dd7790a8525399b1babeeddcaec5a14a2d97f53957ee88f4fe803b25d65b0d8f004cd452f3324f52c25745fe162e3915eb274b6d0bc016
|
7
|
+
data.tar.gz: 6a0041a1048ea39ebe61671c199d1210231b78ee68bae222b2c8f94e67da36460ed01e2486d61b96dedd3666171d0078c2049b9d43d52478d165ffac401622af
|
@@ -29,7 +29,7 @@ module LanguageServer
|
|
29
29
|
_, err, _ = Open3.capture3("ruby -wc", stdin_data: @source)
|
30
30
|
|
31
31
|
err.scan(/.+:(\d+):\s*(.+?)[,:]\s(.+)/).map do |line_num, type, message|
|
32
|
-
Error.new(line_num: line_num.to_i, message: message, type: type)
|
32
|
+
Error.new(line_num: line_num.to_i - 1, message: message, type: type)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
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.3.
|
4
|
+
version: 0.3.1
|
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-05-
|
11
|
+
date: 2017-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcodetools
|