dm-is-persistent_state_machine 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-is-persistent_state_machine}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["michael"]
@@ -106,7 +106,7 @@ module DataMapper
106
106
 
107
107
  property :from_id, Integer, :required => true, :min => 1
108
108
  property :to_id, Integer, :required => true, :min => 1
109
- property :user_id, Integer
109
+ property :user_id, Integer, :required => true, :min => 1
110
110
  property Extlib::Inflection.foreign_key(target_model_name).to_sym, Integer, :required => true, :min => 1
111
111
  property :created_at, DateTime
112
112
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-is-persistent_state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - michael