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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 931181ef27d8ef1ca06f4e53901d3417f3a1b749
4
- data.tar.gz: d17becd27f0f062452b94acdf4ef332106d7e32b
3
+ metadata.gz: a9abd5ffe44c279321c204bfc46fa8b5c8e3c56d
4
+ data.tar.gz: 3aac7c04d7153c976675cdbbf19fe5b91c4f4512
5
5
  SHA512:
6
- metadata.gz: 42b91cad5831006911f674ee4d4b94705ae744931734a98e702e02f5185fa1e53a37b5990cc37863ee7342aa7328cb1d1b130deedf99a69ce745f46cd6ab6497
7
- data.tar.gz: 90acf93dd2935a85dd67a359c68e5c3b5db08447b421946bcf9d798d353cbfa0fc13da6efd860d2342acb3caffc5de0bcbffc02a98a9160c06437cadb8a38442
6
+ metadata.gz: 5c247ab38d62d5be9efe16509dbc14e4be45d327b461e9925da48dc5913f6c26d1d692cf5ff9933890ad703a69408bd0915404ba5f0bee2ba8e3f1be6a1773b0
7
+ data.tar.gz: f3daa6ebe9ab855adb6e366125fa2f6426dbafe340cbc37ebab5c929310236aea741bac9d5c7b06765341827cdad8ad911b8ac8acb7403905db05d63b3311188
@@ -20,15 +20,16 @@ module Pronto
20
20
  }]
21
21
  end
22
22
 
23
- output.lines.map do |line|
24
- line_parts = line.split(':')
25
- type, message = line_parts[2..-1].join(":").split(' ', 2)
26
- next unless file.start_with?(line_parts[0])
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: line_parts[1].to_i,
29
+ line: path_parts[1].to_i,
29
30
  column: nil,
30
31
  level: :warning,
31
- message: message.chomp("\n")
32
+ message: text.chomp("\n")
32
33
  }
33
34
  end.compact
34
35
  end
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module Dialyxir
3
- VERSION = '0.0.1'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ module Pronto
24
24
  end
25
25
 
26
26
  def dialyxir_executable
27
- "mix dialyzer --format short --no-check --quiet"
27
+ "mix dialyzer --quiet"
28
28
  end
29
29
  end
30
30
  end
@@ -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/llcaeon/pronto-dialyxir'
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.0.1
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: 2018-10-23 00:00:00.000000000 Z
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/llcaeon/pronto-dialyxir
93
+ homepage: https://github.com/Apelsinka223/pronto-dialyxir
94
94
  licenses:
95
95
  - MIT
96
96
  metadata: {}