dynarex-parser 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-parser.rb +1 -1
- metadata +2 -2
data/lib/dynarex-parser.rb
CHANGED
@@ -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}
|
23
|
+
records = raw_records.split(/(?=<#{node_name}[^>]+>)/).map {|url| RexleParser.new(url).to_a}.compact
|
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.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-11-
|
12
|
+
date: 2010-11-15 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|