state_machine 0.10.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/Rakefile +1 -1
- metadata +95 -95
data/CHANGELOG.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ require 'rake/gempackagetask'
|
|
6
6
|
|
7
7
|
spec = Gem::Specification.new do |s|
|
8
8
|
s.name = 'state_machine'
|
9
|
-
s.version = '0.
|
9
|
+
s.version = '1.0.0'
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.summary = 'Adds support for creating state machines for attributes on any Ruby class'
|
12
12
|
s.description = s.summary
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.10.4
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Pfeifer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-12 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -28,108 +28,108 @@ extensions: []
|
|
28
28
|
extra_rdoc_files: []
|
29
29
|
|
30
30
|
files:
|
31
|
-
- examples/
|
32
|
-
- examples/
|
33
|
-
- examples/
|
31
|
+
- examples/car.rb
|
32
|
+
- examples/TrafficLight_state.png
|
33
|
+
- examples/vehicle.rb
|
34
|
+
- examples/Vehicle_state.png
|
34
35
|
- examples/rails-rest/model.rb
|
36
|
+
- examples/rails-rest/view_show.html.erb
|
35
37
|
- examples/rails-rest/migration.rb
|
36
38
|
- examples/rails-rest/view_index.html.erb
|
39
|
+
- examples/rails-rest/view_edit.html.erb
|
37
40
|
- examples/rails-rest/controller.rb
|
38
|
-
- examples/
|
41
|
+
- examples/rails-rest/view_new.html.erb
|
39
42
|
- examples/traffic_light.rb
|
40
|
-
- examples/AutoShop_state.png
|
41
|
-
- examples/Vehicle_state.png
|
42
|
-
- examples/auto_shop.rb
|
43
|
-
- examples/vehicle.rb
|
44
|
-
- examples/merb-rest/view_edit.html.erb
|
45
|
-
- examples/merb-rest/view_new.html.erb
|
46
|
-
- examples/merb-rest/view_show.html.erb
|
47
43
|
- examples/merb-rest/model.rb
|
44
|
+
- examples/merb-rest/view_show.html.erb
|
48
45
|
- examples/merb-rest/view_index.html.erb
|
46
|
+
- examples/merb-rest/view_edit.html.erb
|
49
47
|
- examples/merb-rest/controller.rb
|
48
|
+
- examples/merb-rest/view_new.html.erb
|
49
|
+
- examples/auto_shop.rb
|
50
50
|
- examples/Car_state.png
|
51
|
-
- examples/
|
52
|
-
- lib/state_machine/
|
53
|
-
- lib/state_machine/condition_proxy.rb
|
51
|
+
- examples/AutoShop_state.png
|
52
|
+
- lib/state_machine/machine.rb
|
54
53
|
- lib/state_machine/error.rb
|
55
|
-
- lib/state_machine/machine_collection.rb
|
56
|
-
- lib/state_machine/integrations/sequel/versions.rb
|
57
|
-
- lib/state_machine/integrations/base.rb
|
58
|
-
- lib/state_machine/integrations/sequel.rb
|
59
|
-
- lib/state_machine/integrations/active_model.rb
|
60
|
-
- lib/state_machine/integrations/data_mapper/observer.rb
|
61
|
-
- lib/state_machine/integrations/data_mapper/versions.rb
|
62
|
-
- lib/state_machine/integrations/mongo_mapper.rb
|
63
|
-
- lib/state_machine/integrations/active_record/locale.rb
|
64
|
-
- lib/state_machine/integrations/active_record/versions.rb
|
65
|
-
- lib/state_machine/integrations/mongo_mapper/locale.rb
|
66
|
-
- lib/state_machine/integrations/mongo_mapper/versions.rb
|
67
|
-
- lib/state_machine/integrations/data_mapper.rb
|
68
|
-
- lib/state_machine/integrations/mongoid.rb
|
69
|
-
- lib/state_machine/integrations/active_model/locale.rb
|
70
|
-
- lib/state_machine/integrations/active_model/observer.rb
|
71
|
-
- lib/state_machine/integrations/active_model/versions.rb
|
72
|
-
- lib/state_machine/integrations/mongoid/locale.rb
|
73
|
-
- lib/state_machine/integrations/mongoid/versions.rb
|
74
|
-
- lib/state_machine/integrations/active_record.rb
|
75
|
-
- lib/state_machine/integrations.rb
|
76
|
-
- lib/state_machine/path_collection.rb
|
77
|
-
- lib/state_machine/state_collection.rb
|
78
54
|
- lib/state_machine/matcher.rb
|
79
|
-
- lib/state_machine/machine.rb
|
80
|
-
- lib/state_machine/branch.rb
|
81
55
|
- lib/state_machine/event_collection.rb
|
82
|
-
- lib/state_machine/
|
83
|
-
- lib/state_machine/
|
56
|
+
- lib/state_machine/transition.rb
|
57
|
+
- lib/state_machine/matcher_helpers.rb
|
58
|
+
- lib/state_machine/callback.rb
|
59
|
+
- lib/state_machine/initializers.rb
|
60
|
+
- lib/state_machine/transition_collection.rb
|
61
|
+
- lib/state_machine/state_collection.rb
|
62
|
+
- lib/state_machine/condition_proxy.rb
|
84
63
|
- lib/state_machine/extensions.rb
|
85
64
|
- lib/state_machine/initializers/merb.rb
|
86
65
|
- lib/state_machine/initializers/rails.rb
|
87
|
-
- lib/state_machine/
|
66
|
+
- lib/state_machine/branch.rb
|
67
|
+
- lib/state_machine/path.rb
|
88
68
|
- lib/state_machine/node_collection.rb
|
89
|
-
- lib/state_machine/
|
69
|
+
- lib/state_machine/path_collection.rb
|
90
70
|
- lib/state_machine/event.rb
|
71
|
+
- lib/state_machine/machine_collection.rb
|
72
|
+
- lib/state_machine/integrations/data_mapper.rb
|
73
|
+
- lib/state_machine/integrations/data_mapper/versions.rb
|
74
|
+
- lib/state_machine/integrations/data_mapper/observer.rb
|
75
|
+
- lib/state_machine/integrations/sequel.rb
|
76
|
+
- lib/state_machine/integrations/base.rb
|
77
|
+
- lib/state_machine/integrations/mongo_mapper/versions.rb
|
78
|
+
- lib/state_machine/integrations/mongo_mapper/locale.rb
|
79
|
+
- lib/state_machine/integrations/mongoid.rb
|
80
|
+
- lib/state_machine/integrations/active_record.rb
|
81
|
+
- lib/state_machine/integrations/active_model.rb
|
82
|
+
- lib/state_machine/integrations/mongoid/versions.rb
|
83
|
+
- lib/state_machine/integrations/mongoid/locale.rb
|
84
|
+
- lib/state_machine/integrations/sequel/versions.rb
|
85
|
+
- lib/state_machine/integrations/active_model/versions.rb
|
86
|
+
- lib/state_machine/integrations/active_model/observer.rb
|
87
|
+
- lib/state_machine/integrations/active_model/locale.rb
|
88
|
+
- lib/state_machine/integrations/mongo_mapper.rb
|
89
|
+
- lib/state_machine/integrations/active_record/versions.rb
|
90
|
+
- lib/state_machine/integrations/active_record/locale.rb
|
91
|
+
- lib/state_machine/eval_helpers.rb
|
92
|
+
- lib/state_machine/integrations.rb
|
91
93
|
- lib/state_machine/state.rb
|
92
|
-
- lib/state_machine/
|
93
|
-
- lib/state_machine/transition.rb
|
94
|
-
- lib/state_machine/transition_collection.rb
|
95
|
-
- lib/tasks/state_machine.rake
|
96
|
-
- lib/tasks/state_machine.rb
|
94
|
+
- lib/state_machine/assertions.rb
|
97
95
|
- lib/state_machine.rb
|
98
|
-
-
|
99
|
-
-
|
100
|
-
- test/
|
101
|
-
- test/unit/
|
96
|
+
- lib/tasks/state_machine.rb
|
97
|
+
- lib/tasks/state_machine.rake
|
98
|
+
- test/unit/path_test.rb
|
99
|
+
- test/unit/condition_proxy_test.rb
|
100
|
+
- test/unit/state_machine_test.rb
|
101
|
+
- test/unit/error_test.rb
|
102
|
+
- test/unit/event_test.rb
|
103
|
+
- test/unit/event_collection_test.rb
|
104
|
+
- test/unit/transition_collection_test.rb
|
105
|
+
- test/unit/integrations_test.rb
|
102
106
|
- test/unit/transition_test.rb
|
107
|
+
- test/unit/machine_test.rb
|
103
108
|
- test/unit/matcher_helpers_test.rb
|
104
|
-
- test/unit/
|
109
|
+
- test/unit/branch_test.rb
|
110
|
+
- test/unit/callback_test.rb
|
111
|
+
- test/unit/eval_helpers_test.rb
|
105
112
|
- test/unit/state_test.rb
|
106
|
-
- test/unit/path_collection_test.rb
|
107
113
|
- test/unit/node_collection_test.rb
|
114
|
+
- test/unit/state_collection_test.rb
|
108
115
|
- test/unit/assertions_test.rb
|
109
|
-
- test/unit/
|
116
|
+
- test/unit/path_collection_test.rb
|
110
117
|
- test/unit/invalid_event_test.rb
|
111
|
-
- test/unit/
|
112
|
-
- test/unit/event_test.rb
|
113
|
-
- test/unit/callback_test.rb
|
114
|
-
- test/unit/eval_helpers_test.rb
|
115
|
-
- test/unit/integrations/mongo_mapper_test.rb
|
116
|
-
- test/unit/integrations/data_mapper_test.rb
|
117
|
-
- test/unit/integrations/active_model_test.rb
|
118
|
-
- test/unit/integrations/active_record_test.rb
|
118
|
+
- test/unit/invalid_parallel_transition_test.rb
|
119
119
|
- test/unit/integrations/sequel_test.rb
|
120
|
+
- test/unit/integrations/active_model_test.rb
|
120
121
|
- test/unit/integrations/base_test.rb
|
122
|
+
- test/unit/integrations/active_record_test.rb
|
123
|
+
- test/unit/integrations/data_mapper_test.rb
|
121
124
|
- test/unit/integrations/mongoid_test.rb
|
122
|
-
- test/unit/
|
123
|
-
- test/unit/state_collection_test.rb
|
125
|
+
- test/unit/integrations/mongo_mapper_test.rb
|
124
126
|
- test/unit/invalid_transition_test.rb
|
125
|
-
- test/unit/integrations_test.rb
|
126
|
-
- test/unit/transition_collection_test.rb
|
127
127
|
- test/unit/matcher_test.rb
|
128
128
|
- test/unit/machine_collection_test.rb
|
129
|
-
- test/
|
130
|
-
- test/
|
131
|
-
- test/unit/condition_proxy_test.rb
|
129
|
+
- test/files/en.yml
|
130
|
+
- test/files/switch.rb
|
132
131
|
- test/test_helper.rb
|
132
|
+
- test/functional/state_machine_test.rb
|
133
133
|
- CHANGELOG.rdoc
|
134
134
|
- init.rb
|
135
135
|
- LICENSE
|
@@ -170,35 +170,35 @@ signing_key:
|
|
170
170
|
specification_version: 3
|
171
171
|
summary: Adds support for creating state machines for attributes on any Ruby class
|
172
172
|
test_files:
|
173
|
-
- test/
|
174
|
-
- test/unit/
|
173
|
+
- test/unit/path_test.rb
|
174
|
+
- test/unit/condition_proxy_test.rb
|
175
|
+
- test/unit/state_machine_test.rb
|
176
|
+
- test/unit/error_test.rb
|
177
|
+
- test/unit/event_test.rb
|
178
|
+
- test/unit/event_collection_test.rb
|
179
|
+
- test/unit/transition_collection_test.rb
|
180
|
+
- test/unit/integrations_test.rb
|
175
181
|
- test/unit/transition_test.rb
|
182
|
+
- test/unit/machine_test.rb
|
176
183
|
- test/unit/matcher_helpers_test.rb
|
177
|
-
- test/unit/
|
184
|
+
- test/unit/branch_test.rb
|
185
|
+
- test/unit/callback_test.rb
|
186
|
+
- test/unit/eval_helpers_test.rb
|
178
187
|
- test/unit/state_test.rb
|
179
|
-
- test/unit/path_collection_test.rb
|
180
188
|
- test/unit/node_collection_test.rb
|
189
|
+
- test/unit/state_collection_test.rb
|
181
190
|
- test/unit/assertions_test.rb
|
182
|
-
- test/unit/
|
191
|
+
- test/unit/path_collection_test.rb
|
183
192
|
- test/unit/invalid_event_test.rb
|
184
|
-
- test/unit/
|
185
|
-
- test/unit/event_test.rb
|
186
|
-
- test/unit/callback_test.rb
|
187
|
-
- test/unit/eval_helpers_test.rb
|
188
|
-
- test/unit/integrations/mongo_mapper_test.rb
|
189
|
-
- test/unit/integrations/data_mapper_test.rb
|
190
|
-
- test/unit/integrations/active_model_test.rb
|
191
|
-
- test/unit/integrations/active_record_test.rb
|
193
|
+
- test/unit/invalid_parallel_transition_test.rb
|
192
194
|
- test/unit/integrations/sequel_test.rb
|
195
|
+
- test/unit/integrations/active_model_test.rb
|
193
196
|
- test/unit/integrations/base_test.rb
|
197
|
+
- test/unit/integrations/active_record_test.rb
|
198
|
+
- test/unit/integrations/data_mapper_test.rb
|
194
199
|
- test/unit/integrations/mongoid_test.rb
|
195
|
-
- test/unit/
|
196
|
-
- test/unit/state_collection_test.rb
|
200
|
+
- test/unit/integrations/mongo_mapper_test.rb
|
197
201
|
- test/unit/invalid_transition_test.rb
|
198
|
-
- test/unit/integrations_test.rb
|
199
|
-
- test/unit/transition_collection_test.rb
|
200
202
|
- test/unit/matcher_test.rb
|
201
203
|
- test/unit/machine_collection_test.rb
|
202
|
-
- test/
|
203
|
-
- test/unit/path_test.rb
|
204
|
-
- test/unit/condition_proxy_test.rb
|
204
|
+
- test/functional/state_machine_test.rb
|