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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d42055dc4ef0fbe7007913db9a924082a9370af
4
- data.tar.gz: cce1ea0bd8e0adad433428032fab8a72832c2494
3
+ metadata.gz: e4688b01593c24927d0572463de9080c66ecbeba
4
+ data.tar.gz: a90af30ffe0433b3db1315f4134611be8d82fb09
5
5
  SHA512:
6
- metadata.gz: b53cfe73ccb8c8c53030a0807b5675410c6d9d99c9f7a222f49ac16d02cb2d255456a9bae2df19a34c79dc8efe8acca4bb910d52107ecc906bff3669dd26917e
7
- data.tar.gz: b88d4f4fa7039b551fd948e4b6564f8e5a95855fc2295079cd72fb3fc1cbe46a3372808ccc756b12b16715acf6cdc069845ee1de920ef11090a4dbc6df261da3
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
@@ -1,3 +1,3 @@
1
1
  module LanguageServer
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  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.0
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-25 00:00:00.000000000 Z
11
+ date: 2017-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcodetools