state_machine 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +32 -4
- data/Rakefile +1 -1
- data/lib/state_machine/event.rb +3 -0
- data/lib/state_machine/guard.rb +1 -1
- data/lib/state_machine/integrations.rb +1 -0
- data/lib/state_machine/integrations/active_record.rb +37 -0
- data/lib/state_machine/integrations/active_record/locale.rb +9 -0
- data/lib/state_machine/integrations/data_mapper.rb +28 -0
- data/lib/state_machine/integrations/sequel.rb +28 -0
- data/lib/state_machine/machine.rb +32 -5
- data/lib/state_machine/transition.rb +2 -2
- data/test/active_record.log +29438 -0
- data/test/sequel.log +5740 -0
- data/test/unit/event_test.rb +62 -4
- data/test/unit/integrations/active_record_test.rb +92 -1
- data/test/unit/integrations/data_mapper_test.rb +25 -3
- data/test/unit/integrations/sequel_test.rb +24 -2
- data/test/unit/machine_test.rb +60 -19
- metadata +3 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Pfeifer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-07 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -41,6 +41,7 @@ files:
|
|
41
41
|
- lib/state_machine/integrations/sequel.rb
|
42
42
|
- lib/state_machine/integrations/active_record
|
43
43
|
- lib/state_machine/integrations/active_record/observer.rb
|
44
|
+
- lib/state_machine/integrations/active_record/locale.rb
|
44
45
|
- lib/state_machine/integrations/active_record.rb
|
45
46
|
- lib/state_machine/integrations/data_mapper.rb
|
46
47
|
- lib/state_machine/eval_helpers.rb
|