codersdojo 1.5.08 → 1.5.09

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ foo = ->
2
+ 'Fixme!'
3
+
4
+ exports.foo = foo
5
+
@@ -0,0 +1,3 @@
1
+ framework: coffeescript.jasmine-node
2
+ source_files: .*\.coffee
3
+
@@ -0,0 +1,13 @@
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
+ %kata_file%.coffee the file with the system under test
6
+ kataSpec.coffee the jasmine spec file that you should edit
7
+ spec/dojoSpec.coffee a file that requires kataSpec, this is a workaround to prevent jasmine-node from executing spec files in the .codersdojo directory
8
+
9
+ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to make it executable and call ./run-endless.%sh%.)
10
+
11
+ The support for Javascript/jasmine-node was contributed by Gregor Gramlich.
12
+ You need to have node and jasmine-node installed.
13
+
@@ -0,0 +1,6 @@
1
+ %kata_file% = require './%kata_file%'
2
+
3
+ describe 'The %Kata_file%', ->
4
+ it 'should return foo', ->
5
+ expect(%kata_file%.foo()).toBe 'foo'
6
+
@@ -0,0 +1 @@
1
+ codersdojo start run-once.%sh%
@@ -0,0 +1,2 @@
1
+ jasmine-node --coffee spec/
2
+
@@ -0,0 +1,3 @@
1
+ # This is a workaround to prevent jasmine-node from executing spec files in the .codersdojo directory
2
+ require '../kataSpec'
3
+
@@ -0,0 +1,6 @@
1
+ function foo () {
2
+ return 'Fixme!';
3
+ }
4
+
5
+ exports.foo = foo;
6
+
@@ -0,0 +1,3 @@
1
+ framework: javascript.jasmine-node
2
+ source_files: .*\.js
3
+
@@ -0,0 +1,13 @@
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
+ %kata_file%.js the file with the system under test
6
+ kataSpec.js the jasmine spec file that you should edit
7
+ spec/dojoSpec.js a file that requires kataSpec, this is a workaround to prevent jasmine-node from executing spec files in the .codersdojo directory
8
+
9
+ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to make it executable and call ./run-endless.%sh%.)
10
+
11
+ The support for Javascript/jasmine-node was contributed by Gregor Gramlich.
12
+ You need to have node and jasmine-node installed.
13
+
@@ -0,0 +1,8 @@
1
+ var %kata_file% = require('./%kata_file%');
2
+
3
+ describe('The %Kata_file%', function () {
4
+ it ('should return foo', function () {
5
+ expect(%kata_file%.foo()).toBe('foo');
6
+ });
7
+ });
8
+
@@ -0,0 +1 @@
1
+ codersdojo start run-once.%sh%
@@ -0,0 +1 @@
1
+ jasmine-node spec/
@@ -0,0 +1,3 @@
1
+ // This is a workaround to prevent jasmine-node from executing spec files in the .codersdojo directory
2
+ require('../kataSpec');
3
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 8
9
- version: 1.5.08
8
+ - 9
9
+ version: 1.5.09
10
10
  platform: ruby
11
11
  authors:
12
12
  - CodersDojo-Team
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-10-01 00:00:00 +02:00
17
+ date: 2011-11-01 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -138,6 +138,12 @@ files:
138
138
  - templates/clojure.midje/README
139
139
  - templates/clojure.midje/run-endless.%sh%
140
140
  - templates/clojure.midje/run-once.%sh%
141
+ - templates/coffeescript.jasmine-node/%kata_file%.coffee
142
+ - templates/coffeescript.jasmine-node/kataSpec.coffee
143
+ - templates/coffeescript.jasmine-node/README
144
+ - templates/coffeescript.jasmine-node/run-endless.%sh%
145
+ - templates/coffeescript.jasmine-node/run-once.%sh%
146
+ - templates/coffeescript.jasmine-node/spec/dojoSpec.coffee
141
147
  - templates/cpp.gtest/%Kata_file%.cc
142
148
  - templates/cpp.gtest/Makefile
143
149
  - templates/cpp.gtest/README
@@ -170,6 +176,12 @@ files:
170
176
  - templates/java.junit/README
171
177
  - templates/java.junit/run-endless.%sh%
172
178
  - templates/java.junit/run-once.%sh%
179
+ - templates/javascript.jasmine-node/%kata_file%.js
180
+ - templates/javascript.jasmine-node/kataSpec.js
181
+ - templates/javascript.jasmine-node/README
182
+ - templates/javascript.jasmine-node/run-endless.%sh%
183
+ - templates/javascript.jasmine-node/run-once.%sh%
184
+ - templates/javascript.jasmine-node/spec/dojoSpec.js
173
185
  - templates/javascript.jspec/README
174
186
  - templates/javascript.jspec/run-endless.%sh%
175
187
  - templates/javascript.jspec/run-once.%sh%
@@ -218,6 +230,7 @@ files:
218
230
  - templates/any/.meta
219
231
  - templates/clojure.is-test/.meta
220
232
  - templates/clojure.midje/.meta
233
+ - templates/coffeescript.jasmine-node/.meta
221
234
  - templates/cpp.gtest/.meta
222
235
  - templates/csharp.nunit.dotnet/.meta
223
236
  - templates/csharp.nunit.mono/.meta
@@ -225,6 +238,7 @@ files:
225
238
  - templates/groovy.gunit/.meta
226
239
  - templates/haskell.hunit/.meta
227
240
  - templates/java.junit/.meta
241
+ - templates/javascript.jasmine-node/.meta
228
242
  - templates/javascript.jspec/.meta
229
243
  - templates/javascript.vows/.meta
230
244
  - templates/objective-c.ocunit/.meta