polyrex-createobject 0.3.1 → 0.3.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
@@ -10,7 +10,7 @@ class PolyrexCreateObject
10
10
 
11
11
  attr_accessor :id
12
12
 
13
- def initialize(schema, id)
13
+ def initialize(schema, id=nil)
14
14
  @id = id
15
15
  @id ||= 1
16
16
  @schema = schema
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors: []
7
7