codersdojo 1.2.20 → 1.3.00
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.
- data/app/capture_single_run_command.rb +1 -1
- data/app/console_view.rb +14 -4
- data/app/filename_formatter.rb +4 -4
- data/app/init_session_command.rb +1 -1
- data/app/meta_config_file.rb +7 -2
- data/app/runner.rb +12 -6
- data/app/shell_wrapper.rb +16 -4
- data/app/start_command.rb +5 -5
- data/app/state.rb +3 -3
- data/app/state_reader.rb +8 -2
- data/app/uploader.rb +1 -1
- data/templates/any/README +0 -3
- data/templates/any/run-endless.%sh% +1 -1
- data/templates/clojure.is-test/%kata_file%.clj +0 -2
- data/templates/clojure.is-test/README +0 -1
- data/templates/clojure.is-test/run-endless.%sh% +1 -1
- data/templates/cpp.gtest/README +0 -1
- data/templates/cpp.gtest/run-endless.sh +1 -1
- data/templates/csharp.nunit.dotnet/README +1 -1
- data/templates/csharp.nunit.dotnet/run-endless.%sh% +1 -1
- data/templates/csharp.nunit.mono/README +0 -1
- data/templates/csharp.nunit.mono/run-endless.%sh% +1 -1
- data/templates/forth.tester/README +0 -3
- data/templates/forth.tester/run-endless.%sh% +1 -1
- data/templates/groovy.gunit/README +0 -1
- data/templates/groovy.gunit/run-endless.sh +1 -1
- data/templates/java.junit/%Kata_file%Test.java +0 -2
- data/templates/java.junit/README +0 -1
- data/templates/java.junit/run-endless.%sh% +1 -1
- data/templates/javascript.jspec/README +0 -3
- data/templates/javascript.jspec/run-endless.%sh% +1 -1
- data/templates/javascript.jspec/spec.js +0 -2
- data/templates/javascript.vows/%kata_file%-test.js +0 -2
- data/templates/javascript.vows/README +0 -3
- data/templates/javascript.vows/run-endless.%sh% +1 -1
- data/templates/objective-c.ocunit/%Kata_file%Tests.m +0 -2
- data/templates/objective-c.ocunit/README +0 -3
- data/templates/objective-c.ocunit/run-endless.%sh% +1 -1
- data/templates/perl.test/README +0 -3
- data/templates/perl.test/run-endless.sh +1 -1
- data/templates/php.phpunit/%kata_file%.php +0 -2
- data/templates/php.phpunit/README +0 -3
- data/templates/php.phpunit/run-endless.%sh% +1 -1
- data/templates/python.pytest/%kata_file%.py +0 -2
- data/templates/python.pytest/README +0 -3
- data/templates/python.pytest/run-endless.%sh% +1 -1
- data/templates/python.pyunit/%kata_file%.py +0 -2
- data/templates/python.pyunit/README +0 -3
- data/templates/python.pyunit/run-endless.%sh% +1 -1
- data/templates/ruby.rspec/%kata_file%.rb +0 -3
- data/templates/ruby.rspec/README +0 -3
- data/templates/ruby.rspec/run-endless.%sh% +1 -1
- data/templates/ruby.test-unit/%kata_file%.rb +0 -2
- data/templates/ruby.test-unit/README +0 -3
- data/templates/ruby.test-unit/run-endless.%sh% +1 -1
- data/templates/scala.junit/%Kata_file%Test.scala +0 -2
- data/templates/scala.junit/README +0 -1
- data/templates/scala.junit/run-endless.%sh% +1 -1
- data/templates/shell.shunit/README +0 -1
- data/templates/shell.shunit/run-endless.%sh% +1 -1
- metadata +5 -5
@@ -16,7 +16,7 @@ class CaptureSingleRunCommand
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def capture_single_run run_command, kata_file
|
19
|
-
runner = Runner.new @shell, SessionIdGenerator.new
|
19
|
+
runner = Runner.new @shell, SessionIdGenerator.new, @view
|
20
20
|
runner.run_command = run_command
|
21
21
|
session_id = @shell.newest_dir_entry(FilenameFormatter.codersdojo_workspace)
|
22
22
|
filename_formatter = FilenameFormatter.new
|
data/app/console_view.rb
CHANGED
@@ -153,15 +153,25 @@ helptext
|
|
153
153
|
show_usage
|
154
154
|
end
|
155
155
|
|
156
|
-
def show_start_kata command, file, framework
|
157
|
-
show "Starting CodersDojo-Client with command #{command} and kata file #{file} with framework #{framework}. Use Ctrl+C to finish the kata."
|
158
|
-
end
|
159
|
-
|
160
156
|
def show_missing_command_argument_error command, missing_argument
|
161
157
|
show "Command <#{command}> recognized but argument <#{missing_argument}> was missing.\n"
|
162
158
|
show_detailed_help command
|
163
159
|
end
|
164
160
|
|
161
|
+
def show_deprecated_command_argument_warning command, deprecated_argument
|
162
|
+
show "Argument #{deprecated_argument} is deprecated for command #{command}. Please remove it."
|
163
|
+
end
|
164
|
+
|
165
|
+
def show_start_kata command, file, framework
|
166
|
+
show "Starting CodersDojo-Client with command #{command} and kata file #{file} with framework #{framework}. Use Ctrl+C to finish the kata."
|
167
|
+
end
|
168
|
+
|
169
|
+
def show_run_once_message modified_file, modification_time
|
170
|
+
time = modification_time.strftime("%X")
|
171
|
+
date = modification_time.strftime("%x")
|
172
|
+
show "\nFile #{modified_file} was modified at #{time} on #{date}. Run tests."
|
173
|
+
end
|
174
|
+
|
165
175
|
def show_upload_start session_directory, hostname, framework
|
166
176
|
show "Start upload from #{session_directory} with framework #{framework} to #{hostname}"
|
167
177
|
end
|
data/app/filename_formatter.rb
CHANGED
@@ -13,10 +13,10 @@ class FilenameFormatter
|
|
13
13
|
CODERSDOJO_WORKSPACE
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
def source_file_in_state_dir? file
|
17
|
+
file = extract_last_path_item file
|
18
|
+
file != '..' and file != '.' and file != INFO_FILE and file != RESULT_FILE
|
19
|
+
end
|
20
20
|
|
21
21
|
def result_file state_dir
|
22
22
|
state_file state_dir, RESULT_FILE
|
data/app/init_session_command.rb
CHANGED
data/app/meta_config_file.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class MetaConfigFile
|
2
2
|
|
3
|
-
PROPERTY_FILENAME = '.meta'
|
3
|
+
PROPERTY_FILENAME = '.meta'
|
4
4
|
|
5
5
|
def initialize shell
|
6
6
|
@shell = shell
|
@@ -9,9 +9,14 @@ class MetaConfigFile
|
|
9
9
|
def framework_property
|
10
10
|
properties['framework']
|
11
11
|
end
|
12
|
+
|
13
|
+
def source_files
|
14
|
+
properties['source_files']
|
15
|
+
end
|
12
16
|
|
13
17
|
def properties
|
14
|
-
@shell.read_properties PROPERTY_FILENAME
|
18
|
+
@properties = @shell.read_properties PROPERTY_FILENAME unless @properties
|
19
|
+
@properties
|
15
20
|
end
|
16
21
|
|
17
22
|
end
|
data/app/runner.rb
CHANGED
@@ -4,12 +4,15 @@ require "text_converter"
|
|
4
4
|
|
5
5
|
class Runner
|
6
6
|
|
7
|
-
attr_accessor :
|
7
|
+
attr_accessor :source_files, :run_command
|
8
8
|
|
9
|
-
|
9
|
+
WORKING_DIR = '.'
|
10
|
+
|
11
|
+
def initialize shell, session_provider, view
|
10
12
|
@filename_formatter = FilenameFormatter.new
|
11
13
|
@shell = shell
|
12
14
|
@session_provider = session_provider
|
15
|
+
@view = view
|
13
16
|
end
|
14
17
|
|
15
18
|
def start
|
@@ -26,23 +29,26 @@ class Runner
|
|
26
29
|
end
|
27
30
|
|
28
31
|
def execute
|
29
|
-
|
32
|
+
files = @shell.files_in_dir_tree WORKING_DIR, @source_files
|
33
|
+
newest_dir_entry = @shell.newest_dir_entry WORKING_DIR, files
|
34
|
+
change_time = @shell.modification_time newest_dir_entry
|
30
35
|
if change_time == @previous_change_time then
|
31
36
|
Progress.next
|
32
37
|
return
|
33
38
|
end
|
34
39
|
Progress.end
|
35
|
-
|
40
|
+
@view.show_run_once_message newest_dir_entry, change_time
|
41
|
+
execute_once files, @session_id, @step
|
36
42
|
@step += 1
|
37
43
|
@previous_change_time = change_time
|
38
44
|
end
|
39
45
|
|
40
|
-
def execute_once
|
46
|
+
def execute_once files, session_id, step
|
41
47
|
process = @shell.execute @run_command
|
42
48
|
result = TextConverter.new.remove_escape_sequences process.output
|
43
49
|
state_dir = @filename_formatter.state_dir session_id, step
|
44
50
|
@shell.mkdir state_dir
|
45
|
-
@shell.
|
51
|
+
@shell.cp_r files, state_dir
|
46
52
|
@shell.write_file @filename_formatter.result_file(state_dir), result
|
47
53
|
@shell.write_file @filename_formatter.info_file(state_dir), "#{InfoPropertyFile.RETURN_CODE_PROPERTY}: #{process.return_code}"
|
48
54
|
end
|
data/app/shell_wrapper.rb
CHANGED
@@ -68,17 +68,29 @@ class ShellWrapper
|
|
68
68
|
|
69
69
|
def files_in_dir dir, regexp_pattern=nil
|
70
70
|
Dir.new(dir).entries.find_all{|entry|
|
71
|
-
|
71
|
+
file_matches_regexp? entry, regexp_pattern
|
72
72
|
}
|
73
73
|
end
|
74
|
+
|
75
|
+
def files_in_dir_tree dir, regexp_pattern=nil
|
76
|
+
Dir.glob("#{dir}/**/*").find_all{|entry|
|
77
|
+
file_matches_regexp? entry, regexp_pattern
|
78
|
+
}
|
79
|
+
end
|
80
|
+
|
81
|
+
def file_matches_regexp? dir_entry, regexp_pattern
|
82
|
+
File.file?(dir_entry) and (not regexp_pattern or dir_entry =~ Regexp.new(regexp_pattern))
|
83
|
+
end
|
74
84
|
|
75
|
-
|
76
|
-
|
85
|
+
|
86
|
+
def newest_dir_entry dir, files=nil
|
87
|
+
unless files then files = real_dir_entries(dir) end
|
88
|
+
files.sort_by do |entry|
|
77
89
|
complete_path = File.join dir, entry
|
78
90
|
File.mtime(complete_path)
|
79
91
|
end.last
|
80
92
|
end
|
81
|
-
|
93
|
+
|
82
94
|
def file? filename
|
83
95
|
File.file? filename
|
84
96
|
end
|
data/app/start_command.rb
CHANGED
@@ -16,12 +16,12 @@ class StartCommand
|
|
16
16
|
|
17
17
|
def start command, file
|
18
18
|
unless command then @view.show_missing_command_argument_error "start", "shell_command"; return end
|
19
|
-
|
19
|
+
if file then @view.show_deprecated_command_argument_warning "start", "kata_file" end # since 30-may-2011, remove argument in later version
|
20
20
|
@view.show_start_kata command, file, @meta_file.framework_property
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
scheduler = Scheduler.new
|
21
|
+
runner = Runner.new @shell, SessionIdGenerator.new, @view
|
22
|
+
runner.source_files = @meta_file.source_files
|
23
|
+
runner.run_command = command
|
24
|
+
scheduler = Scheduler.new runner, @view, [@upload_command]
|
25
25
|
scheduler.start
|
26
26
|
end
|
27
27
|
|
data/app/state.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
class State
|
2
2
|
|
3
|
-
attr_accessor :time, :
|
3
|
+
attr_accessor :time, :files, :result, :return_code
|
4
4
|
|
5
|
-
def initialize time=nil,
|
5
|
+
def initialize time=nil, files=nil, result=nil, return_code=nil
|
6
6
|
@time = time
|
7
|
-
@
|
7
|
+
@files = files
|
8
8
|
@result = result
|
9
9
|
@return_code = return_code
|
10
10
|
end
|
data/app/state_reader.rb
CHANGED
@@ -45,14 +45,20 @@ class StateReader
|
|
45
45
|
state = State.new
|
46
46
|
state_dir = get_state_dir
|
47
47
|
state.time = @shell.creation_time state_dir
|
48
|
-
state.
|
49
|
-
|
48
|
+
state.files = read_source_files state_dir
|
49
|
+
state.result = @shell.read_file @filename_formatter.result_file(state_dir)
|
50
50
|
properties = @shell.read_properties @filename_formatter.info_file(state_dir)
|
51
51
|
fill_state_with_properties state, properties
|
52
52
|
@next_step += 1
|
53
53
|
state
|
54
54
|
end
|
55
55
|
|
56
|
+
def read_source_files state_dir
|
57
|
+
files = @shell.files_in_dir_tree state_dir
|
58
|
+
source_files = files.find_all{|file| @filename_formatter.source_file_in_state_dir? file}
|
59
|
+
source_files.collect {|file| @shell.read_file file}
|
60
|
+
end
|
61
|
+
|
56
62
|
def fill_state_with_properties state, properties
|
57
63
|
state.return_code = properties[InfoPropertyFile.RETURN_CODE_PROPERTY]
|
58
64
|
end
|
data/app/uploader.rb
CHANGED
@@ -46,7 +46,7 @@ class Uploader
|
|
46
46
|
kata_data = {:framework => @framework}
|
47
47
|
states_data = states.each_with_index do |state,index|
|
48
48
|
green = state.return_code == 0
|
49
|
-
kata_data["states[#{index}]"] = {:code => state.
|
49
|
+
kata_data["states[#{index}]"] = {:code => state.files, :result => state.result, :green => green,
|
50
50
|
:created_at => state.time}
|
51
51
|
end
|
52
52
|
RestClient.post "#{@hostname}#{@@kata_path}", kata_data
|
data/templates/any/README
CHANGED
@@ -10,6 +10,3 @@ You have to adapt the .meta file:
|
|
10
10
|
'source_files' is a regular expression that match the source files of the kata. A valid source_files definition would be .*\.java for all files ending with .java.
|
11
11
|
|
12
12
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
13
|
-
|
14
|
-
Assumptions:
|
15
|
-
- The whole kata source code is in the one %kata_file.ext%.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -6,7 +6,6 @@ These files were created:
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
8
|
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.clj.
|
10
9
|
- Java is installed on your system and 'java' is in the path.
|
11
10
|
- clojure.jar and clojure-contrib.jar are placed in the 'lib' directory.
|
12
11
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
2
2
|
|
data/templates/cpp.gtest/README
CHANGED
@@ -7,7 +7,6 @@ Run run-endless.sh and start your kata. (On Mac/Linux you have to call ./run-end
|
|
7
7
|
|
8
8
|
Assumptions:
|
9
9
|
- make and a C++ compiler (like gcc) is installed on your system and is in the PATH
|
10
|
-
- The whole kata source code is in the one %Kata_file%.cc.
|
11
10
|
- The GTest framework is in the directory gtest.
|
12
11
|
- If your IDE does the compilation and linking, you should remove the first 3 lines
|
13
12
|
in the run-once.%sh% file.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.sh
|
1
|
+
codersdojo start run-once.sh
|
@@ -10,7 +10,7 @@ Assumptions:
|
|
10
10
|
- the Path includes:
|
11
11
|
csc (possible path=C:\Windows\Microsoft.NET\Framework\v4.0.30319\)
|
12
12
|
nunit-console (possible path=C:\Programme\NUnit 2.5.9\bin\net-2.0\)
|
13
|
+
- you are using NUnit versoon 2.5.10 or higher.
|
13
14
|
- nunit.framework.dll is in the same directory as %Kata_file%.cs.
|
14
|
-
- The whole kata source code is in the one %Kata_file%.cs.
|
15
15
|
|
16
16
|
The support for C#/NUnit was contributed by Meike Mertsch (Twitter: meikemertsch).
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -8,6 +8,5 @@ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-e
|
|
8
8
|
Assumptions:
|
9
9
|
- The MonoDevelop framework is installed.
|
10
10
|
- nunit.framework.dll is in the same directory as %Kata_file%.cs.
|
11
|
-
- The whole kata source code is in the one %Kata_file%.cs.
|
12
11
|
|
13
12
|
The support for C#/NUnit was contributed by Meike Mertsch (Twitter: meikemertsch).
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -5,7 +5,4 @@ These files were created:
|
|
5
5
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
|
-
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.fth.
|
10
|
-
|
11
8
|
The support for Forth/Tester was contributed by Stefan Roock.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.sh
|
1
|
+
codersdojo start run-once.sh
|
@@ -8,6 +8,5 @@ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-e
|
|
8
8
|
Assumptions:
|
9
9
|
- Java and Groovy is installed on your system, 'groovy' is in the path and GROOVY_HOME is set.
|
10
10
|
- groovy.jar is placed in the 'lib' directory.
|
11
|
-
- The whole kata source code is in the one %Kata_file%Test.groovy.
|
12
11
|
|
13
12
|
The support for Groovy/GUnit was contributed by Stefan Roock.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.sh
|
1
|
+
codersdojo start run-once.sh
|
data/templates/java.junit/README
CHANGED
@@ -9,7 +9,6 @@ Assumptions:
|
|
9
9
|
- A Java JDK is installed on your system and 'java' and 'javac' are in the path.
|
10
10
|
- junit.jar is placed in the 'lib' directory.
|
11
11
|
- junit.jar contains JUnit 4.
|
12
|
-
- The whole kata source code is in the one %Kata_file%Test.java.
|
13
12
|
- The kata class file is generated into the 'bin' directory.
|
14
13
|
- In the source file the classes are placed in the default package.
|
15
14
|
- The kata source file has a main method that starts the tests.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -4,7 +4,4 @@ These files were created:
|
|
4
4
|
|
5
5
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
6
6
|
|
7
|
-
Assumptions:
|
8
|
-
- The whole kata source code is in the one %kata_file%.js.
|
9
|
-
|
10
7
|
The support for JavaScript/Vows was contributed by Matthias Lübken.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start "vows %kata_file%.js"
|
1
|
+
codersdojo start "vows %kata_file%.js"
|
@@ -5,7 +5,4 @@ These files were created:
|
|
5
5
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
|
-
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.m.
|
10
|
-
|
11
8
|
The support for Objective-C/OCUnit was contributed by Sven Günther.
|
@@ -1,2 +1,2 @@
|
|
1
|
-
codersdojo start run-once.sh
|
1
|
+
codersdojo start run-once.sh
|
2
2
|
|
data/templates/perl.test/README
CHANGED
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.sh
|
1
|
+
codersdojo start run-once.sh
|
@@ -5,7 +5,4 @@ These files were created:
|
|
5
5
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
|
-
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.php.
|
10
|
-
|
11
8
|
The support for PHP/PHP-Unit was contributed by Gregor Gramlich.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -5,7 +5,4 @@ These files were created:
|
|
5
5
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
|
-
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.py.
|
10
|
-
|
11
8
|
The support for Python/PyTest was contributed by Sebastian Sanitz (github.com/sanitz).
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -5,7 +5,4 @@ These files were created:
|
|
5
5
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
|
-
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.py.
|
10
|
-
|
11
8
|
The support for Python/PyUnit was contributed by Steven Collins (Twitter: @lomin).
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
data/templates/ruby.rspec/README
CHANGED
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -5,7 +5,4 @@ These files were created:
|
|
5
5
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
|
-
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.rb.
|
10
|
-
|
11
8
|
The support for Ruby/TestUnit was contributed by Stefan Roock.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -9,7 +9,6 @@ Assumptions:
|
|
9
9
|
- A Java JDK is installed on your system and 'java' and 'javac' are in the path.
|
10
10
|
- scala-library.jar, junit.jar and org.hamcrest.core.jar are placed in the 'lib' directory.
|
11
11
|
- junit.jar contains JUnit 4.
|
12
|
-
- The whole kata source code is in the one %Kata_file%Test.scala.
|
13
12
|
- The kata class file is generated into the 'bin' directory.
|
14
13
|
- In the source file the classes are placed in the default package.
|
15
14
|
- The kata source file has a main method that starts the tests.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
@@ -6,7 +6,6 @@ These files were created:
|
|
6
6
|
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
|
7
7
|
|
8
8
|
Assumptions:
|
9
|
-
- The whole kata source code is in the one %kata_file%.sh.
|
10
9
|
- shunit2 is in your path.
|
11
10
|
|
12
11
|
The support for Shell/ShUnit was contributed by Stefan Roock (Twitter: StefanRoock, http://stefanroock.de).
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.%sh%
|
1
|
+
codersdojo start run-once.%sh%
|
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: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 1.3.00
|
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-05-
|
18
|
+
date: 2011-05-30 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|