reap 5.10.10 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. data/COPYING +400 -8
  2. data/README +136 -75
  3. data/bin/reap +2 -2
  4. data/bin/rubytest +5 -0
  5. data/data/reap/scaffold/standard/COPYING +403 -0
  6. data/data/reap/scaffold/{ChangeLog → standard/ChangeLog} +0 -0
  7. data/data/reap/scaffold/standard/INSTALL +14 -0
  8. data/data/reap/scaffold/{ProjectInfo → standard/ProjectInfo} +23 -24
  9. data/data/reap/scaffold/standard/README +3 -0
  10. data/data/reap/scaffold/standard/Rakefile +10 -0
  11. data/{Rakefile → data/reap/scaffold/standard/TODO} +0 -0
  12. data/data/reap/scaffold/{setup.rb → standard/setup.rb} +287 -270
  13. data/data/reap/scaffold/subversion/trunk/COPYING +403 -0
  14. data/data/reap/scaffold/{INSTALL → subversion/trunk/ChangeLog} +0 -0
  15. data/data/reap/scaffold/subversion/trunk/INSTALL +14 -0
  16. data/data/reap/scaffold/subversion/trunk/ProjectInfo +76 -0
  17. data/data/reap/scaffold/subversion/trunk/README +3 -0
  18. data/data/reap/scaffold/subversion/trunk/Rakefile +10 -0
  19. data/data/reap/scaffold/{README → subversion/trunk/TODO} +0 -0
  20. data/data/reap/scaffold/subversion/trunk/setup.rb +1568 -0
  21. data/data/reap/setup.rb +1568 -0
  22. data/lib/reap/bin/reap.rb +176 -80
  23. data/lib/reap/bin/rubytest.rb +53 -0
  24. data/lib/reap/class/announce.rb +220 -0
  25. data/lib/reap/class/doap.rb +80 -0
  26. data/lib/reap/class/extest.rb +151 -0
  27. data/lib/reap/class/filer.rb +62 -0
  28. data/lib/reap/class/installer.rb +178 -0
  29. data/lib/reap/class/manifest.rb +72 -0
  30. data/lib/reap/class/package.rb +468 -0
  31. data/lib/reap/class/publish.rb +152 -0
  32. data/lib/reap/class/rdoc.rb +131 -0
  33. data/lib/reap/class/test.rb +269 -0
  34. data/lib/reap/projectinfo.rb +187 -30
  35. data/lib/reap/rake.rb +42 -0
  36. data/lib/reap/reap.rb +89 -0
  37. data/lib/reap/tasks.rb +672 -11
  38. data/lib/reap/taskutils.rb +122 -0
  39. data/sample/ProjectInfo +96 -0
  40. data/sample/Rakefile +9 -0
  41. data/sample/Reapfile +11 -0
  42. data/sample/task/demo.rb +15 -0
  43. data/setup.rb +287 -272
  44. metadata +99 -257
  45. data/ANN +0 -3
  46. data/ChangeLog +0 -25
  47. data/ProjectInfo +0 -65
  48. data/data/reap/scaffold/COPYING +0 -11
  49. data/data/reap/scaffold/Rakefile +0 -146
  50. data/data/reap/scaffold/Todo +0 -0
  51. data/dev/Rakefile +0 -60
  52. data/dev/composite_task.rb +0 -27
  53. data/dev/compositepublisher.rb +0 -24
  54. data/dev/ftptools.rb +0 -139
  55. data/dev/license-each.rb +0 -85
  56. data/dev/publisher.rb +0 -75
  57. data/dev/rubyforgepublisher.rb +0 -18
  58. data/dev/sshpublisher.rb +0 -47
  59. data/dev/suby-cvs.rb +0 -46
  60. data/dev/template.rb +0 -72
  61. data/lib/reap/lint.rb +0 -0
  62. data/lib/reap/readymade.rb +0 -21
  63. data/lib/reap/task.rb +0 -187
  64. data/lib/reap/task/announce.rb +0 -156
  65. data/lib/reap/task/fileperm.rb +0 -82
  66. data/lib/reap/task/info.rb +0 -20
  67. data/lib/reap/task/install.rb +0 -33
  68. data/lib/reap/task/noop.rb +0 -26
  69. data/lib/reap/task/package.rb +0 -204
  70. data/lib/reap/task/publish.rb +0 -49
  71. data/lib/reap/task/rdoc.rb +0 -82
  72. data/lib/reap/task/scaffold.rb +0 -114
  73. data/lib/reap/task/test.rb +0 -186
  74. data/lib/reap/task/testext.rb +0 -110
  75. data/lib/reap/task/webpublish.rb +0 -43
  76. data/lib/reap/test.rb +0 -138
  77. data/test/tc_reap.rb +0 -11
  78. data/web/ProjectInfo +0 -57
  79. data/web/images/appleboy.jpg +0 -0
  80. data/web/images/grape.jpg +0 -0
  81. data/web/index.html +0 -124
  82. data/web/rdoc/classes/Object.html +0 -121
  83. data/web/rdoc/classes/ProjectInfo.html +0 -207
  84. data/web/rdoc/classes/ProjectInfo.src/M000094.html +0 -18
  85. data/web/rdoc/classes/ProjectInfo.src/M000095.html +0 -24
  86. data/web/rdoc/classes/ProjectInfo.src/M000096.html +0 -22
  87. data/web/rdoc/classes/ProjectInfo.src/M000097.html +0 -21
  88. data/web/rdoc/classes/ProjectInfo.src/M000098.html +0 -18
  89. data/web/rdoc/classes/Reap.html +0 -248
  90. data/web/rdoc/classes/Reap.src/M000023.html +0 -16
  91. data/web/rdoc/classes/Reap.src/M000024.html +0 -21
  92. data/web/rdoc/classes/Reap.src/M000025.html +0 -16
  93. data/web/rdoc/classes/Reap.src/M000026.html +0 -21
  94. data/web/rdoc/classes/Reap/Announce.html +0 -262
  95. data/web/rdoc/classes/Reap/Announce.src/M000030.html +0 -18
  96. data/web/rdoc/classes/Reap/Announce.src/M000031.html +0 -114
  97. data/web/rdoc/classes/Reap/Announce.src/M000032.html +0 -46
  98. data/web/rdoc/classes/Reap/Info.html +0 -176
  99. data/web/rdoc/classes/Reap/Info.src/M000033.html +0 -18
  100. data/web/rdoc/classes/Reap/Info.src/M000034.html +0 -17
  101. data/web/rdoc/classes/Reap/Info.src/M000035.html +0 -18
  102. data/web/rdoc/classes/Reap/Install.html +0 -193
  103. data/web/rdoc/classes/Reap/Install.src/M000036.html +0 -18
  104. data/web/rdoc/classes/Reap/Install.src/M000037.html +0 -20
  105. data/web/rdoc/classes/Reap/Install.src/M000038.html +0 -26
  106. data/web/rdoc/classes/Reap/Noop.html +0 -192
  107. data/web/rdoc/classes/Reap/Noop.src/M000027.html +0 -18
  108. data/web/rdoc/classes/Reap/Noop.src/M000028.html +0 -17
  109. data/web/rdoc/classes/Reap/Noop.src/M000029.html +0 -18
  110. data/web/rdoc/classes/Reap/Package.html +0 -310
  111. data/web/rdoc/classes/Reap/Package.src/M000055.html +0 -18
  112. data/web/rdoc/classes/Reap/Package.src/M000056.html +0 -68
  113. data/web/rdoc/classes/Reap/Package.src/M000057.html +0 -84
  114. data/web/rdoc/classes/Reap/Package.src/M000058.html +0 -61
  115. data/web/rdoc/classes/Reap/Perm.html +0 -236
  116. data/web/rdoc/classes/Reap/Perm.src/M000078.html +0 -18
  117. data/web/rdoc/classes/Reap/Perm.src/M000079.html +0 -21
  118. data/web/rdoc/classes/Reap/Perm.src/M000080.html +0 -42
  119. data/web/rdoc/classes/Reap/Perm.src/M000081.html +0 -26
  120. data/web/rdoc/classes/Reap/Perm.src/M000082.html +0 -18
  121. data/web/rdoc/classes/Reap/Publish.html +0 -213
  122. data/web/rdoc/classes/Reap/Publish.src/M000070.html +0 -18
  123. data/web/rdoc/classes/Reap/Publish.src/M000071.html +0 -22
  124. data/web/rdoc/classes/Reap/Publish.src/M000072.html +0 -37
  125. data/web/rdoc/classes/Reap/RDoc.html +0 -218
  126. data/web/rdoc/classes/Reap/RDoc.src/M000059.html +0 -18
  127. data/web/rdoc/classes/Reap/RDoc.src/M000060.html +0 -24
  128. data/web/rdoc/classes/Reap/RDoc.src/M000061.html +0 -70
  129. data/web/rdoc/classes/Reap/Task.html +0 -396
  130. data/web/rdoc/classes/Reap/Task.src/M000039.html +0 -18
  131. data/web/rdoc/classes/Reap/Task.src/M000040.html +0 -16
  132. data/web/rdoc/classes/Reap/Task.src/M000041.html +0 -16
  133. data/web/rdoc/classes/Reap/Task.src/M000042.html +0 -16
  134. data/web/rdoc/classes/Reap/Task.src/M000043.html +0 -16
  135. data/web/rdoc/classes/Reap/Task.src/M000044.html +0 -22
  136. data/web/rdoc/classes/Reap/Task.src/M000045.html +0 -16
  137. data/web/rdoc/classes/Reap/Task.src/M000046.html +0 -16
  138. data/web/rdoc/classes/Reap/Task.src/M000047.html +0 -16
  139. data/web/rdoc/classes/Reap/Task.src/M000048.html +0 -16
  140. data/web/rdoc/classes/Reap/Task.src/M000049.html +0 -16
  141. data/web/rdoc/classes/Reap/Task.src/M000050.html +0 -27
  142. data/web/rdoc/classes/Reap/Task.src/M000051.html +0 -19
  143. data/web/rdoc/classes/Reap/Task.src/M000052.html +0 -18
  144. data/web/rdoc/classes/Reap/Task.src/M000053.html +0 -18
  145. data/web/rdoc/classes/Reap/Task.src/M000054.html +0 -19
  146. data/web/rdoc/classes/Reap/Test.html +0 -253
  147. data/web/rdoc/classes/Reap/Test.src/M000062.html +0 -18
  148. data/web/rdoc/classes/Reap/Test.src/M000063.html +0 -26
  149. data/web/rdoc/classes/Reap/Test.src/M000064.html +0 -77
  150. data/web/rdoc/classes/Reap/Test.src/M000065.html +0 -27
  151. data/web/rdoc/classes/Reap/Test.src/M000066.html +0 -50
  152. data/web/rdoc/classes/Reap/Test/TestResults.html +0 -205
  153. data/web/rdoc/classes/Reap/Test/TestResults.src/M000067.html +0 -21
  154. data/web/rdoc/classes/Reap/Test/TestResults.src/M000068.html +0 -21
  155. data/web/rdoc/classes/Reap/Test/TestResults.src/M000069.html +0 -23
  156. data/web/rdoc/classes/Reap/TestExt.html +0 -234
  157. data/web/rdoc/classes/Reap/TestExt.src/M000073.html +0 -18
  158. data/web/rdoc/classes/Reap/TestExt.src/M000074.html +0 -20
  159. data/web/rdoc/classes/Reap/TestExt.src/M000075.html +0 -49
  160. data/web/rdoc/classes/Reap/TestExt.src/M000076.html +0 -34
  161. data/web/rdoc/classes/Reap/TestExt.src/M000077.html +0 -27
  162. data/web/rdoc/classes/Reap/WebPublish.html +0 -213
  163. data/web/rdoc/classes/Reap/WebPublish.src/M000083.html +0 -18
  164. data/web/rdoc/classes/Reap/WebPublish.src/M000084.html +0 -21
  165. data/web/rdoc/classes/Reap/WebPublish.src/M000085.html +0 -32
  166. data/web/rdoc/classes/ReapCommand.html +0 -425
  167. data/web/rdoc/classes/ReapCommand.src/M000001.html +0 -16
  168. data/web/rdoc/classes/ReapCommand.src/M000003.html +0 -16
  169. data/web/rdoc/classes/ReapCommand.src/M000005.html +0 -16
  170. data/web/rdoc/classes/ReapCommand.src/M000007.html +0 -16
  171. data/web/rdoc/classes/ReapCommand.src/M000009.html +0 -16
  172. data/web/rdoc/classes/ReapCommand.src/M000011.html +0 -16
  173. data/web/rdoc/classes/ReapCommand.src/M000013.html +0 -18
  174. data/web/rdoc/classes/ReapCommand.src/M000014.html +0 -19
  175. data/web/rdoc/classes/ReapCommand.src/M000015.html +0 -19
  176. data/web/rdoc/classes/ReapCommand.src/M000016.html +0 -24
  177. data/web/rdoc/classes/ReapCommand.src/M000018.html +0 -29
  178. data/web/rdoc/classes/Scaffold.html +0 -211
  179. data/web/rdoc/classes/Scaffold.src/M000086.html +0 -16
  180. data/web/rdoc/classes/Scaffold.src/M000087.html +0 -28
  181. data/web/rdoc/classes/Scaffold.src/M000088.html +0 -32
  182. data/web/rdoc/classes/Scaffold.src/M000089.html +0 -18
  183. data/web/rdoc/classes/UnitTestKernel.html +0 -176
  184. data/web/rdoc/classes/UnitTestKernel.src/M000019.html +0 -18
  185. data/web/rdoc/classes/UnitTestKernel.src/M000020.html +0 -18
  186. data/web/rdoc/classes/UnitTestKernel.src/M000021.html +0 -22
  187. data/web/rdoc/classes/UnitTestKernel.src/M000022.html +0 -22
  188. data/web/rdoc/classes/UnitTesting.html +0 -165
  189. data/web/rdoc/classes/UnitTesting.src/M000090.html +0 -34
  190. data/web/rdoc/classes/UnitTesting.src/M000091.html +0 -18
  191. data/web/rdoc/classes/UnitTesting/Failure.html +0 -156
  192. data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +0 -18
  193. data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +0 -21
  194. data/web/rdoc/created.rid +0 -1
  195. data/web/rdoc/files/ANN.html +0 -107
  196. data/web/rdoc/files/COPYING.html +0 -119
  197. data/web/rdoc/files/ChangeLog.html +0 -144
  198. data/web/rdoc/files/ProjectInfo.html +0 -190
  199. data/web/rdoc/files/README.html +0 -274
  200. data/web/rdoc/files/Rakefile.html +0 -101
  201. data/web/rdoc/files/lib/reap/bin/reap_rb.html +0 -129
  202. data/web/rdoc/files/lib/reap/lint_rb.html +0 -101
  203. data/web/rdoc/files/lib/reap/projectinfo_rb.html +0 -110
  204. data/web/rdoc/files/lib/reap/readymade_rb.html +0 -123
  205. data/web/rdoc/files/lib/reap/task/announce_rb.html +0 -114
  206. data/web/rdoc/files/lib/reap/task/fileperm_rb.html +0 -108
  207. data/web/rdoc/files/lib/reap/task/info_rb.html +0 -108
  208. data/web/rdoc/files/lib/reap/task/install_rb.html +0 -108
  209. data/web/rdoc/files/lib/reap/task/noop_rb.html +0 -108
  210. data/web/rdoc/files/lib/reap/task/package_rb.html +0 -109
  211. data/web/rdoc/files/lib/reap/task/publish_rb.html +0 -108
  212. data/web/rdoc/files/lib/reap/task/rdoc_rb.html +0 -108
  213. data/web/rdoc/files/lib/reap/task/scaffold_rb.html +0 -107
  214. data/web/rdoc/files/lib/reap/task/test_rb.html +0 -110
  215. data/web/rdoc/files/lib/reap/task/testext_rb.html +0 -109
  216. data/web/rdoc/files/lib/reap/task/webpublish_rb.html +0 -108
  217. data/web/rdoc/files/lib/reap/task_rb.html +0 -120
  218. data/web/rdoc/files/lib/reap/tasks_rb.html +0 -116
  219. data/web/rdoc/files/lib/reap/test_rb.html +0 -109
  220. data/web/rdoc/fr_class_index.html +0 -47
  221. data/web/rdoc/fr_file_index.html +0 -51
  222. data/web/rdoc/fr_method_index.html +0 -124
  223. data/web/rdoc/index.html +0 -24
  224. data/web/rdoc/rdoc-style.css +0 -208
data/COPYING CHANGED
@@ -1,11 +1,403 @@
1
- = BUTTERED PANCAKES LICENSE
2
1
 
3
- The following stipulations:
2
+ THE RUBY LICENSE
3
+ (http://www.ruby-lang.org/en/LICENSE.txt)
4
4
 
5
- 1) Butter my panakes
6
- 2) Don't feed the lawyers
5
+ You may redistribute this software and/or modify it under either the terms of
6
+ the GPL (see below), or the conditions below:
7
7
 
8
- Which means:
9
-
10
- 1) Acknowledge arthor and sources
11
- 2) Don't sue any one over it
8
+ 1. You may make and give away verbatim copies of the source form of the
9
+ software without restriction, provided that you duplicate all of the
10
+ original copyright notices and associated disclaimers.
11
+
12
+ 2. You may modify your copy of the software in any way, provided that
13
+ you do at least ONE of the following:
14
+
15
+ a) place your modifications in the Public Domain or otherwise
16
+ make them Freely Available, such as by posting said
17
+ modifications to Usenet or an equivalent medium, or by allowing
18
+ the author to include your modifications in the software.
19
+
20
+ b) use the modified software only within your corporation or
21
+ organization.
22
+
23
+ c) rename any non-standard executables so the names do not conflict
24
+ with standard executables, which must also be provided.
25
+
26
+ d) make other distribution arrangements with the author.
27
+
28
+ 3. You may distribute the software in object code or executable
29
+ form, provided that you do at least ONE of the following:
30
+
31
+ a) distribute the executables and library files of the software,
32
+ together with instructions (in the manual page or equivalent)
33
+ on where to get the original distribution.
34
+
35
+ b) accompany the distribution with the machine-readable source of
36
+ the software.
37
+
38
+ c) give non-standard executables non-standard names, with
39
+ instructions on where to get the original software distribution.
40
+
41
+ d) make other distribution arrangements with the author.
42
+
43
+ 4. You may modify and include the part of the software into any other
44
+ software (possibly commercial). But some files in the distribution
45
+ are not written by the author, so that they are not under these terms.
46
+
47
+ For the list of those files and their copying conditions, see the
48
+ file LEGAL.
49
+
50
+ 5. The scripts and library files supplied as input to or produced as
51
+ output from the software do not automatically fall under the
52
+ copyright of the software, but belong to whomever generated them,
53
+ and may be sold commercially, and may be aggregated with this
54
+ software.
55
+
56
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
57
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
58
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59
+ PURPOSE.
60
+
61
+ ----------------------------------------------------------------------------
62
+
63
+
64
+ GNU GENERAL PUBLIC LICENSE
65
+ Version 2, June 1991
66
+
67
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
68
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
69
+ Everyone is permitted to copy and distribute verbatim copies
70
+ of this license document, but changing it is not allowed.
71
+
72
+ Preamble
73
+
74
+ The licenses for most software are designed to take away your
75
+ freedom to share and change it. By contrast, the GNU General Public
76
+ License is intended to guarantee your freedom to share and change free
77
+ software--to make sure the software is free for all its users. This
78
+ General Public License applies to most of the Free Software
79
+ Foundation's software and to any other program whose authors commit to
80
+ using it. (Some other Free Software Foundation software is covered by
81
+ the GNU Library General Public License instead.) You can apply it to
82
+ your programs, too.
83
+
84
+ When we speak of free software, we are referring to freedom, not
85
+ price. Our General Public Licenses are designed to make sure that you
86
+ have the freedom to distribute copies of free software (and charge for
87
+ this service if you wish), that you receive source code or can get it
88
+ if you want it, that you can change the software or use pieces of it
89
+ in new free programs; and that you know you can do these things.
90
+
91
+ To protect your rights, we need to make restrictions that forbid
92
+ anyone to deny you these rights or to ask you to surrender the rights.
93
+ These restrictions translate to certain responsibilities for you if you
94
+ distribute copies of the software, or if you modify it.
95
+
96
+ For example, if you distribute copies of such a program, whether
97
+ gratis or for a fee, you must give the recipients all the rights that
98
+ you have. You must make sure that they, too, receive or can get the
99
+ source code. And you must show them these terms so they know their
100
+ rights.
101
+
102
+ We protect your rights with two steps: (1) copyright the software, and
103
+ (2) offer you this license which gives you legal permission to copy,
104
+ distribute and/or modify the software.
105
+
106
+ Also, for each author's protection and ours, we want to make certain
107
+ that everyone understands that there is no warranty for this free
108
+ software. If the software is modified by someone else and passed on, we
109
+ want its recipients to know that what they have is not the original, so
110
+ that any problems introduced by others will not reflect on the original
111
+ authors' reputations.
112
+
113
+ Finally, any free program is threatened constantly by software
114
+ patents. We wish to avoid the danger that redistributors of a free
115
+ program will individually obtain patent licenses, in effect making the
116
+ program proprietary. To prevent this, we have made it clear that any
117
+ patent must be licensed for everyone's free use or not licensed at all.
118
+
119
+ The precise terms and conditions for copying, distribution and
120
+ modification follow.
121
+
122
+ GNU GENERAL PUBLIC LICENSE
123
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
124
+
125
+ 0. This License applies to any program or other work which contains
126
+ a notice placed by the copyright holder saying it may be distributed
127
+ under the terms of this General Public License. The "Program", below,
128
+ refers to any such program or work, and a "work based on the Program"
129
+ means either the Program or any derivative work under copyright law:
130
+ that is to say, a work containing the Program or a portion of it,
131
+ either verbatim or with modifications and/or translated into another
132
+ language. (Hereinafter, translation is included without limitation in
133
+ the term "modification".) Each licensee is addressed as "you".
134
+
135
+ Activities other than copying, distribution and modification are not
136
+ covered by this License; they are outside its scope. The act of
137
+ running the Program is not restricted, and the output from the Program
138
+ is covered only if its contents constitute a work based on the
139
+ Program (independent of having been made by running the Program).
140
+ Whether that is true depends on what the Program does.
141
+
142
+ 1. You may copy and distribute verbatim copies of the Program's
143
+ source code as you receive it, in any medium, provided that you
144
+ conspicuously and appropriately publish on each copy an appropriate
145
+ copyright notice and disclaimer of warranty; keep intact all the
146
+ notices that refer to this License and to the absence of any warranty;
147
+ and give any other recipients of the Program a copy of this License
148
+ along with the Program.
149
+
150
+ You may charge a fee for the physical act of transferring a copy, and
151
+ you may at your option offer warranty protection in exchange for a fee.
152
+
153
+ 2. You may modify your copy or copies of the Program or any portion
154
+ of it, thus forming a work based on the Program, and copy and
155
+ distribute such modifications or work under the terms of Section 1
156
+ above, provided that you also meet all of these conditions:
157
+
158
+ a) You must cause the modified files to carry prominent notices
159
+ stating that you changed the files and the date of any change.
160
+
161
+ b) You must cause any work that you distribute or publish, that in
162
+ whole or in part contains or is derived from the Program or any
163
+ part thereof, to be licensed as a whole at no charge to all third
164
+ parties under the terms of this License.
165
+
166
+ c) If the modified program normally reads commands interactively
167
+ when run, you must cause it, when started running for such
168
+ interactive use in the most ordinary way, to print or display an
169
+ announcement including an appropriate copyright notice and a
170
+ notice that there is no warranty (or else, saying that you provide
171
+ a warranty) and that users may redistribute the program under
172
+ these conditions, and telling the user how to view a copy of this
173
+ License. (Exception: if the Program itself is interactive but
174
+ does not normally print such an announcement, your work based on
175
+ the Program is not required to print an announcement.)
176
+
177
+ These requirements apply to the modified work as a whole. If
178
+ identifiable sections of that work are not derived from the Program,
179
+ and can be reasonably considered independent and separate works in
180
+ themselves, then this License, and its terms, do not apply to those
181
+ sections when you distribute them as separate works. But when you
182
+ distribute the same sections as part of a whole which is a work based
183
+ on the Program, the distribution of the whole must be on the terms of
184
+ this License, whose permissions for other licensees extend to the
185
+ entire whole, and thus to each and every part regardless of who wrote it.
186
+
187
+ Thus, it is not the intent of this section to claim rights or contest
188
+ your rights to work written entirely by you; rather, the intent is to
189
+ exercise the right to control the distribution of derivative or
190
+ collective works based on the Program.
191
+
192
+ In addition, mere aggregation of another work not based on the Program
193
+ with the Program (or with a work based on the Program) on a volume of
194
+ a storage or distribution medium does not bring the other work under
195
+ the scope of this License.
196
+
197
+ 3. You may copy and distribute the Program (or a work based on it,
198
+ under Section 2) in object code or executable form under the terms of
199
+ Sections 1 and 2 above provided that you also do one of the following:
200
+
201
+ a) Accompany it with the complete corresponding machine-readable
202
+ source code, which must be distributed under the terms of Sections
203
+ 1 and 2 above on a medium customarily used for software interchange; or,
204
+
205
+ b) Accompany it with a written offer, valid for at least three
206
+ years, to give any third party, for a charge no more than your
207
+ cost of physically performing source distribution, a complete
208
+ machine-readable copy of the corresponding source code, to be
209
+ distributed under the terms of Sections 1 and 2 above on a medium
210
+ customarily used for software interchange; or,
211
+
212
+ c) Accompany it with the information you received as to the offer
213
+ to distribute corresponding source code. (This alternative is
214
+ allowed only for noncommercial distribution and only if you
215
+ received the program in object code or executable form with such
216
+ an offer, in accord with Subsection b above.)
217
+
218
+ The source code for a work means the preferred form of the work for
219
+ making modifications to it. For an executable work, complete source
220
+ code means all the source code for all modules it contains, plus any
221
+ associated interface definition files, plus the scripts used to
222
+ control compilation and installation of the executable. However, as a
223
+ special exception, the source code distributed need not include
224
+ anything that is normally distributed (in either source or binary
225
+ form) with the major components (compiler, kernel, and so on) of the
226
+ operating system on which the executable runs, unless that component
227
+ itself accompanies the executable.
228
+
229
+ If distribution of executable or object code is made by offering
230
+ access to copy from a designated place, then offering equivalent
231
+ access to copy the source code from the same place counts as
232
+ distribution of the source code, even though third parties are not
233
+ compelled to copy the source along with the object code.
234
+
235
+ 4. You may not copy, modify, sublicense, or distribute the Program
236
+ except as expressly provided under this License. Any attempt
237
+ otherwise to copy, modify, sublicense or distribute the Program is
238
+ void, and will automatically terminate your rights under this License.
239
+ However, parties who have received copies, or rights, from you under
240
+ this License will not have their licenses terminated so long as such
241
+ parties remain in full compliance.
242
+
243
+ 5. You are not required to accept this License, since you have not
244
+ signed it. However, nothing else grants you permission to modify or
245
+ distribute the Program or its derivative works. These actions are
246
+ prohibited by law if you do not accept this License. Therefore, by
247
+ modifying or distributing the Program (or any work based on the
248
+ Program), you indicate your acceptance of this License to do so, and
249
+ all its terms and conditions for copying, distributing or modifying
250
+ the Program or works based on it.
251
+
252
+ 6. Each time you redistribute the Program (or any work based on the
253
+ Program), the recipient automatically receives a license from the
254
+ original licensor to copy, distribute or modify the Program subject to
255
+ these terms and conditions. You may not impose any further
256
+ restrictions on the recipients' exercise of the rights granted herein.
257
+ You are not responsible for enforcing compliance by third parties to
258
+ this License.
259
+
260
+ 7. If, as a consequence of a court judgment or allegation of patent
261
+ infringement or for any other reason (not limited to patent issues),
262
+ conditions are imposed on you (whether by court order, agreement or
263
+ otherwise) that contradict the conditions of this License, they do not
264
+ excuse you from the conditions of this License. If you cannot
265
+ distribute so as to satisfy simultaneously your obligations under this
266
+ License and any other pertinent obligations, then as a consequence you
267
+ may not distribute the Program at all. For example, if a patent
268
+ license would not permit royalty-free redistribution of the Program by
269
+ all those who receive copies directly or indirectly through you, then
270
+ the only way you could satisfy both it and this License would be to
271
+ refrain entirely from distribution of the Program.
272
+
273
+ If any portion of this section is held invalid or unenforceable under
274
+ any particular circumstance, the balance of the section is intended to
275
+ apply and the section as a whole is intended to apply in other
276
+ circumstances.
277
+
278
+ It is not the purpose of this section to induce you to infringe any
279
+ patents or other property right claims or to contest validity of any
280
+ such claims; this section has the sole purpose of protecting the
281
+ integrity of the free software distribution system, which is
282
+ implemented by public license practices. Many people have made
283
+ generous contributions to the wide range of software distributed
284
+ through that system in reliance on consistent application of that
285
+ system; it is up to the author/donor to decide if he or she is willing
286
+ to distribute software through any other system and a licensee cannot
287
+ impose that choice.
288
+
289
+ This section is intended to make thoroughly clear what is believed to
290
+ be a consequence of the rest of this License.
291
+
292
+ 8. If the distribution and/or use of the Program is restricted in
293
+ certain countries either by patents or by copyrighted interfaces, the
294
+ original copyright holder who places the Program under this License
295
+ may add an explicit geographical distribution limitation excluding
296
+ those countries, so that distribution is permitted only in or among
297
+ countries not thus excluded. In such case, this License incorporates
298
+ the limitation as if written in the body of this License.
299
+
300
+ 9. The Free Software Foundation may publish revised and/or new versions
301
+ of the General Public License from time to time. Such new versions will
302
+ be similar in spirit to the present version, but may differ in detail to
303
+ address new problems or concerns.
304
+
305
+ Each version is given a distinguishing version number. If the Program
306
+ specifies a version number of this License which applies to it and "any
307
+ later version", you have the option of following the terms and conditions
308
+ either of that version or of any later version published by the Free
309
+ Software Foundation. If the Program does not specify a version number of
310
+ this License, you may choose any version ever published by the Free Software
311
+ Foundation.
312
+
313
+ 10. If you wish to incorporate parts of the Program into other free
314
+ programs whose distribution conditions are different, write to the author
315
+ to ask for permission. For software which is copyrighted by the Free
316
+ Software Foundation, write to the Free Software Foundation; we sometimes
317
+ make exceptions for this. Our decision will be guided by the two goals
318
+ of preserving the free status of all derivatives of our free software and
319
+ of promoting the sharing and reuse of software generally.
320
+
321
+ NO WARRANTY
322
+
323
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
324
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
325
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
326
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
327
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
328
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
329
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
330
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
331
+ REPAIR OR CORRECTION.
332
+
333
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
334
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
335
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
336
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
337
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
338
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
339
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
340
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
341
+ POSSIBILITY OF SUCH DAMAGES.
342
+
343
+ END OF TERMS AND CONDITIONS
344
+
345
+ How to Apply These Terms to Your New Programs
346
+
347
+ If you develop a new program, and you want it to be of the greatest
348
+ possible use to the public, the best way to achieve this is to make it
349
+ free software which everyone can redistribute and change under these terms.
350
+
351
+ To do so, attach the following notices to the program. It is safest
352
+ to attach them to the start of each source file to most effectively
353
+ convey the exclusion of warranty; and each file should have at least
354
+ the "copyright" line and a pointer to where the full notice is found.
355
+
356
+ <one line to give the program's name and a brief idea of what it does.>
357
+ Copyright (C) <year> <name of author>
358
+
359
+ This program is free software; you can redistribute it and/or modify
360
+ it under the terms of the GNU General Public License as published by
361
+ the Free Software Foundation; either version 2 of the License, or
362
+ (at your option) any later version.
363
+
364
+ This program is distributed in the hope that it will be useful,
365
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
366
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
367
+ GNU General Public License for more details.
368
+
369
+ You should have received a copy of the GNU General Public License
370
+ along with this program; if not, write to the Free Software
371
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
372
+
373
+
374
+ Also add information on how to contact you by electronic and paper mail.
375
+
376
+ If the program is interactive, make it output a short notice like this
377
+ when it starts in an interactive mode:
378
+
379
+ Gnomovision version 69, Copyright (C) year name of author
380
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
381
+ This is free software, and you are welcome to redistribute it
382
+ under certain conditions; type `show c' for details.
383
+
384
+ The hypothetical commands `show w' and `show c' should show the appropriate
385
+ parts of the General Public License. Of course, the commands you use may
386
+ be called something other than `show w' and `show c'; they could even be
387
+ mouse-clicks or menu items--whatever suits your program.
388
+
389
+ You should also get your employer (if you work as a programmer) or your
390
+ school, if any, to sign a "copyright disclaimer" for the program, if
391
+ necessary. Here is a sample; alter the names:
392
+
393
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
394
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
395
+
396
+ <signature of Ty Coon>, 1 April 1989
397
+ Ty Coon, President of Vice
398
+
399
+ This General Public License does not permit incorporating your program into
400
+ proprietary programs. If your program is a subroutine library, you may
401
+ consider it more useful to permit linking proprietary applications with the
402
+ library. If this is what you want to do, use the GNU Library General
403
+ Public License instead of this License.
data/README CHANGED
@@ -1,125 +1,186 @@
1
- = Reap
2
-
3
- User Friendly Project Assitant for Ruby
1
+ = Reap -- A Project Assistant for Ruby
2
+
3
+ Reap is an easy to use project assistant for Ruby developers.
4
+ Reap makes it easy to do the following tasks:
5
+
6
+ * Build new convention-based project folders.
7
+ * Generate RDoc API documentation.
8
+ * Run unit tests (each in it's ruby process).
9
+ * Extract comment embedded tests from source code.
10
+ * Run comment embedded unit test directly from source.
11
+ * Create source tar.gz, tar.bz2 and zip packages.
12
+ * Create RubyGem and Debian packages, plus pacman PKGBUILDs.
13
+ * Publish documents to Rubyforge or other web sites.
14
+ * Make announcement to ruby-talk or other mailing list.
15
+ * Prepare files for distribution (i.e. chmod, tag, etc.)
16
+ * Release distributions on Rubyforge or other such host.
17
+ * Generate XML-format DOAP project file.
4
18
 
5
- == What's This?
19
+ New features continue to be be developed. If you have special
20
+ needs that Reap doesn't accomodate, new tasks are farily easy
21
+ to create. And Reap's maintainers are always happy to engage
22
+ suggestions.
6
23
 
7
- Reap is a user friendly project assistant for Ruby developers.
8
- By organizing your project in a conventional manner,
9
- as promoted by setup.rb, Reap makes it easy to do the
10
- following tasks:
11
24
 
12
- * Generate RDocs.
13
- * Run unit tests.
14
- * Extract tests for scripts.
15
- * Create Ruby Gem packages.
16
- * Create standard .tgz, tbz (bzip2) and/or .zip packages.
17
- * Publish documents to Rubyforge or other web sites.
18
- * Announce a release to Ruby-talk or other mailing list.
19
- * Prepare files for distribution (i.e. chmod, tag, etc.).
20
- * Upload packages (coming soon!).
25
+ == Installation
21
26
 
22
- If you have special needs that Reap doesn't accomodate,
23
- new task are farily easy to create. And I am always
24
- happy to hear suggestions.
27
+ === Requirements
25
28
 
26
- == Installation
29
+ Reap requires Ruby Facets. If manually installing be sure to
30
+ have the latest version of Facets installed too.
27
31
 
28
32
  === Gem Install
29
33
 
30
34
  Install the ruby gem as you would any other:
31
35
 
32
- <tt>gem install reap</tt>
36
+ gem install reap
33
37
 
34
- Reap requires Ruby Facets.
38
+ Gems still suffers from the datadir problem, so we've had
39
+ to create some work arounds, for the template and scaffold
40
+ tasks in particular. If you have any trouble with the Gem
41
+ install please let us know so we can correct.
35
42
 
36
43
  === Manual Install
37
44
 
38
- To install manually follow the usual setup.eb steps:
45
+ To install manually follow the usual setup.rb steps:
39
46
 
40
47
  1. Download the compressed package.
41
48
  2. Unpack it.
42
49
  3. Change into the unpacked directory.
43
- 4. run <tt>sudo ruby setup.rb</tt>
50
+ 4. run 'sudo ruby setup.rb'
44
51
 
45
52
  You should be good to go.
46
53
 
54
+
47
55
  == Usage
48
56
 
49
57
  === Using a Reap Task
50
58
 
51
59
  Reap makes it pretty easy to use it's built-in tasks.
52
- Largely this is because it grabs common data from a ProjectInfo
53
- (or Reapfile) as available. Some Reap tasks are
54
- automatic b/c there are reasonable defaults, others
55
- _require_ entries in the ProjectInfo file.
60
+ Largely this is because it utilizes a single data file,
61
+ called the ProjectInfo file, to describe project procedures.
62
+
63
+ To use Reap the first thing your project will need is a
64
+ ProjectInfo file in it's main directory. A template is provided
65
+ and a task to copy it to your current directory. Simply type:
66
+
67
+ % reap template
68
+
69
+ Then edit the ProjectInfo file created. The fields are fairly self
70
+ explanitiory. The template has a number of commented-out exmaples.
71
+ Apart from utilization by Reap, such a file is even nice to have
72
+ just on it's own informative merits too.
73
+
74
+ Alternatively, Reap can build an entire new project directory with
75
+ all the conventional components pre-arranged. Try it by creating
76
+ a new empty directory, changing into it and then typing:
77
+
78
+ % reap scaffold
79
+
80
+ The directory will be filled out with all the ususal directories,
81
+ lib/, bin/, etc. If you use subversion for version management,
82
+ you can create a subversion layout instead.
83
+
84
+ % reap scaffold svn
85
+
86
+ Filling out a ProjectInfo file is simply a matter adding entries
87
+ for the primary information of you project and adding sections for
88
+ the tasks you wish to use in for project. For example to use the
89
+ RDoc task you could add:
90
+
91
+ document: !!rdoc
92
+ dir: rdoc
56
93
 
57
- For instance, to create a "package" target you generally do not need
58
- an entry in the ProjectInfo file. Reap will package up everything
59
- in the typical directories and makes compressed versions in the
60
- common formats. It will then place those in either ../leaf/
61
- (for those or you using trunk/ branches/ layouts) or pkg/ otherwise.
62
- The same holds for other tasks. Reap will do it's best to extrapolate
63
- the needed information from the ProjectInfo file.
94
+ By default Reap's Rdoc task will look in the bin/ lib/ and ext/
95
+ directories for ruby scripts to document. Or you can specify
96
+ exactly which files to include (See the Reap RDocs themselves
97
+ for parameter details.) Some tasks can operate automatically
98
+ based on reasonable defaults. Indeed in some cases all one might
99
+ need is the one line:
64
100
 
65
- Of course no matter the level of content, you will of course need to
66
- create this file in you projects main directory. A template is provided
67
- and a command line tool to copy it to your current directory. Simply type:
101
+ name: !!task
68
102
 
69
- > reap template
103
+ In others cases certain parameters are required for the task to function.
104
+ But Reap will do it's best to extrapolate the needed information from
105
+ what's available in the ProjectInfo file.
106
+
107
+ Once you have some entries in your ProjectInfo file, enter:
108
+
109
+ % reap
110
+
111
+ And you will see a list of executable tasks. To run a task enter:
112
+
113
+ % reap [task]
114
+
115
+ For basic help try:
116
+
117
+ % reap help
118
+
119
+ For a list of all avaialbe tasks or to get more detailed help on how to
120
+ use a particular task have a look at the RDoc API documentation.
70
121
 
71
- Then edit the ProjectInfo file. The fields are fairly self
72
- explanitiory. Apart from Reap such a file is nice to have just on
73
- it's own merits too.
74
122
 
75
123
  === Building a Reap Task
76
124
 
77
- Building a Reap task differs from building a Rake task
78
- by two important factors. First there is only one target
79
- per task (this may change) Second, task blocks are yeilded
80
- _prior_ to the #init routine being exectuted. So your #init
81
- routine should expect data to already be present in
82
- the tasks attribute and take that into account (usually that
83
- means using ++||=++)
125
+ Building a Reap task is pretty easy too. In fact if you ever used Rake
126
+ you already have a good idea about how to do it.
84
127
 
85
- Here's an, oh so simple, example:
128
+ First make sure your project has a task/ folder. Any file in that
129
+ folder will be read by Reap and used to setup tasks. In a file with
130
+ in that folder you can add a task or collection of tasks.
131
+ Here's an "oh-so-simple" example:
86
132
 
87
- class OhSoSimple < Reap::Task
133
+ module Tasks
88
134
 
89
- task_desc 'This is a custom reap task'
135
+ def simple( name, data )
90
136
 
91
- attr_accessor :message
137
+ desc 'This is a custom reap task class.'
92
138
 
93
- def init
94
- @message ||= master['default'] || 'None Found!'
95
- @another ||= section['another'] || 'Again!'
96
- end
139
+ task name do
140
+ data.message ||= master.message
141
+ puts data.message + "\n\n" + data.signed
142
+ end
97
143
 
98
- # run the target task
99
- def run
100
- puts @message + "\n" + @another
101
- end
144
+ end
102
145
 
103
- end
146
+ end
104
147
 
105
- The corresponding settings in the ProjectInfo file (master) will then be:
148
+ The corresponding settings in the ProjectInfo file will then be:
106
149
 
107
- default: Default text, if any.
108
- ohsosimple:
109
- another: Your other message here.
150
+ message: Hi, how are you?
110
151
 
111
- And to use it
152
+ simple: !!simple
153
+ signed: Your friend, Tom.
154
+
155
+ And to use it type:
156
+
157
+ % reap simple
158
+
159
+ Notice the reference to 'master'. This is an OpenCascade interface
160
+ (similar to OpenObject and OpenStruct) to the whole ProjectInfo dataset.
161
+
162
+ You might recognize the core methods of creating a task, 'desc' and 'task'.
163
+ These are used exactly as they are in Rake. We encapsulate them in a
164
+ task-definition method (eg. simple) so the task can be generated dyanmically
165
+ if such a section (!!simple) appears in the ProjectInfo file. Such
166
+ task-definition methods are recognized by reap b/c they are stored in the
167
+ special purpose Tasks module.
112
168
 
113
- > reap ohsosimple
114
169
 
115
170
  == Status
116
171
 
117
- Reap is currently Usable Beta. Most of the tasks
118
- work very well. Refinements are still common though,
119
- and a few important tasks are still being planned.
172
+ Reap is currently what one might call "usable beta". Most of the tasks
173
+ work very well. Refinements are still common though.
174
+
175
+ Also, Windows support is weak. Reap hasn't been fully tested in that
176
+ environment so it is likely a few tasks will not yet work in this case.
177
+ If you are Windows user and would like to use Reap, we would
178
+ really appreciate someone working out the issues here.
179
+
120
180
 
121
181
  == Legal
122
182
 
123
- Reap
124
- Copyright(c)2004-2005 Thomas Sawyer
125
- Ruby License
183
+ Reap
184
+ Copyright (c) 2004-2006 Thomas Sawyer
185
+ Ruby License
186
+