enum_state_machine 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -12
  3. data/.ruby-version +1 -1
  4. data/.ruby-version.orig +5 -0
  5. data/Gemfile +0 -1
  6. data/Rakefile +0 -18
  7. data/enum_state_machine.gemspec +35 -0
  8. data/enum_state_machine.gemspec.orig +43 -0
  9. data/lib/enum_state_machine/assertions.rb +36 -0
  10. data/lib/enum_state_machine/branch.rb +225 -0
  11. data/lib/enum_state_machine/callback.rb +232 -0
  12. data/lib/enum_state_machine/core.rb +12 -0
  13. data/lib/enum_state_machine/core_ext/class/state_machine.rb +5 -0
  14. data/lib/enum_state_machine/core_ext.rb +2 -0
  15. data/lib/enum_state_machine/error.rb +13 -0
  16. data/lib/enum_state_machine/eval_helpers.rb +87 -0
  17. data/lib/enum_state_machine/event.rb +257 -0
  18. data/lib/enum_state_machine/event_collection.rb +141 -0
  19. data/lib/enum_state_machine/extensions.rb +149 -0
  20. data/lib/enum_state_machine/graph.rb +93 -0
  21. data/lib/enum_state_machine/helper_module.rb +17 -0
  22. data/lib/enum_state_machine/initializers/rails.rb +22 -0
  23. data/lib/enum_state_machine/initializers.rb +4 -0
  24. data/lib/enum_state_machine/integrations/active_model/locale.rb +11 -0
  25. data/lib/enum_state_machine/integrations/active_model/observer.rb +33 -0
  26. data/lib/enum_state_machine/integrations/active_model/observer_update.rb +42 -0
  27. data/lib/enum_state_machine/integrations/active_model/versions.rb +31 -0
  28. data/lib/enum_state_machine/integrations/active_model.rb +585 -0
  29. data/lib/enum_state_machine/integrations/active_record/locale.rb +20 -0
  30. data/lib/enum_state_machine/integrations/active_record/versions.rb +123 -0
  31. data/lib/enum_state_machine/integrations/active_record.rb +548 -0
  32. data/lib/enum_state_machine/integrations/base.rb +100 -0
  33. data/lib/enum_state_machine/integrations.rb +97 -0
  34. data/lib/enum_state_machine/machine.rb +2292 -0
  35. data/lib/enum_state_machine/machine_collection.rb +86 -0
  36. data/lib/enum_state_machine/macro_methods.rb +518 -0
  37. data/lib/enum_state_machine/matcher.rb +123 -0
  38. data/lib/enum_state_machine/matcher_helpers.rb +54 -0
  39. data/lib/enum_state_machine/node_collection.rb +222 -0
  40. data/lib/enum_state_machine/path.rb +120 -0
  41. data/lib/enum_state_machine/path_collection.rb +90 -0
  42. data/lib/enum_state_machine/state.rb +297 -0
  43. data/lib/enum_state_machine/state_collection.rb +112 -0
  44. data/lib/enum_state_machine/state_context.rb +138 -0
  45. data/lib/enum_state_machine/state_enum.rb +23 -0
  46. data/lib/enum_state_machine/transition.rb +470 -0
  47. data/lib/enum_state_machine/transition_collection.rb +245 -0
  48. data/lib/enum_state_machine/version.rb +3 -0
  49. data/lib/enum_state_machine/yard/handlers/base.rb +32 -0
  50. data/lib/enum_state_machine/yard/handlers/event.rb +25 -0
  51. data/lib/enum_state_machine/yard/handlers/machine.rb +344 -0
  52. data/lib/enum_state_machine/yard/handlers/state.rb +25 -0
  53. data/lib/enum_state_machine/yard/handlers/transition.rb +47 -0
  54. data/lib/enum_state_machine/yard/handlers.rb +12 -0
  55. data/lib/enum_state_machine/yard/templates/default/class/html/setup.rb +30 -0
  56. data/lib/enum_state_machine/yard/templates/default/class/html/state_machines.erb +12 -0
  57. data/lib/enum_state_machine/yard/templates.rb +3 -0
  58. data/lib/enum_state_machine/yard.rb +8 -0
  59. data/lib/enum_state_machine.rb +9 -0
  60. data/lib/tasks/enum_state_machine.rake +1 -0
  61. data/lib/tasks/enum_state_machine.rb +24 -0
  62. data/lib/yard-enum_state_machine.rb +2 -0
  63. data/test/functional/state_machine_test.rb +1066 -0
  64. data/test/unit/graph_test.rb +9 -5
  65. data/test/unit/integrations/active_model_test.rb +1245 -0
  66. data/test/unit/integrations/active_record_test.rb +2551 -0
  67. data/test/unit/integrations/base_test.rb +104 -0
  68. data/test/unit/integrations_test.rb +71 -0
  69. data/test/unit/invalid_event_test.rb +20 -0
  70. data/test/unit/invalid_parallel_transition_test.rb +18 -0
  71. data/test/unit/invalid_transition_test.rb +115 -0
  72. data/test/unit/machine_collection_test.rb +603 -0
  73. data/test/unit/machine_test.rb +3395 -0
  74. data/test/unit/state_machine_test.rb +31 -0
  75. metadata +212 -44
  76. data/Appraisals +0 -28
  77. data/gemfiles/active_model_4.0.4.gemfile +0 -9
  78. data/gemfiles/active_model_4.0.4.gemfile.lock +0 -51
  79. data/gemfiles/active_record_4.0.4.gemfile +0 -11
  80. data/gemfiles/active_record_4.0.4.gemfile.lock +0 -61
  81. data/gemfiles/default.gemfile +0 -7
  82. data/gemfiles/default.gemfile.lock +0 -27
  83. data/gemfiles/graphviz_1.0.9.gemfile +0 -7
  84. data/gemfiles/graphviz_1.0.9.gemfile.lock +0 -30
@@ -0,0 +1,31 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
2
+
3
+ class EnumStateMachineByDefaultTest < Test::Unit::TestCase
4
+ def setup
5
+ @klass = Class.new
6
+ @machine = @klass.state_machine
7
+ end
8
+
9
+ def test_should_use_state_attribute
10
+ assert_equal :state, @machine.attribute
11
+ end
12
+ end
13
+
14
+ class EnumStateMachineTest < Test::Unit::TestCase
15
+ def setup
16
+ @klass = Class.new
17
+ end
18
+
19
+ def test_should_allow_state_machines_on_any_class
20
+ assert @klass.respond_to?(:state_machine)
21
+ end
22
+
23
+ def test_should_evaluate_block_within_machine_context
24
+ responded = false
25
+ @klass.state_machine(:state) do
26
+ responded = respond_to?(:event)
27
+ end
28
+
29
+ assert responded
30
+ end
31
+ end
metadata CHANGED
@@ -1,97 +1,195 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enum_state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The HornsAndHooves Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.13
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.13
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.9
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.3.9
41
+ - !ruby/object:Gem::Dependency
42
+ name: activemodel
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 4.0.5
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 4.0.5
55
+ - !ruby/object:Gem::Dependency
56
+ name: activerecord
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 4.0.5
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 4.0.5
69
+ - !ruby/object:Gem::Dependency
70
+ name: activerecord-deprecated_finders
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.3
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: protected_attributes
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.7
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.0.7
97
+ - !ruby/object:Gem::Dependency
98
+ name: rails-observers
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.1.2
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.1.2
13
111
  - !ruby/object:Gem::Dependency
14
112
  name: power_enum
15
113
  requirement: !ruby/object:Gem::Requirement
16
114
  requirements:
17
- - - ~>
115
+ - - "~>"
18
116
  - !ruby/object:Gem::Version
19
- version: '2.4'
117
+ version: '2.7'
20
118
  type: :runtime
21
119
  prerelease: false
22
120
  version_requirements: !ruby/object:Gem::Requirement
23
121
  requirements:
24
- - - ~>
122
+ - - "~>"
25
123
  - !ruby/object:Gem::Version
26
- version: '2.4'
124
+ version: '2.7'
27
125
  - !ruby/object:Gem::Dependency
28
- name: rails
126
+ name: ruby-graphviz
29
127
  requirement: !ruby/object:Gem::Requirement
30
128
  requirements:
31
- - - ~>
129
+ - - "~>"
32
130
  - !ruby/object:Gem::Version
33
- version: 4.0.13
131
+ version: 1.0.9
34
132
  type: :runtime
35
133
  prerelease: false
36
134
  version_requirements: !ruby/object:Gem::Requirement
37
135
  requirements:
38
- - - ~>
136
+ - - "~>"
39
137
  - !ruby/object:Gem::Version
40
- version: 4.0.13
138
+ version: 1.0.9
41
139
  - !ruby/object:Gem::Dependency
42
140
  name: rake
43
141
  requirement: !ruby/object:Gem::Requirement
44
142
  requirements:
45
- - - '>='
143
+ - - ">="
46
144
  - !ruby/object:Gem::Version
47
145
  version: '0'
48
146
  type: :development
49
147
  prerelease: false
50
148
  version_requirements: !ruby/object:Gem::Requirement
51
149
  requirements:
52
- - - '>='
150
+ - - ">="
53
151
  - !ruby/object:Gem::Version
54
152
  version: '0'
55
153
  - !ruby/object:Gem::Dependency
56
- name: simplecov
154
+ name: minitest
57
155
  requirement: !ruby/object:Gem::Requirement
58
156
  requirements:
59
- - - '>='
157
+ - - "~>"
60
158
  - !ruby/object:Gem::Version
61
- version: '0'
159
+ version: 4.7.5
62
160
  type: :development
63
161
  prerelease: false
64
162
  version_requirements: !ruby/object:Gem::Requirement
65
163
  requirements:
66
- - - '>='
164
+ - - "~>"
67
165
  - !ruby/object:Gem::Version
68
- version: '0'
166
+ version: 4.7.5
69
167
  - !ruby/object:Gem::Dependency
70
- name: appraisal
168
+ name: simplecov
71
169
  requirement: !ruby/object:Gem::Requirement
72
170
  requirements:
73
- - - ~>
171
+ - - ">="
74
172
  - !ruby/object:Gem::Version
75
- version: 0.5.0
173
+ version: '0'
76
174
  type: :development
77
175
  prerelease: false
78
176
  version_requirements: !ruby/object:Gem::Requirement
79
177
  requirements:
80
- - - ~>
178
+ - - ">="
81
179
  - !ruby/object:Gem::Version
82
- version: 0.5.0
180
+ version: '0'
83
181
  - !ruby/object:Gem::Dependency
84
182
  name: yard
85
183
  requirement: !ruby/object:Gem::Requirement
86
184
  requirements:
87
- - - '>='
185
+ - - ">="
88
186
  - !ruby/object:Gem::Version
89
187
  version: '0'
90
188
  type: :development
91
189
  prerelease: false
92
190
  version_requirements: !ruby/object:Gem::Requirement
93
191
  requirements:
94
- - - '>='
192
+ - - ">="
95
193
  - !ruby/object:Gem::Version
96
194
  version: '0'
97
195
  description: Adds support for creating enum state machines for attributes on any
@@ -105,25 +203,74 @@ extra_rdoc_files:
105
203
  - CHANGELOG.md
106
204
  - LICENSE
107
205
  files:
108
- - .gitignore
109
- - .ruby-gemset
110
- - .ruby-version
111
- - Appraisals
206
+ - ".gitignore"
207
+ - ".ruby-gemset"
208
+ - ".ruby-version"
209
+ - ".ruby-version.orig"
112
210
  - CHANGELOG.md
113
211
  - Gemfile
114
212
  - LICENSE
115
213
  - README.md
116
214
  - Rakefile
117
- - gemfiles/active_model_4.0.4.gemfile
118
- - gemfiles/active_model_4.0.4.gemfile.lock
119
- - gemfiles/active_record_4.0.4.gemfile
120
- - gemfiles/active_record_4.0.4.gemfile.lock
121
- - gemfiles/default.gemfile
122
- - gemfiles/default.gemfile.lock
123
- - gemfiles/graphviz_1.0.9.gemfile
124
- - gemfiles/graphviz_1.0.9.gemfile.lock
215
+ - enum_state_machine.gemspec
216
+ - enum_state_machine.gemspec.orig
217
+ - lib/enum_state_machine.rb
218
+ - lib/enum_state_machine/assertions.rb
219
+ - lib/enum_state_machine/branch.rb
220
+ - lib/enum_state_machine/callback.rb
221
+ - lib/enum_state_machine/core.rb
222
+ - lib/enum_state_machine/core_ext.rb
223
+ - lib/enum_state_machine/core_ext/class/state_machine.rb
224
+ - lib/enum_state_machine/error.rb
225
+ - lib/enum_state_machine/eval_helpers.rb
226
+ - lib/enum_state_machine/event.rb
227
+ - lib/enum_state_machine/event_collection.rb
228
+ - lib/enum_state_machine/extensions.rb
229
+ - lib/enum_state_machine/graph.rb
230
+ - lib/enum_state_machine/helper_module.rb
231
+ - lib/enum_state_machine/initializers.rb
232
+ - lib/enum_state_machine/initializers/rails.rb
233
+ - lib/enum_state_machine/integrations.rb
234
+ - lib/enum_state_machine/integrations/active_model.rb
235
+ - lib/enum_state_machine/integrations/active_model/locale.rb
236
+ - lib/enum_state_machine/integrations/active_model/observer.rb
237
+ - lib/enum_state_machine/integrations/active_model/observer_update.rb
238
+ - lib/enum_state_machine/integrations/active_model/versions.rb
239
+ - lib/enum_state_machine/integrations/active_record.rb
240
+ - lib/enum_state_machine/integrations/active_record/locale.rb
241
+ - lib/enum_state_machine/integrations/active_record/versions.rb
242
+ - lib/enum_state_machine/integrations/base.rb
243
+ - lib/enum_state_machine/machine.rb
244
+ - lib/enum_state_machine/machine_collection.rb
245
+ - lib/enum_state_machine/macro_methods.rb
246
+ - lib/enum_state_machine/matcher.rb
247
+ - lib/enum_state_machine/matcher_helpers.rb
248
+ - lib/enum_state_machine/node_collection.rb
249
+ - lib/enum_state_machine/path.rb
250
+ - lib/enum_state_machine/path_collection.rb
251
+ - lib/enum_state_machine/state.rb
252
+ - lib/enum_state_machine/state_collection.rb
253
+ - lib/enum_state_machine/state_context.rb
254
+ - lib/enum_state_machine/state_enum.rb
255
+ - lib/enum_state_machine/transition.rb
256
+ - lib/enum_state_machine/transition_collection.rb
257
+ - lib/enum_state_machine/version.rb
258
+ - lib/enum_state_machine/yard.rb
259
+ - lib/enum_state_machine/yard/handlers.rb
260
+ - lib/enum_state_machine/yard/handlers/base.rb
261
+ - lib/enum_state_machine/yard/handlers/event.rb
262
+ - lib/enum_state_machine/yard/handlers/machine.rb
263
+ - lib/enum_state_machine/yard/handlers/state.rb
264
+ - lib/enum_state_machine/yard/handlers/transition.rb
265
+ - lib/enum_state_machine/yard/templates.rb
266
+ - lib/enum_state_machine/yard/templates/default/class/html/setup.rb
267
+ - lib/enum_state_machine/yard/templates/default/class/html/state_machines.erb
268
+ - lib/tasks/enum_state_machine.rake
269
+ - lib/tasks/enum_state_machine.rb
270
+ - lib/yard-enum_state_machine.rb
125
271
  - test/files/en.yml
126
272
  - test/files/switch.rb
273
+ - test/functional/state_machine_test.rb
127
274
  - test/test_helper.rb
128
275
  - test/unit/assertions_test.rb
129
276
  - test/unit/branch_test.rb
@@ -134,6 +281,15 @@ files:
134
281
  - test/unit/event_test.rb
135
282
  - test/unit/graph_test.rb
136
283
  - test/unit/helper_module_test.rb
284
+ - test/unit/integrations/active_model_test.rb
285
+ - test/unit/integrations/active_record_test.rb
286
+ - test/unit/integrations/base_test.rb
287
+ - test/unit/integrations_test.rb
288
+ - test/unit/invalid_event_test.rb
289
+ - test/unit/invalid_parallel_transition_test.rb
290
+ - test/unit/invalid_transition_test.rb
291
+ - test/unit/machine_collection_test.rb
292
+ - test/unit/machine_test.rb
137
293
  - test/unit/matcher_helpers_test.rb
138
294
  - test/unit/matcher_test.rb
139
295
  - test/unit/node_collection_test.rb
@@ -142,6 +298,7 @@ files:
142
298
  - test/unit/state_collection_test.rb
143
299
  - test/unit/state_context_test.rb
144
300
  - test/unit/state_enum_test.rb
301
+ - test/unit/state_machine_test.rb
145
302
  - test/unit/state_test.rb
146
303
  - test/unit/transition_collection_test.rb
147
304
  - test/unit/transition_test.rb
@@ -151,33 +308,34 @@ licenses:
151
308
  metadata: {}
152
309
  post_install_message:
153
310
  rdoc_options:
154
- - --line-numbers
155
- - --inline-source
156
- - --title
311
+ - "--line-numbers"
312
+ - "--inline-source"
313
+ - "--title"
157
314
  - enum_state_machine
158
- - --main
315
+ - "--main"
159
316
  - README.md
160
317
  require_paths:
161
318
  - lib
162
319
  required_ruby_version: !ruby/object:Gem::Requirement
163
320
  requirements:
164
- - - '>='
321
+ - - ">="
165
322
  - !ruby/object:Gem::Version
166
323
  version: '0'
167
324
  required_rubygems_version: !ruby/object:Gem::Requirement
168
325
  requirements:
169
- - - '>='
326
+ - - ">="
170
327
  - !ruby/object:Gem::Version
171
328
  version: '0'
172
329
  requirements: []
173
330
  rubyforge_project:
174
- rubygems_version: 2.4.5
331
+ rubygems_version: 2.2.2
175
332
  signing_key:
176
333
  specification_version: 4
177
334
  summary: Enum State machines for attributes
178
335
  test_files:
179
336
  - test/files/en.yml
180
337
  - test/files/switch.rb
338
+ - test/functional/state_machine_test.rb
181
339
  - test/test_helper.rb
182
340
  - test/unit/assertions_test.rb
183
341
  - test/unit/branch_test.rb
@@ -188,6 +346,15 @@ test_files:
188
346
  - test/unit/event_test.rb
189
347
  - test/unit/graph_test.rb
190
348
  - test/unit/helper_module_test.rb
349
+ - test/unit/integrations/active_model_test.rb
350
+ - test/unit/integrations/active_record_test.rb
351
+ - test/unit/integrations/base_test.rb
352
+ - test/unit/integrations_test.rb
353
+ - test/unit/invalid_event_test.rb
354
+ - test/unit/invalid_parallel_transition_test.rb
355
+ - test/unit/invalid_transition_test.rb
356
+ - test/unit/machine_collection_test.rb
357
+ - test/unit/machine_test.rb
191
358
  - test/unit/matcher_helpers_test.rb
192
359
  - test/unit/matcher_test.rb
193
360
  - test/unit/node_collection_test.rb
@@ -196,6 +363,7 @@ test_files:
196
363
  - test/unit/state_collection_test.rb
197
364
  - test/unit/state_context_test.rb
198
365
  - test/unit/state_enum_test.rb
366
+ - test/unit/state_machine_test.rb
199
367
  - test/unit/state_test.rb
200
368
  - test/unit/transition_collection_test.rb
201
369
  - test/unit/transition_test.rb
data/Appraisals DELETED
@@ -1,28 +0,0 @@
1
- appraise "default" do
2
- end
3
-
4
- # GraphViz
5
- appraise "graphviz_1.0.9" do
6
- gem "ruby-graphviz", "~> 1.0.9"
7
- end
8
-
9
- # ActiveRecord integrations
10
- if RUBY_VERSION > "1.9.2"
11
- appraise "active_record_4.0.4" do
12
- gem "sqlite3", "~> 1.3.9"
13
- gem "activerecord", "~> 4.0.4"
14
- gem "activerecord-deprecated_finders", "~> 1.0.3"
15
- gem "protected_attributes", "~> 1.0.7"
16
- gem "rails-observers", "~> 0.1.2"
17
- end
18
- end
19
-
20
- # ActiveModel integrations
21
- if RUBY_VERSION > "1.9.2"
22
- appraise "active_model_4.0.4" do
23
- gem "activemodel", "~> 4.0.4"
24
- gem "rails-observers", "~> 0.1.2"
25
- gem "protected_attributes", "~> 1.0.7"
26
- end
27
- end
28
-
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://www.rubygems.org"
4
-
5
- gem "activemodel", "~> 4.0.4"
6
- gem "rails-observers", "~> 0.1.2"
7
- gem "protected_attributes", "~> 1.0.7"
8
-
9
- gemspec :path=>"../"
@@ -1,51 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- enum_state_machine (1.2.0)
5
-
6
- GEM
7
- remote: https://www.rubygems.org/
8
- specs:
9
- activemodel (4.0.4)
10
- activesupport (= 4.0.4)
11
- builder (~> 3.1.0)
12
- activesupport (4.0.4)
13
- i18n (~> 0.6, >= 0.6.9)
14
- minitest (~> 4.2)
15
- multi_json (~> 1.3)
16
- thread_safe (~> 0.1)
17
- tzinfo (~> 0.3.37)
18
- appraisal (0.5.2)
19
- bundler
20
- rake
21
- atomic (1.1.16)
22
- builder (3.1.4)
23
- docile (1.1.3)
24
- i18n (0.6.9)
25
- minitest (4.7.5)
26
- multi_json (1.9.2)
27
- protected_attributes (1.0.7)
28
- activemodel (>= 4.0.1, < 5.0)
29
- rails-observers (0.1.2)
30
- activemodel (~> 4.0)
31
- rake (10.2.2)
32
- simplecov (0.8.2)
33
- docile (~> 1.1.0)
34
- multi_json
35
- simplecov-html (~> 0.8.0)
36
- simplecov-html (0.8.0)
37
- thread_safe (0.3.1)
38
- atomic (>= 1.1.7, < 2)
39
- tzinfo (0.3.39)
40
-
41
- PLATFORMS
42
- ruby
43
-
44
- DEPENDENCIES
45
- activemodel (~> 4.0.4)
46
- appraisal (~> 0.5.0)
47
- enum_state_machine!
48
- protected_attributes (~> 1.0.7)
49
- rails-observers (~> 0.1.2)
50
- rake
51
- simplecov
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://www.rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.9"
6
- gem "activerecord", "~> 4.0.4"
7
- gem "activerecord-deprecated_finders", "~> 1.0.3"
8
- gem "protected_attributes", "~> 1.0.7"
9
- gem "rails-observers", "~> 0.1.2"
10
-
11
- gemspec :path=>"../"
@@ -1,61 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- enum_state_machine (1.2.0)
5
-
6
- GEM
7
- remote: https://www.rubygems.org/
8
- specs:
9
- activemodel (4.0.4)
10
- activesupport (= 4.0.4)
11
- builder (~> 3.1.0)
12
- activerecord (4.0.4)
13
- activemodel (= 4.0.4)
14
- activerecord-deprecated_finders (~> 1.0.2)
15
- activesupport (= 4.0.4)
16
- arel (~> 4.0.0)
17
- activerecord-deprecated_finders (1.0.3)
18
- activesupport (4.0.4)
19
- i18n (~> 0.6, >= 0.6.9)
20
- minitest (~> 4.2)
21
- multi_json (~> 1.3)
22
- thread_safe (~> 0.1)
23
- tzinfo (~> 0.3.37)
24
- appraisal (0.5.2)
25
- bundler
26
- rake
27
- arel (4.0.2)
28
- atomic (1.1.16)
29
- builder (3.1.4)
30
- docile (1.1.3)
31
- i18n (0.6.9)
32
- minitest (4.7.5)
33
- multi_json (1.9.2)
34
- protected_attributes (1.0.7)
35
- activemodel (>= 4.0.1, < 5.0)
36
- rails-observers (0.1.2)
37
- activemodel (~> 4.0)
38
- rake (10.2.2)
39
- simplecov (0.8.2)
40
- docile (~> 1.1.0)
41
- multi_json
42
- simplecov-html (~> 0.8.0)
43
- simplecov-html (0.8.0)
44
- sqlite3 (1.3.9)
45
- thread_safe (0.3.1)
46
- atomic (>= 1.1.7, < 2)
47
- tzinfo (0.3.39)
48
-
49
- PLATFORMS
50
- ruby
51
-
52
- DEPENDENCIES
53
- activerecord (~> 4.0.4)
54
- activerecord-deprecated_finders (~> 1.0.3)
55
- appraisal (~> 0.5.0)
56
- enum_state_machine!
57
- protected_attributes (~> 1.0.7)
58
- rails-observers (~> 0.1.2)
59
- rake
60
- simplecov
61
- sqlite3 (~> 1.3.9)
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://www.rubygems.org"
4
-
5
-
6
-
7
- gemspec :path=>"../"
@@ -1,27 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- enum_state_machine (1.2.0)
5
-
6
- GEM
7
- remote: https://www.rubygems.org/
8
- specs:
9
- appraisal (0.5.1)
10
- bundler
11
- rake
12
- multi_json (1.0.4)
13
- rake (0.9.2.2)
14
- simplecov (0.5.4)
15
- multi_json (~> 1.0.3)
16
- simplecov-html (~> 0.5.3)
17
- simplecov-html (0.5.3)
18
-
19
- PLATFORMS
20
- java
21
- ruby
22
-
23
- DEPENDENCIES
24
- appraisal (~> 0.5.0)
25
- enum_state_machine!
26
- rake
27
- simplecov
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://www.rubygems.org"
4
-
5
- gem "ruby-graphviz", "~> 1.0.9"
6
-
7
- gemspec :path=>"../"
@@ -1,30 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- enum_state_machine (1.2.0)
5
-
6
- GEM
7
- remote: https://www.rubygems.org/
8
- specs:
9
- appraisal (0.5.2)
10
- bundler
11
- rake
12
- docile (1.1.3)
13
- multi_json (1.9.2)
14
- rake (10.2.2)
15
- ruby-graphviz (1.0.9)
16
- simplecov (0.8.2)
17
- docile (~> 1.1.0)
18
- multi_json
19
- simplecov-html (~> 0.8.0)
20
- simplecov-html (0.8.0)
21
-
22
- PLATFORMS
23
- ruby
24
-
25
- DEPENDENCIES
26
- appraisal (~> 0.5.0)
27
- enum_state_machine!
28
- rake
29
- ruby-graphviz (~> 1.0.9)
30
- simplecov