polyrex-createobject 0.4.1 → 0.4.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 +1 -1
@@ -62,7 +62,7 @@ end
62
62
 
63
63
  record.root.add_attribute({'id' => @id.to_s.clone})
64
64
  if @id.to_i.to_s == @id.to_s then
65
- @id.succ!
65
+ @id = @id.to_s.succ
66
66
  else
67
67
  @id = @parent_node.element('count(//@id)').to_i + 2
68
68
  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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors: []
7
7