asoules-aasm 2.0.5.3 → 2.0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/aasm.rb +1 -0
  2. data/lib/version.rb +1 -1
  3. metadata +9 -5
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module AASM
2
2
  module VERSION #:nodoc:
3
- STRING = '2.0.5.3'
3
+ STRING = '2.0.5.4'
4
4
  end
5
5
  end
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.3
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-05-16 00:00:00 -07:00
12
+ date: 2009-10-09 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: AASM is a continuation of the acts as state machine rails plugin, built for plain Ruby objects.
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.2.0
73
+ rubygems_version: 1.3.3
70
74
  signing_key:
71
- specification_version: 2
75
+ specification_version: 3
72
76
  summary: State machine mixin for Ruby objects
73
77
  test_files: []
74
78