polyrex 0.7.9 → 0.7.10
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.
- data/lib/polyrex.rb +6 -1
- metadata +2 -2
data/lib/polyrex.rb
CHANGED
|
@@ -124,7 +124,12 @@ class Polyrex
|
|
|
124
124
|
|
|
125
125
|
a.each do |x|
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
unless @recordx[i] then
|
|
128
|
+
@recordx[i] = @recordx[-1].clone
|
|
129
|
+
@format_masks[i] = @format_masks[-1]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
tag_name = @recordx[i].to_s
|
|
128
133
|
line = x.shift
|
|
129
134
|
|
|
130
135
|
@field_names = @format_masks[i].to_s.scan(/\[!(\w+)\]/).flatten.map(&:to_sym)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polyrex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.10
|
|
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-12-
|
|
12
|
+
date: 2010-12-27 00:00:00 +00:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|