polyrex-createobject 0.3.0 → 0.3.1

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 +3 -3
  2. metadata +2 -2
@@ -10,9 +10,9 @@ class PolyrexCreateObject
10
10
 
11
11
  attr_accessor :id
12
12
 
13
- def initialize(schema)
14
-
15
- @id = 1
13
+ def initialize(schema, id)
14
+ @id = id
15
+ @id ||= 1
16
16
  @schema = schema
17
17
  a = @schema.split('/')
18
18
 
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.3.0
4
+ version: 0.3.1
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-06-15 00:00:00 +01:00
12
+ date: 2010-07-27 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency