polyrex 0.6.7 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/polyrex.rb +1 -1
- metadata +1 -1
data/lib/polyrex.rb
CHANGED
@@ -188,6 +188,7 @@ class Polyrex
|
|
188
188
|
end
|
189
189
|
|
190
190
|
@doc = Document.new buffer
|
191
|
+
schema = @doc.root.text('summary/schema')
|
191
192
|
|
192
193
|
unless @format_masks
|
193
194
|
@format_masks = XPath.match(@doc.root, '//format_mask/text()').map &:to_s
|
@@ -198,7 +199,6 @@ class Polyrex
|
|
198
199
|
|
199
200
|
@id = XPath.match(@doc.root, '//@id').map{|x| x.value.to_i}.max.to_i + 1
|
200
201
|
|
201
|
-
schema = @doc.root.text('summary/schema')
|
202
202
|
#puts 'schema : ' + schema
|
203
203
|
load_handlers(schema)
|
204
204
|
load_find_by(schema)
|