polyrex 0.5.7 → 0.5.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
@@ -64,7 +64,7 @@ class Polyrex
64
64
 
65
65
  def records
66
66
  XPath.each(@doc.root, "records/*") do |record|
67
- yield(@objects_a[0].new(record))
67
+ yield(@objects_a[0].new(record), @id)
68
68
  end
69
69
  end
70
70
 
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.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors: []
7
7