reap 03.01 → 4.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/{LICENSE → COPYING} +0 -0
- data/ChangeLog +5 -0
- data/ProjectInfo +55 -15
- data/README +32 -31
- data/Rakefile +0 -141
- data/bin/reap +2 -158
- data/data/reap/scaffold/COPYING +11 -0
- data/data/reap/scaffold/ChangeLog +0 -0
- data/data/reap/scaffold/INSTALL +0 -0
- data/data/reap/scaffold/ProjectInfo +78 -0
- data/data/reap/scaffold/README +0 -0
- data/data/reap/scaffold/Rakefile +146 -0
- data/data/reap/scaffold/Todo +0 -0
- data/data/reap/scaffold/setup.rb +1551 -0
- data/dev/Rakefile +60 -0
- data/dev/composite_task.rb +27 -0
- data/dev/compositepublisher.rb +24 -0
- data/dev/ftptools.rb +139 -0
- data/dev/license-each.rb +85 -0
- data/dev/publisher.rb +75 -0
- data/dev/rubyforgepublisher.rb +18 -0
- data/dev/sshpublisher.rb +47 -0
- data/dev/suby-cvs.rb +46 -0
- data/{data/site_ruby/reap/template.yaml → dev/template.rb} +15 -37
- data/lib/reap/bin/reap.rb +134 -0
- data/lib/reap/lint.rb +0 -0
- data/lib/reap/projectinfo.rb +20 -9
- data/lib/reap/readymade.rb +21 -0
- data/lib/reap/task.rb +119 -70
- data/lib/reap/{announce_task.rb → task/announce.rb} +20 -25
- data/lib/reap/{filemod_task.rb → task/fileperm.rb} +12 -16
- data/lib/reap/task/info.rb +20 -0
- data/lib/reap/task/install.rb +33 -0
- data/lib/reap/task/noop.rb +26 -0
- data/lib/reap/{package_task.rb → task/package.rb} +88 -71
- data/lib/reap/{publish_task.rb → task/publish.rb} +5 -13
- data/lib/reap/{rdoc_task.rb → task/rdoc.rb} +29 -22
- data/lib/reap/task/scaffold.rb +114 -0
- data/lib/reap/{test_task.rb → task/test.rb} +33 -26
- data/lib/reap/task/testext.rb +110 -0
- data/lib/reap/{web_publish_task.rb → task/webpublish.rb} +5 -11
- data/lib/reap/tasks.rb +12 -8
- data/lib/reap/test.rb +138 -0
- data/setup.rb +726 -534
- data/web/ProjectInfo +57 -0
- data/{pub/www → web}/images/appleboy.jpg +0 -0
- data/{pub → web/images}/grape.jpg +0 -0
- data/web/index.html +124 -0
- data/web/rdoc/classes/Object.html +121 -0
- data/{pub/www → web}/rdoc/classes/ProjectInfo.html +36 -36
- data/{pub/www/rdoc/classes/ProjectInfo.src/M000055.html → web/rdoc/classes/ProjectInfo.src/M000094.html} +3 -3
- data/{pub/www/rdoc/classes/ProjectInfo.src/M000056.html → web/rdoc/classes/ProjectInfo.src/M000095.html} +2 -1
- data/web/rdoc/classes/ProjectInfo.src/M000096.html +22 -0
- data/{pub/www/rdoc/classes/ProjectInfo.src/M000058.html → web/rdoc/classes/ProjectInfo.src/M000097.html} +1 -1
- data/{pub/www/rdoc/classes/ProjectInfo.src/M000059.html → web/rdoc/classes/ProjectInfo.src/M000098.html} +1 -1
- data/web/rdoc/classes/Reap.html +248 -0
- data/web/rdoc/classes/Reap.src/M000023.html +16 -0
- data/web/rdoc/classes/Reap.src/M000024.html +21 -0
- data/web/rdoc/classes/Reap.src/M000025.html +16 -0
- data/web/rdoc/classes/Reap.src/M000026.html +21 -0
- data/{pub/www/rdoc/classes/Reap/AnnounceTask.html → web/rdoc/classes/Reap/Announce.html} +22 -40
- data/web/rdoc/classes/Reap/Announce.src/M000030.html +18 -0
- data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000041.html → web/rdoc/classes/Reap/Announce.src/M000031.html} +13 -10
- data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000042.html → web/rdoc/classes/Reap/Announce.src/M000032.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/InfoTask.html → web/rdoc/classes/Reap/Info.html} +23 -41
- data/{pub/www/rdoc/classes/Reap/RDocTask.src/M000002.html → web/rdoc/classes/Reap/Info.src/M000033.html} +4 -4
- data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000049.html → web/rdoc/classes/Reap/Info.src/M000034.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/NoopTask.src/M000046.html → web/rdoc/classes/Reap/Info.src/M000035.html} +3 -3
- data/web/rdoc/classes/Reap/Install.html +193 -0
- data/web/rdoc/classes/Reap/Install.src/M000036.html +18 -0
- data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000040.html → web/rdoc/classes/Reap/Install.src/M000037.html} +6 -4
- data/web/rdoc/classes/Reap/Install.src/M000038.html +26 -0
- data/{pub/www/rdoc/classes/Reap/NoopTask.html → web/rdoc/classes/Reap/Noop.html} +23 -41
- data/web/rdoc/classes/Reap/Noop.src/M000027.html +18 -0
- data/{pub/www/rdoc/classes/Reap/NoopTask.src/M000045.html → web/rdoc/classes/Reap/Noop.src/M000028.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000050.html → web/rdoc/classes/Reap/Noop.src/M000029.html} +3 -3
- data/{pub/www/rdoc/classes/Reap/PackageTask.html → web/rdoc/classes/Reap/Package.html} +40 -68
- data/{pub/www/rdoc/classes/Reap/NoopTask.src/M000044.html → web/rdoc/classes/Reap/Package.src/M000055.html} +4 -4
- data/{pub/www/rdoc/classes/Reap/PackageTask.src/M000007.html → web/rdoc/classes/Reap/Package.src/M000056.html} +28 -13
- data/{pub/www/rdoc/classes/Reap/PackageTask.src/M000008.html → web/rdoc/classes/Reap/Package.src/M000057.html} +43 -32
- data/{pub/www/rdoc/classes/Reap/PackageTask.src/M000009.html → web/rdoc/classes/Reap/Package.src/M000058.html} +13 -3
- data/{pub/www/rdoc/classes/Reap/FilemodTask.html → web/rdoc/classes/Reap/Perm.html} +35 -53
- data/web/rdoc/classes/Reap/Perm.src/M000078.html +18 -0
- data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000029.html → web/rdoc/classes/Reap/Perm.src/M000079.html} +3 -3
- data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000030.html → web/rdoc/classes/Reap/Perm.src/M000080.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000031.html → web/rdoc/classes/Reap/Perm.src/M000081.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000032.html → web/rdoc/classes/Reap/Perm.src/M000082.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/PublishTask.html → web/rdoc/classes/Reap/Publish.html} +23 -41
- data/web/rdoc/classes/Reap/Publish.src/M000070.html +18 -0
- data/{pub/www/rdoc/classes/Reap/PublishTask.src/M000025.html → web/rdoc/classes/Reap/Publish.src/M000071.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/PublishTask.src/M000026.html → web/rdoc/classes/Reap/Publish.src/M000072.html} +3 -4
- data/{pub/www/rdoc/classes/Reap/RDocTask.html → web/rdoc/classes/Reap/RDoc.html} +23 -41
- data/web/rdoc/classes/Reap/RDoc.src/M000059.html +18 -0
- data/{pub/www/rdoc/classes/Reap/RDocTask.src/M000003.html → web/rdoc/classes/Reap/RDoc.src/M000060.html} +4 -5
- data/{pub/www/rdoc/classes/Reap/RDocTask.src/M000004.html → web/rdoc/classes/Reap/RDoc.src/M000061.html} +26 -9
- data/web/rdoc/classes/Reap/Task.html +396 -0
- data/web/rdoc/classes/Reap/Task.src/M000039.html +18 -0
- data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000027.html → web/rdoc/classes/Reap/Task.src/M000040.html} +3 -3
- data/web/rdoc/classes/Reap/Task.src/M000041.html +16 -0
- data/web/rdoc/classes/Reap/Task.src/M000042.html +16 -0
- data/{pub/www/rdoc/classes/Reap/NoopTask.src → web/rdoc/classes/Reap/Task.src}/M000043.html +3 -3
- data/web/rdoc/classes/Reap/Task.src/M000044.html +22 -0
- data/web/rdoc/classes/Reap/Task.src/M000045.html +16 -0
- data/web/rdoc/classes/Reap/Task.src/M000046.html +16 -0
- data/{pub/www/rdoc/classes/Reap/Task.src/M000034.html → web/rdoc/classes/Reap/Task.src/M000047.html} +2 -4
- data/{pub/www/rdoc/classes/Reap/Task.src/M000036.html → web/rdoc/classes/Reap/Task.src/M000048.html} +3 -3
- data/web/rdoc/classes/Reap/Task.src/M000049.html +16 -0
- data/web/rdoc/classes/Reap/Task.src/M000050.html +27 -0
- data/web/rdoc/classes/Reap/Task.src/M000051.html +19 -0
- data/{pub/www/rdoc/classes/Reap/Task.src/M000037.html → web/rdoc/classes/Reap/Task.src/M000052.html} +2 -2
- data/web/rdoc/classes/Reap/Task.src/M000053.html +18 -0
- data/web/rdoc/classes/Reap/Task.src/M000054.html +19 -0
- data/{pub/www/rdoc/classes/Reap/TestTask.html → web/rdoc/classes/Reap/Test.html} +47 -56
- data/web/rdoc/classes/Reap/Test.src/M000062.html +18 -0
- data/{pub/www/rdoc/classes/Reap/TestTask.src/M000016.html → web/rdoc/classes/Reap/Test.src/M000063.html} +5 -4
- data/{pub/www/rdoc/classes/Reap/TestTask.src/M000017.html → web/rdoc/classes/Reap/Test.src/M000064.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/TestTask.src/M000018.html → web/rdoc/classes/Reap/Test.src/M000065.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/TestTask.src/M000019.html → web/rdoc/classes/Reap/Test.src/M000066.html} +18 -4
- data/{pub/www/rdoc/classes/Reap/TestTask → web/rdoc/classes/Reap/Test}/TestResults.html +21 -19
- data/{pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000020.html → web/rdoc/classes/Reap/Test/TestResults.src/M000067.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000021.html → web/rdoc/classes/Reap/Test/TestResults.src/M000068.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000022.html → web/rdoc/classes/Reap/Test/TestResults.src/M000069.html} +2 -2
- data/web/rdoc/classes/Reap/TestExt.html +234 -0
- data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000048.html → web/rdoc/classes/Reap/TestExt.src/M000073.html} +4 -4
- data/web/rdoc/classes/Reap/TestExt.src/M000074.html +20 -0
- data/web/rdoc/classes/Reap/TestExt.src/M000075.html +49 -0
- data/web/rdoc/classes/Reap/TestExt.src/M000076.html +34 -0
- data/web/rdoc/classes/Reap/TestExt.src/M000077.html +27 -0
- data/{pub/www/rdoc/classes/Reap/WebPublishTask.html → web/rdoc/classes/Reap/WebPublish.html} +23 -41
- data/{pub/www/rdoc/classes/Reap/WebPublishTask.src/M000011.html → web/rdoc/classes/Reap/WebPublish.src/M000083.html} +4 -4
- data/{pub/www/rdoc/classes/Reap/WebPublishTask.src/M000012.html → web/rdoc/classes/Reap/WebPublish.src/M000084.html} +2 -2
- data/{pub/www/rdoc/classes/Reap/WebPublishTask.src/M000013.html → web/rdoc/classes/Reap/WebPublish.src/M000085.html} +2 -2
- data/web/rdoc/classes/ReapCommand.html +425 -0
- data/web/rdoc/classes/ReapCommand.src/M000001.html +16 -0
- data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000039.html → web/rdoc/classes/ReapCommand.src/M000003.html} +4 -4
- data/web/rdoc/classes/ReapCommand.src/M000005.html +16 -0
- data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000047.html → web/rdoc/classes/ReapCommand.src/M000007.html} +4 -4
- data/web/rdoc/classes/ReapCommand.src/M000009.html +16 -0
- data/web/rdoc/classes/ReapCommand.src/M000011.html +16 -0
- data/web/rdoc/classes/ReapCommand.src/M000013.html +18 -0
- data/web/rdoc/classes/ReapCommand.src/M000014.html +19 -0
- data/web/rdoc/classes/ReapCommand.src/M000015.html +19 -0
- data/web/rdoc/classes/ReapCommand.src/M000016.html +24 -0
- data/web/rdoc/classes/ReapCommand.src/M000018.html +29 -0
- data/web/rdoc/classes/Scaffold.html +211 -0
- data/web/rdoc/classes/Scaffold.src/M000086.html +16 -0
- data/web/rdoc/classes/Scaffold.src/M000087.html +28 -0
- data/web/rdoc/classes/Scaffold.src/M000088.html +32 -0
- data/web/rdoc/classes/Scaffold.src/M000089.html +18 -0
- data/{pub/www/rdoc/classes/RakeTask.html → web/rdoc/classes/UnitTestKernel.html} +28 -34
- data/web/rdoc/classes/UnitTestKernel.src/M000019.html +18 -0
- data/web/rdoc/classes/UnitTestKernel.src/M000020.html +18 -0
- data/web/rdoc/classes/UnitTestKernel.src/M000021.html +22 -0
- data/web/rdoc/classes/UnitTestKernel.src/M000022.html +22 -0
- data/{pub/www/rdoc/classes/Reap.html → web/rdoc/classes/UnitTesting.html} +48 -54
- data/web/rdoc/classes/UnitTesting.src/M000090.html +34 -0
- data/web/rdoc/classes/UnitTesting.src/M000091.html +18 -0
- data/web/rdoc/classes/UnitTesting/Failure.html +156 -0
- data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +18 -0
- data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +21 -0
- data/web/rdoc/created.rid +1 -0
- data/web/rdoc/files/ANN.html +107 -0
- data/{pub/www/rdoc/files/LICENSE.html → web/rdoc/files/COPYING.html} +3 -3
- data/web/rdoc/files/ChangeLog.html +144 -0
- data/web/rdoc/files/ProjectInfo.html +190 -0
- data/{pub/www → web}/rdoc/files/README.html +38 -35
- data/web/rdoc/files/Rakefile.html +101 -0
- data/web/rdoc/files/lib/reap/bin/reap_rb.html +129 -0
- data/web/rdoc/files/lib/reap/lint_rb.html +101 -0
- data/{pub/www → web}/rdoc/files/lib/reap/projectinfo_rb.html +3 -4
- data/web/rdoc/files/lib/reap/readymade_rb.html +123 -0
- data/{pub/www/rdoc/files/lib/reap/announce_task_rb.html → web/rdoc/files/lib/reap/task/announce_rb.html} +5 -5
- data/{pub/www/rdoc/files/lib/reap/filemod_task_rb.html → web/rdoc/files/lib/reap/task/fileperm_rb.html} +5 -5
- data/{pub/www/rdoc/files/lib/reap/rdoc_task_rb.html → web/rdoc/files/lib/reap/task/info_rb.html} +5 -5
- data/web/rdoc/files/lib/reap/task/install_rb.html +108 -0
- data/{pub/www/rdoc/files/lib/reap/noop_task_rb.html → web/rdoc/files/lib/reap/task/noop_rb.html} +5 -5
- data/{pub/www/rdoc/files/lib/reap/package_task_rb.html → web/rdoc/files/lib/reap/task/package_rb.html} +5 -5
- data/web/rdoc/files/lib/reap/task/publish_rb.html +108 -0
- data/web/rdoc/files/lib/reap/task/rdoc_rb.html +108 -0
- data/web/rdoc/files/lib/reap/task/scaffold_rb.html +107 -0
- data/{pub/www/rdoc/files/lib/reap/test_task_rb.html → web/rdoc/files/lib/reap/task/test_rb.html} +5 -5
- data/web/rdoc/files/lib/reap/task/testext_rb.html +109 -0
- data/{pub/www/rdoc/files/lib/reap/publish_task_rb.html → web/rdoc/files/lib/reap/task/webpublish_rb.html} +5 -5
- data/{pub/www → web}/rdoc/files/lib/reap/task_rb.html +11 -3
- data/{pub/www → web}/rdoc/files/lib/reap/tasks_rb.html +10 -9
- data/{pub/www/rdoc/files/lib/reap/info_task_rb.html → web/rdoc/files/lib/reap/test_rb.html} +6 -5
- data/web/rdoc/fr_class_index.html +47 -0
- data/web/rdoc/fr_file_index.html +51 -0
- data/web/rdoc/fr_method_index.html +124 -0
- data/{pub/www → web}/rdoc/index.html +0 -0
- data/{pub/www → web}/rdoc/rdoc-style.css +0 -0
- metadata +236 -158
- data/lib/reap/info_task.rb +0 -29
- data/lib/reap/noop_task.rb +0 -35
- data/lib/reap/ready_made.rb +0 -12
- data/pub/www/Reapfile +0 -99
- data/pub/www/index.html +0 -90
- data/pub/www/rdoc/classes/ProjectInfo.src/M000057.html +0 -18
- data/pub/www/rdoc/classes/RakeTask.src/M000051.html +0 -18
- data/pub/www/rdoc/classes/RakeTask.src/M000052.html +0 -18
- data/pub/www/rdoc/classes/RakeTask.src/M000053.html +0 -18
- data/pub/www/rdoc/classes/RakeTask.src/M000054.html +0 -18
- data/pub/www/rdoc/classes/Reap/FilemodTask.src/M000028.html +0 -18
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000005.html +0 -16
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000006.html +0 -24
- data/pub/www/rdoc/classes/Reap/PublishTask.src/M000023.html +0 -16
- data/pub/www/rdoc/classes/Reap/PublishTask.src/M000024.html +0 -18
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000001.html +0 -16
- data/pub/www/rdoc/classes/Reap/Task.html +0 -239
- data/pub/www/rdoc/classes/Reap/Task.src/M000033.html +0 -21
- data/pub/www/rdoc/classes/Reap/Task.src/M000035.html +0 -41
- data/pub/www/rdoc/classes/Reap/Task.src/M000038.html +0 -19
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000014.html +0 -16
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000015.html +0 -18
- data/pub/www/rdoc/classes/Reap/WebPublishTask.src/M000010.html +0 -16
- data/pub/www/rdoc/classes/ReapTask.html +0 -287
- data/pub/www/rdoc/classes/ReapTask.src/M000060.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000061.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000062.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000063.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000064.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000065.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000066.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000067.html +0 -18
- data/pub/www/rdoc/classes/ReapTask.src/M000068.html +0 -18
- data/pub/www/rdoc/created.rid +0 -1
- data/pub/www/rdoc/files/lib/reap/ready_made_rb.html +0 -115
- data/pub/www/rdoc/files/lib/reap/web_publish_task_rb.html +0 -108
- data/pub/www/rdoc/fr_class_index.html +0 -41
- data/pub/www/rdoc/fr_file_index.html +0 -41
- data/pub/www/rdoc/fr_method_index.html +0 -94
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<title>
|
|
8
|
+
<title>task_desc (Reap::TestExt)</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-value str">"
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap/task/testext.rb, line 14</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">task_desc</span>
|
|
15
|
+
<span class="ruby-value str">"Extract unit-tests from lib scripts."</span>
|
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|
|
@@ -0,0 +1,20 @@
|
|
|
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::TestExt)</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/testext.rb, line 20</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
|
|
15
|
+
<span class="ruby-ivar">@dir</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'test'</span>
|
|
16
|
+
<span class="ruby-ivar">@files</span> <span class="ruby-operator">||=</span> [ <span class="ruby-value str">'lib/**/*.rb'</span> ]
|
|
17
|
+
<span class="ruby-comment cmt">#@options</span>
|
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -0,0 +1,49 @@
|
|
|
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 (Reap::TestExt)</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/testext.rb, line 26</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
|
|
15
|
+
<span class="ruby-comment cmt">#test_libs = @libs.join(':')</span>
|
|
16
|
+
<span class="ruby-identifier">files</span> = <span class="ruby-constant">FileList</span>.<span class="ruby-identifier">new</span>
|
|
17
|
+
<span class="ruby-identifier">files</span>.<span class="ruby-identifier">include</span>(<span class="ruby-operator">*</span><span class="ruby-ivar">@files</span>)
|
|
18
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">files</span>.<span class="ruby-identifier">empty?</span>
|
|
19
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"No script files found."</span>
|
|
20
|
+
<span class="ruby-keyword kw">return</span>
|
|
21
|
+
<span class="ruby-keyword kw">end</span>
|
|
22
|
+
<span class="ruby-identifier">print</span> <span class="ruby-value str">"Reap is scanning and copying embedded tests..."</span>
|
|
23
|
+
|
|
24
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@dir</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">empty?</span>
|
|
25
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"Test directory must be specified."</span>
|
|
26
|
+
<span class="ruby-keyword kw">return</span>
|
|
27
|
+
<span class="ruby-keyword kw">end</span>
|
|
28
|
+
|
|
29
|
+
<span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@dir</span>)
|
|
30
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Test directory doesn't exist: #{File.expand_path( @dir )}"</span>
|
|
31
|
+
<span class="ruby-keyword kw">return</span>
|
|
32
|
+
<span class="ruby-keyword kw">end</span>
|
|
33
|
+
|
|
34
|
+
<span class="ruby-identifier">files</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
|
|
35
|
+
<span class="ruby-identifier">$stdout</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'.'</span>; <span class="ruby-identifier">$stdout</span>.<span class="ruby-identifier">flush</span>
|
|
36
|
+
<span class="ruby-identifier">testing</span> = <span class="ruby-identifier">extract</span>( <span class="ruby-identifier">file</span> )
|
|
37
|
+
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">testing</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">empty?</span>
|
|
38
|
+
<span class="ruby-identifier">complete_test</span> = <span class="ruby-identifier">create</span>( <span class="ruby-identifier">testing</span>, <span class="ruby-identifier">file</span> )
|
|
39
|
+
<span class="ruby-identifier">fp</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@dir</span>,<span class="ruby-identifier">file</span>)
|
|
40
|
+
<span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>( <span class="ruby-identifier">fp</span> ) )
|
|
41
|
+
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">fp</span>) )
|
|
42
|
+
<span class="ruby-keyword kw">end</span>
|
|
43
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>( <span class="ruby-identifier">fp</span>, <span class="ruby-value str">"w"</span> ) { <span class="ruby-operator">|</span><span class="ruby-identifier">fw</span><span class="ruby-operator">|</span> <span class="ruby-identifier">fw</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">complete_test</span> }
|
|
44
|
+
<span class="ruby-keyword kw">end</span>
|
|
45
|
+
}
|
|
46
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"done."</span>
|
|
47
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
48
|
+
</body>
|
|
49
|
+
</html>
|
|
@@ -0,0 +1,34 @@
|
|
|
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>extract (Reap::TestExt)</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/testext.rb, line 61</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extract</span>( <span class="ruby-identifier">file</span> )
|
|
15
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>( <span class="ruby-identifier">file</span> )
|
|
16
|
+
<span class="ruby-identifier">tests</span> = <span class="ruby-value str">""</span>; <span class="ruby-identifier">inside</span> = <span class="ruby-keyword kw">false</span>
|
|
17
|
+
<span class="ruby-identifier">fstr</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>( <span class="ruby-identifier">file</span> )
|
|
18
|
+
<span class="ruby-identifier">fstr</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\n/</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span>
|
|
19
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">l</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^=[ ]*begin[ ]*testing/</span>
|
|
20
|
+
<span class="ruby-identifier">tests</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
|
21
|
+
<span class="ruby-identifier">inside</span> = <span class="ruby-keyword kw">true</span>
|
|
22
|
+
<span class="ruby-keyword kw">next</span>
|
|
23
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">inside</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">l</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^=[ ]*end/</span>
|
|
24
|
+
<span class="ruby-identifier">inside</span> = <span class="ruby-keyword kw">false</span>
|
|
25
|
+
<span class="ruby-keyword kw">next</span>
|
|
26
|
+
<span class="ruby-keyword kw">end</span>
|
|
27
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">inside</span>
|
|
28
|
+
<span class="ruby-identifier">tests</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">l</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
|
29
|
+
<span class="ruby-keyword kw">end</span>
|
|
30
|
+
<span class="ruby-keyword kw">end</span>
|
|
31
|
+
<span class="ruby-identifier">tests</span>
|
|
32
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
33
|
+
</body>
|
|
34
|
+
</html>
|
|
@@ -0,0 +1,27 @@
|
|
|
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>create (Reap::TestExt)</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/testext.rb, line 81</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span>( <span class="ruby-identifier">testing</span>, <span class="ruby-identifier">file</span> )
|
|
15
|
+
<span class="ruby-identifier">fp</span> = <span class="ruby-identifier">file</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/[\/]/</span>)
|
|
16
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">fp</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">'lib'</span>
|
|
17
|
+
<span class="ruby-identifier">reqf</span> = <span class="ruby-node">"require '#{fp[1..-1].join('/')}'"</span>
|
|
18
|
+
<span class="ruby-keyword kw">else</span>
|
|
19
|
+
<span class="ruby-identifier">reqf</span> = <span class="ruby-value str">''</span>
|
|
20
|
+
<span class="ruby-keyword kw">end</span>
|
|
21
|
+
|
|
22
|
+
<span class="ruby-identifier">teststr</span> = <span class="ruby-value str">"`# _____ _\n`# |_ _|__ ___| |_\n`# | |/ _ \\\\/ __| __|\n`# | | __/\\\\__ \\\\ |_\n`# |_|\\\\___||___/\\\\__|\n`#\n`# for \#{file}\n`#\n`# Extracted \#{Time.now}\n`# Unit Tools Reap Test Extractor\n`#\n`\n`\#{reqf}\n`\n"</span>.<span class="ruby-identifier">margin</span>
|
|
23
|
+
<span class="ruby-identifier">teststr</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">testing</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
|
24
|
+
<span class="ruby-identifier">teststr</span>
|
|
25
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
26
|
+
</body>
|
|
27
|
+
</html>
|
data/{pub/www/rdoc/classes/Reap/WebPublishTask.html → web/rdoc/classes/Reap/WebPublish.html}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
7
|
<head>
|
|
8
|
-
<title>Class: Reap::
|
|
8
|
+
<title>Class: Reap::WebPublish</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
11
|
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
<table class="header-table">
|
|
51
51
|
<tr class="top-aligned-row">
|
|
52
52
|
<td><strong>Class</strong></td>
|
|
53
|
-
<td class="class-name-in-header">Reap::
|
|
53
|
+
<td class="class-name-in-header">Reap::WebPublish</td>
|
|
54
54
|
</tr>
|
|
55
55
|
<tr class="top-aligned-row">
|
|
56
56
|
<td><strong>In:</strong></td>
|
|
57
57
|
<td>
|
|
58
|
-
<a href="../../files/lib/reap/
|
|
59
|
-
lib/reap/
|
|
58
|
+
<a href="../../files/lib/reap/task/webpublish_rb.html">
|
|
59
|
+
lib/reap/task/webpublish.rb
|
|
60
60
|
</a>
|
|
61
61
|
<br />
|
|
62
62
|
</td>
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
|
|
83
83
|
<div id="description">
|
|
84
84
|
<p>
|
|
85
|
-
Web Publish <a href="Task.html">Task</a>
|
|
85
|
+
Web <a href="Publish.html">Publish</a> <a href="Task.html">Task</a>
|
|
86
86
|
</p>
|
|
87
87
|
|
|
88
88
|
</div>
|
|
@@ -94,10 +94,9 @@ Web Publish <a href="Task.html">Task</a>
|
|
|
94
94
|
<h3 class="section-bar">Methods</h3>
|
|
95
95
|
|
|
96
96
|
<div class="name-list">
|
|
97
|
-
<a href="#
|
|
98
|
-
<a href="#
|
|
99
|
-
<a href="#
|
|
100
|
-
<a href="#M000013">run</a>
|
|
97
|
+
<a href="#M000084">init</a>
|
|
98
|
+
<a href="#M000085">run</a>
|
|
99
|
+
<a href="#M000083">task_desc</a>
|
|
101
100
|
</div>
|
|
102
101
|
</div>
|
|
103
102
|
|
|
@@ -157,44 +156,27 @@ Web Publish <a href="Task.html">Task</a>
|
|
|
157
156
|
<div id="methods">
|
|
158
157
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
159
158
|
|
|
160
|
-
<div id="method-
|
|
161
|
-
<a name="
|
|
159
|
+
<div id="method-M000084" class="method-detail">
|
|
160
|
+
<a name="M000084"></a>
|
|
162
161
|
|
|
163
162
|
<div class="method-heading">
|
|
164
|
-
<a href="
|
|
165
|
-
onclick="popupCode('
|
|
166
|
-
<span class="method-name">
|
|
167
|
-
</a>
|
|
168
|
-
</div>
|
|
169
|
-
|
|
170
|
-
<div class="method-description">
|
|
171
|
-
</div>
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
<div id="method-M000010" class="method-detail">
|
|
175
|
-
<a name="M000010"></a>
|
|
176
|
-
|
|
177
|
-
<div class="method-heading">
|
|
178
|
-
<a href="WebPublishTask.src/M000010.html" target="Code" class="method-signature"
|
|
179
|
-
onclick="popupCode('WebPublishTask.src/M000010.html');return false;">
|
|
180
|
-
<span class="method-name">default_name</span><span class="method-args">()</span>
|
|
163
|
+
<a href="WebPublish.src/M000084.html" target="Code" class="method-signature"
|
|
164
|
+
onclick="popupCode('WebPublish.src/M000084.html');return false;">
|
|
165
|
+
<span class="method-name">init</span><span class="method-args">()</span>
|
|
181
166
|
</a>
|
|
182
167
|
</div>
|
|
183
168
|
|
|
184
169
|
<div class="method-description">
|
|
185
|
-
<p>
|
|
186
|
-
register ‘webpublish’
|
|
187
|
-
</p>
|
|
188
170
|
</div>
|
|
189
171
|
</div>
|
|
190
172
|
|
|
191
|
-
<div id="method-
|
|
192
|
-
<a name="
|
|
173
|
+
<div id="method-M000085" class="method-detail">
|
|
174
|
+
<a name="M000085"></a>
|
|
193
175
|
|
|
194
176
|
<div class="method-heading">
|
|
195
|
-
<a href="
|
|
196
|
-
onclick="popupCode('
|
|
197
|
-
<span class="method-name">
|
|
177
|
+
<a href="WebPublish.src/M000085.html" target="Code" class="method-signature"
|
|
178
|
+
onclick="popupCode('WebPublish.src/M000085.html');return false;">
|
|
179
|
+
<span class="method-name">run</span><span class="method-args">()</span>
|
|
198
180
|
</a>
|
|
199
181
|
</div>
|
|
200
182
|
|
|
@@ -202,13 +184,13 @@ register ‘webpublish’
|
|
|
202
184
|
</div>
|
|
203
185
|
</div>
|
|
204
186
|
|
|
205
|
-
<div id="method-
|
|
206
|
-
<a name="
|
|
187
|
+
<div id="method-M000083" class="method-detail">
|
|
188
|
+
<a name="M000083"></a>
|
|
207
189
|
|
|
208
190
|
<div class="method-heading">
|
|
209
|
-
<a href="
|
|
210
|
-
onclick="popupCode('
|
|
211
|
-
<span class="method-name">
|
|
191
|
+
<a href="WebPublish.src/M000083.html" target="Code" class="method-signature"
|
|
192
|
+
onclick="popupCode('WebPublish.src/M000083.html');return false;">
|
|
193
|
+
<span class="method-name">task_desc</span><span class="method-args">()</span>
|
|
212
194
|
</a>
|
|
213
195
|
</div>
|
|
214
196
|
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<title>
|
|
8
|
+
<title>task_desc (Reap::WebPublish)</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-value str">"publish project website to your internet host
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap/task/webpublish.rb, line 11</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">task_desc</span>
|
|
15
|
+
<span class="ruby-value str">"publish project website to your internet host *"</span>
|
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<title>init (Reap::
|
|
8
|
+
<title>init (Reap::WebPublish)</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap/task/webpublish.rb, line 18</span>
|
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
|
|
15
15
|
<span class="ruby-ivar">@host</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'rubyforge.org'</span>
|
|
16
16
|
<span class="ruby-ivar">@project</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'rubyforge'</span>][<span class="ruby-value str">'project'</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">'name'</span>]
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<title>run (Reap::
|
|
8
|
+
<title>run (Reap::WebPublish)</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/reap/task/webpublish.rb, line 25</span>
|
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
|
|
15
15
|
<span class="ruby-identifier">cmd</span> = <span class="ruby-value str">''</span>; <span class="ruby-identifier">skip</span> = <span class="ruby-keyword kw">false</span>
|
|
16
16
|
|
|
@@ -0,0 +1,425 @@
|
|
|
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: ReapCommand</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">ReapCommand</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../files/lib/reap/bin/reap_rb.html">
|
|
59
|
+
lib/reap/bin/reap.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
|
+
ShellCommand
|
|
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
|
+
|
|
82
|
+
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<div id="method-list">
|
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
|
87
|
+
|
|
88
|
+
<div class="name-list">
|
|
89
|
+
<a href="#M000004">_D</a>
|
|
90
|
+
<a href="#M000006">_P</a>
|
|
91
|
+
<a href="#M000002">_V</a>
|
|
92
|
+
<a href="#M000003">__debug</a>
|
|
93
|
+
<a href="#M000009">__help</a>
|
|
94
|
+
<a href="#M000005">__pretend</a>
|
|
95
|
+
<a href="#M000011">__tasks</a>
|
|
96
|
+
<a href="#M000001">__verbose</a>
|
|
97
|
+
<a href="#M000007">__version</a>
|
|
98
|
+
<a href="#M000010">_h</a>
|
|
99
|
+
<a href="#M000012">_t</a>
|
|
100
|
+
<a href="#M000008">_v</a>
|
|
101
|
+
<a href="#M000013">default</a>
|
|
102
|
+
<a href="#M000015">help</a>
|
|
103
|
+
<a href="#M000017">ls</a>
|
|
104
|
+
<a href="#M000016">tasks</a>
|
|
105
|
+
<a href="#M000018">template</a>
|
|
106
|
+
<a href="#M000014">version</a>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<!-- if includes -->
|
|
114
|
+
|
|
115
|
+
<div id="section">
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<!-- if method_list -->
|
|
125
|
+
<div id="methods">
|
|
126
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
127
|
+
|
|
128
|
+
<div id="method-M000004" class="method-detail">
|
|
129
|
+
<a name="M000004"></a>
|
|
130
|
+
|
|
131
|
+
<div class="method-heading">
|
|
132
|
+
<span class="method-name">_D</span><span class="method-args">()</span>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<div class="method-description">
|
|
136
|
+
<p>
|
|
137
|
+
Alias for <a href="ReapCommand.html#M000003">__debug</a>
|
|
138
|
+
</p>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div id="method-M000006" class="method-detail">
|
|
143
|
+
<a name="M000006"></a>
|
|
144
|
+
|
|
145
|
+
<div class="method-heading">
|
|
146
|
+
<span class="method-name">_P</span><span class="method-args">()</span>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<div class="method-description">
|
|
150
|
+
<p>
|
|
151
|
+
Alias for <a href="ReapCommand.html#M000005">__pretend</a>
|
|
152
|
+
</p>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div id="method-M000002" class="method-detail">
|
|
157
|
+
<a name="M000002"></a>
|
|
158
|
+
|
|
159
|
+
<div class="method-heading">
|
|
160
|
+
<span class="method-name">_V</span><span class="method-args">()</span>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<div class="method-description">
|
|
164
|
+
<p>
|
|
165
|
+
Alias for <a href="ReapCommand.html#M000001">__verbose</a>
|
|
166
|
+
</p>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
<div id="method-M000003" class="method-detail">
|
|
171
|
+
<a name="M000003"></a>
|
|
172
|
+
|
|
173
|
+
<div class="method-heading">
|
|
174
|
+
<a href="ReapCommand.src/M000003.html" target="Code" class="method-signature"
|
|
175
|
+
onclick="popupCode('ReapCommand.src/M000003.html');return false;">
|
|
176
|
+
<span class="method-name">__debug</span><span class="method-args">()</span>
|
|
177
|
+
</a>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
<div class="method-description">
|
|
181
|
+
<p>
|
|
182
|
+
debug mode (under construction)
|
|
183
|
+
</p>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
|
|
187
|
+
<div id="method-M000009" class="method-detail">
|
|
188
|
+
<a name="M000009"></a>
|
|
189
|
+
|
|
190
|
+
<div class="method-heading">
|
|
191
|
+
<a href="ReapCommand.src/M000009.html" target="Code" class="method-signature"
|
|
192
|
+
onclick="popupCode('ReapCommand.src/M000009.html');return false;">
|
|
193
|
+
<span class="method-name">__help</span><span class="method-args">()</span>
|
|
194
|
+
</a>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<div class="method-description">
|
|
198
|
+
<p>
|
|
199
|
+
option to display help
|
|
200
|
+
</p>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
|
|
204
|
+
<div id="method-M000005" class="method-detail">
|
|
205
|
+
<a name="M000005"></a>
|
|
206
|
+
|
|
207
|
+
<div class="method-heading">
|
|
208
|
+
<a href="ReapCommand.src/M000005.html" target="Code" class="method-signature"
|
|
209
|
+
onclick="popupCode('ReapCommand.src/M000005.html');return false;">
|
|
210
|
+
<span class="method-name">__pretend</span><span class="method-args">()</span>
|
|
211
|
+
</a>
|
|
212
|
+
</div>
|
|
213
|
+
|
|
214
|
+
<div class="method-description">
|
|
215
|
+
<p>
|
|
216
|
+
pretend mode (under construction)
|
|
217
|
+
</p>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
<div id="method-M000011" class="method-detail">
|
|
222
|
+
<a name="M000011"></a>
|
|
223
|
+
|
|
224
|
+
<div class="method-heading">
|
|
225
|
+
<a href="ReapCommand.src/M000011.html" target="Code" class="method-signature"
|
|
226
|
+
onclick="popupCode('ReapCommand.src/M000011.html');return false;">
|
|
227
|
+
<span class="method-name">__tasks</span><span class="method-args">()</span>
|
|
228
|
+
</a>
|
|
229
|
+
</div>
|
|
230
|
+
|
|
231
|
+
<div class="method-description">
|
|
232
|
+
<p>
|
|
233
|
+
option to display tasks
|
|
234
|
+
</p>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
<div id="method-M000001" class="method-detail">
|
|
239
|
+
<a name="M000001"></a>
|
|
240
|
+
|
|
241
|
+
<div class="method-heading">
|
|
242
|
+
<a href="ReapCommand.src/M000001.html" target="Code" class="method-signature"
|
|
243
|
+
onclick="popupCode('ReapCommand.src/M000001.html');return false;">
|
|
244
|
+
<span class="method-name">__verbose</span><span class="method-args">()</span>
|
|
245
|
+
</a>
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
<div class="method-description">
|
|
249
|
+
<p>
|
|
250
|
+
verbose mode
|
|
251
|
+
</p>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div id="method-M000007" class="method-detail">
|
|
256
|
+
<a name="M000007"></a>
|
|
257
|
+
|
|
258
|
+
<div class="method-heading">
|
|
259
|
+
<a href="ReapCommand.src/M000007.html" target="Code" class="method-signature"
|
|
260
|
+
onclick="popupCode('ReapCommand.src/M000007.html');return false;">
|
|
261
|
+
<span class="method-name">__version</span><span class="method-args">()</span>
|
|
262
|
+
</a>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
<div class="method-description">
|
|
266
|
+
<p>
|
|
267
|
+
option to display version
|
|
268
|
+
</p>
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
271
|
+
|
|
272
|
+
<div id="method-M000010" class="method-detail">
|
|
273
|
+
<a name="M000010"></a>
|
|
274
|
+
|
|
275
|
+
<div class="method-heading">
|
|
276
|
+
<span class="method-name">_h</span><span class="method-args">()</span>
|
|
277
|
+
</div>
|
|
278
|
+
|
|
279
|
+
<div class="method-description">
|
|
280
|
+
<p>
|
|
281
|
+
Alias for <a href="ReapCommand.html#M000009">__help</a>
|
|
282
|
+
</p>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
|
|
286
|
+
<div id="method-M000012" class="method-detail">
|
|
287
|
+
<a name="M000012"></a>
|
|
288
|
+
|
|
289
|
+
<div class="method-heading">
|
|
290
|
+
<span class="method-name">_t</span><span class="method-args">()</span>
|
|
291
|
+
</div>
|
|
292
|
+
|
|
293
|
+
<div class="method-description">
|
|
294
|
+
<p>
|
|
295
|
+
Alias for <a href="ReapCommand.html#M000011">__tasks</a>
|
|
296
|
+
</p>
|
|
297
|
+
</div>
|
|
298
|
+
</div>
|
|
299
|
+
|
|
300
|
+
<div id="method-M000008" class="method-detail">
|
|
301
|
+
<a name="M000008"></a>
|
|
302
|
+
|
|
303
|
+
<div class="method-heading">
|
|
304
|
+
<span class="method-name">_v</span><span class="method-args">()</span>
|
|
305
|
+
</div>
|
|
306
|
+
|
|
307
|
+
<div class="method-description">
|
|
308
|
+
<p>
|
|
309
|
+
Alias for <a href="ReapCommand.html#M000007">__version</a>
|
|
310
|
+
</p>
|
|
311
|
+
</div>
|
|
312
|
+
</div>
|
|
313
|
+
|
|
314
|
+
<div id="method-M000013" class="method-detail">
|
|
315
|
+
<a name="M000013"></a>
|
|
316
|
+
|
|
317
|
+
<div class="method-heading">
|
|
318
|
+
<a href="ReapCommand.src/M000013.html" target="Code" class="method-signature"
|
|
319
|
+
onclick="popupCode('ReapCommand.src/M000013.html');return false;">
|
|
320
|
+
<span class="method-name">default</span><span class="method-args">()</span>
|
|
321
|
+
</a>
|
|
322
|
+
</div>
|
|
323
|
+
|
|
324
|
+
<div class="method-description">
|
|
325
|
+
<p>
|
|
326
|
+
default action
|
|
327
|
+
</p>
|
|
328
|
+
</div>
|
|
329
|
+
</div>
|
|
330
|
+
|
|
331
|
+
<div id="method-M000015" class="method-detail">
|
|
332
|
+
<a name="M000015"></a>
|
|
333
|
+
|
|
334
|
+
<div class="method-heading">
|
|
335
|
+
<a href="ReapCommand.src/M000015.html" target="Code" class="method-signature"
|
|
336
|
+
onclick="popupCode('ReapCommand.src/M000015.html');return false;">
|
|
337
|
+
<span class="method-name">help</span><span class="method-args">()</span>
|
|
338
|
+
</a>
|
|
339
|
+
</div>
|
|
340
|
+
|
|
341
|
+
<div class="method-description">
|
|
342
|
+
<p>
|
|
343
|
+
display help
|
|
344
|
+
</p>
|
|
345
|
+
</div>
|
|
346
|
+
</div>
|
|
347
|
+
|
|
348
|
+
<div id="method-M000017" class="method-detail">
|
|
349
|
+
<a name="M000017"></a>
|
|
350
|
+
|
|
351
|
+
<div class="method-heading">
|
|
352
|
+
<span class="method-name">ls</span><span class="method-args">()</span>
|
|
353
|
+
</div>
|
|
354
|
+
|
|
355
|
+
<div class="method-description">
|
|
356
|
+
<p>
|
|
357
|
+
Alias for <a href="ReapCommand.html#M000016">tasks</a>
|
|
358
|
+
</p>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
<div id="method-M000016" class="method-detail">
|
|
363
|
+
<a name="M000016"></a>
|
|
364
|
+
|
|
365
|
+
<div class="method-heading">
|
|
366
|
+
<a href="ReapCommand.src/M000016.html" target="Code" class="method-signature"
|
|
367
|
+
onclick="popupCode('ReapCommand.src/M000016.html');return false;">
|
|
368
|
+
<span class="method-name">tasks</span><span class="method-args">()</span>
|
|
369
|
+
</a>
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<div class="method-description">
|
|
373
|
+
<p>
|
|
374
|
+
list available tasks
|
|
375
|
+
</p>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
|
|
379
|
+
<div id="method-M000018" class="method-detail">
|
|
380
|
+
<a name="M000018"></a>
|
|
381
|
+
|
|
382
|
+
<div class="method-heading">
|
|
383
|
+
<a href="ReapCommand.src/M000018.html" target="Code" class="method-signature"
|
|
384
|
+
onclick="popupCode('ReapCommand.src/M000018.html');return false;">
|
|
385
|
+
<span class="method-name">template</span><span class="method-args">()</span>
|
|
386
|
+
</a>
|
|
387
|
+
</div>
|
|
388
|
+
|
|
389
|
+
<div class="method-description">
|
|
390
|
+
<p>
|
|
391
|
+
copy the file from lib/data to the current dir.
|
|
392
|
+
</p>
|
|
393
|
+
</div>
|
|
394
|
+
</div>
|
|
395
|
+
|
|
396
|
+
<div id="method-M000014" class="method-detail">
|
|
397
|
+
<a name="M000014"></a>
|
|
398
|
+
|
|
399
|
+
<div class="method-heading">
|
|
400
|
+
<a href="ReapCommand.src/M000014.html" target="Code" class="method-signature"
|
|
401
|
+
onclick="popupCode('ReapCommand.src/M000014.html');return false;">
|
|
402
|
+
<span class="method-name">version</span><span class="method-args">()</span>
|
|
403
|
+
</a>
|
|
404
|
+
</div>
|
|
405
|
+
|
|
406
|
+
<div class="method-description">
|
|
407
|
+
<p>
|
|
408
|
+
display version
|
|
409
|
+
</p>
|
|
410
|
+
</div>
|
|
411
|
+
</div>
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
</div>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
</div>
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
<div id="validator-badges">
|
|
421
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
422
|
+
</div>
|
|
423
|
+
|
|
424
|
+
</body>
|
|
425
|
+
</html>
|