detroit 0.2.0 → 0.3.0
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/.ruby +13 -12
- data/COPYING.rdoc +686 -5
- data/EXAMPLE.md +24 -24
- data/HISTORY.rdoc +16 -0
- data/README.rdoc +3 -10
- data/lib/detroit.rb +1 -1
- data/lib/detroit.yml +13 -12
- data/lib/detroit/application.rb +11 -6
- data/lib/detroit/custom.rb +33 -11
- data/lib/detroit/service.rb +21 -138
- data/lib/detroit/tool.rb +78 -14
- metadata +11 -32
- data/GPL3.txt +0 -675
- data/QED.rdoc +0 -87
- data/qed/01_assembly/02_initialize.md +0 -57
- data/qed/99_plugins/rdoc/rdoc-plugin.rdoc +0 -22
- data/qed/99_plugins/rdoc/sample/Syckfile +0 -6
- data/qed/99_plugins/rdoc/sample/lib/sandbox/.xxx +0 -1
- data/qed/99_plugins/rdoc/sample/lib/sandbox/hello.rb +0 -5
- data/qed/99_plugins/rdoc/sample/lib/sandbox/xxx.rb +0 -6
- data/qed/99_plugins/rdoc/sample/lib/xxx/bye.rb +0 -4
- data/qed/99_plugins/rdoc/sample/meta/name +0 -1
- data/qed/99_plugins/rdoc/sample/meta/version +0 -1
- data/qed/samples/example_project/.ruby +0 -0
- data/qed/samples/example_project/Schedule +0 -9
- data/qed/samples/example_project/lib/foo/.xxx +0 -1
- data/qed/samples/example_project/lib/foo/hello.rb +0 -7
- data/qed/samples/example_project/lib/foo/xxx.rb +0 -6
- data/qed/samples/example_project/lib/foo/xxx/bye.rb +0 -4
- data/qed/samples/example_project/meta/name +0 -1
- data/qed/samples/example_project/meta/version +0 -1
- data/qed/samples/example_schedule.rb +0 -57
data/QED.rdoc
DELETED
@@ -1,87 +0,0 @@
|
|
1
|
-
## initialize
|
2
|
-
|
3
|
-
Load schedule text written in Ruby DSL.
|
4
|
-
|
5
|
-
check do |ruby|
|
6
|
-
Detroit::Schedule.new(ruby)
|
7
|
-
end
|
8
|
-
|
9
|
-
ok <<-HERE
|
10
|
-
Email :myself do |s|
|
11
|
-
s.mailto = 'transfire@gmail.com'
|
12
|
-
s.active = true
|
13
|
-
end
|
14
|
-
|
15
|
-
Syntax do |s|
|
16
|
-
s.exclude = ['lib/plugins']
|
17
|
-
s.active = false
|
18
|
-
end
|
19
|
-
HERE
|
20
|
-
|
21
|
-
Load schedule from a file written in Ruby DSL.
|
22
|
-
|
23
|
-
check do |file|
|
24
|
-
path = File.join(root_dir, file)
|
25
|
-
Detroit::Schedule.new(File.new(path))
|
26
|
-
end
|
27
|
-
|
28
|
-
ok 'samples/example_schedule.rb'
|
29
|
-
|
30
|
-
Load schedule text written in YAML"
|
31
|
-
|
32
|
-
check do |yaml|
|
33
|
-
Detroit::Schedule.new(yaml)
|
34
|
-
end
|
35
|
-
|
36
|
-
ok <<-HERE
|
37
|
-
---
|
38
|
-
myself:
|
39
|
-
service: email
|
40
|
-
mailto : transfire@gmail.com
|
41
|
-
active : true
|
42
|
-
end
|
43
|
-
|
44
|
-
syntax:
|
45
|
-
exclude: [lib/plugins]
|
46
|
-
active : false
|
47
|
-
HERE
|
48
|
-
|
49
|
-
Load schedule from a file written in YAML.
|
50
|
-
|
51
|
-
check do |file|
|
52
|
-
path = File.join(root_dir, file)
|
53
|
-
Detroit::Schedule.new(File.new(path))
|
54
|
-
end
|
55
|
-
|
56
|
-
ok 'samples/example_schedule.yml'
|
57
|
-
|
58
|
-
|
59
|
-
= RDoc Plugin
|
60
|
-
|
61
|
-
The RDoc plugin should generate rdoc doumentation according
|
62
|
-
to the parameters provided.
|
63
|
-
|
64
|
-
Given a suitable project.
|
65
|
-
|
66
|
-
Dir.chdir 'sample'
|
67
|
-
|
68
|
-
Now if we run 'syckle document' on the sample project.
|
69
|
-
|
70
|
-
`detroit document`
|
71
|
-
|
72
|
-
The documentation should be generated as expected.
|
73
|
-
|
74
|
-
File.assert.directory?('doc/rdoc')
|
75
|
-
|
76
|
-
Lets clean up after ourselves.
|
77
|
-
|
78
|
-
FileUtils.rm_r 'doc'
|
79
|
-
Dir.chdir '..'
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
@@ -1,57 +0,0 @@
|
|
1
|
-
## initialize
|
2
|
-
|
3
|
-
Load schedule text written in Ruby DSL.
|
4
|
-
|
5
|
-
check do |ruby|
|
6
|
-
Detroit::Schedule.new(ruby)
|
7
|
-
end
|
8
|
-
|
9
|
-
ok <<-HERE
|
10
|
-
Email :myself do |s|
|
11
|
-
s.mailto = 'transfire@gmail.com'
|
12
|
-
s.active = true
|
13
|
-
end
|
14
|
-
|
15
|
-
Syntax do |s|
|
16
|
-
s.exclude = ['lib/plugins']
|
17
|
-
s.active = false
|
18
|
-
end
|
19
|
-
HERE
|
20
|
-
|
21
|
-
Load schedule from a file written in Ruby DSL.
|
22
|
-
|
23
|
-
check do |file|
|
24
|
-
path = File.join(root_dir, file)
|
25
|
-
Detroit::Schedule.new(File.new(path))
|
26
|
-
end
|
27
|
-
|
28
|
-
ok 'samples/example_schedule.rb'
|
29
|
-
|
30
|
-
Load schedule text written in YAML"
|
31
|
-
|
32
|
-
check do |yaml|
|
33
|
-
Detroit::Schedule.new(yaml)
|
34
|
-
end
|
35
|
-
|
36
|
-
ok <<-HERE
|
37
|
-
---
|
38
|
-
myself:
|
39
|
-
service: email
|
40
|
-
mailto : transfire@gmail.com
|
41
|
-
active : true
|
42
|
-
end
|
43
|
-
|
44
|
-
syntax:
|
45
|
-
exclude: [lib/plugins]
|
46
|
-
active : false
|
47
|
-
HERE
|
48
|
-
|
49
|
-
Load schedule from a file written in YAML.
|
50
|
-
|
51
|
-
check do |file|
|
52
|
-
path = File.join(root_dir, file)
|
53
|
-
Detroit::Schedule.new(File.new(path))
|
54
|
-
end
|
55
|
-
|
56
|
-
ok 'samples/example_schedule.yml'
|
57
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
= RDoc Plugin
|
2
|
-
|
3
|
-
The RDoc plugin should generate rdoc doumentation according
|
4
|
-
to the parameters provided.
|
5
|
-
|
6
|
-
Given a suitable project.
|
7
|
-
|
8
|
-
Dir.chdir 'sample'
|
9
|
-
|
10
|
-
Now if we run 'syckle document' on the sample project.
|
11
|
-
|
12
|
-
`detroit document`
|
13
|
-
|
14
|
-
The documentation should be generated as expected.
|
15
|
-
|
16
|
-
File.assert.directory?('doc/rdoc')
|
17
|
-
|
18
|
-
Lets clean up after ourselves.
|
19
|
-
|
20
|
-
FileUtils.rm_r 'doc'
|
21
|
-
Dir.chdir '..'
|
22
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
= This files should be ignored by RDOC
|
@@ -1 +0,0 @@
|
|
1
|
-
sandbox
|
@@ -1 +0,0 @@
|
|
1
|
-
1.0
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
= This files should be ignored by RDOC
|
@@ -1 +0,0 @@
|
|
1
|
-
sandbox
|
@@ -1 +0,0 @@
|
|
1
|
-
1.0
|
@@ -1,57 +0,0 @@
|
|
1
|
-
Announce do |s|
|
2
|
-
s.mailto = 'transfire@gmail.com'
|
3
|
-
s.active = true
|
4
|
-
end
|
5
|
-
|
6
|
-
Gem do |s|
|
7
|
-
s.autospec = true
|
8
|
-
s.active = true
|
9
|
-
end
|
10
|
-
|
11
|
-
DNote do |s|
|
12
|
-
s.priority = -1
|
13
|
-
s.active = true
|
14
|
-
end
|
15
|
-
|
16
|
-
RDoc do |s|
|
17
|
-
s.tracks = 'site'
|
18
|
-
s.format = 'newfish'
|
19
|
-
s.include = [ 'lib', '[A-Z]*' ]
|
20
|
-
s.exclude = [ 'Redfile', 'lib/plugins/sow' ]
|
21
|
-
s.extra = nil
|
22
|
-
end
|
23
|
-
|
24
|
-
RI do |s|
|
25
|
-
s.exclude = [ 'lib/plugins/sow' ]
|
26
|
-
s.active = true
|
27
|
-
end
|
28
|
-
|
29
|
-
Stats do |s|
|
30
|
-
s.priority = -1
|
31
|
-
s.active = true
|
32
|
-
end
|
33
|
-
|
34
|
-
Syntax do |s|
|
35
|
-
s.exclude = ['plug/sow/seeds']
|
36
|
-
s.active = false
|
37
|
-
end
|
38
|
-
|
39
|
-
Turn do |s|
|
40
|
-
s.active = false
|
41
|
-
end
|
42
|
-
|
43
|
-
Testrb do |s|
|
44
|
-
s.active = true
|
45
|
-
end
|
46
|
-
|
47
|
-
Yard do |s|
|
48
|
-
s.active = false
|
49
|
-
end
|
50
|
-
|
51
|
-
#Rubyforge :rubyforge,
|
52
|
-
# service: forge,
|
53
|
-
# sitemap: {
|
54
|
-
# site: syckle
|
55
|
-
# },
|
56
|
-
# active: false
|
57
|
-
|