simpler_state_machine 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -146,7 +146,7 @@ module SimplerStateMachine
146
146
 
147
147
  # Transform the states array to enum
148
148
  def enumize!
149
- @states = Enum.new(*@_states)
149
+ @states = SimplerStateMachine::Enum.new(*@_states)
150
150
  end
151
151
 
152
152
  # Persistency method
@@ -1,4 +1,4 @@
1
- class Enum < Hash
1
+ class SimplerStateMachine::Enum < Hash
2
2
 
3
3
  def initialize(*members)
4
4
  super()
@@ -1,3 +1,3 @@
1
1
  module SimplerStateMachine
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpler_state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: