geese 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +55 -0
- data/Rakefile +12 -0
- data/bin/geese +3 -0
- data/features/beurt_volgorde.feature +23 -0
- data/features/support/env.rb +6 -0
- data/geese.gemspec +27 -0
- data/lib/geese/version.rb +3 -0
- data/lib/geese.rb +4 -0
- data/spec/geese_spec.rb +7 -0
- data/spec/spec_helper.rb +2 -0
- metadata +149 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fc66387223baeff957286a2af52a9ac6bf38cb83
|
4
|
+
data.tar.gz: ca3fe335e34ce5d1baaaef82e1b291e579c802ab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a9bd0091394218f1aa2dd9662590c96c708340da4a0ddfd4377ad34a51af7ea2ccbdce21e5e6b9be9ea3c58fac2498b9cec8d3e6e49f4233d13d8e9e1531635
|
7
|
+
data.tar.gz: 9c238836acb8ee02b213a1436689f1b364dae1ef157511da36294eb9a8d9a44233ec61fc4e3e56b9bb1e75cd9182e626df9ac7c4d3aeb3d8bb076e60d28c49eb
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
game-of-geese
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.1
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
geese (0.0.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
aruba (0.5.4)
|
10
|
+
childprocess (>= 0.3.6)
|
11
|
+
cucumber (>= 1.1.1)
|
12
|
+
rspec-expectations (>= 2.7.0)
|
13
|
+
builder (3.2.2)
|
14
|
+
childprocess (0.5.3)
|
15
|
+
ffi (~> 1.0, >= 1.0.11)
|
16
|
+
coderay (1.1.0)
|
17
|
+
cucumber (1.3.14)
|
18
|
+
builder (>= 2.1.2)
|
19
|
+
diff-lcs (>= 1.1.3)
|
20
|
+
gherkin (~> 2.12)
|
21
|
+
multi_json (>= 1.7.5, < 2.0)
|
22
|
+
multi_test (>= 0.1.1)
|
23
|
+
diff-lcs (1.2.5)
|
24
|
+
ffi (1.9.3)
|
25
|
+
gherkin (2.12.2)
|
26
|
+
multi_json (~> 1.3)
|
27
|
+
method_source (0.8.2)
|
28
|
+
multi_json (1.9.3)
|
29
|
+
multi_test (0.1.1)
|
30
|
+
pry (0.9.12.6)
|
31
|
+
coderay (~> 1.0)
|
32
|
+
method_source (~> 0.8)
|
33
|
+
slop (~> 3.4)
|
34
|
+
rake (10.3.1)
|
35
|
+
rspec (2.14.1)
|
36
|
+
rspec-core (~> 2.14.0)
|
37
|
+
rspec-expectations (~> 2.14.0)
|
38
|
+
rspec-mocks (~> 2.14.0)
|
39
|
+
rspec-core (2.14.8)
|
40
|
+
rspec-expectations (2.14.5)
|
41
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
42
|
+
rspec-mocks (2.14.6)
|
43
|
+
slop (3.5.0)
|
44
|
+
|
45
|
+
PLATFORMS
|
46
|
+
ruby
|
47
|
+
|
48
|
+
DEPENDENCIES
|
49
|
+
aruba
|
50
|
+
bundler (~> 1.5)
|
51
|
+
cucumber
|
52
|
+
geese!
|
53
|
+
pry
|
54
|
+
rake
|
55
|
+
rspec
|
data/Rakefile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
3
|
+
require 'cucumber'
|
4
|
+
require 'cucumber/rake/task'
|
5
|
+
|
6
|
+
Cucumber::Rake::Task.new(:features) do |t|
|
7
|
+
t.cucumber_opts = "features --format pretty"
|
8
|
+
end
|
9
|
+
|
10
|
+
RSpec::Core::RakeTask.new(:spec)
|
11
|
+
|
12
|
+
task default: [:features, :spec]
|
data/bin/geese
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# language: nl
|
2
|
+
Functionaliteit: Beurt volgorde
|
3
|
+
|
4
|
+
Achtergrond:
|
5
|
+
Stel ik heb een speelbord met 63 vakjes
|
6
|
+
En ik heb de volgende spelers met de klok mee:
|
7
|
+
| naam | leeftijd | kleur pion |
|
8
|
+
| Jan | 12 | zwart |
|
9
|
+
| Piet | 9 | blauw |
|
10
|
+
| Klaas | 14 | paars |
|
11
|
+
En alle pionnen staan op het startvakje
|
12
|
+
|
13
|
+
|
14
|
+
Scenario: Een speler die mag starten kiezen
|
15
|
+
Dan is Piet aan de beurt om te dobbelen omdat hij de jongste speler is
|
16
|
+
|
17
|
+
|
18
|
+
Scenario: Beurtvolgorde met de klok mee
|
19
|
+
Als de beurt van Piet is geweest
|
20
|
+
Dan is Klaas aan de beurt om te dobbelen
|
21
|
+
Als de beurt van Klaas is geweest
|
22
|
+
Dan is Jan aan de beurt om te dobbelen
|
23
|
+
|
data/geese.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'geese/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "geese"
|
8
|
+
spec.version = Geese::VERSION
|
9
|
+
spec.authors = ["Andy Maes", "Ariejan de Vroom"]
|
10
|
+
spec.email = ["andymaes@gmail.com", "ariejan@ariejan.net"]
|
11
|
+
spec.summary = %q{To be announced.}
|
12
|
+
spec.description = %q{To be announced}
|
13
|
+
spec.homepage = "https://github.com/blackgeese/geese"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "rspec"
|
24
|
+
spec.add_development_dependency "cucumber"
|
25
|
+
spec.add_development_dependency "aruba"
|
26
|
+
spec.add_development_dependency "pry"
|
27
|
+
end
|
data/lib/geese.rb
ADDED
data/spec/geese_spec.rb
ADDED
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: geese
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andy Maes
|
8
|
+
- Ariejan de Vroom
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.5'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.5'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: cucumber
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: aruba
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: pry
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
description: To be announced
|
99
|
+
email:
|
100
|
+
- andymaes@gmail.com
|
101
|
+
- ariejan@ariejan.net
|
102
|
+
executables:
|
103
|
+
- geese
|
104
|
+
extensions: []
|
105
|
+
extra_rdoc_files: []
|
106
|
+
files:
|
107
|
+
- ".ruby-gemset"
|
108
|
+
- ".ruby-version"
|
109
|
+
- ".travis.yml"
|
110
|
+
- Gemfile
|
111
|
+
- Gemfile.lock
|
112
|
+
- Rakefile
|
113
|
+
- bin/geese
|
114
|
+
- features/beurt_volgorde.feature
|
115
|
+
- features/support/env.rb
|
116
|
+
- geese.gemspec
|
117
|
+
- lib/geese.rb
|
118
|
+
- lib/geese/version.rb
|
119
|
+
- spec/geese_spec.rb
|
120
|
+
- spec/spec_helper.rb
|
121
|
+
homepage: https://github.com/blackgeese/geese
|
122
|
+
licenses:
|
123
|
+
- MIT
|
124
|
+
metadata: {}
|
125
|
+
post_install_message:
|
126
|
+
rdoc_options: []
|
127
|
+
require_paths:
|
128
|
+
- lib
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
requirements: []
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 2.2.2
|
142
|
+
signing_key:
|
143
|
+
specification_version: 4
|
144
|
+
summary: To be announced.
|
145
|
+
test_files:
|
146
|
+
- features/beurt_volgorde.feature
|
147
|
+
- features/support/env.rb
|
148
|
+
- spec/geese_spec.rb
|
149
|
+
- spec/spec_helper.rb
|