pronto-dialyxir 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/dialyxir/output_parser.rb +7 -6
- data/lib/pronto/dialyxir/version.rb +1 -1
- data/lib/pronto/dialyxir/wrapper.rb +1 -1
- data/pronto-dialyxir.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9abd5ffe44c279321c204bfc46fa8b5c8e3c56d
|
4
|
+
data.tar.gz: 3aac7c04d7153c976675cdbbf19fe5b91c4f4512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c247ab38d62d5be9efe16509dbc14e4be45d327b461e9925da48dc5913f6c26d1d692cf5ff9933890ad703a69408bd0915404ba5f0bee2ba8e3f1be6a1773b0
|
7
|
+
data.tar.gz: f3daa6ebe9ab855adb6e366125fa2f6426dbafe340cbc37ebab5c929310236aea741bac9d5c7b06765341827cdad8ad911b8ac8acb7403905db05d63b3311188
|
@@ -20,15 +20,16 @@ module Pronto
|
|
20
20
|
}]
|
21
21
|
end
|
22
22
|
|
23
|
-
output.
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
output.split(%r{_{80}}).map do |message|
|
24
|
+
message = message.lstrip
|
25
|
+
path_parts = message.lines.first.split(':')
|
26
|
+
text = message.lines.drop(1).join()
|
27
|
+
next unless file.start_with?(path_parts[0])
|
27
28
|
{
|
28
|
-
line:
|
29
|
+
line: path_parts[1].to_i,
|
29
30
|
column: nil,
|
30
31
|
level: :warning,
|
31
|
-
message:
|
32
|
+
message: text.chomp("\n")
|
32
33
|
}
|
33
34
|
end.compact
|
34
35
|
end
|
data/pronto-dialyxir.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['apelsinka223@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = 'Pronto runner for Dialyxir'
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/Apelsinka223/pronto-dialyxir'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-dialyxir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anastasiya Dyachenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -90,7 +90,7 @@ files:
|
|
90
90
|
- lib/pronto/dialyxir/version.rb
|
91
91
|
- lib/pronto/dialyxir/wrapper.rb
|
92
92
|
- pronto-dialyxir.gemspec
|
93
|
-
homepage: https://github.com/
|
93
|
+
homepage: https://github.com/Apelsinka223/pronto-dialyxir
|
94
94
|
licenses:
|
95
95
|
- MIT
|
96
96
|
metadata: {}
|