RubyGems
npm
Organizations
Log in
Sign up
RubyGems
simpler_state_machine
Versions diffs
0.0.2 → 0.0.3
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.
Files changed (4)
hide
show
data/lib/simpler_state_machine/base.rb
+1
-1
data/lib/simpler_state_machine/enum.rb
+1
-1
data/lib/simpler_state_machine/version.rb
+1
-1
metadata
+1
-1
data/lib/simpler_state_machine/base.rb
CHANGED
Viewed
@@ -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
data/lib/simpler_state_machine/enum.rb
CHANGED
Viewed
@@ -1,4 +1,4 @@
1
-
class Enum < Hash
1
+
class
SimplerStateMachine::
Enum < Hash
2
2
3
3
def initialize(*members)
4
4
super()
data/lib/simpler_state_machine/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module SimplerStateMachine
2
-
VERSION = "0.0.
2
"
2
+
VERSION = "0.0.
3
"
3
3
end
metadata
CHANGED
Viewed
@@ -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: