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
@@ -0,0 +1,21 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>define (Reap::RDocTask)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap2/rdoc-task.rb, line 22</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define</span>
|
15
|
+
<span class="ruby-identifier">desc</span> <span class="ruby-value str">"Generate RDocs."</span>
|
16
|
+
<span class="ruby-identifier">task</span> <span class="ruby-identifier">:rdoc</span> <span class="ruby-keyword kw">do</span>
|
17
|
+
<span class="ruby-identifier">run_rdoc</span>
|
18
|
+
<span class="ruby-keyword kw">end</span>
|
19
|
+
<span class="ruby-keyword kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1,53 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>run_rdoc (Reap::RDocTask)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap2/rdoc-task.rb, line 31</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run_rdoc</span>
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-ivar">@main</span>) <span class="ruby-keyword kw">or</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@main</span>)
|
16
|
+
<span class="ruby-identifier">warn</span> <span class="ruby-node">"Specified RDoc Main file #{@main} not found. Ignored."</span>
|
17
|
+
<span class="ruby-ivar">@main</span> = <span class="ruby-keyword kw">nil</span>
|
18
|
+
<span class="ruby-keyword kw">end</span>
|
19
|
+
<span class="ruby-identifier">rdoc_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-ivar">@dir</span>)
|
20
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">FileTest</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@dir</span>)
|
21
|
+
<span class="ruby-identifier">print</span> <span class="ruby-node">"Directory '#{@dir}' already exists. Clobber? [y/N] "</span>
|
22
|
+
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">inp</span> = <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">gets</span>[<span class="ruby-value">0</span>,<span class="ruby-value">1</span>] ; <span class="ruby-identifier">sleep</span> <span class="ruby-value">1</span> ; <span class="ruby-keyword kw">end</span> ; <span class="ruby-identifier">puts</span>
|
23
|
+
<span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">inp</span> <span class="ruby-operator">||</span> <span class="ruby-value str">'y'</span>).<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'y'</span>
|
24
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Removing old directory '#{rdoc_dir}'..."</span>
|
25
|
+
<span class="ruby-comment cmt">#FileUtils.mkdir_p(".trash") unless FileTest.directory?(".trash")</span>
|
26
|
+
<span class="ruby-comment cmt">#trashdir = ".trash/#{File.basename(@dir)}"</span>
|
27
|
+
<span class="ruby-comment cmt">#FileUtils.rm_r(trashdir) if FileTest.exists?(trashdir)</span>
|
28
|
+
<span class="ruby-comment cmt">#FileUtils.mv(@dir, trashdir)</span>
|
29
|
+
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_r</span>(<span class="ruby-ivar">@dir</span>)
|
30
|
+
<span class="ruby-keyword kw">else</span>
|
31
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"Reap rdoc task canceled."</span>
|
32
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
33
|
+
<span class="ruby-keyword kw">end</span>
|
34
|
+
<span class="ruby-keyword kw">end</span>
|
35
|
+
<span class="ruby-identifier">rdoc_target</span> = <span class="ruby-node">"#{rdoc_dir}/index.html"</span>
|
36
|
+
<span class="ruby-comment cmt"># rdoc files</span>
|
37
|
+
<span class="ruby-identifier">rdoc_files</span> = <span class="ruby-constant">FileList</span>.<span class="ruby-identifier">new</span>
|
38
|
+
<span class="ruby-identifier">rdoc_files</span>.<span class="ruby-identifier">include</span>(<span class="ruby-operator">*</span><span class="ruby-ivar">@include</span>)
|
39
|
+
<span class="ruby-identifier">rdoc_files</span>.<span class="ruby-identifier">exclude</span>(<span class="ruby-operator">*</span><span class="ruby-ivar">@exclude</span>)
|
40
|
+
<span class="ruby-identifier">rdoc_files</span> = <span class="ruby-value str">'"'</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">rdoc_files</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">'" "'</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">'"'</span>
|
41
|
+
<span class="ruby-comment cmt"># build options string</span>
|
42
|
+
<span class="ruby-identifier">build</span> = <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">dup</span>
|
43
|
+
<span class="ruby-identifier">build</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"--main '#{@main}'"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@main</span>
|
44
|
+
<span class="ruby-identifier">build</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"--title '#{@title}'"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@title</span>
|
45
|
+
<span class="ruby-identifier">build</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-T '#{@template}'"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@template</span>
|
46
|
+
<span class="ruby-identifier">rdoc_opts</span> = <span class="ruby-identifier">build</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>)
|
47
|
+
<span class="ruby-comment cmt"># do it!</span>
|
48
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"Reap is shelling work out to RDoc..."</span>
|
49
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">%{rdoc -o #{@dir} #{rdoc_opts}}</span>
|
50
|
+
<span class="ruby-identifier">sh</span> <span class="ruby-node">%{rdoc -o #{rdoc_dir} #{rdoc_opts} #{rdoc_files}}</span>
|
51
|
+
<span class="ruby-keyword kw">end</span></pre>
|
52
|
+
</body>
|
53
|
+
</html>
|
@@ -0,0 +1,319 @@
|
|
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>Class: Reap::Task</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="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Reap::Task</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/reap2/task_rb.html">
|
59
|
+
lib/reap2/task.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Rake::TaskLib
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
Base class for reap tasks.
|
84
|
+
</p>
|
85
|
+
<p>
|
86
|
+
When creating a specifc task, subclass this one and create two class-level
|
87
|
+
methods task and desc. task will return the name of the task and desc a
|
88
|
+
description of the task. Then create an instance method called setup to do
|
89
|
+
any initial preping. Usually that means assigning some instance vars from
|
90
|
+
the Reapfile configutration. You can use section[<name>] for settings
|
91
|
+
from the task’s particular section (as determined by self.task method
|
92
|
+
above) and/or use master[<name>] for top-level settings. Finally
|
93
|
+
write a run method that preforms the actual task.
|
94
|
+
</p>
|
95
|
+
<p>
|
96
|
+
Here’s an oh so simple example:
|
97
|
+
</p>
|
98
|
+
<pre>
|
99
|
+
class MyTask < Task
|
100
|
+
def self.task ; 'mytask' ; end
|
101
|
+
def self.desc ; 'This is my first custom task.' ; end
|
102
|
+
|
103
|
+
def setup
|
104
|
+
@message = section['message'] || master['default'] || 'None Found!'
|
105
|
+
end
|
106
|
+
|
107
|
+
def run
|
108
|
+
puts @message
|
109
|
+
end
|
110
|
+
end
|
111
|
+
</pre>
|
112
|
+
<p>
|
113
|
+
This corresponding settings in the Reapfile will then be:
|
114
|
+
</p>
|
115
|
+
<pre>
|
116
|
+
default: Default text, if any.
|
117
|
+
|
118
|
+
mytask:
|
119
|
+
message: Message text, if any.
|
120
|
+
</pre>
|
121
|
+
<p>
|
122
|
+
<a href="../Reap.html">Reap</a> automatically handles multiple task runs if
|
123
|
+
an array is provided under the task section instead of a single mapping.
|
124
|
+
For example:
|
125
|
+
</p>
|
126
|
+
<pre>
|
127
|
+
mytask:
|
128
|
+
-
|
129
|
+
message: First Run.
|
130
|
+
-
|
131
|
+
message: Second Run.
|
132
|
+
</pre>
|
133
|
+
|
134
|
+
</div>
|
135
|
+
|
136
|
+
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div id="method-list">
|
140
|
+
<h3 class="section-bar">Methods</h3>
|
141
|
+
|
142
|
+
<div class="name-list">
|
143
|
+
<a href="#M000026">define</a>
|
144
|
+
<a href="#M000025">init</a>
|
145
|
+
<a href="#M000027">load_config</a>
|
146
|
+
<a href="#M000028">master</a>
|
147
|
+
<a href="#M000024">new</a>
|
148
|
+
<a href="#M000029">section</a>
|
149
|
+
<a href="#M000030">section_name</a>
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
<!-- if includes -->
|
157
|
+
|
158
|
+
<div id="section">
|
159
|
+
|
160
|
+
|
161
|
+
<div id="constants-list">
|
162
|
+
<h3 class="section-bar">Constants</h3>
|
163
|
+
|
164
|
+
<div class="name-list">
|
165
|
+
<table summary="Constants">
|
166
|
+
<tr class="top-aligned-row context-row">
|
167
|
+
<td class="context-item-name">RUBY</td>
|
168
|
+
<td>=</td>
|
169
|
+
<td class="context-item-value">Config::CONFIG['ruby_install_name']</td>
|
170
|
+
</tr>
|
171
|
+
<tr class="top-aligned-row context-row">
|
172
|
+
<td class="context-item-name">DEFAULT_INCLUDE</td>
|
173
|
+
<td>=</td>
|
174
|
+
<td class="context-item-value">[ '[A-Z]*', 'setup.rb', 'lib/**/*', 'bin/**/*', 'data/**/*', 'doc/**/*', 'rdoc/**/*', 'test/**/*', 'bench/**/*', 'demo/**/*', 'samples/**/*', 'examples/**/*' ]</td>
|
175
|
+
</tr>
|
176
|
+
<tr class="top-aligned-row context-row">
|
177
|
+
<td class="context-item-name">MUST_EXCLUDE</td>
|
178
|
+
<td>=</td>
|
179
|
+
<td class="context-item-value">[ 'InstalledFiles', '**/CVS/**/*', '**/*~' ]</td>
|
180
|
+
</tr>
|
181
|
+
</table>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
<div id="attribute-list">
|
188
|
+
<h3 class="section-bar">Attributes</h3>
|
189
|
+
|
190
|
+
<div class="name-list">
|
191
|
+
<table>
|
192
|
+
<tr class="top-aligned-row context-row">
|
193
|
+
<td class="context-item-name">config</td>
|
194
|
+
<td class="context-item-value"> [R] </td>
|
195
|
+
<td class="context-item-desc"></td>
|
196
|
+
</tr>
|
197
|
+
</table>
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<!-- if method_list -->
|
204
|
+
<div id="methods">
|
205
|
+
<h3 class="section-bar">Public Class methods</h3>
|
206
|
+
|
207
|
+
<div id="method-M000024" class="method-detail">
|
208
|
+
<a name="M000024"></a>
|
209
|
+
|
210
|
+
<div class="method-heading">
|
211
|
+
<a href="Task.src/M000024.html" target="Code" class="method-signature"
|
212
|
+
onclick="popupCode('Task.src/M000024.html');return false;">
|
213
|
+
<span class="method-name">new</span><span class="method-args">( {|| ...}</span>
|
214
|
+
</a>
|
215
|
+
</div>
|
216
|
+
|
217
|
+
<div class="method-description">
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
<div id="method-M000030" class="method-detail">
|
222
|
+
<a name="M000030"></a>
|
223
|
+
|
224
|
+
<div class="method-heading">
|
225
|
+
<a href="Task.src/M000030.html" target="Code" class="method-signature"
|
226
|
+
onclick="popupCode('Task.src/M000030.html');return false;">
|
227
|
+
<span class="method-name">section_name</span><span class="method-args">(n=nil)</span>
|
228
|
+
</a>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<div class="method-description">
|
232
|
+
</div>
|
233
|
+
</div>
|
234
|
+
|
235
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
236
|
+
|
237
|
+
<div id="method-M000026" class="method-detail">
|
238
|
+
<a name="M000026"></a>
|
239
|
+
|
240
|
+
<div class="method-heading">
|
241
|
+
<a href="Task.src/M000026.html" target="Code" class="method-signature"
|
242
|
+
onclick="popupCode('Task.src/M000026.html');return false;">
|
243
|
+
<span class="method-name">define</span><span class="method-args">()</span>
|
244
|
+
</a>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
<div class="method-description">
|
248
|
+
</div>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
<div id="method-M000025" class="method-detail">
|
252
|
+
<a name="M000025"></a>
|
253
|
+
|
254
|
+
<div class="method-heading">
|
255
|
+
<a href="Task.src/M000025.html" target="Code" class="method-signature"
|
256
|
+
onclick="popupCode('Task.src/M000025.html');return false;">
|
257
|
+
<span class="method-name">init</span><span class="method-args">()</span>
|
258
|
+
</a>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
<div class="method-description">
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
|
265
|
+
<div id="method-M000027" class="method-detail">
|
266
|
+
<a name="M000027"></a>
|
267
|
+
|
268
|
+
<div class="method-heading">
|
269
|
+
<a href="Task.src/M000027.html" target="Code" class="method-signature"
|
270
|
+
onclick="popupCode('Task.src/M000027.html');return false;">
|
271
|
+
<span class="method-name">load_config</span><span class="method-args">( config_file=nil )</span>
|
272
|
+
</a>
|
273
|
+
</div>
|
274
|
+
|
275
|
+
<div class="method-description">
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<div id="method-M000028" class="method-detail">
|
280
|
+
<a name="M000028"></a>
|
281
|
+
|
282
|
+
<div class="method-heading">
|
283
|
+
<a href="Task.src/M000028.html" target="Code" class="method-signature"
|
284
|
+
onclick="popupCode('Task.src/M000028.html');return false;">
|
285
|
+
<span class="method-name">master</span><span class="method-args">()</span>
|
286
|
+
</a>
|
287
|
+
</div>
|
288
|
+
|
289
|
+
<div class="method-description">
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
|
293
|
+
<div id="method-M000029" class="method-detail">
|
294
|
+
<a name="M000029"></a>
|
295
|
+
|
296
|
+
<div class="method-heading">
|
297
|
+
<a href="Task.src/M000029.html" target="Code" class="method-signature"
|
298
|
+
onclick="popupCode('Task.src/M000029.html');return false;">
|
299
|
+
<span class="method-name">section</span><span class="method-args">()</span>
|
300
|
+
</a>
|
301
|
+
</div>
|
302
|
+
|
303
|
+
<div class="method-description">
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
|
307
|
+
|
308
|
+
</div>
|
309
|
+
|
310
|
+
|
311
|
+
</div>
|
312
|
+
|
313
|
+
|
314
|
+
<div id="validator-badges">
|
315
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
316
|
+
</div>
|
317
|
+
|
318
|
+
</body>
|
319
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>new (Reap::Task)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap2/task.rb, line 68</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-comment cmt">#:yield:</span>
|
15
|
+
<span class="ruby-identifier">load_config</span>
|
16
|
+
<span class="ruby-identifier">init</span>
|
17
|
+
<span class="ruby-keyword kw">yield</span>( <span class="ruby-keyword kw">self</span> ) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
18
|
+
<span class="ruby-identifier">define</span>
|
19
|
+
<span class="ruby-keyword kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>init (Reap::Task)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap2/task.rb, line 75</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
|
15
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"not implemented"</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>define (Reap::Task)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap2/task.rb, line 79</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define</span>
|
15
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"not implemented"</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|