rachinations 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +6 -0
- data/.travis.yml +8 -0
- data/.yardopts +1 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +93 -0
- data/LICENSE.txt +21 -0
- data/README.md +18 -0
- data/Rakefile +16 -0
- data/lib/rachinations.rb +49 -0
- data/lib/rachinations/domain/diagrams/diagram.rb +167 -0
- data/lib/rachinations/domain/diagrams/non_deterministic_diagram.rb +16 -0
- data/lib/rachinations/domain/diagrams/verbose_diagram.rb +9 -0
- data/lib/rachinations/domain/edge_collection.rb +12 -0
- data/lib/rachinations/domain/edges/edge.rb +159 -0
- data/lib/rachinations/domain/edges/random_edge.rb +4 -0
- data/lib/rachinations/domain/exceptions/bad_options.rb +3 -0
- data/lib/rachinations/domain/exceptions/no_elements_found.rb +2 -0
- data/lib/rachinations/domain/exceptions/no_elements_matching_condition_error.rb +2 -0
- data/lib/rachinations/domain/exceptions/no_elements_of_given_type.rb +3 -0
- data/lib/rachinations/domain/exceptions/unsupported_type_error.rb +2 -0
- data/lib/rachinations/domain/modules/common/hash_init.rb +88 -0
- data/lib/rachinations/domain/modules/common/invariant.rb +17 -0
- data/lib/rachinations/domain/modules/diagrams/verbose.rb +30 -0
- data/lib/rachinations/domain/node_collection.rb +30 -0
- data/lib/rachinations/domain/nodes/converter.rb +276 -0
- data/lib/rachinations/domain/nodes/gate.rb +6 -0
- data/lib/rachinations/domain/nodes/node.rb +166 -0
- data/lib/rachinations/domain/nodes/pool.rb +267 -0
- data/lib/rachinations/domain/nodes/resourceful_node.rb +96 -0
- data/lib/rachinations/domain/nodes/resourceless_node.rb +11 -0
- data/lib/rachinations/domain/nodes/sink.rb +17 -0
- data/lib/rachinations/domain/nodes/source.rb +161 -0
- data/lib/rachinations/domain/nodes/trader.rb +6 -0
- data/lib/rachinations/domain/resource_bag.rb +131 -0
- data/lib/rachinations/domain/resources/token.rb +51 -0
- data/lib/rachinations/domain/strategies/strategy.rb +5 -0
- data/lib/rachinations/domain/strategies/valid_types.rb +69 -0
- data/lib/rachinations/dsl/dsl.rb +63 -0
- data/lib/rachinations/extras/fifo.rb +27 -0
- data/lib/rachinations/version.rb +3 -0
- data/machinations_diagrams/apenas_bonito.xml +22 -0
- data/machinations_diagrams/behavior_converter.xml +53 -0
- data/machinations_diagrams/behavior_converter_fim.xml +10 -0
- data/machinations_diagrams/canon/README.md +8 -0
- data/machinations_diagrams/canon/converters_differences.xml +27 -0
- data/machinations_diagrams/canon/converters_differences2.xml +34 -0
- data/machinations_diagrams/canon/converters_similarities.xml +63 -0
- data/machinations_diagrams/canon/converters_similarities2.xml +21 -0
- data/machinations_diagrams/canon/nodes_and_edges_differences.xml +15 -0
- data/machinations_diagrams/canon/nodes_and_edges_similarities.xml +20 -0
- data/machinations_diagrams/deterministic_example.xml +46 -0
- data/machinations_diagrams/economies_of_scale.xml +32 -0
- data/machinations_diagrams/feature_ou_bug.xml +5 -0
- data/machinations_diagrams/loop_in_trigger.xml +21 -0
- data/machinations_diagrams/naficadevendo.xml +12 -0
- data/machinations_diagrams/noreporting_equivalent.xml +22 -0
- data/machinations_diagrams/pull_all_example.xml +7 -0
- data/machinations_diagrams/sketch_of_memory.xml +41 -0
- data/machinations_diagrams/software_engineering_process 2.xml +130 -0
- data/machinations_diagrams/software_engineering_process v3.xml +168 -0
- data/machinations_diagrams/software_engineering_process v4.xml +192 -0
- data/machinations_diagrams/software_engineering_process.xml +65 -0
- data/machinations_diagrams/software_engineering_process_with_rework_after_test.xml +195 -0
- data/machinations_diagrams/startup_marketing.xml +35 -0
- data/machinations_diagrams/triggers_allow_multiple_stages_at_same_round.xml +19 -0
- data/machinations_diagrams/um_de_cada_vez_vs_todos_de_uma_vez.xml +20 -0
- data/rachinations.gemspec +35 -0
- data/testing/features/step_definitions/step_definitions.rb +11 -0
- data/testing/simulations/modelo1.rb +20 -0
- data/testing/simulations/modelo2.rb +49 -0
- data/testing/simulations/noreporting.rb +51 -0
- data/testing/simulations/sequencial.rb +19 -0
- data/testing/simulations/sobonito.rb +28 -0
- data/testing/simulations/sobonitowhile.rb +28 -0
- data/testing/simulations/whatIwish1.rb +20 -0
- data/testing/spec/canon/converter_spec.rb +33 -0
- data/testing/spec/canon/pool_spec.rb +68 -0
- data/testing/spec/conditions_spec.rb +10 -0
- data/testing/spec/converter_spec.rb +223 -0
- data/testing/spec/diagram_spec.rb +671 -0
- data/testing/spec/edge_spec.rb +256 -0
- data/testing/spec/hash_init_spec.rb +59 -0
- data/testing/spec/node_spec.rb +31 -0
- data/testing/spec/non_deterministic_diagram_spec.rb +112 -0
- data/testing/spec/pool_spec.rb +233 -0
- data/testing/spec/source_spec.rb +132 -0
- data/testing/spec/spec_helper.rb +34 -0
- data/testing/spec/xexeo_spec.rb +193 -0
- metadata +283 -0
metadata
ADDED
@@ -0,0 +1,283 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rachinations
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Felipe Almeida
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-reporters
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: cucumber
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coveralls
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: activesupport
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 3.0.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 3.0.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: i18n
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: |-
|
140
|
+
This project provides a Ruby-based DSL to enable game designers to
|
141
|
+
design and also test tentative game designs and/or prototypes
|
142
|
+
email:
|
143
|
+
- falmeida1988@gmail.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files: []
|
147
|
+
files:
|
148
|
+
- ".coveralls.yml"
|
149
|
+
- ".gitignore"
|
150
|
+
- ".travis.yml"
|
151
|
+
- ".yardopts"
|
152
|
+
- Gemfile
|
153
|
+
- Gemfile.lock
|
154
|
+
- LICENSE.txt
|
155
|
+
- README.md
|
156
|
+
- Rakefile
|
157
|
+
- lib/rachinations.rb
|
158
|
+
- lib/rachinations/domain/diagrams/diagram.rb
|
159
|
+
- lib/rachinations/domain/diagrams/non_deterministic_diagram.rb
|
160
|
+
- lib/rachinations/domain/diagrams/verbose_diagram.rb
|
161
|
+
- lib/rachinations/domain/edge_collection.rb
|
162
|
+
- lib/rachinations/domain/edges/edge.rb
|
163
|
+
- lib/rachinations/domain/edges/random_edge.rb
|
164
|
+
- lib/rachinations/domain/exceptions/bad_options.rb
|
165
|
+
- lib/rachinations/domain/exceptions/no_elements_found.rb
|
166
|
+
- lib/rachinations/domain/exceptions/no_elements_matching_condition_error.rb
|
167
|
+
- lib/rachinations/domain/exceptions/no_elements_of_given_type.rb
|
168
|
+
- lib/rachinations/domain/exceptions/unsupported_type_error.rb
|
169
|
+
- lib/rachinations/domain/modules/common/hash_init.rb
|
170
|
+
- lib/rachinations/domain/modules/common/invariant.rb
|
171
|
+
- lib/rachinations/domain/modules/diagrams/verbose.rb
|
172
|
+
- lib/rachinations/domain/node_collection.rb
|
173
|
+
- lib/rachinations/domain/nodes/converter.rb
|
174
|
+
- lib/rachinations/domain/nodes/gate.rb
|
175
|
+
- lib/rachinations/domain/nodes/node.rb
|
176
|
+
- lib/rachinations/domain/nodes/pool.rb
|
177
|
+
- lib/rachinations/domain/nodes/resourceful_node.rb
|
178
|
+
- lib/rachinations/domain/nodes/resourceless_node.rb
|
179
|
+
- lib/rachinations/domain/nodes/sink.rb
|
180
|
+
- lib/rachinations/domain/nodes/source.rb
|
181
|
+
- lib/rachinations/domain/nodes/trader.rb
|
182
|
+
- lib/rachinations/domain/resource_bag.rb
|
183
|
+
- lib/rachinations/domain/resources/token.rb
|
184
|
+
- lib/rachinations/domain/strategies/strategy.rb
|
185
|
+
- lib/rachinations/domain/strategies/valid_types.rb
|
186
|
+
- lib/rachinations/dsl/dsl.rb
|
187
|
+
- lib/rachinations/extras/fifo.rb
|
188
|
+
- lib/rachinations/version.rb
|
189
|
+
- machinations_diagrams/apenas_bonito.xml
|
190
|
+
- machinations_diagrams/behavior_converter.xml
|
191
|
+
- machinations_diagrams/behavior_converter_fim.xml
|
192
|
+
- machinations_diagrams/canon/README.md
|
193
|
+
- machinations_diagrams/canon/converters_differences.xml
|
194
|
+
- machinations_diagrams/canon/converters_differences2.xml
|
195
|
+
- machinations_diagrams/canon/converters_similarities.xml
|
196
|
+
- machinations_diagrams/canon/converters_similarities2.xml
|
197
|
+
- machinations_diagrams/canon/nodes_and_edges_differences.xml
|
198
|
+
- machinations_diagrams/canon/nodes_and_edges_similarities.xml
|
199
|
+
- machinations_diagrams/deterministic_example.xml
|
200
|
+
- machinations_diagrams/economies_of_scale.xml
|
201
|
+
- machinations_diagrams/feature_ou_bug.xml
|
202
|
+
- machinations_diagrams/loop_in_trigger.xml
|
203
|
+
- machinations_diagrams/naficadevendo.xml
|
204
|
+
- machinations_diagrams/noreporting_equivalent.xml
|
205
|
+
- machinations_diagrams/pull_all_example.xml
|
206
|
+
- machinations_diagrams/sketch_of_memory.xml
|
207
|
+
- machinations_diagrams/software_engineering_process 2.xml
|
208
|
+
- machinations_diagrams/software_engineering_process v3.xml
|
209
|
+
- machinations_diagrams/software_engineering_process v4.xml
|
210
|
+
- machinations_diagrams/software_engineering_process.xml
|
211
|
+
- machinations_diagrams/software_engineering_process_with_rework_after_test.xml
|
212
|
+
- machinations_diagrams/startup_marketing.xml
|
213
|
+
- machinations_diagrams/triggers_allow_multiple_stages_at_same_round.xml
|
214
|
+
- machinations_diagrams/um_de_cada_vez_vs_todos_de_uma_vez.xml
|
215
|
+
- rachinations.gemspec
|
216
|
+
- testing/features/step_definitions/step_definitions.rb
|
217
|
+
- testing/simulations/modelo1.rb
|
218
|
+
- testing/simulations/modelo2.rb
|
219
|
+
- testing/simulations/noreporting.rb
|
220
|
+
- testing/simulations/sequencial.rb
|
221
|
+
- testing/simulations/sobonito.rb
|
222
|
+
- testing/simulations/sobonitowhile.rb
|
223
|
+
- testing/simulations/whatIwish1.rb
|
224
|
+
- testing/spec/canon/converter_spec.rb
|
225
|
+
- testing/spec/canon/pool_spec.rb
|
226
|
+
- testing/spec/conditions_spec.rb
|
227
|
+
- testing/spec/converter_spec.rb
|
228
|
+
- testing/spec/diagram_spec.rb
|
229
|
+
- testing/spec/edge_spec.rb
|
230
|
+
- testing/spec/hash_init_spec.rb
|
231
|
+
- testing/spec/node_spec.rb
|
232
|
+
- testing/spec/non_deterministic_diagram_spec.rb
|
233
|
+
- testing/spec/pool_spec.rb
|
234
|
+
- testing/spec/source_spec.rb
|
235
|
+
- testing/spec/spec_helper.rb
|
236
|
+
- testing/spec/xexeo_spec.rb
|
237
|
+
homepage: ''
|
238
|
+
licenses:
|
239
|
+
- MIT
|
240
|
+
metadata: {}
|
241
|
+
post_install_message:
|
242
|
+
rdoc_options: []
|
243
|
+
require_paths:
|
244
|
+
- lib
|
245
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - "~>"
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: '2.1'
|
250
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - ">="
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: '0'
|
255
|
+
requirements: []
|
256
|
+
rubyforge_project:
|
257
|
+
rubygems_version: 2.4.1
|
258
|
+
signing_key:
|
259
|
+
specification_version: 4
|
260
|
+
summary: Ruby port for Dr. J. Dormans' Machinations Game Mechanics Diagrams.
|
261
|
+
test_files:
|
262
|
+
- testing/features/step_definitions/step_definitions.rb
|
263
|
+
- testing/simulations/modelo1.rb
|
264
|
+
- testing/simulations/modelo2.rb
|
265
|
+
- testing/simulations/noreporting.rb
|
266
|
+
- testing/simulations/sequencial.rb
|
267
|
+
- testing/simulations/sobonito.rb
|
268
|
+
- testing/simulations/sobonitowhile.rb
|
269
|
+
- testing/simulations/whatIwish1.rb
|
270
|
+
- testing/spec/canon/converter_spec.rb
|
271
|
+
- testing/spec/canon/pool_spec.rb
|
272
|
+
- testing/spec/conditions_spec.rb
|
273
|
+
- testing/spec/converter_spec.rb
|
274
|
+
- testing/spec/diagram_spec.rb
|
275
|
+
- testing/spec/edge_spec.rb
|
276
|
+
- testing/spec/hash_init_spec.rb
|
277
|
+
- testing/spec/node_spec.rb
|
278
|
+
- testing/spec/non_deterministic_diagram_spec.rb
|
279
|
+
- testing/spec/pool_spec.rb
|
280
|
+
- testing/spec/source_spec.rb
|
281
|
+
- testing/spec/spec_helper.rb
|
282
|
+
- testing/spec/xexeo_spec.rb
|
283
|
+
has_rdoc:
|