simpler_state_machine 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{simple_state_machine → simpler_state_machine}/base.rb +1 -1
- data/lib/{simple_state_machine → simpler_state_machine}/enum.rb +0 -0
- data/lib/{simple_state_machine → simpler_state_machine}/errors.rb +1 -1
- data/lib/simpler_state_machine/event.rb +5 -0
- data/lib/{simple_state_machine → simpler_state_machine}/simple_state_machine.rb +1 -1
- data/lib/{simple_state_machine → simpler_state_machine}/transition.rb +1 -1
- data/lib/simpler_state_machine/version.rb +3 -0
- data/lib/simpler_state_machine.rb +9 -0
- data/simpler_state_machine.gemspec +2 -2
- metadata +10 -10
- data/lib/simple_state_machine/event.rb +0 -5
- data/lib/simple_state_machine/version.rb +0 -3
- data/lib/simple_state_machine.rb +0 -9
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Require all the files
|
2
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'version')
|
3
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'simple_state_machine')
|
4
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'base')
|
5
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'event')
|
6
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'enum')
|
7
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'errors')
|
8
|
+
require File.join(File.dirname(__FILE__), 'simpler_state_machine', 'transition')
|
9
|
+
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/
|
2
|
+
require File.expand_path('../lib/simpler_state_machine/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Elad Meidar"]
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
14
|
gem.name = "simpler_state_machine"
|
15
15
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version =
|
16
|
+
gem.version = SimplerStateMachine::VERSION
|
17
17
|
|
18
18
|
gem.add_development_dependency 'activerecord'
|
19
19
|
gem.add_development_dependency 'rake'
|
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.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -184,14 +184,14 @@ files:
|
|
184
184
|
- LICENSE
|
185
185
|
- README.md
|
186
186
|
- Rakefile
|
187
|
-
- lib/
|
188
|
-
- lib/
|
189
|
-
- lib/
|
190
|
-
- lib/
|
191
|
-
- lib/
|
192
|
-
- lib/
|
193
|
-
- lib/
|
194
|
-
- lib/
|
187
|
+
- lib/simpler_state_machine.rb
|
188
|
+
- lib/simpler_state_machine/base.rb
|
189
|
+
- lib/simpler_state_machine/enum.rb
|
190
|
+
- lib/simpler_state_machine/errors.rb
|
191
|
+
- lib/simpler_state_machine/event.rb
|
192
|
+
- lib/simpler_state_machine/simple_state_machine.rb
|
193
|
+
- lib/simpler_state_machine/transition.rb
|
194
|
+
- lib/simpler_state_machine/version.rb
|
195
195
|
- simpler_state_machine.gemspec
|
196
196
|
- spec/database.yml
|
197
197
|
- spec/models/express_gate.rb
|
data/lib/simple_state_machine.rb
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# Require all the files
|
2
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'version')
|
3
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'simple_state_machine')
|
4
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'base')
|
5
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'event')
|
6
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'enum')
|
7
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'errors')
|
8
|
-
require File.join(File.dirname(__FILE__), 'simple_state_machine', 'transition')
|
9
|
-
|