polyrex-createobject 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/polyrex-createobject.rb +1 -1
  2. metadata +2 -2
@@ -42,7 +42,7 @@ class PolyrexCreateObject
42
42
 
43
43
  methodx << %Q(
44
44
  def #{name}(params)
45
- @parent_node = XPath.first(@doc.root,'records')
45
+ @parent_node = XPath.first(@parent_node.root,'records')
46
46
  record = create_node(@parent_node, @rpaths['#{xpath}'], params)
47
47
  self
48
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-createobject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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-05-30 00:00:00 +01:00
12
+ date: 2010-06-02 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency