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.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +4 -0
  2. data/Rakefile +1 -1
  3. metadata +95 -95
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  == master
2
2
 
3
+ == 1.0.0 / 2011-05-12
4
+
5
+ * Celebrate
6
+
3
7
  == 0.10.4 / 2011-04-14
4
8
 
5
9
  * Fix translations not being available under certain environments in Rails applications
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.10.4'
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: 63
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 10
9
- - 4
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-04-14 00:00:00 -04:00
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/rails-rest/view_edit.html.erb
32
- - examples/rails-rest/view_new.html.erb
33
- - examples/rails-rest/view_show.html.erb
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/TrafficLight_state.png
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/car.rb
52
- - lib/state_machine/callback.rb
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/eval_helpers.rb
83
- - lib/state_machine/path.rb
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/initializers.rb
66
+ - lib/state_machine/branch.rb
67
+ - lib/state_machine/path.rb
88
68
  - lib/state_machine/node_collection.rb
89
- - lib/state_machine/assertions.rb
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/matcher_helpers.rb
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
- - test/functional/state_machine_test.rb
99
- - test/files/switch.rb
100
- - test/files/en.yml
101
- - test/unit/machine_test.rb
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/invalid_parallel_transition_test.rb
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/state_machine_test.rb
116
+ - test/unit/path_collection_test.rb
110
117
  - test/unit/invalid_event_test.rb
111
- - test/unit/branch_test.rb
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/error_test.rb
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/unit/event_collection_test.rb
130
- - test/unit/path_test.rb
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/functional/state_machine_test.rb
174
- - test/unit/machine_test.rb
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/invalid_parallel_transition_test.rb
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/state_machine_test.rb
191
+ - test/unit/path_collection_test.rb
183
192
  - test/unit/invalid_event_test.rb
184
- - test/unit/branch_test.rb
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/error_test.rb
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/unit/event_collection_test.rb
203
- - test/unit/path_test.rb
204
- - test/unit/condition_proxy_test.rb
204
+ - test/functional/state_machine_test.rb