dynarex-parser 0.2.10 → 0.2.11

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 +2 -1
  2. metadata +3 -5
@@ -41,7 +41,8 @@ class DynarexParser
41
41
 
42
42
  if raw_records then
43
43
  node_name = raw_records[/<(\w+)/,1]
44
- records = raw_records.strip.split(/(?=<#{node_name}[^>]*>)/).map {|x| RexleParser.new(x).to_a}
44
+ records = raw_records.split(/(?=<#{node_name}[^>]*>)/).map \
45
+ {|x| RexleParser.new(x.strip).to_a}
45
46
  end
46
47
 
47
48
  [root_name, "", {}, [*summary], ['records', "",{}, *records]]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex-parser
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.10
5
+ version: 0.2.11
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-05 00:00:00 +01:00
14
- default_executable:
13
+ date: 2012-07-15 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rexleparser
@@ -34,7 +33,6 @@ extra_rdoc_files: []
34
33
 
35
34
  files:
36
35
  - lib/dynarex-parser.rb
37
- has_rdoc: true
38
36
  homepage:
39
37
  licenses: []
40
38
 
@@ -58,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
56
  requirements: []
59
57
 
60
58
  rubyforge_project:
61
- rubygems_version: 1.5.2
59
+ rubygems_version: 1.8.23
62
60
  signing_key:
63
61
  specification_version: 3
64
62
  summary: dynarex-parser