pronto-dialyxir 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3ac259d6add5c77e1f07ead7d550286a3a7da28
4
- data.tar.gz: 237f1f2a55e92c84eec5d42a1a76987241e0ef77
3
+ metadata.gz: 899c2c9fa53061d7a9a59590bc8edffcd4cde149
4
+ data.tar.gz: 86916670fd66e14f23a4be9b1279a3fc5a3bfe41
5
5
  SHA512:
6
- metadata.gz: f14350aa65c828f728610448e011f2d8ac59ba99ad70fb9eb612226ef915e429992bf968b86104dfacfa4092251c820aa25b70772043b6a8eca2daa3651bc4a5
7
- data.tar.gz: 74dc39acb7cc8410f98aa6846f4a8da79a510d7df7ecc602f3fefbff3ce6cee23ccbd03baf5893cd9e852e65ede2c7901dcef605471a620185006f1e7ab523ab
6
+ metadata.gz: 164c080c5c2e778d001cd54d21b4255e006cf891ac7d5bffb1eff36eed4d213a3bdc98a13151e6bbac8b6115a2df71c4570b6a70595693cb97ca8bae9097216e
7
+ data.tar.gz: 2126717a1e99a1f667465a6ad4f3d8a1578f9427e77e6b4433bf9afb0bb01436a19d8147fe203ff8a3f8c1a0a1f30089221651a434dbf48464fcebb06ee24611
@@ -23,7 +23,9 @@ module Pronto
23
23
  output.split(%r{_{80}}).map do |message|
24
24
  message = message.lstrip
25
25
  path_parts = message.lines.first.split(':')
26
- text = message.lines.drop(1).join().gsub!("_", "\_").gsub!(":", "\:")
26
+ text = message.lines.drop(1).join()
27
+ next if text.nil?
28
+ text = text.gsub("_", "\_").gsub(":", "\:")
27
29
  next unless file.start_with?(path_parts[0])
28
30
  {
29
31
  line: path_parts[1].to_i,
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module Dialyxir
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anastasiya Dyachenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-24 00:00:00.000000000 Z
11
+ date: 2019-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler