eric-aasm 2.0.2.1 → 2.0.2.2

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.
Files changed (2) hide show
  1. data/lib/aasm.rb +1 -1
  2. metadata +1 -1
data/lib/aasm.rb CHANGED
@@ -123,7 +123,7 @@ module AASM
123
123
  def aasm_fire_event(name, persist, *args)
124
124
  aasm_state_object_for_state(aasm_current_state).call_action(:exit, self, *args)
125
125
 
126
- new_state = self.class.aasm_events[name].fire(self, *args)
126
+ new_state = self.class.aasm_events[name].fire(self, nil, *args)
127
127
 
128
128
  unless new_state.nil?
129
129
  aasm_state_object_for_state(new_state).call_action(:enter, self, *args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eric-aasm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2.1
4
+ version: 2.0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Barron