codersdojo 1.2.00 → 1.2.01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
|
|
1
|
+
# Adapt the code to your code kata %kata_file%.
|
2
|
+
# Important: Test and production code has to be
|
3
|
+
# completely in this file.
|
4
|
+
|
5
|
+
|
6
|
+
class %Kata_file%
|
7
|
+
|
8
|
+
def foo
|
9
|
+
"fixme"
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
describe %Kata_file%, "" do
|
15
|
+
|
16
|
+
before (:each) do
|
17
|
+
@%kata_file% = %Kata_file%.new
|
18
|
+
end
|
19
|
+
|
20
|
+
|
21
|
+
it "should return bar" do
|
22
|
+
@%kata_file%.foo.should == "bar"
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
These files were created:
|
2
|
+
README is what you are currently reading
|
3
|
+
run-once.%sh% runs your tests once
|
4
|
+
run-endless.%sh% runs your tests endlessly via run-once.%sh%
|
5
|
+
|
6
|
+
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
|
+
|
8
|
+
Assumptions:
|
9
|
+
- The whole kata source code is in the one %kata_file%.rb.
|
@@ -0,0 +1 @@
|
|
1
|
+
codersdojo start run-once.%sh% %kata_file%.rb
|
@@ -0,0 +1 @@
|
|
1
|
+
spec %kata_file%.rb
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codersdojo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 1
|
10
|
+
version: 1.2.01
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- CodersDojo-Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-28 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -117,6 +117,10 @@ files:
|
|
117
117
|
- templates/python.pyunit/README
|
118
118
|
- templates/python.pyunit/run-endless.%sh%
|
119
119
|
- templates/python.pyunit/run-once.%sh%
|
120
|
+
- templates/ruby.rspec/%kata_file%.rb
|
121
|
+
- templates/ruby.rspec/README
|
122
|
+
- templates/ruby.rspec/run-endless.%sh%
|
123
|
+
- templates/ruby.rspec/run-once.%sh%
|
120
124
|
- templates/ruby.test-unit/%kata_file%.rb
|
121
125
|
- templates/ruby.test-unit/README
|
122
126
|
- templates/ruby.test-unit/run-endless.%sh%
|
@@ -130,6 +134,7 @@ files:
|
|
130
134
|
- templates/javascript.vows/.meta
|
131
135
|
- templates/python.pytest/.meta
|
132
136
|
- templates/python.pyunit/.meta
|
137
|
+
- templates/ruby.rspec/.meta
|
133
138
|
- templates/ruby.test-unit/.meta
|
134
139
|
- lib/place_libs_here
|
135
140
|
- bin/codersdojo
|