rules_engine 0.1.5 → 0.1.6

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.5
1
+ 0.1.6
@@ -91,10 +91,13 @@ module RulesEngine
91
91
 
92
92
  ##################################################################
93
93
  # callbacks when the rule is added and removed from a workflow
94
- def before_add_to_workflow()
94
+ def before_create()
95
95
  end
96
96
 
97
- def before_remove_from_workflow()
97
+ def before_update()
98
+ end
99
+
100
+ def before_destroy()
98
101
  end
99
102
 
100
103
  ##################################################################
@@ -62,10 +62,13 @@ module RulesEngine
62
62
 
63
63
  ##################################################################
64
64
  # callbacks when the rule is added and removed from a workflow
65
- def before_add_to_workflow()
65
+ def before_create()
66
66
  end
67
67
 
68
- def before_remove_from_workflow()
68
+ def before_update()
69
+ end
70
+
71
+ def before_destroy()
69
72
  end
70
73
 
71
74
  ##################################################################
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rules_engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Douglas