mattock 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/Specifications +5 -4
- data/doc/coverage/index.html +1398 -516
- data/lib/mattock/cascading-definition.rb +32 -0
- data/lib/mattock/command-task.rb +9 -27
- data/lib/mattock/configurable.rb +27 -3
- data/lib/mattock/task.rb +35 -0
- data/lib/mattock/tasklib.rb +6 -25
- data/lib/mattock/testing/mock-command-line.rb +41 -0
- data/lib/mattock/testing/record-commands.rb +38 -0
- data/spec/command-line.rb +4 -0
- data/spec/command-task.rb +17 -19
- data/spec/tasklib.rb +6 -11
- data/spec_help/spec_helper.rb +3 -0
- metadata +7 -4
data/doc/Specifications
CHANGED
@@ -20,11 +20,12 @@ Mattock::TemplateHost
|
|
20
20
|
[32m should be able to do easy templating[0m
|
21
21
|
|
22
22
|
Mattock::TaskLib
|
23
|
-
[32m should define a root task[0m
|
24
|
-
[32m should define a namespaced task[0m
|
25
23
|
[32m should make root task depend on namespaced[0m
|
26
|
-
[32m should not define random tasks[0m
|
27
24
|
[32m should not make namespaced task depend on root task[0m
|
25
|
+
defines
|
26
|
+
[32m should have task :test[0m
|
27
|
+
[32m should have task "test:task"[0m
|
28
|
+
[32m should not have task "random:tasks"[0m
|
28
29
|
|
29
30
|
Mattock::Configurable
|
30
31
|
[32m should set defaults[0m
|
@@ -32,5 +33,5 @@ Mattock::Configurable
|
|
32
33
|
[32m should complain about unset nested required fields[0m
|
33
34
|
[32m should not complain when required fields are set[0m
|
34
35
|
|
35
|
-
Finished in 0.
|
36
|
+
Finished in 0.03405 seconds
|
36
37
|
[32m19 examples, 0 failures[0m
|