reap 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ANN-0.6.1 +3 -0
- data/Rakefile +19 -0
- data/Reapfile +46 -33
- data/data/site_ruby/reap/template.yaml +94 -0
- data/lib/reap/announce-task.rb +159 -0
- data/lib/reap/chmod-task.rb +82 -0
- data/lib/reap/package-task.rb +165 -0
- data/lib/reap/publish-task.rb +53 -0
- data/lib/reap/rdoc-task.rb +70 -0
- data/lib/reap/reap-all.rb +15 -0
- data/lib/reap/task.rb +177 -118
- data/lib/reap/template-task.rb +40 -0
- data/lib/reap/test-task.rb +159 -0
- data/pub/www/Reapfile +99 -0
- data/pub/www/images/appleboy.jpg +0 -0
- data/pub/www/index.html +49 -5
- data/{doc/files/LICENSE.html → pub/www/rdoc/classes/Reap.html} +32 -33
- data/pub/www/rdoc/classes/Reap/AnnounceTask.html +154 -0
- data/pub/www/rdoc/classes/Reap/AnnounceTask.src/M000031.html +111 -0
- data/pub/www/rdoc/classes/Reap/AnnounceTask.src/M000032.html +46 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.html +220 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000015.html +21 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000016.html +21 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000017.html +42 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000018.html +26 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.html +181 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000001.html +49 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000002.html +74 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000003.html +51 -0
- data/pub/www/rdoc/classes/Reap/PublishTask.html +160 -0
- data/pub/www/rdoc/classes/Reap/PublishTask.src/M000019.html +24 -0
- data/pub/www/rdoc/classes/Reap/PublishTask.src/M000020.html +38 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.html +220 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000004.html +24 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000005.html +21 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000006.html +53 -0
- data/pub/www/rdoc/classes/Reap/Task.html +319 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000024.html +21 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000025.html +18 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000026.html +18 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000027.html +28 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000028.html +16 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000029.html +18 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000030.html +19 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.html +182 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000021.html +18 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000022.html +21 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000023.html +34 -0
- data/pub/www/rdoc/classes/Reap/TestTask.html +228 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000007.html +25 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000008.html +21 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000009.html +77 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000010.html +27 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000011.html +36 -0
- data/{doc → pub/www/rdoc}/classes/Reap/TestTask/TestResults.html +23 -55
- data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000012.html +21 -0
- data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000013.html +21 -0
- data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000014.html +23 -0
- data/pub/www/rdoc/created.rid +1 -0
- data/{doc/files/lib/reap/tasks → pub/www/rdoc/files/lib/reap2}/announce-task_rb.html +3 -3
- data/{doc/files/lib/reap/task_rb.html → pub/www/rdoc/files/lib/reap2/chmod-task_rb.html} +5 -5
- data/pub/www/{doc/files/lib/reap/tasks → rdoc/files/lib/reap2}/package-task_rb.html +3 -3
- data/pub/www/{doc/files/lib/reap/template_rb.html → rdoc/files/lib/reap2/publish-task_rb.html} +10 -4
- data/pub/www/{doc/files/lib/reap/task_rb.html → rdoc/files/lib/reap2/rdoc-task_rb.html} +5 -5
- data/pub/www/{doc/files/lib/reap/reap_rb.html → rdoc/files/lib/reap2/reap-all_rb.html} +7 -7
- data/{doc/files/lib/reap/runner_rb.html → pub/www/rdoc/files/lib/reap2/task_rb.html} +7 -8
- data/pub/www/{doc/files/lib/reap/tasks → rdoc/files/lib/reap2}/template-task_rb.html +4 -4
- data/{doc/files/lib/reap/tasks → pub/www/rdoc/files/lib/reap2}/test-task_rb.html +10 -4
- data/{doc → pub/www/rdoc}/fr_class_index.html +0 -1
- data/pub/www/rdoc/fr_file_index.html +35 -0
- data/pub/www/rdoc/fr_method_index.html +58 -0
- data/{doc → pub/www/rdoc}/index.html +1 -1
- data/{doc → pub/www/rdoc}/rdoc-style.css +0 -0
- data/test/tc_reap.rb +11 -0
- metadata +98 -112
- data/bin/reap +0 -103
- data/doc/classes/Reap.html +0 -184
- data/doc/classes/Reap/AnnounceTask.html +0 -339
- data/doc/classes/Reap/ChmodTask.html +0 -277
- data/doc/classes/Reap/PackageTask.html +0 -374
- data/doc/classes/Reap/PublishTask.html +0 -237
- data/doc/classes/Reap/RDocTask.html +0 -254
- data/doc/classes/Reap/Runner.html +0 -299
- data/doc/classes/Reap/Task.html +0 -438
- data/doc/classes/Reap/TemplateTask.html +0 -226
- data/doc/classes/Reap/TestTask.html +0 -354
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -194
- data/doc/files/lib/reap/reap_rb.html +0 -111
- data/doc/files/lib/reap/tasks/chmod-task_rb.html +0 -101
- data/doc/files/lib/reap/tasks/package-task_rb.html +0 -108
- data/doc/files/lib/reap/tasks/publish-task_rb.html +0 -101
- data/doc/files/lib/reap/tasks/rdoc-task_rb.html +0 -101
- data/doc/files/lib/reap/tasks/template-task_rb.html +0 -109
- data/doc/fr_file_index.html +0 -38
- data/doc/fr_method_index.html +0 -73
- data/lib/reap/reap.rb +0 -13
- data/lib/reap/runner.rb +0 -90
- data/lib/reap/tasks/announce-task.rb +0 -149
- data/lib/reap/tasks/chmod-task.rb +0 -69
- data/lib/reap/tasks/package-task.rb +0 -157
- data/lib/reap/tasks/publish-task.rb +0 -39
- data/lib/reap/tasks/rdoc-task.rb +0 -55
- data/lib/reap/tasks/template-task.rb +0 -39
- data/lib/reap/tasks/test-task.rb +0 -140
- data/pub/www/doc/classes/Reap.html +0 -184
- data/pub/www/doc/classes/Reap/AnnounceTask.html +0 -331
- data/pub/www/doc/classes/Reap/ChmodTask.html +0 -278
- data/pub/www/doc/classes/Reap/PackageTask.html +0 -372
- data/pub/www/doc/classes/Reap/PublishTask.html +0 -231
- data/pub/www/doc/classes/Reap/RDocTask.html +0 -254
- data/pub/www/doc/classes/Reap/Runner.html +0 -307
- data/pub/www/doc/classes/Reap/Task.html +0 -390
- data/pub/www/doc/classes/Reap/TemplateTask.html +0 -233
- data/pub/www/doc/classes/Reap/TestTask.html +0 -242
- data/pub/www/doc/created.rid +0 -1
- data/pub/www/doc/files/LICENSE.html +0 -119
- data/pub/www/doc/files/README.html +0 -194
- data/pub/www/doc/files/lib/reap/runner_rb.html +0 -113
- data/pub/www/doc/files/lib/reap/tasks/announce-task_rb.html +0 -113
- data/pub/www/doc/files/lib/reap/tasks/chmod-task_rb.html +0 -101
- data/pub/www/doc/files/lib/reap/tasks/publish-task_rb.html +0 -101
- data/pub/www/doc/files/lib/reap/tasks/rdoc-task_rb.html +0 -101
- data/pub/www/doc/files/lib/reap/tasks/test-task_rb.html +0 -101
- data/pub/www/doc/fr_class_index.html +0 -36
- data/pub/www/doc/fr_file_index.html +0 -39
- data/pub/www/doc/fr_method_index.html +0 -69
- data/pub/www/doc/index.html +0 -24
- data/pub/www/doc/rdoc-style.css +0 -208
- data/test/tc_require.rb +0 -11
@@ -1,101 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: publish-task.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>publish-task.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/reap/tasks/publish-task.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Thu Aug 11 05:42:45 EDT 2005</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
</div>
|
74
|
-
|
75
|
-
|
76
|
-
</div>
|
77
|
-
|
78
|
-
|
79
|
-
<!-- if includes -->
|
80
|
-
|
81
|
-
<div id="section">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
<!-- if method_list -->
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
<div id="validator-badges">
|
97
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
</body>
|
101
|
-
</html>
|
@@ -1,101 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: rdoc-task.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>rdoc-task.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/reap/tasks/rdoc-task.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Thu Aug 11 05:39:35 EDT 2005</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
</div>
|
74
|
-
|
75
|
-
|
76
|
-
</div>
|
77
|
-
|
78
|
-
|
79
|
-
<!-- if includes -->
|
80
|
-
|
81
|
-
<div id="section">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
<!-- if method_list -->
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
<div id="validator-badges">
|
97
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
</body>
|
101
|
-
</html>
|
@@ -1,109 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: template-task.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>template-task.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/reap/tasks/template-task.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Fri Aug 12 13:55:59 EDT 2005</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
|
72
|
-
<div id="requires-list">
|
73
|
-
<h3 class="section-bar">Required files</h3>
|
74
|
-
|
75
|
-
<div class="name-list">
|
76
|
-
fileutils
|
77
|
-
rbconfig
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
</div>
|
82
|
-
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
|
87
|
-
<!-- if includes -->
|
88
|
-
|
89
|
-
<div id="section">
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<!-- if method_list -->
|
99
|
-
|
100
|
-
|
101
|
-
</div>
|
102
|
-
|
103
|
-
|
104
|
-
<div id="validator-badges">
|
105
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
106
|
-
</div>
|
107
|
-
|
108
|
-
</body>
|
109
|
-
</html>
|
data/doc/fr_file_index.html
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
|
2
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
-
<!DOCTYPE html
|
4
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
<!--
|
8
|
-
|
9
|
-
Files
|
10
|
-
|
11
|
-
-->
|
12
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
-
<head>
|
14
|
-
<title>Files</title>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
-
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
-
<base target="docwin" />
|
18
|
-
</head>
|
19
|
-
<body>
|
20
|
-
<div id="index">
|
21
|
-
<h1 class="section-bar">Files</h1>
|
22
|
-
<div id="index-entries">
|
23
|
-
<a href="files/LICENSE.html">LICENSE</a><br />
|
24
|
-
<a href="files/README.html">README</a><br />
|
25
|
-
<a href="files/lib/reap/reap_rb.html">lib/reap/reap.rb</a><br />
|
26
|
-
<a href="files/lib/reap/runner_rb.html">lib/reap/runner.rb</a><br />
|
27
|
-
<a href="files/lib/reap/task_rb.html">lib/reap/task.rb</a><br />
|
28
|
-
<a href="files/lib/reap/tasks/announce-task_rb.html">lib/reap/tasks/announce-task.rb</a><br />
|
29
|
-
<a href="files/lib/reap/tasks/chmod-task_rb.html">lib/reap/tasks/chmod-task.rb</a><br />
|
30
|
-
<a href="files/lib/reap/tasks/package-task_rb.html">lib/reap/tasks/package-task.rb</a><br />
|
31
|
-
<a href="files/lib/reap/tasks/publish-task_rb.html">lib/reap/tasks/publish-task.rb</a><br />
|
32
|
-
<a href="files/lib/reap/tasks/rdoc-task_rb.html">lib/reap/tasks/rdoc-task.rb</a><br />
|
33
|
-
<a href="files/lib/reap/tasks/template-task_rb.html">lib/reap/tasks/template-task.rb</a><br />
|
34
|
-
<a href="files/lib/reap/tasks/test-task_rb.html">lib/reap/tasks/test-task.rb</a><br />
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</body>
|
38
|
-
</html>
|
data/doc/fr_method_index.html
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
|
2
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
-
<!DOCTYPE html
|
4
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
<!--
|
8
|
-
|
9
|
-
Methods
|
10
|
-
|
11
|
-
-->
|
12
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
-
<head>
|
14
|
-
<title>Methods</title>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
-
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
-
<base target="docwin" />
|
18
|
-
</head>
|
19
|
-
<body>
|
20
|
-
<div id="index">
|
21
|
-
<h1 class="section-bar">Methods</h1>
|
22
|
-
<div id="index-entries">
|
23
|
-
<a href="classes/Reap/TestTask/TestResults.html#M000017"><< (Reap::TestTask::TestResults)</a><br />
|
24
|
-
<a href="classes/Reap/Task.html#M000040">[] (Reap::Task)</a><br />
|
25
|
-
<a href="classes/Reap/Runner.html#M000035">acknowledge (Reap::Runner)</a><br />
|
26
|
-
<a href="classes/Reap/Runner.html#M000033">call (Reap::Runner)</a><br />
|
27
|
-
<a href="classes/Reap/ChmodTask.html#M000023">chmod (Reap::ChmodTask)</a><br />
|
28
|
-
<a href="classes/Reap/ChmodTask.html#M000020">desc (Reap::ChmodTask)</a><br />
|
29
|
-
<a href="classes/Reap/RDocTask.html#M000007">desc (Reap::RDocTask)</a><br />
|
30
|
-
<a href="classes/Reap/PublishTask.html#M000025">desc (Reap::PublishTask)</a><br />
|
31
|
-
<a href="classes/Reap/TemplateTask.html#M000029">desc (Reap::TemplateTask)</a><br />
|
32
|
-
<a href="classes/Reap/PackageTask.html#M000002">desc (Reap::PackageTask)</a><br />
|
33
|
-
<a href="classes/Reap/TestTask.html#M000011">desc (Reap::TestTask)</a><br />
|
34
|
-
<a href="classes/Reap/AnnounceTask.html#M000045">desc (Reap::AnnounceTask)</a><br />
|
35
|
-
<a href="classes/Reap/TestTask.html#M000015">fork_test (Reap::TestTask)</a><br />
|
36
|
-
<a href="classes/Reap/Task.html#M000036">inherited (Reap::Task)</a><br />
|
37
|
-
<a href="classes/Reap/Task.html#M000039">new (Reap::Task)</a><br />
|
38
|
-
<a href="classes/Reap/Runner.html#M000031">new (Reap::Runner)</a><br />
|
39
|
-
<a href="classes/Reap/TestTask/TestResults.html#M000016">new (Reap::TestTask::TestResults)</a><br />
|
40
|
-
<a href="classes/Reap/Task.html#M000043">package_name (Reap::Task)</a><br />
|
41
|
-
<a href="classes/Reap/Task.html#M000037">registry (Reap::Task)</a><br />
|
42
|
-
<a href="classes/Reap/Task.html#M000042">ruby (Reap::Task)</a><br />
|
43
|
-
<a href="classes/Reap/AnnounceTask.html#M000047">run (Reap::AnnounceTask)</a><br />
|
44
|
-
<a href="classes/Reap/ChmodTask.html#M000022">run (Reap::ChmodTask)</a><br />
|
45
|
-
<a href="classes/Reap/PackageTask.html#M000004">run (Reap::PackageTask)</a><br />
|
46
|
-
<a href="classes/Reap/Runner.html#M000034">run (Reap::Runner)</a><br />
|
47
|
-
<a href="classes/Reap/TestTask.html#M000013">run (Reap::TestTask)</a><br />
|
48
|
-
<a href="classes/Reap/TemplateTask.html#M000030">run (Reap::TemplateTask)</a><br />
|
49
|
-
<a href="classes/Reap/PublishTask.html#M000027">run (Reap::PublishTask)</a><br />
|
50
|
-
<a href="classes/Reap/RDocTask.html#M000009">run (Reap::RDocTask)</a><br />
|
51
|
-
<a href="classes/Reap/PackageTask.html#M000005">run_gem (Reap::PackageTask)</a><br />
|
52
|
-
<a href="classes/Reap/TestTask.html#M000014">run_test (Reap::TestTask)</a><br />
|
53
|
-
<a href="classes/Reap/TestTask.html#M000012">setup (Reap::TestTask)</a><br />
|
54
|
-
<a href="classes/Reap/AnnounceTask.html#M000046">setup (Reap::AnnounceTask)</a><br />
|
55
|
-
<a href="classes/Reap/RDocTask.html#M000008">setup (Reap::RDocTask)</a><br />
|
56
|
-
<a href="classes/Reap/ChmodTask.html#M000021">setup (Reap::ChmodTask)</a><br />
|
57
|
-
<a href="classes/Reap/PackageTask.html#M000003">setup (Reap::PackageTask)</a><br />
|
58
|
-
<a href="classes/Reap/PublishTask.html#M000026">setup (Reap::PublishTask)</a><br />
|
59
|
-
<a href="classes/Reap/Task.html#M000041">sh (Reap::Task)</a><br />
|
60
|
-
<a href="classes/Reap/PublishTask.html#M000024">task (Reap::PublishTask)</a><br />
|
61
|
-
<a href="classes/Reap/PackageTask.html#M000001">task (Reap::PackageTask)</a><br />
|
62
|
-
<a href="classes/Reap/TemplateTask.html#M000028">task (Reap::TemplateTask)</a><br />
|
63
|
-
<a href="classes/Reap/RDocTask.html#M000006">task (Reap::RDocTask)</a><br />
|
64
|
-
<a href="classes/Reap/ChmodTask.html#M000019">task (Reap::ChmodTask)</a><br />
|
65
|
-
<a href="classes/Reap/TestTask.html#M000010">task (Reap::TestTask)</a><br />
|
66
|
-
<a href="classes/Reap/AnnounceTask.html#M000044">task (Reap::AnnounceTask)</a><br />
|
67
|
-
<a href="classes/Reap/Runner.html#M000032">task? (Reap::Runner)</a><br />
|
68
|
-
<a href="classes/Reap/Task.html#M000038">tasks (Reap::Task)</a><br />
|
69
|
-
<a href="classes/Reap/TestTask/TestResults.html#M000018">to_s (Reap::TestTask::TestResults)</a><br />
|
70
|
-
</div>
|
71
|
-
</div>
|
72
|
-
</body>
|
73
|
-
</html>
|
data/lib/reap/reap.rb
DELETED
data/lib/reap/runner.rb
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'yaml'
|
3
|
-
require 'fileutils'
|
4
|
-
|
5
|
-
require 'nano'
|
6
|
-
require 'nano/fileutils/safe_ln'
|
7
|
-
#require 'nano/hash/to_ostruct'
|
8
|
-
require 'nano/hash/traverse'
|
9
|
-
require 'nano/hash/has_keys?'
|
10
|
-
|
11
|
-
require 'mega/filelist'
|
12
|
-
|
13
|
-
|
14
|
-
# class Hash
|
15
|
-
# def downcase_keys!
|
16
|
-
# new_hash = {}
|
17
|
-
# self.each_pair { |k,v| new_hash[k.to_s.downcase] = v }
|
18
|
-
# self.replace( new_hash )
|
19
|
-
# end
|
20
|
-
# end
|
21
|
-
|
22
|
-
|
23
|
-
module Reap
|
24
|
-
|
25
|
-
#
|
26
|
-
# Main Runner class
|
27
|
-
#
|
28
|
-
class Runner
|
29
|
-
|
30
|
-
attr_reader :config
|
31
|
-
|
32
|
-
def initialize( config_file=nil )
|
33
|
-
config_file ||= 'Reapfile'
|
34
|
-
if File.file?( config_file )
|
35
|
-
# load config file
|
36
|
-
@config = YAML.load( File.open( config_file ) ).traverse{ |k,v| [k.downcase, v] }
|
37
|
-
# required main parameters
|
38
|
-
raise "TITLE is a required configuration field" unless @config['title']
|
39
|
-
raise "NAME is a required configuration field" unless @config['name']
|
40
|
-
raise "VERSION is a required configuration field" unless @config['version']
|
41
|
-
else
|
42
|
-
@config = {}
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
def task?( tsk )
|
47
|
-
tsk = tsk.to_s.downcase.to_sym
|
48
|
-
case tsk
|
49
|
-
when :acknowledge, :show
|
50
|
-
return true
|
51
|
-
else
|
52
|
-
return true if Reap::Task.tasks.include?( tsk )
|
53
|
-
end
|
54
|
-
false
|
55
|
-
end
|
56
|
-
|
57
|
-
def call( tsk, *args )
|
58
|
-
tsk = tsk.to_s.downcase.to_sym
|
59
|
-
case tsk
|
60
|
-
when :acknowledge, :show
|
61
|
-
acknowledge
|
62
|
-
else
|
63
|
-
run( tsk, *args )
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
def run( tsk, *args )
|
68
|
-
task_class = Task.registry.find { |t| t.task.to_sym == tsk }
|
69
|
-
#raise "Task undefined." unless task_class # should not happen
|
70
|
-
name = task_class.task.to_s.downcase
|
71
|
-
if Array === @config[name]
|
72
|
-
@config[name].each do |s|
|
73
|
-
sect = s.traverse{ |k,v| [k.downcase, v] }
|
74
|
-
task = task_class.new( @config, sect )
|
75
|
-
task.run
|
76
|
-
end
|
77
|
-
else
|
78
|
-
sect = @config[name] || {}
|
79
|
-
task = task_class.new( @config, sect )
|
80
|
-
task.run
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
def acknowledge
|
85
|
-
y @config
|
86
|
-
end
|
87
|
-
|
88
|
-
end #class Runner
|
89
|
-
|
90
|
-
end
|