asoules-aasm 2.0.5.3 → 2.0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/aasm.rb +1 -0
- data/lib/version.rb +1 -1
- metadata +9 -5
data/lib/aasm.rb
CHANGED
|
@@ -106,6 +106,7 @@ module AASM
|
|
|
106
106
|
|
|
107
107
|
# Added to allow forms to trigger events, perhaps I missed something, but this seemed neccesary -asoules
|
|
108
108
|
def aasm_event=(event)
|
|
109
|
+
return if event.blank?
|
|
109
110
|
if aasm_events_for_current_state.include?(event.to_sym)
|
|
110
111
|
@aasm_event = event
|
|
111
112
|
send(event)
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asoules-aasm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.5.
|
|
4
|
+
version: 2.0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Barron
|
|
@@ -9,11 +9,13 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-10-09 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
16
|
-
description:
|
|
16
|
+
description: |
|
|
17
|
+
AASM is a continuation of the acts as state machine rails plugin, built for plain Ruby objects.
|
|
18
|
+
|
|
17
19
|
email: scott@elitists.net
|
|
18
20
|
executables: []
|
|
19
21
|
|
|
@@ -41,6 +43,8 @@ files:
|
|
|
41
43
|
- doc/jamis.rb
|
|
42
44
|
has_rdoc: true
|
|
43
45
|
homepage: http://github.com/rubyist/aasm
|
|
46
|
+
licenses: []
|
|
47
|
+
|
|
44
48
|
post_install_message:
|
|
45
49
|
rdoc_options:
|
|
46
50
|
- --line-numbers
|
|
@@ -66,9 +70,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
70
|
requirements: []
|
|
67
71
|
|
|
68
72
|
rubyforge_project:
|
|
69
|
-
rubygems_version: 1.
|
|
73
|
+
rubygems_version: 1.3.3
|
|
70
74
|
signing_key:
|
|
71
|
-
specification_version:
|
|
75
|
+
specification_version: 3
|
|
72
76
|
summary: State machine mixin for Ruby objects
|
|
73
77
|
test_files: []
|
|
74
78
|
|