dynarex-parser 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dynarex-parser.rb +1 -1
  2. metadata +1 -1
@@ -20,7 +20,7 @@ class DynarexParser
20
20
 
21
21
  raw_records = s.fetch_node(:records)
22
22
  node_name = raw_records[/<(\w+)/,1]
23
- records = raw_records.split(/(?=<#{node_name}[^>]+>)/).map {|url| RexleParser.new(url).to_a}.compact
23
+ records = raw_records.strip.split(/(?=<#{node_name}[^>]+>)/).map {|url| RexleParser.new(url).to_a}
24
24
 
25
25
  @a = [root_name, "", {}, [*summary], ['records', "",{}, *records]]
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors: []
7
7