reap 03.01 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. data/{LICENSE → COPYING} +0 -0
  2. data/ChangeLog +5 -0
  3. data/ProjectInfo +55 -15
  4. data/README +32 -31
  5. data/Rakefile +0 -141
  6. data/bin/reap +2 -158
  7. data/data/reap/scaffold/COPYING +11 -0
  8. data/data/reap/scaffold/ChangeLog +0 -0
  9. data/data/reap/scaffold/INSTALL +0 -0
  10. data/data/reap/scaffold/ProjectInfo +78 -0
  11. data/data/reap/scaffold/README +0 -0
  12. data/data/reap/scaffold/Rakefile +146 -0
  13. data/data/reap/scaffold/Todo +0 -0
  14. data/data/reap/scaffold/setup.rb +1551 -0
  15. data/dev/Rakefile +60 -0
  16. data/dev/composite_task.rb +27 -0
  17. data/dev/compositepublisher.rb +24 -0
  18. data/dev/ftptools.rb +139 -0
  19. data/dev/license-each.rb +85 -0
  20. data/dev/publisher.rb +75 -0
  21. data/dev/rubyforgepublisher.rb +18 -0
  22. data/dev/sshpublisher.rb +47 -0
  23. data/dev/suby-cvs.rb +46 -0
  24. data/{data/site_ruby/reap/template.yaml → dev/template.rb} +15 -37
  25. data/lib/reap/bin/reap.rb +132 -0
  26. data/lib/reap/lint.rb +0 -0
  27. data/lib/reap/projectinfo.rb +13 -8
  28. data/lib/reap/readymade.rb +21 -0
  29. data/lib/reap/task.rb +120 -68
  30. data/lib/reap/{announce_task.rb → task/announce.rb} +15 -20
  31. data/lib/reap/{filemod_task.rb → task/fileperm.rb} +12 -16
  32. data/lib/reap/task/info.rb +20 -0
  33. data/lib/reap/task/install.rb +33 -0
  34. data/lib/reap/task/noop.rb +26 -0
  35. data/lib/reap/{package_task.rb → task/package.rb} +88 -71
  36. data/lib/reap/{publish_task.rb → task/publish.rb} +5 -13
  37. data/lib/reap/{rdoc_task.rb → task/rdoc.rb} +29 -22
  38. data/lib/reap/task/scaffold.rb +114 -0
  39. data/lib/reap/{test_task.rb → task/test.rb} +32 -25
  40. data/lib/reap/task/testext.rb +110 -0
  41. data/lib/reap/{web_publish_task.rb → task/webpublish.rb} +5 -11
  42. data/lib/reap/tasks.rb +12 -8
  43. data/lib/reap/test.rb +138 -0
  44. data/setup.rb +726 -534
  45. data/web/ProjectInfo +57 -0
  46. data/{pub/www → web}/images/appleboy.jpg +0 -0
  47. data/{pub → web/images}/grape.jpg +0 -0
  48. data/web/index.html +123 -0
  49. data/web/rdoc/classes/Object.html +121 -0
  50. data/{pub/www → web}/rdoc/classes/ProjectInfo.html +36 -36
  51. data/{pub/www/rdoc/classes/ProjectInfo.src/M000055.html → web/rdoc/classes/ProjectInfo.src/M000092.html} +3 -3
  52. data/{pub/www/rdoc/classes/ProjectInfo.src/M000056.html → web/rdoc/classes/ProjectInfo.src/M000093.html} +2 -1
  53. data/{pub/www/rdoc/classes/ProjectInfo.src/M000057.html → web/rdoc/classes/ProjectInfo.src/M000094.html} +1 -1
  54. data/{pub/www/rdoc/classes/ProjectInfo.src/M000058.html → web/rdoc/classes/ProjectInfo.src/M000095.html} +1 -1
  55. data/{pub/www/rdoc/classes/ProjectInfo.src/M000059.html → web/rdoc/classes/ProjectInfo.src/M000096.html} +1 -1
  56. data/web/rdoc/classes/Reap.html +248 -0
  57. data/web/rdoc/classes/Reap.src/M000022.html +16 -0
  58. data/web/rdoc/classes/Reap.src/M000023.html +19 -0
  59. data/web/rdoc/classes/Reap.src/M000024.html +16 -0
  60. data/web/rdoc/classes/Reap.src/M000025.html +27 -0
  61. data/{pub/www/rdoc/classes/Reap/AnnounceTask.html → web/rdoc/classes/Reap/Announce.html} +22 -40
  62. data/web/rdoc/classes/Reap/Announce.src/M000029.html +18 -0
  63. data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000041.html → web/rdoc/classes/Reap/Announce.src/M000030.html} +13 -10
  64. data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000042.html → web/rdoc/classes/Reap/Announce.src/M000031.html} +2 -2
  65. data/{pub/www/rdoc/classes/Reap/InfoTask.html → web/rdoc/classes/Reap/Info.html} +23 -41
  66. data/{pub/www/rdoc/classes/Reap/RDocTask.src/M000002.html → web/rdoc/classes/Reap/Info.src/M000032.html} +4 -4
  67. data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000049.html → web/rdoc/classes/Reap/Info.src/M000033.html} +2 -2
  68. data/{pub/www/rdoc/classes/Reap/NoopTask.src/M000046.html → web/rdoc/classes/Reap/Info.src/M000034.html} +3 -3
  69. data/web/rdoc/classes/Reap/Install.html +193 -0
  70. data/web/rdoc/classes/Reap/Install.src/M000035.html +18 -0
  71. data/{pub/www/rdoc/classes/Reap/AnnounceTask.src/M000040.html → web/rdoc/classes/Reap/Install.src/M000036.html} +6 -4
  72. data/web/rdoc/classes/Reap/Install.src/M000037.html +26 -0
  73. data/{pub/www/rdoc/classes/Reap/NoopTask.html → web/rdoc/classes/Reap/Noop.html} +23 -41
  74. data/web/rdoc/classes/Reap/Noop.src/M000026.html +18 -0
  75. data/{pub/www/rdoc/classes/Reap/NoopTask.src/M000045.html → web/rdoc/classes/Reap/Noop.src/M000027.html} +2 -2
  76. data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000050.html → web/rdoc/classes/Reap/Noop.src/M000028.html} +3 -3
  77. data/{pub/www/rdoc/classes/Reap/PackageTask.html → web/rdoc/classes/Reap/Package.html} +40 -68
  78. data/{pub/www/rdoc/classes/Reap/NoopTask.src/M000044.html → web/rdoc/classes/Reap/Package.src/M000053.html} +4 -4
  79. data/{pub/www/rdoc/classes/Reap/PackageTask.src/M000007.html → web/rdoc/classes/Reap/Package.src/M000054.html} +28 -13
  80. data/{pub/www/rdoc/classes/Reap/PackageTask.src/M000008.html → web/rdoc/classes/Reap/Package.src/M000055.html} +43 -32
  81. data/{pub/www/rdoc/classes/Reap/PackageTask.src/M000009.html → web/rdoc/classes/Reap/Package.src/M000056.html} +13 -3
  82. data/{pub/www/rdoc/classes/Reap/FilemodTask.html → web/rdoc/classes/Reap/Perm.html} +34 -52
  83. data/web/rdoc/classes/Reap/Perm.src/M000076.html +18 -0
  84. data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000029.html → web/rdoc/classes/Reap/Perm.src/M000077.html} +3 -3
  85. data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000030.html → web/rdoc/classes/Reap/Perm.src/M000078.html} +2 -2
  86. data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000031.html → web/rdoc/classes/Reap/Perm.src/M000079.html} +2 -2
  87. data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000032.html → web/rdoc/classes/Reap/Perm.src/M000080.html} +2 -2
  88. data/{pub/www/rdoc/classes/Reap/PublishTask.html → web/rdoc/classes/Reap/Publish.html} +23 -41
  89. data/web/rdoc/classes/Reap/Publish.src/M000068.html +18 -0
  90. data/{pub/www/rdoc/classes/Reap/PublishTask.src/M000025.html → web/rdoc/classes/Reap/Publish.src/M000069.html} +2 -2
  91. data/{pub/www/rdoc/classes/Reap/PublishTask.src/M000026.html → web/rdoc/classes/Reap/Publish.src/M000070.html} +3 -4
  92. data/{pub/www/rdoc/classes/Reap/RDocTask.html → web/rdoc/classes/Reap/RDoc.html} +23 -41
  93. data/web/rdoc/classes/Reap/RDoc.src/M000057.html +18 -0
  94. data/{pub/www/rdoc/classes/Reap/RDocTask.src/M000003.html → web/rdoc/classes/Reap/RDoc.src/M000058.html} +4 -5
  95. data/{pub/www/rdoc/classes/Reap/RDocTask.src/M000004.html → web/rdoc/classes/Reap/RDoc.src/M000059.html} +26 -9
  96. data/web/rdoc/classes/Reap/Task.html +381 -0
  97. data/web/rdoc/classes/Reap/Task.src/M000038.html +18 -0
  98. data/{pub/www/rdoc/classes/Reap/AnnounceTask.src → web/rdoc/classes/Reap/Task.src}/M000039.html +3 -3
  99. data/web/rdoc/classes/Reap/Task.src/M000040.html +16 -0
  100. data/web/rdoc/classes/Reap/Task.src/M000041.html +18 -0
  101. data/{pub/www/rdoc/classes/Reap/FilemodTask.src/M000027.html → web/rdoc/classes/Reap/Task.src/M000042.html} +5 -3
  102. data/{pub/www/rdoc/classes/Reap/NoopTask.src → web/rdoc/classes/Reap/Task.src}/M000043.html +3 -3
  103. data/web/rdoc/classes/Reap/Task.src/M000044.html +16 -0
  104. data/{pub/www/rdoc/classes/Reap/Task.src/M000034.html → web/rdoc/classes/Reap/Task.src/M000045.html} +2 -4
  105. data/{pub/www/rdoc/classes/Reap/Task.src/M000036.html → web/rdoc/classes/Reap/Task.src/M000046.html} +3 -3
  106. data/web/rdoc/classes/Reap/Task.src/M000047.html +16 -0
  107. data/web/rdoc/classes/Reap/Task.src/M000048.html +27 -0
  108. data/web/rdoc/classes/Reap/Task.src/M000049.html +19 -0
  109. data/{pub/www/rdoc/classes/Reap/Task.src/M000037.html → web/rdoc/classes/Reap/Task.src/M000050.html} +2 -2
  110. data/web/rdoc/classes/Reap/Task.src/M000051.html +18 -0
  111. data/web/rdoc/classes/Reap/Task.src/M000052.html +19 -0
  112. data/{pub/www/rdoc/classes/Reap/TestTask.html → web/rdoc/classes/Reap/Test.html} +47 -56
  113. data/web/rdoc/classes/Reap/Test.src/M000060.html +18 -0
  114. data/{pub/www/rdoc/classes/Reap/TestTask.src/M000016.html → web/rdoc/classes/Reap/Test.src/M000061.html} +5 -4
  115. data/{pub/www/rdoc/classes/Reap/TestTask.src/M000017.html → web/rdoc/classes/Reap/Test.src/M000062.html} +2 -2
  116. data/{pub/www/rdoc/classes/Reap/TestTask.src/M000018.html → web/rdoc/classes/Reap/Test.src/M000063.html} +2 -2
  117. data/{pub/www/rdoc/classes/Reap/TestTask.src/M000019.html → web/rdoc/classes/Reap/Test.src/M000064.html} +18 -4
  118. data/{pub/www/rdoc/classes/Reap/TestTask → web/rdoc/classes/Reap/Test}/TestResults.html +21 -19
  119. data/{pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000020.html → web/rdoc/classes/Reap/Test/TestResults.src/M000065.html} +2 -2
  120. data/{pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000021.html → web/rdoc/classes/Reap/Test/TestResults.src/M000066.html} +2 -2
  121. data/{pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000022.html → web/rdoc/classes/Reap/Test/TestResults.src/M000067.html} +2 -2
  122. data/web/rdoc/classes/Reap/TestExt.html +234 -0
  123. data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000048.html → web/rdoc/classes/Reap/TestExt.src/M000071.html} +4 -4
  124. data/web/rdoc/classes/Reap/TestExt.src/M000072.html +20 -0
  125. data/web/rdoc/classes/Reap/TestExt.src/M000073.html +49 -0
  126. data/web/rdoc/classes/Reap/TestExt.src/M000074.html +34 -0
  127. data/web/rdoc/classes/Reap/TestExt.src/M000075.html +27 -0
  128. data/{pub/www/rdoc/classes/Reap/WebPublishTask.html → web/rdoc/classes/Reap/WebPublish.html} +23 -41
  129. data/{pub/www/rdoc/classes/Reap/WebPublishTask.src/M000011.html → web/rdoc/classes/Reap/WebPublish.src/M000081.html} +4 -4
  130. data/{pub/www/rdoc/classes/Reap/WebPublishTask.src/M000012.html → web/rdoc/classes/Reap/WebPublish.src/M000082.html} +2 -2
  131. data/{pub/www/rdoc/classes/Reap/WebPublishTask.src/M000013.html → web/rdoc/classes/Reap/WebPublish.src/M000083.html} +2 -2
  132. data/web/rdoc/classes/ReapCommand.html +407 -0
  133. data/web/rdoc/classes/ReapCommand.src/M000001.html +16 -0
  134. data/web/rdoc/classes/ReapCommand.src/M000003.html +16 -0
  135. data/web/rdoc/classes/ReapCommand.src/M000005.html +16 -0
  136. data/{pub/www/rdoc/classes/Reap/InfoTask.src/M000047.html → web/rdoc/classes/ReapCommand.src/M000007.html} +4 -4
  137. data/web/rdoc/classes/ReapCommand.src/M000009.html +16 -0
  138. data/web/rdoc/classes/ReapCommand.src/M000011.html +16 -0
  139. data/web/rdoc/classes/ReapCommand.src/M000013.html +18 -0
  140. data/web/rdoc/classes/ReapCommand.src/M000014.html +19 -0
  141. data/web/rdoc/classes/ReapCommand.src/M000015.html +19 -0
  142. data/web/rdoc/classes/ReapCommand.src/M000016.html +23 -0
  143. data/web/rdoc/classes/Scaffold.html +211 -0
  144. data/web/rdoc/classes/Scaffold.src/M000084.html +16 -0
  145. data/web/rdoc/classes/Scaffold.src/M000085.html +28 -0
  146. data/web/rdoc/classes/Scaffold.src/M000086.html +32 -0
  147. data/web/rdoc/classes/Scaffold.src/M000087.html +18 -0
  148. data/{pub/www/rdoc/classes/RakeTask.html → web/rdoc/classes/UnitTestKernel.html} +28 -34
  149. data/web/rdoc/classes/UnitTestKernel.src/M000018.html +18 -0
  150. data/web/rdoc/classes/UnitTestKernel.src/M000019.html +18 -0
  151. data/web/rdoc/classes/UnitTestKernel.src/M000020.html +22 -0
  152. data/web/rdoc/classes/UnitTestKernel.src/M000021.html +22 -0
  153. data/{pub/www/rdoc/classes/Reap.html → web/rdoc/classes/UnitTesting.html} +48 -54
  154. data/web/rdoc/classes/UnitTesting.src/M000088.html +34 -0
  155. data/web/rdoc/classes/UnitTesting.src/M000089.html +18 -0
  156. data/web/rdoc/classes/UnitTesting/Failure.html +156 -0
  157. data/web/rdoc/classes/UnitTesting/Failure.src/M000090.html +18 -0
  158. data/web/rdoc/classes/UnitTesting/Failure.src/M000091.html +21 -0
  159. data/web/rdoc/created.rid +1 -0
  160. data/web/rdoc/files/ANN.html +107 -0
  161. data/{pub/www/rdoc/files/LICENSE.html → web/rdoc/files/COPYING.html} +3 -3
  162. data/web/rdoc/files/ChangeLog.html +144 -0
  163. data/web/rdoc/files/ProjectInfo.html +190 -0
  164. data/{pub/www → web}/rdoc/files/README.html +17 -24
  165. data/web/rdoc/files/Rakefile.html +101 -0
  166. data/web/rdoc/files/lib/reap/bin/reap_rb.html +124 -0
  167. data/web/rdoc/files/lib/reap/lint_rb.html +101 -0
  168. data/{pub/www → web}/rdoc/files/lib/reap/projectinfo_rb.html +3 -4
  169. data/web/rdoc/files/lib/reap/readymade_rb.html +123 -0
  170. data/{pub/www/rdoc/files/lib/reap/announce_task_rb.html → web/rdoc/files/lib/reap/task/announce_rb.html} +5 -5
  171. data/{pub/www/rdoc/files/lib/reap/filemod_task_rb.html → web/rdoc/files/lib/reap/task/fileperm_rb.html} +5 -5
  172. data/{pub/www/rdoc/files/lib/reap/rdoc_task_rb.html → web/rdoc/files/lib/reap/task/info_rb.html} +5 -5
  173. data/web/rdoc/files/lib/reap/task/install_rb.html +108 -0
  174. data/{pub/www/rdoc/files/lib/reap/noop_task_rb.html → web/rdoc/files/lib/reap/task/noop_rb.html} +5 -5
  175. data/{pub/www/rdoc/files/lib/reap/package_task_rb.html → web/rdoc/files/lib/reap/task/package_rb.html} +5 -5
  176. data/web/rdoc/files/lib/reap/task/publish_rb.html +108 -0
  177. data/web/rdoc/files/lib/reap/task/rdoc_rb.html +108 -0
  178. data/web/rdoc/files/lib/reap/task/scaffold_rb.html +107 -0
  179. data/{pub/www/rdoc/files/lib/reap/test_task_rb.html → web/rdoc/files/lib/reap/task/test_rb.html} +5 -5
  180. data/web/rdoc/files/lib/reap/task/testext_rb.html +109 -0
  181. data/{pub/www/rdoc/files/lib/reap/publish_task_rb.html → web/rdoc/files/lib/reap/task/webpublish_rb.html} +5 -5
  182. data/{pub/www → web}/rdoc/files/lib/reap/task_rb.html +11 -3
  183. data/{pub/www → web}/rdoc/files/lib/reap/tasks_rb.html +10 -9
  184. data/{pub/www/rdoc/files/lib/reap/info_task_rb.html → web/rdoc/files/lib/reap/test_rb.html} +6 -5
  185. data/web/rdoc/fr_class_index.html +47 -0
  186. data/web/rdoc/fr_file_index.html +51 -0
  187. data/web/rdoc/fr_method_index.html +122 -0
  188. data/{pub/www → web}/rdoc/index.html +0 -0
  189. data/{pub/www → web}/rdoc/rdoc-style.css +0 -0
  190. metadata +234 -158
  191. data/lib/reap/info_task.rb +0 -29
  192. data/lib/reap/noop_task.rb +0 -35
  193. data/lib/reap/ready_made.rb +0 -12
  194. data/pub/www/Reapfile +0 -99
  195. data/pub/www/index.html +0 -90
  196. data/pub/www/rdoc/classes/RakeTask.src/M000051.html +0 -18
  197. data/pub/www/rdoc/classes/RakeTask.src/M000052.html +0 -18
  198. data/pub/www/rdoc/classes/RakeTask.src/M000053.html +0 -18
  199. data/pub/www/rdoc/classes/RakeTask.src/M000054.html +0 -18
  200. data/pub/www/rdoc/classes/Reap/FilemodTask.src/M000028.html +0 -18
  201. data/pub/www/rdoc/classes/Reap/PackageTask.src/M000005.html +0 -16
  202. data/pub/www/rdoc/classes/Reap/PackageTask.src/M000006.html +0 -24
  203. data/pub/www/rdoc/classes/Reap/PublishTask.src/M000023.html +0 -16
  204. data/pub/www/rdoc/classes/Reap/PublishTask.src/M000024.html +0 -18
  205. data/pub/www/rdoc/classes/Reap/RDocTask.src/M000001.html +0 -16
  206. data/pub/www/rdoc/classes/Reap/Task.html +0 -239
  207. data/pub/www/rdoc/classes/Reap/Task.src/M000033.html +0 -21
  208. data/pub/www/rdoc/classes/Reap/Task.src/M000035.html +0 -41
  209. data/pub/www/rdoc/classes/Reap/Task.src/M000038.html +0 -19
  210. data/pub/www/rdoc/classes/Reap/TestTask.src/M000014.html +0 -16
  211. data/pub/www/rdoc/classes/Reap/TestTask.src/M000015.html +0 -18
  212. data/pub/www/rdoc/classes/Reap/WebPublishTask.src/M000010.html +0 -16
  213. data/pub/www/rdoc/classes/ReapTask.html +0 -287
  214. data/pub/www/rdoc/classes/ReapTask.src/M000060.html +0 -18
  215. data/pub/www/rdoc/classes/ReapTask.src/M000061.html +0 -18
  216. data/pub/www/rdoc/classes/ReapTask.src/M000062.html +0 -18
  217. data/pub/www/rdoc/classes/ReapTask.src/M000063.html +0 -18
  218. data/pub/www/rdoc/classes/ReapTask.src/M000064.html +0 -18
  219. data/pub/www/rdoc/classes/ReapTask.src/M000065.html +0 -18
  220. data/pub/www/rdoc/classes/ReapTask.src/M000066.html +0 -18
  221. data/pub/www/rdoc/classes/ReapTask.src/M000067.html +0 -18
  222. data/pub/www/rdoc/classes/ReapTask.src/M000068.html +0 -18
  223. data/pub/www/rdoc/created.rid +0 -1
  224. data/pub/www/rdoc/files/lib/reap/ready_made_rb.html +0 -115
  225. data/pub/www/rdoc/files/lib/reap/web_publish_task_rb.html +0 -108
  226. data/pub/www/rdoc/fr_class_index.html +0 -41
  227. data/pub/www/rdoc/fr_file_index.html +0 -41
  228. data/pub/www/rdoc/fr_method_index.html +0 -94
@@ -5,12 +5,12 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>run_chown (Reap::FilemodTask)</title>
8
+ <title>run_chown (Reap::Perm)</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/filemod_task.rb, line 72</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/task/fileperm.rb, line 65</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run_chown</span>
15
15
  <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;NOT YET IMPLEMENTED&quot;</span>
16
16
  <span class="ruby-keyword kw">end</span></pre>
@@ -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::PublishTask</title>
8
+ <title>Class: Reap::Publish</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::PublishTask</td>
53
+ <td class="class-name-in-header">Reap::Publish</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/publish_task_rb.html">
59
- lib/reap/publish_task.rb
58
+ <a href="../../files/lib/reap/task/publish_rb.html">
59
+ lib/reap/task/publish.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
- Publish <a href="Task.html">Task</a>
85
+ <a href="Publish.html">Publish</a> <a href="Task.html">Task</a>
86
86
  </p>
87
87
 
88
88
  </div>
@@ -94,10 +94,9 @@ 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="#M000024">default_desc</a>&nbsp;&nbsp;
98
- <a href="#M000023">default_name</a>&nbsp;&nbsp;
99
- <a href="#M000025">init</a>&nbsp;&nbsp;
100
- <a href="#M000026">run</a>&nbsp;&nbsp;
97
+ <a href="#M000069">init</a>&nbsp;&nbsp;
98
+ <a href="#M000070">run</a>&nbsp;&nbsp;
99
+ <a href="#M000068">task_desc</a>&nbsp;&nbsp;
101
100
  </div>
102
101
  </div>
103
102
 
@@ -157,44 +156,27 @@ 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-M000024" class="method-detail">
161
- <a name="M000024"></a>
159
+ <div id="method-M000069" class="method-detail">
160
+ <a name="M000069"></a>
162
161
 
163
162
  <div class="method-heading">
164
- <a href="PublishTask.src/M000024.html" target="Code" class="method-signature"
165
- onclick="popupCode('PublishTask.src/M000024.html');return false;">
166
- <span class="method-name">default_desc</span><span class="method-args">()</span>
167
- </a>
168
- </div>
169
-
170
- <div class="method-description">
171
- </div>
172
- </div>
173
-
174
- <div id="method-M000023" class="method-detail">
175
- <a name="M000023"></a>
176
-
177
- <div class="method-heading">
178
- <a href="PublishTask.src/M000023.html" target="Code" class="method-signature"
179
- onclick="popupCode('PublishTask.src/M000023.html');return false;">
180
- <span class="method-name">default_name</span><span class="method-args">()</span>
163
+ <a href="Publish.src/M000069.html" target="Code" class="method-signature"
164
+ onclick="popupCode('Publish.src/M000069.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 &#8216;publish&#8217;
187
- </p>
188
170
  </div>
189
171
  </div>
190
172
 
191
- <div id="method-M000025" class="method-detail">
192
- <a name="M000025"></a>
173
+ <div id="method-M000070" class="method-detail">
174
+ <a name="M000070"></a>
193
175
 
194
176
  <div class="method-heading">
195
- <a href="PublishTask.src/M000025.html" target="Code" class="method-signature"
196
- onclick="popupCode('PublishTask.src/M000025.html');return false;">
197
- <span class="method-name">init</span><span class="method-args">()</span>
177
+ <a href="Publish.src/M000070.html" target="Code" class="method-signature"
178
+ onclick="popupCode('Publish.src/M000070.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 &#8216;publish&#8217;
202
184
  </div>
203
185
  </div>
204
186
 
205
- <div id="method-M000026" class="method-detail">
206
- <a name="M000026"></a>
187
+ <div id="method-M000068" class="method-detail">
188
+ <a name="M000068"></a>
207
189
 
208
190
  <div class="method-heading">
209
- <a href="PublishTask.src/M000026.html" target="Code" class="method-signature"
210
- onclick="popupCode('PublishTask.src/M000026.html');return false;">
211
- <span class="method-name">run</span><span class="method-args">()</span>
191
+ <a href="Publish.src/M000068.html" target="Code" class="method-signature"
192
+ onclick="popupCode('Publish.src/M000068.html');return false;">
193
+ <span class="method-name">task_desc</span><span class="method-args">()</span>
212
194
  </a>
213
195
  </div>
214
196
 
@@ -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>task_desc (Reap::Publish)</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/publish.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">&quot;Publish documents to the web.&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -5,12 +5,12 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>init (Reap::PublishTask)</title>
8
+ <title>init (Reap::Publish)</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/publish_task.rb, line 25</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/task/publish.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">@type</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'www'</span>
16
16
  <span class="ruby-ivar">@host</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'rubyforge.org'</span>
@@ -5,17 +5,17 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>run (Reap::PublishTask)</title>
8
+ <title>run (Reap::Publish)</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/publish_task.rb, line 33</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/task/publish.rb, line 26</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
 
17
17
  <span class="ruby-keyword kw">case</span> <span class="ruby-ivar">@host</span>
18
- <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'rubyforge'</span>
18
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'rubyforge'</span>, <span class="ruby-value str">'rubyforge.org'</span>
19
19
  <span class="ruby-keyword kw">case</span> <span class="ruby-ivar">@type</span>
20
20
  <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'www'</span>, <span class="ruby-value str">'web'</span>
21
21
  <span class="ruby-identifier">cmd</span> = <span class="ruby-node">%{scp -r #{@dir}/* #{@username}@rubyforge.org:/var/www/gforge-projects/#{@project}/}</span>
@@ -30,7 +30,6 @@
30
30
 
31
31
  <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">skip</span>
32
32
  <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Reap is shelling out publishing work...&quot;</span>
33
- <span class="ruby-identifier">puts</span> <span class="ruby-identifier">cmd</span>
34
33
  <span class="ruby-identifier">sh</span>(<span class="ruby-identifier">cmd</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">$PRETEND</span>
35
34
  <span class="ruby-keyword kw">end</span>
36
35
  <span class="ruby-keyword kw">end</span></pre>
@@ -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::RDocTask</title>
8
+ <title>Class: Reap::RDoc</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::RDocTask</td>
53
+ <td class="class-name-in-header">Reap::RDoc</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/rdoc_task_rb.html">
59
- lib/reap/rdoc_task.rb
58
+ <a href="../../files/lib/reap/task/rdoc_rb.html">
59
+ lib/reap/task/rdoc.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
- RDoc <a href="Task.html">Task</a>
85
+ <a href="RDoc.html">RDoc</a> <a href="Task.html">Task</a>
86
86
  </p>
87
87
 
88
88
  </div>
@@ -94,10 +94,9 @@ RDoc <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="#M000002">default_desc</a>&nbsp;&nbsp;
98
- <a href="#M000001">default_name</a>&nbsp;&nbsp;
99
- <a href="#M000003">init</a>&nbsp;&nbsp;
100
- <a href="#M000004">run</a>&nbsp;&nbsp;
97
+ <a href="#M000058">init</a>&nbsp;&nbsp;
98
+ <a href="#M000059">run</a>&nbsp;&nbsp;
99
+ <a href="#M000057">task_desc</a>&nbsp;&nbsp;
101
100
  </div>
102
101
  </div>
103
102
 
@@ -162,44 +161,27 @@ RDoc <a href="Task.html">Task</a>
162
161
  <div id="methods">
163
162
  <h3 class="section-bar">Public Instance methods</h3>
164
163
 
165
- <div id="method-M000002" class="method-detail">
166
- <a name="M000002"></a>
164
+ <div id="method-M000058" class="method-detail">
165
+ <a name="M000058"></a>
167
166
 
168
167
  <div class="method-heading">
169
- <a href="RDocTask.src/M000002.html" target="Code" class="method-signature"
170
- onclick="popupCode('RDocTask.src/M000002.html');return false;">
171
- <span class="method-name">default_desc</span><span class="method-args">()</span>
172
- </a>
173
- </div>
174
-
175
- <div class="method-description">
176
- </div>
177
- </div>
178
-
179
- <div id="method-M000001" class="method-detail">
180
- <a name="M000001"></a>
181
-
182
- <div class="method-heading">
183
- <a href="RDocTask.src/M000001.html" target="Code" class="method-signature"
184
- onclick="popupCode('RDocTask.src/M000001.html');return false;">
185
- <span class="method-name">default_name</span><span class="method-args">()</span>
168
+ <a href="RDoc.src/M000058.html" target="Code" class="method-signature"
169
+ onclick="popupCode('RDoc.src/M000058.html');return false;">
170
+ <span class="method-name">init</span><span class="method-args">()</span>
186
171
  </a>
187
172
  </div>
188
173
 
189
174
  <div class="method-description">
190
- <p>
191
- register &#8216;rdoc&#8217;
192
- </p>
193
175
  </div>
194
176
  </div>
195
177
 
196
- <div id="method-M000003" class="method-detail">
197
- <a name="M000003"></a>
178
+ <div id="method-M000059" class="method-detail">
179
+ <a name="M000059"></a>
198
180
 
199
181
  <div class="method-heading">
200
- <a href="RDocTask.src/M000003.html" target="Code" class="method-signature"
201
- onclick="popupCode('RDocTask.src/M000003.html');return false;">
202
- <span class="method-name">init</span><span class="method-args">()</span>
182
+ <a href="RDoc.src/M000059.html" target="Code" class="method-signature"
183
+ onclick="popupCode('RDoc.src/M000059.html');return false;">
184
+ <span class="method-name">run</span><span class="method-args">()</span>
203
185
  </a>
204
186
  </div>
205
187
 
@@ -207,13 +189,13 @@ register &#8216;rdoc&#8217;
207
189
  </div>
208
190
  </div>
209
191
 
210
- <div id="method-M000004" class="method-detail">
211
- <a name="M000004"></a>
192
+ <div id="method-M000057" class="method-detail">
193
+ <a name="M000057"></a>
212
194
 
213
195
  <div class="method-heading">
214
- <a href="RDocTask.src/M000004.html" target="Code" class="method-signature"
215
- onclick="popupCode('RDocTask.src/M000004.html');return false;">
216
- <span class="method-name">run</span><span class="method-args">()</span>
196
+ <a href="RDoc.src/M000057.html" target="Code" class="method-signature"
197
+ onclick="popupCode('RDoc.src/M000057.html');return false;">
198
+ <span class="method-name">task_desc</span><span class="method-args">()</span>
217
199
  </a>
218
200
  </div>
219
201
 
@@ -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>task_desc (Reap::RDoc)</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/rdoc.rb, line 9</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">task_desc</span>
15
+ <span class="ruby-node">&quot;Generate RDocs (in #{dir}).&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -5,20 +5,19 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>init (Reap::RDocTask)</title>
8
+ <title>init (Reap::RDoc)</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/rdoc_task.rb, line 25</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/task/rdoc.rb, line 16</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
15
15
  <span class="ruby-ivar">@dir</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'doc'</span>
16
16
  <span class="ruby-ivar">@main</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'README'</span>
17
17
  <span class="ruby-ivar">@title</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">master</span>[<span class="ruby-value str">&quot;title&quot;</span>]
18
18
  <span class="ruby-ivar">@template</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">'html'</span> <span class="ruby-comment cmt"># 'jamis'</span>
19
- <span class="ruby-ivar">@include</span> <span class="ruby-operator">||=</span> [<span class="ruby-value str">'lib/**/*'</span>,<span class="ruby-value str">'bin/**/*'</span>, <span class="ruby-value str">'ext/**/*'</span>,
20
- <span class="ruby-value str">'READ*'</span>, <span class="ruby-value str">'LICENC*'</span>, <span class="ruby-value str">'COPY*'</span>, <span class="ruby-value str">'Change*'</span>]
21
- <span class="ruby-ivar">@exclude</span> <span class="ruby-operator">||=</span> []
19
+ <span class="ruby-ivar">@include</span> <span class="ruby-operator">||=</span> [ <span class="ruby-value str">'A-Z*'</span>, <span class="ruby-value str">'lib/**/*'</span>, <span class="ruby-value str">'ext/**/*'</span> ]
20
+ <span class="ruby-ivar">@exclude</span> <span class="ruby-operator">||=</span> [ <span class="ruby-value str">'demo/**/*'</span>, <span class="ruby-value str">'example/**/*'</span>, <span class="ruby-value str">'sample/**/*'</span> ]
22
21
  <span class="ruby-ivar">@options</span> <span class="ruby-operator">||=</span> [<span class="ruby-value str">'--merge'</span>, <span class="ruby-value str">'--all'</span>]
23
22
  <span class="ruby-keyword kw">end</span></pre>
24
23
  </body>
@@ -5,18 +5,22 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>run (Reap::RDocTask)</title>
8
+ <title>run (Reap::RDoc)</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/rdoc_task.rb, line 36</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/reap/task/rdoc.rb, line 26</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
15
+ <span class="ruby-identifier">must_exclude</span> = [ <span class="ruby-value str">'InstalledFiles'</span>, <span class="ruby-value str">'CVS/**/*'</span> ]
16
+
15
17
  <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
18
  <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;Specified RDoc Main file #{@main} not found. Ignored.&quot;</span>
17
19
  <span class="ruby-ivar">@main</span> = <span class="ruby-keyword kw">nil</span>
18
20
  <span class="ruby-keyword kw">end</span>
21
+
19
22
  <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>)
23
+
20
24
  <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
25
  <span class="ruby-identifier">print</span> <span class="ruby-node">&quot;Directory '#{@dir}' already exists. Clobber? [y/N] &quot;</span>
22
26
  <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>
@@ -26,27 +30,40 @@
26
30
  <span class="ruby-comment cmt">#trashdir = &quot;.trash/#{File.basename(@dir)}&quot;</span>
27
31
  <span class="ruby-comment cmt">#FileUtils.rm_r(trashdir) if FileTest.exists?(trashdir)</span>
28
32
  <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>)
33
+ <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_r</span>(<span class="ruby-ivar">@dir</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">$PRETEND</span>
30
34
  <span class="ruby-keyword kw">else</span>
31
35
  <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Reap rdoc task canceled.&quot;</span>
32
36
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
33
37
  <span class="ruby-keyword kw">end</span>
34
38
  <span class="ruby-keyword kw">end</span>
39
+
35
40
  <span class="ruby-identifier">rdoc_target</span> = <span class="ruby-node">&quot;#{rdoc_dir}/index.html&quot;</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>)
41
+
42
+ <span class="ruby-identifier">exc</span> = []
43
+ (<span class="ruby-ivar">@exclude</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">must_exclude</span>).<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span>
44
+ <span class="ruby-identifier">exc</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">e</span>
45
+ <span class="ruby-identifier">exc</span> <span class="ruby-operator">|=</span> <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">e</span><span class="ruby-operator">+</span><span class="ruby-value str">'/**/*'</span>)
46
+ }
47
+
48
+ <span class="ruby-identifier">inc</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-value str">'[A-Z]*'</span>)
49
+ <span class="ruby-ivar">@include</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">inc</span> <span class="ruby-operator">|=</span> <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">i</span>) }
50
+ <span class="ruby-identifier">inc</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">exc</span>
51
+
52
+ <span class="ruby-identifier">inc</span> = <span class="ruby-identifier">inc</span>.<span class="ruby-identifier">select</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-identifier">f</span>) }
53
+
54
+ <span class="ruby-identifier">rdoc_files</span> = <span class="ruby-identifier">inc</span>
40
55
  <span class="ruby-identifier">rdoc_files</span> = <span class="ruby-value str">'&quot;'</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">rdoc_files</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">'&quot; &quot;'</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'&quot;'</span>
56
+
41
57
  <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>
58
+ <span class="ruby-identifier">build</span> = []
59
+ <span class="ruby-identifier">build</span> <span class="ruby-operator">+=</span> <span class="ruby-ivar">@options</span>
43
60
  <span class="ruby-identifier">build</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--main '#{@main}'&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@main</span>
44
61
  <span class="ruby-identifier">build</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--title '#{@title}'&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@title</span>
45
62
  <span class="ruby-identifier">build</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-T '#{@template}'&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@template</span>
46
63
  <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>)
64
+
47
65
  <span class="ruby-comment cmt"># do it!</span>
48
66
  <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Reap is shelling work out to RDoc...&quot;</span>
49
- <span class="ruby-identifier">puts</span> <span class="ruby-node">%{rdoc -o #{@dir} #{rdoc_opts}}</span>
50
67
  <span class="ruby-identifier">sh</span> <span class="ruby-node">%{rdoc -o #{rdoc_dir} #{rdoc_opts} #{rdoc_files}}</span>
51
68
  <span class="ruby-keyword kw">end</span></pre>
52
69
  </body>
@@ -0,0 +1,381 @@
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/reap/task_rb.html">
59
+ lib/reap/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
+ <a href="../Object.html">
69
+ Object
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="#M000038">inherited</a>&nbsp;&nbsp;
92
+ <a href="#M000050">init</a>&nbsp;&nbsp;
93
+ <a href="#M000045">master</a>&nbsp;&nbsp;
94
+ <a href="#M000048">new</a>&nbsp;&nbsp;
95
+ <a href="#M000051">run</a>&nbsp;&nbsp;
96
+ <a href="#M000046">section</a>&nbsp;&nbsp;
97
+ <a href="#M000049">section_parameters_set</a>&nbsp;&nbsp;
98
+ <a href="#M000041">section_required</a>&nbsp;&nbsp;
99
+ <a href="#M000042">section_required?</a>&nbsp;&nbsp;
100
+ <a href="#M000047">section_required?</a>&nbsp;&nbsp;
101
+ <a href="#M000052">sh</a>&nbsp;&nbsp;
102
+ <a href="#M000044">task_desc</a>&nbsp;&nbsp;
103
+ <a href="#M000039">task_desc</a>&nbsp;&nbsp;
104
+ <a href="#M000043">task_name</a>&nbsp;&nbsp;
105
+ <a href="#M000040">task_name</a>&nbsp;&nbsp;
106
+ </div>
107
+ </div>
108
+
109
+ </div>
110
+
111
+
112
+ <!-- if includes -->
113
+ <div id="includes">
114
+ <h3 class="section-bar">Included Modules</h3>
115
+
116
+ <div id="includes-list">
117
+ <span class="include-name">::Config</span>
118
+ <span class="include-name">::FileUtils</span>
119
+ </div>
120
+ </div>
121
+
122
+ <div id="section">
123
+
124
+
125
+ <div id="constants-list">
126
+ <h3 class="section-bar">Constants</h3>
127
+
128
+ <div class="name-list">
129
+ <table summary="Constants">
130
+ <tr class="top-aligned-row context-row">
131
+ <td class="context-item-name">RUBY</td>
132
+ <td>=</td>
133
+ <td class="context-item-value">CONFIG['ruby_install_name']</td>
134
+ </tr>
135
+ </table>
136
+ </div>
137
+ </div>
138
+
139
+
140
+
141
+
142
+
143
+
144
+ <!-- if method_list -->
145
+ <div id="methods">
146
+ <h3 class="section-bar">Public Class methods</h3>
147
+
148
+ <div id="method-M000038" class="method-detail">
149
+ <a name="M000038"></a>
150
+
151
+ <div class="method-heading">
152
+ <a href="Task.src/M000038.html" target="Code" class="method-signature"
153
+ onclick="popupCode('Task.src/M000038.html');return false;">
154
+ <span class="method-name">inherited</span><span class="method-args">( task_class )</span>
155
+ </a>
156
+ </div>
157
+
158
+ <div class="method-description">
159
+ <p>
160
+ class methods
161
+ </p>
162
+ </div>
163
+ </div>
164
+
165
+ <div id="method-M000048" class="method-detail">
166
+ <a name="M000048"></a>
167
+
168
+ <div class="method-heading">
169
+ <a href="Task.src/M000048.html" target="Code" class="method-signature"
170
+ onclick="popupCode('Task.src/M000048.html');return false;">
171
+ <span class="method-name">new</span><span class="method-args">()</span>
172
+ </a>
173
+ </div>
174
+
175
+ <div class="method-description">
176
+ </div>
177
+ </div>
178
+
179
+ <div id="method-M000041" class="method-detail">
180
+ <a name="M000041"></a>
181
+
182
+ <div class="method-heading">
183
+ <a href="Task.src/M000041.html" target="Code" class="method-signature"
184
+ onclick="popupCode('Task.src/M000041.html');return false;">
185
+ <span class="method-name">section_required</span><span class="method-args">( val )</span>
186
+ </a>
187
+ </div>
188
+
189
+ <div class="method-description">
190
+ </div>
191
+ </div>
192
+
193
+ <div id="method-M000042" class="method-detail">
194
+ <a name="M000042"></a>
195
+
196
+ <div class="method-heading">
197
+ <a href="Task.src/M000042.html" target="Code" class="method-signature"
198
+ onclick="popupCode('Task.src/M000042.html');return false;">
199
+ <span class="method-name">section_required?</span><span class="method-args">()</span>
200
+ </a>
201
+ </div>
202
+
203
+ <div class="method-description">
204
+ </div>
205
+ </div>
206
+
207
+ <div id="method-M000039" class="method-detail">
208
+ <a name="M000039"></a>
209
+
210
+ <div class="method-heading">
211
+ <a href="Task.src/M000039.html" target="Code" class="method-signature"
212
+ onclick="popupCode('Task.src/M000039.html');return false;">
213
+ <span class="method-name">task_desc</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-M000040" class="method-detail">
222
+ <a name="M000040"></a>
223
+
224
+ <div class="method-heading">
225
+ <a href="Task.src/M000040.html" target="Code" class="method-signature"
226
+ onclick="popupCode('Task.src/M000040.html');return false;">
227
+ <span class="method-name">task_name</span><span class="method-args">()</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-M000050" class="method-detail">
238
+ <a name="M000050"></a>
239
+
240
+ <div class="method-heading">
241
+ <a href="Task.src/M000050.html" target="Code" class="method-signature"
242
+ onclick="popupCode('Task.src/M000050.html');return false;">
243
+ <span class="method-name">init</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-M000045" class="method-detail">
252
+ <a name="M000045"></a>
253
+
254
+ <div class="method-heading">
255
+ <a href="Task.src/M000045.html" target="Code" class="method-signature"
256
+ onclick="popupCode('Task.src/M000045.html');return false;">
257
+ <span class="method-name">master</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-M000051" class="method-detail">
266
+ <a name="M000051"></a>
267
+
268
+ <div class="method-heading">
269
+ <a href="Task.src/M000051.html" target="Code" class="method-signature"
270
+ onclick="popupCode('Task.src/M000051.html');return false;">
271
+ <span class="method-name">run</span><span class="method-args">( *args )</span>
272
+ </a>
273
+ </div>
274
+
275
+ <div class="method-description">
276
+ </div>
277
+ </div>
278
+
279
+ <div id="method-M000046" class="method-detail">
280
+ <a name="M000046"></a>
281
+
282
+ <div class="method-heading">
283
+ <a href="Task.src/M000046.html" target="Code" class="method-signature"
284
+ onclick="popupCode('Task.src/M000046.html');return false;">
285
+ <span class="method-name">section</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-M000049" class="method-detail">
294
+ <a name="M000049"></a>
295
+
296
+ <div class="method-heading">
297
+ <a href="Task.src/M000049.html" target="Code" class="method-signature"
298
+ onclick="popupCode('Task.src/M000049.html');return false;">
299
+ <span class="method-name">section_parameters_set</span><span class="method-args">( s )</span>
300
+ </a>
301
+ </div>
302
+
303
+ <div class="method-description">
304
+ </div>
305
+ </div>
306
+
307
+ <div id="method-M000047" class="method-detail">
308
+ <a name="M000047"></a>
309
+
310
+ <div class="method-heading">
311
+ <a href="Task.src/M000047.html" target="Code" class="method-signature"
312
+ onclick="popupCode('Task.src/M000047.html');return false;">
313
+ <span class="method-name">section_required?</span><span class="method-args">()</span>
314
+ </a>
315
+ </div>
316
+
317
+ <div class="method-description">
318
+ </div>
319
+ </div>
320
+
321
+ <div id="method-M000052" class="method-detail">
322
+ <a name="M000052"></a>
323
+
324
+ <div class="method-heading">
325
+ <a href="Task.src/M000052.html" target="Code" class="method-signature"
326
+ onclick="popupCode('Task.src/M000052.html');return false;">
327
+ <span class="method-name">sh</span><span class="method-args">( arg )</span>
328
+ </a>
329
+ </div>
330
+
331
+ <div class="method-description">
332
+ <p>
333
+ task support methods
334
+ </p>
335
+ </div>
336
+ </div>
337
+
338
+ <div id="method-M000044" class="method-detail">
339
+ <a name="M000044"></a>
340
+
341
+ <div class="method-heading">
342
+ <a href="Task.src/M000044.html" target="Code" class="method-signature"
343
+ onclick="popupCode('Task.src/M000044.html');return false;">
344
+ <span class="method-name">task_desc</span><span class="method-args">()</span>
345
+ </a>
346
+ </div>
347
+
348
+ <div class="method-description">
349
+ </div>
350
+ </div>
351
+
352
+ <div id="method-M000043" class="method-detail">
353
+ <a name="M000043"></a>
354
+
355
+ <div class="method-heading">
356
+ <a href="Task.src/M000043.html" target="Code" class="method-signature"
357
+ onclick="popupCode('Task.src/M000043.html');return false;">
358
+ <span class="method-name">task_name</span><span class="method-args">()</span>
359
+ </a>
360
+ </div>
361
+
362
+ <div class="method-description">
363
+ <p>
364
+ instance methods
365
+ </p>
366
+ </div>
367
+ </div>
368
+
369
+
370
+ </div>
371
+
372
+
373
+ </div>
374
+
375
+
376
+ <div id="validator-badges">
377
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
378
+ </div>
379
+
380
+ </body>
381
+ </html>