reap 5.10.10 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +400 -8
- data/README +136 -75
- data/bin/reap +2 -2
- data/bin/rubytest +5 -0
- data/data/reap/scaffold/standard/COPYING +403 -0
- data/data/reap/scaffold/{ChangeLog → standard/ChangeLog} +0 -0
- data/data/reap/scaffold/standard/INSTALL +14 -0
- data/data/reap/scaffold/{ProjectInfo → standard/ProjectInfo} +23 -24
- data/data/reap/scaffold/standard/README +3 -0
- data/data/reap/scaffold/standard/Rakefile +10 -0
- data/{Rakefile → data/reap/scaffold/standard/TODO} +0 -0
- data/data/reap/scaffold/{setup.rb → standard/setup.rb} +287 -270
- data/data/reap/scaffold/subversion/trunk/COPYING +403 -0
- data/data/reap/scaffold/{INSTALL → subversion/trunk/ChangeLog} +0 -0
- data/data/reap/scaffold/subversion/trunk/INSTALL +14 -0
- data/data/reap/scaffold/subversion/trunk/ProjectInfo +76 -0
- data/data/reap/scaffold/subversion/trunk/README +3 -0
- data/data/reap/scaffold/subversion/trunk/Rakefile +10 -0
- data/data/reap/scaffold/{README → subversion/trunk/TODO} +0 -0
- data/data/reap/scaffold/subversion/trunk/setup.rb +1568 -0
- data/data/reap/setup.rb +1568 -0
- data/lib/reap/bin/reap.rb +176 -80
- data/lib/reap/bin/rubytest.rb +53 -0
- data/lib/reap/class/announce.rb +220 -0
- data/lib/reap/class/doap.rb +80 -0
- data/lib/reap/class/extest.rb +151 -0
- data/lib/reap/class/filer.rb +62 -0
- data/lib/reap/class/installer.rb +178 -0
- data/lib/reap/class/manifest.rb +72 -0
- data/lib/reap/class/package.rb +468 -0
- data/lib/reap/class/publish.rb +152 -0
- data/lib/reap/class/rdoc.rb +131 -0
- data/lib/reap/class/test.rb +269 -0
- data/lib/reap/projectinfo.rb +187 -30
- data/lib/reap/rake.rb +42 -0
- data/lib/reap/reap.rb +89 -0
- data/lib/reap/tasks.rb +672 -11
- data/lib/reap/taskutils.rb +122 -0
- data/sample/ProjectInfo +96 -0
- data/sample/Rakefile +9 -0
- data/sample/Reapfile +11 -0
- data/sample/task/demo.rb +15 -0
- data/setup.rb +287 -272
- metadata +99 -257
- data/ANN +0 -3
- data/ChangeLog +0 -25
- data/ProjectInfo +0 -65
- data/data/reap/scaffold/COPYING +0 -11
- data/data/reap/scaffold/Rakefile +0 -146
- data/data/reap/scaffold/Todo +0 -0
- data/dev/Rakefile +0 -60
- data/dev/composite_task.rb +0 -27
- data/dev/compositepublisher.rb +0 -24
- data/dev/ftptools.rb +0 -139
- data/dev/license-each.rb +0 -85
- data/dev/publisher.rb +0 -75
- data/dev/rubyforgepublisher.rb +0 -18
- data/dev/sshpublisher.rb +0 -47
- data/dev/suby-cvs.rb +0 -46
- data/dev/template.rb +0 -72
- data/lib/reap/lint.rb +0 -0
- data/lib/reap/readymade.rb +0 -21
- data/lib/reap/task.rb +0 -187
- data/lib/reap/task/announce.rb +0 -156
- data/lib/reap/task/fileperm.rb +0 -82
- data/lib/reap/task/info.rb +0 -20
- data/lib/reap/task/install.rb +0 -33
- data/lib/reap/task/noop.rb +0 -26
- data/lib/reap/task/package.rb +0 -204
- data/lib/reap/task/publish.rb +0 -49
- data/lib/reap/task/rdoc.rb +0 -82
- data/lib/reap/task/scaffold.rb +0 -114
- data/lib/reap/task/test.rb +0 -186
- data/lib/reap/task/testext.rb +0 -110
- data/lib/reap/task/webpublish.rb +0 -43
- data/lib/reap/test.rb +0 -138
- data/test/tc_reap.rb +0 -11
- data/web/ProjectInfo +0 -57
- data/web/images/appleboy.jpg +0 -0
- data/web/images/grape.jpg +0 -0
- data/web/index.html +0 -124
- data/web/rdoc/classes/Object.html +0 -121
- data/web/rdoc/classes/ProjectInfo.html +0 -207
- data/web/rdoc/classes/ProjectInfo.src/M000094.html +0 -18
- data/web/rdoc/classes/ProjectInfo.src/M000095.html +0 -24
- data/web/rdoc/classes/ProjectInfo.src/M000096.html +0 -22
- data/web/rdoc/classes/ProjectInfo.src/M000097.html +0 -21
- data/web/rdoc/classes/ProjectInfo.src/M000098.html +0 -18
- data/web/rdoc/classes/Reap.html +0 -248
- data/web/rdoc/classes/Reap.src/M000023.html +0 -16
- data/web/rdoc/classes/Reap.src/M000024.html +0 -21
- data/web/rdoc/classes/Reap.src/M000025.html +0 -16
- data/web/rdoc/classes/Reap.src/M000026.html +0 -21
- data/web/rdoc/classes/Reap/Announce.html +0 -262
- data/web/rdoc/classes/Reap/Announce.src/M000030.html +0 -18
- data/web/rdoc/classes/Reap/Announce.src/M000031.html +0 -114
- data/web/rdoc/classes/Reap/Announce.src/M000032.html +0 -46
- data/web/rdoc/classes/Reap/Info.html +0 -176
- data/web/rdoc/classes/Reap/Info.src/M000033.html +0 -18
- data/web/rdoc/classes/Reap/Info.src/M000034.html +0 -17
- data/web/rdoc/classes/Reap/Info.src/M000035.html +0 -18
- data/web/rdoc/classes/Reap/Install.html +0 -193
- data/web/rdoc/classes/Reap/Install.src/M000036.html +0 -18
- data/web/rdoc/classes/Reap/Install.src/M000037.html +0 -20
- data/web/rdoc/classes/Reap/Install.src/M000038.html +0 -26
- data/web/rdoc/classes/Reap/Noop.html +0 -192
- data/web/rdoc/classes/Reap/Noop.src/M000027.html +0 -18
- data/web/rdoc/classes/Reap/Noop.src/M000028.html +0 -17
- data/web/rdoc/classes/Reap/Noop.src/M000029.html +0 -18
- data/web/rdoc/classes/Reap/Package.html +0 -310
- data/web/rdoc/classes/Reap/Package.src/M000055.html +0 -18
- data/web/rdoc/classes/Reap/Package.src/M000056.html +0 -68
- data/web/rdoc/classes/Reap/Package.src/M000057.html +0 -84
- data/web/rdoc/classes/Reap/Package.src/M000058.html +0 -61
- data/web/rdoc/classes/Reap/Perm.html +0 -236
- data/web/rdoc/classes/Reap/Perm.src/M000078.html +0 -18
- data/web/rdoc/classes/Reap/Perm.src/M000079.html +0 -21
- data/web/rdoc/classes/Reap/Perm.src/M000080.html +0 -42
- data/web/rdoc/classes/Reap/Perm.src/M000081.html +0 -26
- data/web/rdoc/classes/Reap/Perm.src/M000082.html +0 -18
- data/web/rdoc/classes/Reap/Publish.html +0 -213
- data/web/rdoc/classes/Reap/Publish.src/M000070.html +0 -18
- data/web/rdoc/classes/Reap/Publish.src/M000071.html +0 -22
- data/web/rdoc/classes/Reap/Publish.src/M000072.html +0 -37
- data/web/rdoc/classes/Reap/RDoc.html +0 -218
- data/web/rdoc/classes/Reap/RDoc.src/M000059.html +0 -18
- data/web/rdoc/classes/Reap/RDoc.src/M000060.html +0 -24
- data/web/rdoc/classes/Reap/RDoc.src/M000061.html +0 -70
- data/web/rdoc/classes/Reap/Task.html +0 -396
- data/web/rdoc/classes/Reap/Task.src/M000039.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000040.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000041.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000042.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000043.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000044.html +0 -22
- data/web/rdoc/classes/Reap/Task.src/M000045.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000046.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000047.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000048.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000049.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000050.html +0 -27
- data/web/rdoc/classes/Reap/Task.src/M000051.html +0 -19
- data/web/rdoc/classes/Reap/Task.src/M000052.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000053.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000054.html +0 -19
- data/web/rdoc/classes/Reap/Test.html +0 -253
- data/web/rdoc/classes/Reap/Test.src/M000062.html +0 -18
- data/web/rdoc/classes/Reap/Test.src/M000063.html +0 -26
- data/web/rdoc/classes/Reap/Test.src/M000064.html +0 -77
- data/web/rdoc/classes/Reap/Test.src/M000065.html +0 -27
- data/web/rdoc/classes/Reap/Test.src/M000066.html +0 -50
- data/web/rdoc/classes/Reap/Test/TestResults.html +0 -205
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000067.html +0 -21
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000068.html +0 -21
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000069.html +0 -23
- data/web/rdoc/classes/Reap/TestExt.html +0 -234
- data/web/rdoc/classes/Reap/TestExt.src/M000073.html +0 -18
- data/web/rdoc/classes/Reap/TestExt.src/M000074.html +0 -20
- data/web/rdoc/classes/Reap/TestExt.src/M000075.html +0 -49
- data/web/rdoc/classes/Reap/TestExt.src/M000076.html +0 -34
- data/web/rdoc/classes/Reap/TestExt.src/M000077.html +0 -27
- data/web/rdoc/classes/Reap/WebPublish.html +0 -213
- data/web/rdoc/classes/Reap/WebPublish.src/M000083.html +0 -18
- data/web/rdoc/classes/Reap/WebPublish.src/M000084.html +0 -21
- data/web/rdoc/classes/Reap/WebPublish.src/M000085.html +0 -32
- data/web/rdoc/classes/ReapCommand.html +0 -425
- data/web/rdoc/classes/ReapCommand.src/M000001.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000003.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000005.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000007.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000009.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000011.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000013.html +0 -18
- data/web/rdoc/classes/ReapCommand.src/M000014.html +0 -19
- data/web/rdoc/classes/ReapCommand.src/M000015.html +0 -19
- data/web/rdoc/classes/ReapCommand.src/M000016.html +0 -24
- data/web/rdoc/classes/ReapCommand.src/M000018.html +0 -29
- data/web/rdoc/classes/Scaffold.html +0 -211
- data/web/rdoc/classes/Scaffold.src/M000086.html +0 -16
- data/web/rdoc/classes/Scaffold.src/M000087.html +0 -28
- data/web/rdoc/classes/Scaffold.src/M000088.html +0 -32
- data/web/rdoc/classes/Scaffold.src/M000089.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.html +0 -176
- data/web/rdoc/classes/UnitTestKernel.src/M000019.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.src/M000020.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.src/M000021.html +0 -22
- data/web/rdoc/classes/UnitTestKernel.src/M000022.html +0 -22
- data/web/rdoc/classes/UnitTesting.html +0 -165
- data/web/rdoc/classes/UnitTesting.src/M000090.html +0 -34
- data/web/rdoc/classes/UnitTesting.src/M000091.html +0 -18
- data/web/rdoc/classes/UnitTesting/Failure.html +0 -156
- data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +0 -18
- data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +0 -21
- data/web/rdoc/created.rid +0 -1
- data/web/rdoc/files/ANN.html +0 -107
- data/web/rdoc/files/COPYING.html +0 -119
- data/web/rdoc/files/ChangeLog.html +0 -144
- data/web/rdoc/files/ProjectInfo.html +0 -190
- data/web/rdoc/files/README.html +0 -274
- data/web/rdoc/files/Rakefile.html +0 -101
- data/web/rdoc/files/lib/reap/bin/reap_rb.html +0 -129
- data/web/rdoc/files/lib/reap/lint_rb.html +0 -101
- data/web/rdoc/files/lib/reap/projectinfo_rb.html +0 -110
- data/web/rdoc/files/lib/reap/readymade_rb.html +0 -123
- data/web/rdoc/files/lib/reap/task/announce_rb.html +0 -114
- data/web/rdoc/files/lib/reap/task/fileperm_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/info_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/install_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/noop_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/package_rb.html +0 -109
- data/web/rdoc/files/lib/reap/task/publish_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/rdoc_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/scaffold_rb.html +0 -107
- data/web/rdoc/files/lib/reap/task/test_rb.html +0 -110
- data/web/rdoc/files/lib/reap/task/testext_rb.html +0 -109
- data/web/rdoc/files/lib/reap/task/webpublish_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task_rb.html +0 -120
- data/web/rdoc/files/lib/reap/tasks_rb.html +0 -116
- data/web/rdoc/files/lib/reap/test_rb.html +0 -109
- data/web/rdoc/fr_class_index.html +0 -47
- data/web/rdoc/fr_file_index.html +0 -51
- data/web/rdoc/fr_method_index.html +0 -124
- data/web/rdoc/index.html +0 -24
- data/web/rdoc/rdoc-style.css +0 -208
@@ -1,16 +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>
|
7
|
-
<head>
|
8
|
-
<title>registry (Reap)</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/reap/task.rb, line 47</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">registry</span> ; <span class="ruby-ivar">@registry</span> ; <span class="ruby-keyword kw">end</span></pre>
|
15
|
-
</body>
|
16
|
-
</html>
|
@@ -1,21 +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>
|
7
|
-
<head>
|
8
|
-
<title>register (Reap)</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/reap/task.rb, line 49</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">register</span>( <span class="ruby-identifier">name</span>, <span class="ruby-identifier">klass</span> )
|
15
|
-
<span class="ruby-ivar">@registry</span> <span class="ruby-operator">||=</span> {}
|
16
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">verify</span>
|
17
|
-
<span class="ruby-ivar">@registry</span>[<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">downcase</span>] = <span class="ruby-identifier">klass</span>
|
18
|
-
<span class="ruby-keyword kw">end</span>
|
19
|
-
<span class="ruby-keyword kw">end</span></pre>
|
20
|
-
</body>
|
21
|
-
</html>
|
@@ -1,16 +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>
|
7
|
-
<head>
|
8
|
-
<title>tasks (Reap)</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/reap/task.rb, line 56</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tasks</span> ; <span class="ruby-ivar">@tasks</span> ; <span class="ruby-keyword kw">end</span></pre>
|
15
|
-
</body>
|
16
|
-
</html>
|
@@ -1,21 +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>
|
7
|
-
<head>
|
8
|
-
<title>initialize_all (Reap)</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/reap/task.rb, line 58</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">initialize_all</span>
|
15
|
-
<span class="ruby-ivar">@tasks</span> <span class="ruby-operator">||=</span> {}
|
16
|
-
<span class="ruby-identifier">registry</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span class="ruby-identifier">klass</span><span class="ruby-operator">|</span>
|
17
|
-
<span class="ruby-ivar">@tasks</span>[<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">new</span>
|
18
|
-
<span class="ruby-keyword kw">end</span>
|
19
|
-
<span class="ruby-keyword kw">end</span></pre>
|
20
|
-
</body>
|
21
|
-
</html>
|
@@ -1,262 +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>Class: Reap::Announce</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::Announce</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/reap/task/announce_rb.html">
|
59
|
-
lib/reap/task/announce.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
|
-
<a href="Task.html">
|
69
|
-
Reap::Task
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000031">init</a>
|
92
|
-
<a href="#M000032">run</a>
|
93
|
-
<a href="#M000030">task_desc</a>
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if includes -->
|
101
|
-
|
102
|
-
<div id="section">
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<div id="attribute-list">
|
109
|
-
<h3 class="section-bar">Attributes</h3>
|
110
|
-
|
111
|
-
<div class="name-list">
|
112
|
-
<table>
|
113
|
-
<tr class="top-aligned-row context-row">
|
114
|
-
<td class="context-item-name">account</td>
|
115
|
-
<td class="context-item-value"> [RW] </td>
|
116
|
-
<td class="context-item-desc"></td>
|
117
|
-
</tr>
|
118
|
-
<tr class="top-aligned-row context-row">
|
119
|
-
<td class="context-item-name">authtype</td>
|
120
|
-
<td class="context-item-value"> [RW] </td>
|
121
|
-
<td class="context-item-desc"></td>
|
122
|
-
</tr>
|
123
|
-
<tr class="top-aligned-row context-row">
|
124
|
-
<td class="context-item-name">description</td>
|
125
|
-
<td class="context-item-value"> [RW] </td>
|
126
|
-
<td class="context-item-desc"></td>
|
127
|
-
</tr>
|
128
|
-
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">domain</td>
|
130
|
-
<td class="context-item-value"> [RW] </td>
|
131
|
-
<td class="context-item-desc"></td>
|
132
|
-
</tr>
|
133
|
-
<tr class="top-aligned-row context-row">
|
134
|
-
<td class="context-item-name">file</td>
|
135
|
-
<td class="context-item-value"> [RW] </td>
|
136
|
-
<td class="context-item-desc"></td>
|
137
|
-
</tr>
|
138
|
-
<tr class="top-aligned-row context-row">
|
139
|
-
<td class="context-item-name">from</td>
|
140
|
-
<td class="context-item-value"> [RW] </td>
|
141
|
-
<td class="context-item-desc"></td>
|
142
|
-
</tr>
|
143
|
-
<tr class="top-aligned-row context-row">
|
144
|
-
<td class="context-item-name">links</td>
|
145
|
-
<td class="context-item-value"> [RW] </td>
|
146
|
-
<td class="context-item-desc"></td>
|
147
|
-
</tr>
|
148
|
-
<tr class="top-aligned-row context-row">
|
149
|
-
<td class="context-item-name">memo</td>
|
150
|
-
<td class="context-item-value"> [RW] </td>
|
151
|
-
<td class="context-item-desc"></td>
|
152
|
-
</tr>
|
153
|
-
<tr class="top-aligned-row context-row">
|
154
|
-
<td class="context-item-name">port</td>
|
155
|
-
<td class="context-item-value"> [RW] </td>
|
156
|
-
<td class="context-item-desc"></td>
|
157
|
-
</tr>
|
158
|
-
<tr class="top-aligned-row context-row">
|
159
|
-
<td class="context-item-name">sectype</td>
|
160
|
-
<td class="context-item-value"> [RW] </td>
|
161
|
-
<td class="context-item-desc"></td>
|
162
|
-
</tr>
|
163
|
-
<tr class="top-aligned-row context-row">
|
164
|
-
<td class="context-item-name">server</td>
|
165
|
-
<td class="context-item-value"> [RW] </td>
|
166
|
-
<td class="context-item-desc"></td>
|
167
|
-
</tr>
|
168
|
-
<tr class="top-aligned-row context-row">
|
169
|
-
<td class="context-item-name">slogan</td>
|
170
|
-
<td class="context-item-value"> [RW] </td>
|
171
|
-
<td class="context-item-desc"></td>
|
172
|
-
</tr>
|
173
|
-
<tr class="top-aligned-row context-row">
|
174
|
-
<td class="context-item-name">subject</td>
|
175
|
-
<td class="context-item-value"> [RW] </td>
|
176
|
-
<td class="context-item-desc"></td>
|
177
|
-
</tr>
|
178
|
-
<tr class="top-aligned-row context-row">
|
179
|
-
<td class="context-item-name">summary</td>
|
180
|
-
<td class="context-item-value"> [RW] </td>
|
181
|
-
<td class="context-item-desc"></td>
|
182
|
-
</tr>
|
183
|
-
<tr class="top-aligned-row context-row">
|
184
|
-
<td class="context-item-name">title</td>
|
185
|
-
<td class="context-item-value"> [RW] </td>
|
186
|
-
<td class="context-item-desc"></td>
|
187
|
-
</tr>
|
188
|
-
<tr class="top-aligned-row context-row">
|
189
|
-
<td class="context-item-name">to</td>
|
190
|
-
<td class="context-item-value"> [RW] </td>
|
191
|
-
<td class="context-item-desc"></td>
|
192
|
-
</tr>
|
193
|
-
<tr class="top-aligned-row context-row">
|
194
|
-
<td class="context-item-name">version</td>
|
195
|
-
<td class="context-item-value"> [RW] </td>
|
196
|
-
<td class="context-item-desc"></td>
|
197
|
-
</tr>
|
198
|
-
</table>
|
199
|
-
</div>
|
200
|
-
</div>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
<!-- if method_list -->
|
205
|
-
<div id="methods">
|
206
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
207
|
-
|
208
|
-
<div id="method-M000031" class="method-detail">
|
209
|
-
<a name="M000031"></a>
|
210
|
-
|
211
|
-
<div class="method-heading">
|
212
|
-
<a href="Announce.src/M000031.html" target="Code" class="method-signature"
|
213
|
-
onclick="popupCode('Announce.src/M000031.html');return false;">
|
214
|
-
<span class="method-name">init</span><span class="method-args">()</span>
|
215
|
-
</a>
|
216
|
-
</div>
|
217
|
-
|
218
|
-
<div class="method-description">
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
|
222
|
-
<div id="method-M000032" class="method-detail">
|
223
|
-
<a name="M000032"></a>
|
224
|
-
|
225
|
-
<div class="method-heading">
|
226
|
-
<a href="Announce.src/M000032.html" target="Code" class="method-signature"
|
227
|
-
onclick="popupCode('Announce.src/M000032.html');return false;">
|
228
|
-
<span class="method-name">run</span><span class="method-args">()</span>
|
229
|
-
</a>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
<div class="method-description">
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
|
236
|
-
<div id="method-M000030" class="method-detail">
|
237
|
-
<a name="M000030"></a>
|
238
|
-
|
239
|
-
<div class="method-heading">
|
240
|
-
<a href="Announce.src/M000030.html" target="Code" class="method-signature"
|
241
|
-
onclick="popupCode('Announce.src/M000030.html');return false;">
|
242
|
-
<span class="method-name">task_desc</span><span class="method-args">()</span>
|
243
|
-
</a>
|
244
|
-
</div>
|
245
|
-
|
246
|
-
<div class="method-description">
|
247
|
-
</div>
|
248
|
-
</div>
|
249
|
-
|
250
|
-
|
251
|
-
</div>
|
252
|
-
|
253
|
-
|
254
|
-
</div>
|
255
|
-
|
256
|
-
|
257
|
-
<div id="validator-badges">
|
258
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
259
|
-
</div>
|
260
|
-
|
261
|
-
</body>
|
262
|
-
</html>
|
@@ -1,18 +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>
|
7
|
-
<head>
|
8
|
-
<title>task_desc (Reap::Announce)</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/reap/task/announce.rb, line 15</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">task_desc</span>
|
15
|
-
<span class="ruby-value str">"Send announcement email to ruby-talk or other address."</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,114 +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>
|
7
|
-
<head>
|
8
|
-
<title>init (Reap::Announce)</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/reap/task/announce.rb, line 24</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
|
15
|
-
<span class="ruby-ivar">@to</span> = (<span class="ruby-ivar">@to</span> <span class="ruby-operator">||</span> <span class="ruby-value str">'ruby-talk@ruby-lang.org'</span>).<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
|
16
|
-
<span class="ruby-ivar">@from</span> = (<span class="ruby-ivar">@from</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'email'</span>]).<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
|
17
|
-
<span class="ruby-ivar">@server</span> = <span class="ruby-ivar">@server</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
|
18
|
-
<span class="ruby-ivar">@port</span> = (<span class="ruby-ivar">@port</span> <span class="ruby-operator">||</span> <span class="ruby-value">25</span>).<span class="ruby-identifier">to_i</span>
|
19
|
-
<span class="ruby-ivar">@domain</span> = <span class="ruby-ivar">@domain</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@domain</span>
|
20
|
-
<span class="ruby-ivar">@account</span> = <span class="ruby-ivar">@account</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
|
21
|
-
<span class="ruby-ivar">@authtype</span> = (<span class="ruby-ivar">@authtype</span> <span class="ruby-operator">||</span> <span class="ruby-value str">'plain'</span>).<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span> <span class="ruby-comment cmt">#cram_md5 #plain #login</span>
|
22
|
-
<span class="ruby-comment cmt">#@sectype = @sectype</span>
|
23
|
-
|
24
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"server is a require announce field"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@server</span>.<span class="ruby-identifier">empty?</span>
|
25
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"account is a require announce field"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@account</span>.<span class="ruby-identifier">empty?</span>
|
26
|
-
|
27
|
-
<span class="ruby-ivar">@title</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'title'</span>]
|
28
|
-
<span class="ruby-ivar">@version</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'version'</span>]
|
29
|
-
<span class="ruby-ivar">@summary</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'summary'</span>]
|
30
|
-
<span class="ruby-ivar">@description</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'description'</span>]
|
31
|
-
<span class="ruby-ivar">@links</span> <span class="ruby-operator">||=</span> []
|
32
|
-
<span class="ruby-ivar">@subject</span> <span class="ruby-operator">||=</span> <span class="ruby-node">"[ANN] #{@title}, v#{@version}"</span>
|
33
|
-
|
34
|
-
<span class="ruby-ivar">@address</span> = <span class="ruby-ivar">@to</span> <span class="ruby-comment cmt"># TODO</span>
|
35
|
-
|
36
|
-
<span class="ruby-comment cmt">#raise "DOMAIN is a required field" if @domain.empty?</span>
|
37
|
-
|
38
|
-
<span class="ruby-comment cmt"># header</span>
|
39
|
-
<span class="ruby-identifier">announce</span> = <span class="ruby-node">%Q{
|
40
|
-
|
|
41
|
-
|A N N O U N C I N G
|
42
|
-
|
|
43
|
-
|#{title}, v#{version}
|
44
|
-
|
|
45
|
-
|#{summary}
|
46
|
-
|
|
47
|
-
}</span>.<span class="ruby-identifier">margin</span>.<span class="ruby-identifier">align_center</span>(<span class="ruby-value">66</span>)
|
48
|
-
|
49
|
-
<span class="ruby-comment cmt"># abstract</span>
|
50
|
-
<span class="ruby-identifier">abstract</span> = <span class="ruby-value str">''</span>
|
51
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@description</span>
|
52
|
-
<span class="ruby-identifier">abstract</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n"</span>
|
53
|
-
<span class="ruby-identifier">abstract</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"ABSTRACT: #{@description}"</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
|
54
|
-
<span class="ruby-identifier">abstract</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
55
|
-
<span class="ruby-keyword kw">end</span>
|
56
|
-
|
57
|
-
<span class="ruby-comment cmt"># more info</span>
|
58
|
-
<span class="ruby-identifier">info</span> = <span class="ruby-value str">''</span>
|
59
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@links</span>.<span class="ruby-identifier">empty?</span>
|
60
|
-
<span class="ruby-identifier">info</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
61
|
-
<span class="ruby-identifier">info</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"For More Information"</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>)
|
62
|
-
<span class="ruby-identifier">info</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
63
|
-
<span class="ruby-ivar">@links</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">mi</span><span class="ruby-operator">|</span> <span class="ruby-identifier">info</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{mi}"</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span> }
|
64
|
-
<span class="ruby-identifier">info</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
65
|
-
<span class="ruby-keyword kw">end</span>
|
66
|
-
|
67
|
-
<span class="ruby-comment cmt"># slogan</span>
|
68
|
-
<span class="ruby-identifier">slogan</span> = <span class="ruby-value str">''</span>
|
69
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@slogan</span>
|
70
|
-
<span class="ruby-identifier">slogan</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n"</span>
|
71
|
-
<span class="ruby-identifier">slogan</span> <span class="ruby-operator"><<</span> <span class="ruby-ivar">@slogan</span>.<span class="ruby-identifier">center</span>(<span class="ruby-value">67</span>)
|
72
|
-
<span class="ruby-identifier">slogan</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n"</span>
|
73
|
-
<span class="ruby-keyword kw">end</span>
|
74
|
-
|
75
|
-
<span class="ruby-comment cmt"># memo</span>
|
76
|
-
<span class="ruby-identifier">memo</span> = <span class="ruby-value str">''</span>
|
77
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@memo</span>
|
78
|
-
<span class="ruby-identifier">memo</span> = <span class="ruby-value str">''</span>
|
79
|
-
<span class="ruby-identifier">memo</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span> <span class="ruby-operator"><<</span> (<span class="ruby-value str">'-'</span> <span class="ruby-operator">*</span> <span class="ruby-value">72</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
80
|
-
<span class="ruby-identifier">memo</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"(Memo)\n\n"</span>
|
81
|
-
<span class="ruby-identifier">memo</span> <span class="ruby-operator"><<</span> <span class="ruby-ivar">@memo</span>.<span class="ruby-identifier">fold</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
|
82
|
-
<span class="ruby-comment cmt">#memo << "\n"</span>
|
83
|
-
<span class="ruby-keyword kw">end</span>
|
84
|
-
|
85
|
-
<span class="ruby-comment cmt"># msg file</span>
|
86
|
-
<span class="ruby-identifier">msg</span> = <span class="ruby-value str">''</span>
|
87
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@file</span> <span class="ruby-keyword kw">and</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>( <span class="ruby-ivar">@file</span> )
|
88
|
-
<span class="ruby-identifier">msg</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span> <span class="ruby-operator"><<</span> (<span class="ruby-value str">"-"</span> <span class="ruby-operator">*</span> <span class="ruby-value">72</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
89
|
-
<span class="ruby-identifier">msg</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"(from #{@file})\n\n"</span>
|
90
|
-
<span class="ruby-identifier">mg</span> = <span class="ruby-value str">''</span>
|
91
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>( <span class="ruby-ivar">@file</span> ) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">mg</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">gets</span>(<span class="ruby-keyword kw">nil</span>) }
|
92
|
-
<span class="ruby-identifier">msg</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">mg</span>.<span class="ruby-identifier">fold</span>.<span class="ruby-identifier">word_wrap</span>(<span class="ruby-value">72</span>)
|
93
|
-
<span class="ruby-keyword kw">end</span>
|
94
|
-
|
95
|
-
<span class="ruby-comment cmt"># stamp</span>
|
96
|
-
<span class="ruby-identifier">stamp</span> = <span class="ruby-value str">''</span>
|
97
|
-
<span class="ruby-identifier">stamp</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span> <span class="ruby-operator"><<</span> (<span class="ruby-value str">"-"</span> <span class="ruby-operator">*</span> <span class="ruby-value">72</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
98
|
-
<span class="ruby-identifier">stamp</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">%Q{
|
99
|
-
|Generated by Reap, a Rake-based Ruby Project Assistant.
|
100
|
-
|Do you Ruby? (http://www.ruby-lang.org)
|
101
|
-
}</span>.<span class="ruby-identifier">margin</span>
|
102
|
-
<span class="ruby-identifier">stamp</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n"</span>
|
103
|
-
|
104
|
-
<span class="ruby-ivar">@message</span> = <span class="ruby-value str">''</span>
|
105
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">announce</span>
|
106
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">abstract</span>
|
107
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">info</span>
|
108
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">slogan</span>
|
109
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">memo</span>
|
110
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">msg</span>
|
111
|
-
<span class="ruby-ivar">@message</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">stamp</span>
|
112
|
-
<span class="ruby-keyword kw">end</span></pre>
|
113
|
-
</body>
|
114
|
-
</html>
|