reap 5.0.0 → 5.10.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/ANN +3 -0
  2. data/COPYING +11 -0
  3. data/ChangeLog +25 -0
  4. data/ProjectInfo +41 -66
  5. data/README +125 -0
  6. data/Rakefile +0 -10
  7. data/bin/reap +3 -4
  8. data/data/reap/scaffold/COPYING +11 -0
  9. data/data/reap/scaffold/{standard/ChangeLog → ChangeLog} +0 -0
  10. data/data/reap/scaffold/{standard/TODO → INSTALL} +0 -0
  11. data/data/reap/scaffold/{standard/ProjectInfo → ProjectInfo} +20 -20
  12. data/data/reap/scaffold/{subversion/trunk/ChangeLog → README} +0 -0
  13. data/data/reap/scaffold/Rakefile +146 -0
  14. data/data/reap/scaffold/{subversion/trunk/TODO → Todo} +0 -0
  15. data/{doc/note → data/reap/scaffold}/setup.rb +11 -18
  16. data/{doc/note/aRakefile → dev/Rakefile} +0 -0
  17. data/{doc/note → dev}/composite_task.rb +0 -0
  18. data/{doc/note → dev}/compositepublisher.rb +0 -0
  19. data/{doc/note → dev}/ftptools.rb +0 -0
  20. data/{doc/note → dev}/license-each.rb +0 -0
  21. data/{doc/note → dev}/publisher.rb +0 -0
  22. data/{doc/note → dev}/rubyforgepublisher.rb +0 -0
  23. data/{doc/note → dev}/sshpublisher.rb +0 -0
  24. data/{doc/note → dev}/suby-cvs.rb +0 -0
  25. data/{doc/note → dev}/template.rb +0 -0
  26. data/lib/reap/bin/reap.rb +67 -84
  27. data/{doc/note/interface/interface.rb → lib/reap/lint.rb} +0 -0
  28. data/lib/reap/projectinfo.rb +28 -206
  29. data/lib/reap/readymade.rb +21 -0
  30. data/lib/reap/task.rb +118 -184
  31. data/lib/reap/task/announce.rb +93 -181
  32. data/lib/reap/task/fileperm.rb +16 -46
  33. data/lib/reap/task/info.rb +7 -33
  34. data/lib/reap/task/install.rb +17 -52
  35. data/{task → lib/reap/task}/noop.rb +9 -4
  36. data/lib/reap/task/package.rb +102 -348
  37. data/lib/reap/task/publish.rb +29 -155
  38. data/lib/reap/task/rdoc.rb +40 -92
  39. data/lib/reap/task/scaffold.rb +98 -41
  40. data/lib/reap/task/test.rb +52 -147
  41. data/lib/reap/task/testext.rb +110 -0
  42. data/lib/reap/task/webpublish.rb +43 -0
  43. data/lib/reap/tasks.rb +13 -0
  44. data/lib/reap/test.rb +138 -0
  45. data/setup.rb +272 -287
  46. data/test/tc_reap.rb +1 -1
  47. data/web/ProjectInfo +57 -0
  48. data/web/images/appleboy.jpg +0 -0
  49. data/web/images/grape.jpg +0 -0
  50. data/web/index.html +124 -0
  51. data/web/rdoc/classes/Object.html +121 -0
  52. data/web/rdoc/classes/ProjectInfo.html +207 -0
  53. data/web/rdoc/classes/ProjectInfo.src/M000094.html +18 -0
  54. data/web/rdoc/classes/ProjectInfo.src/M000095.html +24 -0
  55. data/web/rdoc/classes/ProjectInfo.src/M000096.html +22 -0
  56. data/web/rdoc/classes/ProjectInfo.src/M000097.html +21 -0
  57. data/web/rdoc/classes/ProjectInfo.src/M000098.html +18 -0
  58. data/web/rdoc/classes/Reap.html +248 -0
  59. data/web/rdoc/classes/Reap.src/M000023.html +16 -0
  60. data/web/rdoc/classes/Reap.src/M000024.html +21 -0
  61. data/web/rdoc/classes/Reap.src/M000025.html +16 -0
  62. data/web/rdoc/classes/Reap.src/M000026.html +21 -0
  63. data/web/rdoc/classes/Reap/Announce.html +262 -0
  64. data/web/rdoc/classes/Reap/Announce.src/M000030.html +18 -0
  65. data/web/rdoc/classes/Reap/Announce.src/M000031.html +114 -0
  66. data/web/rdoc/classes/Reap/Announce.src/M000032.html +46 -0
  67. data/web/rdoc/classes/Reap/Info.html +176 -0
  68. data/web/rdoc/classes/Reap/Info.src/M000033.html +18 -0
  69. data/web/rdoc/classes/Reap/Info.src/M000034.html +17 -0
  70. data/web/rdoc/classes/Reap/Info.src/M000035.html +18 -0
  71. data/web/rdoc/classes/Reap/Install.html +193 -0
  72. data/web/rdoc/classes/Reap/Install.src/M000036.html +18 -0
  73. data/web/rdoc/classes/Reap/Install.src/M000037.html +20 -0
  74. data/web/rdoc/classes/Reap/Install.src/M000038.html +26 -0
  75. data/web/rdoc/classes/Reap/Noop.html +192 -0
  76. data/web/rdoc/classes/Reap/Noop.src/M000027.html +18 -0
  77. data/web/rdoc/classes/Reap/Noop.src/M000028.html +17 -0
  78. data/web/rdoc/classes/Reap/Noop.src/M000029.html +18 -0
  79. data/web/rdoc/classes/Reap/Package.html +310 -0
  80. data/web/rdoc/classes/Reap/Package.src/M000055.html +18 -0
  81. data/web/rdoc/classes/Reap/Package.src/M000056.html +68 -0
  82. data/web/rdoc/classes/Reap/Package.src/M000057.html +84 -0
  83. data/web/rdoc/classes/Reap/Package.src/M000058.html +61 -0
  84. data/web/rdoc/classes/Reap/Perm.html +236 -0
  85. data/web/rdoc/classes/Reap/Perm.src/M000078.html +18 -0
  86. data/web/rdoc/classes/Reap/Perm.src/M000079.html +21 -0
  87. data/web/rdoc/classes/Reap/Perm.src/M000080.html +42 -0
  88. data/web/rdoc/classes/Reap/Perm.src/M000081.html +26 -0
  89. data/web/rdoc/classes/Reap/Perm.src/M000082.html +18 -0
  90. data/web/rdoc/classes/Reap/Publish.html +213 -0
  91. data/web/rdoc/classes/Reap/Publish.src/M000070.html +18 -0
  92. data/web/rdoc/classes/Reap/Publish.src/M000071.html +22 -0
  93. data/web/rdoc/classes/Reap/Publish.src/M000072.html +37 -0
  94. data/web/rdoc/classes/Reap/RDoc.html +218 -0
  95. data/web/rdoc/classes/Reap/RDoc.src/M000059.html +18 -0
  96. data/web/rdoc/classes/Reap/RDoc.src/M000060.html +24 -0
  97. data/web/rdoc/classes/Reap/RDoc.src/M000061.html +70 -0
  98. data/web/rdoc/classes/Reap/Task.html +396 -0
  99. data/web/rdoc/classes/Reap/Task.src/M000039.html +18 -0
  100. data/web/rdoc/classes/Reap/Task.src/M000040.html +16 -0
  101. data/web/rdoc/classes/Reap/Task.src/M000041.html +16 -0
  102. data/web/rdoc/classes/Reap/Task.src/M000042.html +16 -0
  103. data/web/rdoc/classes/Reap/Task.src/M000043.html +16 -0
  104. data/web/rdoc/classes/Reap/Task.src/M000044.html +22 -0
  105. data/web/rdoc/classes/Reap/Task.src/M000045.html +16 -0
  106. data/web/rdoc/classes/Reap/Task.src/M000046.html +16 -0
  107. data/web/rdoc/classes/Reap/Task.src/M000047.html +16 -0
  108. data/web/rdoc/classes/Reap/Task.src/M000048.html +16 -0
  109. data/web/rdoc/classes/Reap/Task.src/M000049.html +16 -0
  110. data/web/rdoc/classes/Reap/Task.src/M000050.html +27 -0
  111. data/web/rdoc/classes/Reap/Task.src/M000051.html +19 -0
  112. data/web/rdoc/classes/Reap/Task.src/M000052.html +18 -0
  113. data/web/rdoc/classes/Reap/Task.src/M000053.html +18 -0
  114. data/web/rdoc/classes/Reap/Task.src/M000054.html +19 -0
  115. data/web/rdoc/classes/Reap/Test.html +253 -0
  116. data/web/rdoc/classes/Reap/Test.src/M000062.html +18 -0
  117. data/web/rdoc/classes/Reap/Test.src/M000063.html +26 -0
  118. data/web/rdoc/classes/Reap/Test.src/M000064.html +77 -0
  119. data/web/rdoc/classes/Reap/Test.src/M000065.html +27 -0
  120. data/web/rdoc/classes/Reap/Test.src/M000066.html +50 -0
  121. data/web/rdoc/classes/Reap/Test/TestResults.html +205 -0
  122. data/web/rdoc/classes/Reap/Test/TestResults.src/M000067.html +21 -0
  123. data/web/rdoc/classes/Reap/Test/TestResults.src/M000068.html +21 -0
  124. data/web/rdoc/classes/Reap/Test/TestResults.src/M000069.html +23 -0
  125. data/web/rdoc/classes/Reap/TestExt.html +234 -0
  126. data/web/rdoc/classes/Reap/TestExt.src/M000073.html +18 -0
  127. data/web/rdoc/classes/Reap/TestExt.src/M000074.html +20 -0
  128. data/web/rdoc/classes/Reap/TestExt.src/M000075.html +49 -0
  129. data/web/rdoc/classes/Reap/TestExt.src/M000076.html +34 -0
  130. data/web/rdoc/classes/Reap/TestExt.src/M000077.html +27 -0
  131. data/web/rdoc/classes/Reap/WebPublish.html +213 -0
  132. data/web/rdoc/classes/Reap/WebPublish.src/M000083.html +18 -0
  133. data/web/rdoc/classes/Reap/WebPublish.src/M000084.html +21 -0
  134. data/web/rdoc/classes/Reap/WebPublish.src/M000085.html +32 -0
  135. data/web/rdoc/classes/ReapCommand.html +425 -0
  136. data/web/rdoc/classes/ReapCommand.src/M000001.html +16 -0
  137. data/web/rdoc/classes/ReapCommand.src/M000003.html +16 -0
  138. data/web/rdoc/classes/ReapCommand.src/M000005.html +16 -0
  139. data/web/rdoc/classes/ReapCommand.src/M000007.html +16 -0
  140. data/web/rdoc/classes/ReapCommand.src/M000009.html +16 -0
  141. data/web/rdoc/classes/ReapCommand.src/M000011.html +16 -0
  142. data/web/rdoc/classes/ReapCommand.src/M000013.html +18 -0
  143. data/web/rdoc/classes/ReapCommand.src/M000014.html +19 -0
  144. data/web/rdoc/classes/ReapCommand.src/M000015.html +19 -0
  145. data/web/rdoc/classes/ReapCommand.src/M000016.html +24 -0
  146. data/web/rdoc/classes/ReapCommand.src/M000018.html +29 -0
  147. data/web/rdoc/classes/Scaffold.html +211 -0
  148. data/web/rdoc/classes/Scaffold.src/M000086.html +16 -0
  149. data/web/rdoc/classes/Scaffold.src/M000087.html +28 -0
  150. data/web/rdoc/classes/Scaffold.src/M000088.html +32 -0
  151. data/web/rdoc/classes/Scaffold.src/M000089.html +18 -0
  152. data/web/rdoc/classes/UnitTestKernel.html +176 -0
  153. data/web/rdoc/classes/UnitTestKernel.src/M000019.html +18 -0
  154. data/web/rdoc/classes/UnitTestKernel.src/M000020.html +18 -0
  155. data/web/rdoc/classes/UnitTestKernel.src/M000021.html +22 -0
  156. data/web/rdoc/classes/UnitTestKernel.src/M000022.html +22 -0
  157. data/web/rdoc/classes/UnitTesting.html +165 -0
  158. data/web/rdoc/classes/UnitTesting.src/M000090.html +34 -0
  159. data/web/rdoc/classes/UnitTesting.src/M000091.html +18 -0
  160. data/web/rdoc/classes/UnitTesting/Failure.html +156 -0
  161. data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +18 -0
  162. data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +21 -0
  163. data/web/rdoc/created.rid +1 -0
  164. data/web/rdoc/files/ANN.html +107 -0
  165. data/web/rdoc/files/COPYING.html +119 -0
  166. data/web/rdoc/files/ChangeLog.html +144 -0
  167. data/web/rdoc/files/ProjectInfo.html +190 -0
  168. data/web/rdoc/files/README.html +274 -0
  169. data/web/rdoc/files/Rakefile.html +101 -0
  170. data/web/rdoc/files/lib/reap/bin/reap_rb.html +129 -0
  171. data/web/rdoc/files/lib/reap/lint_rb.html +101 -0
  172. data/web/rdoc/files/lib/reap/projectinfo_rb.html +110 -0
  173. data/web/rdoc/files/lib/reap/readymade_rb.html +123 -0
  174. data/web/rdoc/files/lib/reap/task/announce_rb.html +114 -0
  175. data/web/rdoc/files/lib/reap/task/fileperm_rb.html +108 -0
  176. data/web/rdoc/files/lib/reap/task/info_rb.html +108 -0
  177. data/web/rdoc/files/lib/reap/task/install_rb.html +108 -0
  178. data/web/rdoc/files/lib/reap/task/noop_rb.html +108 -0
  179. data/web/rdoc/files/lib/reap/task/package_rb.html +109 -0
  180. data/web/rdoc/files/lib/reap/task/publish_rb.html +108 -0
  181. data/web/rdoc/files/lib/reap/task/rdoc_rb.html +108 -0
  182. data/web/rdoc/files/lib/reap/task/scaffold_rb.html +107 -0
  183. data/web/rdoc/files/lib/reap/task/test_rb.html +110 -0
  184. data/web/rdoc/files/lib/reap/task/testext_rb.html +109 -0
  185. data/web/rdoc/files/lib/reap/task/webpublish_rb.html +108 -0
  186. data/web/rdoc/files/lib/reap/task_rb.html +120 -0
  187. data/web/rdoc/files/lib/reap/tasks_rb.html +116 -0
  188. data/web/rdoc/files/lib/reap/test_rb.html +109 -0
  189. data/web/rdoc/fr_class_index.html +47 -0
  190. data/web/rdoc/fr_file_index.html +51 -0
  191. data/web/rdoc/fr_method_index.html +124 -0
  192. data/web/rdoc/index.html +24 -0
  193. data/web/rdoc/rdoc-style.css +208 -0
  194. metadata +257 -138
  195. data/bin/rubytest +0 -5
  196. data/data/reap/scaffold/standard/COPYING +0 -403
  197. data/data/reap/scaffold/standard/INSTALL +0 -14
  198. data/data/reap/scaffold/standard/README +0 -3
  199. data/data/reap/scaffold/standard/Rakefile +0 -10
  200. data/data/reap/scaffold/standard/setup.rb +0 -1568
  201. data/data/reap/scaffold/subversion/trunk/COPYING +0 -403
  202. data/data/reap/scaffold/subversion/trunk/INSTALL +0 -14
  203. data/data/reap/scaffold/subversion/trunk/ProjectInfo +0 -78
  204. data/data/reap/scaffold/subversion/trunk/README +0 -3
  205. data/data/reap/scaffold/subversion/trunk/Rakefile +0 -10
  206. data/data/reap/scaffold/subversion/trunk/setup.rb +0 -1568
  207. data/data/reap/setup.rb +0 -1568
  208. data/doc/COPYING +0 -403
  209. data/doc/ChangeLog +0 -18
  210. data/doc/LATEST +0 -29
  211. data/doc/README +0 -182
  212. data/doc/doap.xml +0 -27
  213. data/doc/note/ProjectInfo.rb +0 -88
  214. data/doc/note/Rakefile.0 +0 -118
  215. data/doc/note/Rakefile.htm +0 -69
  216. data/doc/note/application.rb +0 -124
  217. data/doc/note/interface/rubyforge.rb +0 -247
  218. data/doc/note/intro.txt +0 -42
  219. data/doc/note/package.rb +0 -629
  220. data/doc/note/package.rb.0 +0 -394
  221. data/doc/note/scaffold.rb +0 -123
  222. data/lib/reap/app.rb +0 -74
  223. data/lib/reap/bin/rubylint.rb +0 -1
  224. data/lib/reap/bin/rubytest.rb +0 -45
  225. data/lib/reap/rake.rb +0 -12
  226. data/lib/reap/rakeadapter.rb +0 -50
  227. data/lib/reap/reap.rb +0 -32
  228. data/lib/reap/task/custom.rb +0 -12
  229. data/lib/reap/task/doap.rb +0 -85
  230. data/lib/reap/task/extest.rb +0 -161
  231. data/lib/reap/task/manifest.rb +0 -70
  232. data/lib/reap/task/release.rb +0 -512
  233. data/lib/reap/task/template.rb +0 -46
  234. data/lib/reap/vendor/http-access2.rb +0 -1590
  235. data/lib/reap/vendor/http-access2/cookie.rb +0 -538
  236. data/lib/reap/vendor/http-access2/http.rb +0 -542
@@ -0,0 +1,144 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: ChangeLog</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>ChangeLog</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>ChangeLog
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri Oct 07 23:38:14 EDT 2005</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <h1><a href="../classes/Reap.html">Reap</a> ChangeLog</h1>
73
+ <h2>04</h2>
74
+ <ul>
75
+ <li>Killed the Rake idea. Now a fully independent project, and better than
76
+ before.
77
+
78
+ </li>
79
+ </ul>
80
+ <h2>03</h2>
81
+ <ul>
82
+ <li>Major overhaul. <a href="../classes/Reap.html">Reap</a> is no longer an
83
+ independent project. Rather, it is now an extension of Rake. All <a
84
+ href="../classes/Reap.html">Reap</a> tasks are now a subclass of
85
+ Rake::TaskLib.
86
+
87
+ </li>
88
+ </ul>
89
+ <h2>02</h2>
90
+ <ul>
91
+ <li>Improved test task. Each test now runs in its own process. Output is
92
+ summarized and in YAML.
93
+
94
+ </li>
95
+ <li>Improved configuration loading a bit.
96
+
97
+ </li>
98
+ <li>Wrote some basic docs on how to write a <a
99
+ href="../classes/Reap.html">Reap</a> task.
100
+
101
+ </li>
102
+ <li>Adjusted for Nano upgrade (was Facets).
103
+
104
+ </li>
105
+ </ul>
106
+ <h2>01</h2>
107
+ <ul>
108
+ <li>Alpha Development
109
+
110
+ </li>
111
+ </ul>
112
+
113
+ </div>
114
+
115
+
116
+ </div>
117
+
118
+
119
+ </div>
120
+
121
+
122
+ <!-- if includes -->
123
+
124
+ <div id="section">
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <!-- if method_list -->
134
+
135
+
136
+ </div>
137
+
138
+
139
+ <div id="validator-badges">
140
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
141
+ </div>
142
+
143
+ </body>
144
+ </html>
@@ -0,0 +1,190 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: ProjectInfo</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>ProjectInfo</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>ProjectInfo
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sat Oct 08 19:11:46 EDT 2005</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ &#8212; %YAML:1.0
74
+ </p>
75
+ <p>
76
+ TITLE : <a href="../classes/Reap.html">Reap</a> NAME : reap DATE :
77
+ &#8216;2005-10-06&#8217; SERIES : &#8216;4.0&#8217; STATUS :
78
+ &#8216;beta/stable&#8216;
79
+ </p>
80
+ <p>
81
+ AUTHOR : Thomas Sawyer EMAIL : transfire@gmail.com HOMEPAGE : &quot;<a
82
+ href="http://reap.rubyforge.org">reap.rubyforge.org</a>&quot; SUMMARY :
83
+ Tools for Ruby project testing, management and assistance.
84
+ </p>
85
+ <p>
86
+ DESCRIPTION: &gt;
87
+ </p>
88
+ <pre>
89
+ Reap comprises a set of commonly needed tools for Ruby package
90
+ developers/deployers. Because of the commonality,
91
+ Reap utilizes a YAML configuration file to harvest project
92
+ information, significantly simplifying usage.
93
+ </pre>
94
+ <p>
95
+ DISTRIBUTE : [ gem, tar.bz2, zip ] # tar.gz, tbz, tgz DEPENDENCIES : [
96
+ facets ] EXECUTABLES : [ reap ]
97
+ </p>
98
+ <p>
99
+ RUBYFORGE:
100
+ </p>
101
+ <pre>
102
+ PROJECT: reap
103
+ USERNAME: transami
104
+ </pre>
105
+ <p>
106
+ PUBLISH:
107
+ </p>
108
+ <pre>
109
+ type : web
110
+ host : rubyforge.org
111
+ username : transami
112
+ dir : web
113
+ </pre>
114
+ <p>
115
+ RDOC:
116
+ </p>
117
+ <pre>
118
+ dir: 'web/rdoc'
119
+ include:
120
+ - 'A-Z*'
121
+ - 'lib/**/*'
122
+ exclude:
123
+ - 'lib/reap/data'
124
+ </pre>
125
+ <p>
126
+ ANNOUNCE:
127
+ </p>
128
+ <pre>
129
+ to : transfire@gmail.com # ruby-talk@ruby-lang.org
130
+ from : *email
131
+ domain : unit.rubyforge.org
132
+ server : smtp.gmail.com
133
+ port : 587
134
+ account : *email # transfire@gmail.com
135
+ authtype : login # cram_md5, plain
136
+ sectype : tls # ~, tls, ssl (not working yet)
137
+ file : ANN # which file contains announcement
138
+ slogan : REAP THE REWARDS!
139
+ links :
140
+ - http://reap.rubyforge.org
141
+ - http://roll.rubyforge.org
142
+ </pre>
143
+ <p>
144
+ PERM:
145
+ </p>
146
+ <pre>
147
+ filemod: 644
148
+ dirmod: 755
149
+ user: trans
150
+ group: users
151
+ </pre>
152
+ <p>
153
+ NOOP:
154
+ </p>
155
+ <pre>
156
+ MESSAGE: Hello Dude!
157
+ </pre>
158
+
159
+ </div>
160
+
161
+
162
+ </div>
163
+
164
+
165
+ </div>
166
+
167
+
168
+ <!-- if includes -->
169
+
170
+ <div id="section">
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <!-- if method_list -->
180
+
181
+
182
+ </div>
183
+
184
+
185
+ <div id="validator-badges">
186
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
187
+ </div>
188
+
189
+ </body>
190
+ </html>
@@ -0,0 +1,274 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: README</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>README</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>README
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sat Oct 08 18:13:35 EDT 2005</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <h1><a href="../classes/Reap.html">Reap</a></h1>
73
+ <p>
74
+ User Friendly Project Assitant for Ruby
75
+ </p>
76
+ <h2>What&#8217;s This?</h2>
77
+ <p>
78
+ <a href="../classes/Reap.html">Reap</a> is a user friendly project
79
+ assistant for Ruby developers. By organizing your project in a conventional
80
+ manner, as promoted by setup.rb, <a href="../classes/Reap.html">Reap</a>
81
+ makes it easy to do the following tasks:
82
+ </p>
83
+ <ul>
84
+ <li>Generate RDocs.
85
+
86
+ </li>
87
+ <li>Run unit tests.
88
+
89
+ </li>
90
+ <li>Extract tests for scripts.
91
+
92
+ </li>
93
+ <li>Create Ruby Gem packages.
94
+
95
+ </li>
96
+ <li>Create standard .tgz, tbz (bzip2) and/or .zip packages.
97
+
98
+ </li>
99
+ <li>Publish documents to Rubyforge or other web sites.
100
+
101
+ </li>
102
+ <li>Announce a release to Ruby-talk or other mailing list.
103
+
104
+ </li>
105
+ <li>Prepare files for distribution (i.e. chmod, tag, etc.).
106
+
107
+ </li>
108
+ <li>Upload packages (coming soon!).
109
+
110
+ </li>
111
+ </ul>
112
+ <p>
113
+ If you have special needs that <a href="../classes/Reap.html">Reap</a>
114
+ doesn&#8217;t accomodate, new task are farily easy to create. And I am
115
+ always happy to hear suggestions.
116
+ </p>
117
+ <h2>Installation</h2>
118
+ <h3>Gem Install</h3>
119
+ <p>
120
+ Install the ruby gem as you would any other:
121
+ </p>
122
+ <pre>
123
+ &lt;tt&gt;gem install reap&lt;/tt&gt;
124
+ </pre>
125
+ <p>
126
+ <a href="../classes/Reap.html">Reap</a> requires Ruby Facets.
127
+ </p>
128
+ <h3>Manual Install</h3>
129
+ <p>
130
+ To install manually follow the usual setup.eb steps:
131
+ </p>
132
+ <ol>
133
+ <li>Download the compressed package.
134
+
135
+ </li>
136
+ <li>Unpack it.
137
+
138
+ </li>
139
+ <li>Change into the unpacked directory.
140
+
141
+ </li>
142
+ <li>run <tt>sudo ruby setup.rb</tt>
143
+
144
+ </li>
145
+ </ol>
146
+ <p>
147
+ You should be good to go.
148
+ </p>
149
+ <h2>Usage</h2>
150
+ <h3>Using a <a href="../classes/Reap.html">Reap</a> Task</h3>
151
+ <p>
152
+ <a href="../classes/Reap.html">Reap</a> makes it pretty easy to use
153
+ it&#8217;s built-in tasks. Largely this is because it grabs common data
154
+ from a <a href="../classes/ProjectInfo.html">ProjectInfo</a> (or Reapfile)
155
+ as available. Some <a href="../classes/Reap.html">Reap</a> tasks are
156
+ automatic b/c there are reasonable defaults, others <em>require</em>
157
+ entries in the <a href="../classes/ProjectInfo.html">ProjectInfo</a> file.
158
+ </p>
159
+ <p>
160
+ For instance, to create a &quot;package&quot; target you generally do not
161
+ need an entry in the <a href="../classes/ProjectInfo.html">ProjectInfo</a>
162
+ file. <a href="../classes/Reap.html">Reap</a> will package up everything in
163
+ the typical directories and makes compressed versions in the common
164
+ formats. It will then place those in either ../leaf/ (for those or you
165
+ using trunk/ branches/ layouts) or pkg/ otherwise. The same holds for other
166
+ tasks. <a href="../classes/Reap.html">Reap</a> will do it&#8217;s best to
167
+ extrapolate the needed information from the <a
168
+ href="../classes/ProjectInfo.html">ProjectInfo</a> file.
169
+ </p>
170
+ <p>
171
+ Of course no matter the level of content, you will of course need to create
172
+ this file in you projects main directory. A template is provided and a
173
+ command line tool to copy it to your current directory. Simply type:
174
+ </p>
175
+ <pre>
176
+ &gt; reap template
177
+ </pre>
178
+ <p>
179
+ Then edit the <a href="../classes/ProjectInfo.html">ProjectInfo</a> file.
180
+ The fields are fairly self explanitiory. Apart from <a
181
+ href="../classes/Reap.html">Reap</a> such a file is nice to have just on
182
+ it&#8217;s own merits too.
183
+ </p>
184
+ <h3>Building a <a href="../classes/Reap.html">Reap</a> Task</h3>
185
+ <p>
186
+ Building a <a href="../classes/Reap.html">Reap</a> task differs from
187
+ building a Rake task by two important factors. First there is only one
188
+ target per task (this may change) Second, task blocks are yeilded
189
+ <em>prior</em> to the init routine being exectuted. So your init routine
190
+ should expect data to already be present in the tasks attribute and take
191
+ that into account (usually that means using ++||=++)
192
+ </p>
193
+ <p>
194
+ Here&#8217;s an, oh so simple, example:
195
+ </p>
196
+ <pre>
197
+ class OhSoSimple &lt; Reap::Task
198
+
199
+ task_desc 'This is a custom reap task'
200
+
201
+ attr_accessor :message
202
+
203
+ def init
204
+ @message ||= master['default'] || 'None Found!'
205
+ @another ||= section['another'] || 'Again!'
206
+ end
207
+
208
+ # run the target task
209
+ def run
210
+ puts @message + &quot;\n&quot; + @another
211
+ end
212
+
213
+ end
214
+ </pre>
215
+ <p>
216
+ The corresponding settings in the <a
217
+ href="../classes/ProjectInfo.html">ProjectInfo</a> file (master) will then
218
+ be:
219
+ </p>
220
+ <pre>
221
+ default: Default text, if any.
222
+ ohsosimple:
223
+ another: Your other message here.
224
+ </pre>
225
+ <p>
226
+ And to use it
227
+ </p>
228
+ <pre>
229
+ &gt; reap ohsosimple
230
+ </pre>
231
+ <h2>Status</h2>
232
+ <p>
233
+ <a href="../classes/Reap.html">Reap</a> is currently Usable Beta. Most of
234
+ the tasks work very well. Refinements are still common though, and a few
235
+ important tasks are still being planned.
236
+ </p>
237
+ <h2>Legal</h2>
238
+ <p>
239
+ <a href="../classes/Reap.html">Reap</a> Copyright&#169;2004-2005 Thomas
240
+ Sawyer Ruby License
241
+ </p>
242
+
243
+ </div>
244
+
245
+
246
+ </div>
247
+
248
+
249
+ </div>
250
+
251
+
252
+ <!-- if includes -->
253
+
254
+ <div id="section">
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+ <!-- if method_list -->
264
+
265
+
266
+ </div>
267
+
268
+
269
+ <div id="validator-badges">
270
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
271
+ </div>
272
+
273
+ </body>
274
+ </html>