polyrex-parser 0.2.6 → 0.2.7

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.
Files changed (2) hide show
  1. data/lib/polyrex-parser.rb +1 -1
  2. metadata +2 -2
@@ -47,7 +47,7 @@ class PolyrexParser
47
47
  records = record_threads.map{|x| x.join; x[:record]}
48
48
  end
49
49
 
50
- [root_name, "", attributes, [*summary], ['records', "",{}, *records]]
50
+ [root_name, "", attributes ||= {}, [*summary], ['records', "",{}, *records]]
51
51
  end
52
52
 
53
53
  def get_attributes(raw_attributes)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
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-21 00:00:00 +00:00
12
+ date: 2010-11-25 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency