polyrex 0.7.11 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/polyrex.rb +1 -2
- metadata +2 -2
data/lib/polyrex.rb
CHANGED
@@ -18,9 +18,8 @@ class Polyrex
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def create(id=nil)
|
21
|
-
|
21
|
+
# @create is a PolyrexCreateObject, @parent_node is a REXML::Element pointing to the current record
|
22
22
|
@create.id = (id || @id.succ!)
|
23
|
-
|
24
23
|
@create.record = @parent_node.name == 'records' ? @parent_node : @parent_node.element('records')
|
25
24
|
@create
|
26
25
|
end
|
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.
|
4
|
+
version: 0.8.0
|
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:
|
12
|
+
date: 2011-01-10 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|