polyrex 0.6.7 → 0.6.8

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.rb +1 -1
  2. 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)
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.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors: []
7
7