simple_state_machine 0.6.0.pre → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_state_machine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961916020
5
- prerelease: 6
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
9
  - 0
10
- - pre
11
- version: 0.6.0.pre
10
+ version: 0.6.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - Marek de Heus
@@ -17,7 +16,7 @@ autorequire:
17
16
  bindir: bin
18
17
  cert_chain: []
19
18
 
20
- date: 2011-07-06 00:00:00 +02:00
19
+ date: 2011-11-18 00:00:00 +01:00
21
20
  default_executable:
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
@@ -106,7 +105,7 @@ dependencies:
106
105
  version: "0"
107
106
  type: :development
108
107
  version_requirements: *id006
109
- description: Simple State Machine is a state machine that focuses on events instead of states
108
+ description: A simple DSL to decorate existing methods with state transition guards.
110
109
  email:
111
110
  - FIX@example.com
112
111
  executables: []
@@ -119,6 +118,7 @@ extra_rdoc_files:
119
118
  files:
120
119
  - .gitignore
121
120
  - .rspec
121
+ - Changelog.rdoc
122
122
  - Gemfile
123
123
  - LICENSE
124
124
  - README.rdoc
@@ -130,21 +130,32 @@ files:
130
130
  - examples/traffic_light.rb
131
131
  - examples/user.rb
132
132
  - lib/simple_state_machine.rb
133
+ - lib/simple_state_machine/.DS_Store
133
134
  - lib/simple_state_machine/active_record.rb
135
+ - lib/simple_state_machine/decorator/active_record.rb
136
+ - lib/simple_state_machine/decorator/default.rb
134
137
  - lib/simple_state_machine/rails2_task_loader.rb
135
138
  - lib/simple_state_machine/railtie.rb
136
139
  - lib/simple_state_machine/simple_state_machine.rb
140
+ - lib/simple_state_machine/state_machine.rb
141
+ - lib/simple_state_machine/state_machine_definition.rb
142
+ - lib/simple_state_machine/tools/graphviz.rb
143
+ - lib/simple_state_machine/tools/inspector.rb
144
+ - lib/simple_state_machine/transition.rb
137
145
  - lib/simple_state_machine/version.rb
138
146
  - lib/tasks/graphviz.rake
139
147
  - simple_state_machine.gemspec
148
+ - spec/.DS_Store
140
149
  - spec/active_record_spec.rb
141
- - spec/decorator_spec.rb
150
+ - spec/decorator/default_spec.rb
142
151
  - spec/examples_spec.rb
143
152
  - spec/mountable_spec.rb
144
153
  - spec/simple_state_machine_spec.rb
145
154
  - spec/spec_helper.rb
146
155
  - spec/state_machine_definition_spec.rb
147
156
  - spec/state_machine_spec.rb
157
+ - spec/tools/graphviz_spec.rb
158
+ - spec/tools/inspector_spec.rb
148
159
  has_rdoc: true
149
160
  homepage: http://github.com/mdh/ssm
150
161
  licenses: []
@@ -166,14 +177,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
177
  required_rubygems_version: !ruby/object:Gem::Requirement
167
178
  none: false
168
179
  requirements:
169
- - - ">"
180
+ - - ">="
170
181
  - !ruby/object:Gem::Version
171
- hash: 25
182
+ hash: 3
172
183
  segments:
173
- - 1
174
- - 3
175
- - 1
176
- version: 1.3.1
184
+ - 0
185
+ version: "0"
177
186
  requirements: []
178
187
 
179
188
  rubyforge_project:
@@ -183,10 +192,12 @@ specification_version: 3
183
192
  summary: A simple DSL to decorate existing methods with logic that guards state transitions.
184
193
  test_files:
185
194
  - spec/active_record_spec.rb
186
- - spec/decorator_spec.rb
195
+ - spec/decorator/default_spec.rb
187
196
  - spec/examples_spec.rb
188
197
  - spec/mountable_spec.rb
189
198
  - spec/simple_state_machine_spec.rb
190
199
  - spec/spec_helper.rb
191
200
  - spec/state_machine_definition_spec.rb
192
201
  - spec/state_machine_spec.rb
202
+ - spec/tools/graphviz_spec.rb
203
+ - spec/tools/inspector_spec.rb