reap 4.0 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/ProjectInfo +18 -6
  2. data/lib/reap/bin/reap.rb +47 -16
  3. data/lib/reap/interface/interface.rb +0 -0
  4. data/lib/reap/interface/rubyforge.rb +247 -0
  5. data/lib/reap/lint.rb +1 -0
  6. data/lib/reap/projectinfo.rb +47 -18
  7. data/lib/reap/reap.rb +0 -0
  8. data/lib/reap/task/announce.rb +11 -13
  9. data/lib/reap/task/fileperm.rb +2 -5
  10. data/lib/reap/task/info.rb +2 -4
  11. data/lib/reap/task/install.rb +1 -3
  12. data/lib/reap/task/noop.rb +1 -3
  13. data/lib/reap/task/package.rb +163 -65
  14. data/lib/reap/task/publish.rb +2 -4
  15. data/lib/reap/task/rdoc.rb +1 -3
  16. data/lib/reap/task/release.rb +273 -0
  17. data/lib/reap/task/test.rb +19 -5
  18. data/lib/reap/task/testext.rb +5 -5
  19. data/lib/reap/task.rb +94 -69
  20. metadata +70 -256
  21. data/dev/Rakefile +0 -60
  22. data/dev/composite_task.rb +0 -27
  23. data/dev/compositepublisher.rb +0 -24
  24. data/dev/ftptools.rb +0 -139
  25. data/dev/license-each.rb +0 -85
  26. data/dev/publisher.rb +0 -75
  27. data/dev/rubyforgepublisher.rb +0 -18
  28. data/dev/sshpublisher.rb +0 -47
  29. data/dev/suby-cvs.rb +0 -46
  30. data/dev/template.rb +0 -72
  31. data/lib/reap/readymade.rb +0 -21
  32. data/lib/reap/task/webpublish.rb +0 -43
  33. data/lib/reap/tasks.rb +0 -13
  34. data/lib/reap/test.rb +0 -138
  35. data/web/ProjectInfo +0 -57
  36. data/web/images/appleboy.jpg +0 -0
  37. data/web/images/grape.jpg +0 -0
  38. data/web/index.html +0 -124
  39. data/web/rdoc/classes/Object.html +0 -121
  40. data/web/rdoc/classes/ProjectInfo.html +0 -207
  41. data/web/rdoc/classes/ProjectInfo.src/M000094.html +0 -18
  42. data/web/rdoc/classes/ProjectInfo.src/M000095.html +0 -24
  43. data/web/rdoc/classes/ProjectInfo.src/M000096.html +0 -22
  44. data/web/rdoc/classes/ProjectInfo.src/M000097.html +0 -21
  45. data/web/rdoc/classes/ProjectInfo.src/M000098.html +0 -18
  46. data/web/rdoc/classes/Reap/Announce.html +0 -262
  47. data/web/rdoc/classes/Reap/Announce.src/M000030.html +0 -18
  48. data/web/rdoc/classes/Reap/Announce.src/M000031.html +0 -114
  49. data/web/rdoc/classes/Reap/Announce.src/M000032.html +0 -46
  50. data/web/rdoc/classes/Reap/Info.html +0 -176
  51. data/web/rdoc/classes/Reap/Info.src/M000033.html +0 -18
  52. data/web/rdoc/classes/Reap/Info.src/M000034.html +0 -17
  53. data/web/rdoc/classes/Reap/Info.src/M000035.html +0 -18
  54. data/web/rdoc/classes/Reap/Install.html +0 -193
  55. data/web/rdoc/classes/Reap/Install.src/M000036.html +0 -18
  56. data/web/rdoc/classes/Reap/Install.src/M000037.html +0 -20
  57. data/web/rdoc/classes/Reap/Install.src/M000038.html +0 -26
  58. data/web/rdoc/classes/Reap/Noop.html +0 -192
  59. data/web/rdoc/classes/Reap/Noop.src/M000027.html +0 -18
  60. data/web/rdoc/classes/Reap/Noop.src/M000028.html +0 -17
  61. data/web/rdoc/classes/Reap/Noop.src/M000029.html +0 -18
  62. data/web/rdoc/classes/Reap/Package.html +0 -310
  63. data/web/rdoc/classes/Reap/Package.src/M000055.html +0 -18
  64. data/web/rdoc/classes/Reap/Package.src/M000056.html +0 -68
  65. data/web/rdoc/classes/Reap/Package.src/M000057.html +0 -84
  66. data/web/rdoc/classes/Reap/Package.src/M000058.html +0 -61
  67. data/web/rdoc/classes/Reap/Perm.html +0 -236
  68. data/web/rdoc/classes/Reap/Perm.src/M000078.html +0 -18
  69. data/web/rdoc/classes/Reap/Perm.src/M000079.html +0 -21
  70. data/web/rdoc/classes/Reap/Perm.src/M000080.html +0 -42
  71. data/web/rdoc/classes/Reap/Perm.src/M000081.html +0 -26
  72. data/web/rdoc/classes/Reap/Perm.src/M000082.html +0 -18
  73. data/web/rdoc/classes/Reap/Publish.html +0 -213
  74. data/web/rdoc/classes/Reap/Publish.src/M000070.html +0 -18
  75. data/web/rdoc/classes/Reap/Publish.src/M000071.html +0 -22
  76. data/web/rdoc/classes/Reap/Publish.src/M000072.html +0 -37
  77. data/web/rdoc/classes/Reap/RDoc.html +0 -218
  78. data/web/rdoc/classes/Reap/RDoc.src/M000059.html +0 -18
  79. data/web/rdoc/classes/Reap/RDoc.src/M000060.html +0 -24
  80. data/web/rdoc/classes/Reap/RDoc.src/M000061.html +0 -70
  81. data/web/rdoc/classes/Reap/Task.html +0 -396
  82. data/web/rdoc/classes/Reap/Task.src/M000039.html +0 -18
  83. data/web/rdoc/classes/Reap/Task.src/M000040.html +0 -16
  84. data/web/rdoc/classes/Reap/Task.src/M000041.html +0 -16
  85. data/web/rdoc/classes/Reap/Task.src/M000042.html +0 -16
  86. data/web/rdoc/classes/Reap/Task.src/M000043.html +0 -16
  87. data/web/rdoc/classes/Reap/Task.src/M000044.html +0 -22
  88. data/web/rdoc/classes/Reap/Task.src/M000045.html +0 -16
  89. data/web/rdoc/classes/Reap/Task.src/M000046.html +0 -16
  90. data/web/rdoc/classes/Reap/Task.src/M000047.html +0 -16
  91. data/web/rdoc/classes/Reap/Task.src/M000048.html +0 -16
  92. data/web/rdoc/classes/Reap/Task.src/M000049.html +0 -16
  93. data/web/rdoc/classes/Reap/Task.src/M000050.html +0 -27
  94. data/web/rdoc/classes/Reap/Task.src/M000051.html +0 -19
  95. data/web/rdoc/classes/Reap/Task.src/M000052.html +0 -18
  96. data/web/rdoc/classes/Reap/Task.src/M000053.html +0 -18
  97. data/web/rdoc/classes/Reap/Task.src/M000054.html +0 -19
  98. data/web/rdoc/classes/Reap/Test/TestResults.html +0 -205
  99. data/web/rdoc/classes/Reap/Test/TestResults.src/M000067.html +0 -21
  100. data/web/rdoc/classes/Reap/Test/TestResults.src/M000068.html +0 -21
  101. data/web/rdoc/classes/Reap/Test/TestResults.src/M000069.html +0 -23
  102. data/web/rdoc/classes/Reap/Test.html +0 -253
  103. data/web/rdoc/classes/Reap/Test.src/M000062.html +0 -18
  104. data/web/rdoc/classes/Reap/Test.src/M000063.html +0 -26
  105. data/web/rdoc/classes/Reap/Test.src/M000064.html +0 -77
  106. data/web/rdoc/classes/Reap/Test.src/M000065.html +0 -27
  107. data/web/rdoc/classes/Reap/Test.src/M000066.html +0 -50
  108. data/web/rdoc/classes/Reap/TestExt.html +0 -234
  109. data/web/rdoc/classes/Reap/TestExt.src/M000073.html +0 -18
  110. data/web/rdoc/classes/Reap/TestExt.src/M000074.html +0 -20
  111. data/web/rdoc/classes/Reap/TestExt.src/M000075.html +0 -49
  112. data/web/rdoc/classes/Reap/TestExt.src/M000076.html +0 -34
  113. data/web/rdoc/classes/Reap/TestExt.src/M000077.html +0 -27
  114. data/web/rdoc/classes/Reap/WebPublish.html +0 -213
  115. data/web/rdoc/classes/Reap/WebPublish.src/M000083.html +0 -18
  116. data/web/rdoc/classes/Reap/WebPublish.src/M000084.html +0 -21
  117. data/web/rdoc/classes/Reap/WebPublish.src/M000085.html +0 -32
  118. data/web/rdoc/classes/Reap.html +0 -248
  119. data/web/rdoc/classes/Reap.src/M000023.html +0 -16
  120. data/web/rdoc/classes/Reap.src/M000024.html +0 -21
  121. data/web/rdoc/classes/Reap.src/M000025.html +0 -16
  122. data/web/rdoc/classes/Reap.src/M000026.html +0 -21
  123. data/web/rdoc/classes/ReapCommand.html +0 -425
  124. data/web/rdoc/classes/ReapCommand.src/M000001.html +0 -16
  125. data/web/rdoc/classes/ReapCommand.src/M000003.html +0 -16
  126. data/web/rdoc/classes/ReapCommand.src/M000005.html +0 -16
  127. data/web/rdoc/classes/ReapCommand.src/M000007.html +0 -16
  128. data/web/rdoc/classes/ReapCommand.src/M000009.html +0 -16
  129. data/web/rdoc/classes/ReapCommand.src/M000011.html +0 -16
  130. data/web/rdoc/classes/ReapCommand.src/M000013.html +0 -18
  131. data/web/rdoc/classes/ReapCommand.src/M000014.html +0 -19
  132. data/web/rdoc/classes/ReapCommand.src/M000015.html +0 -19
  133. data/web/rdoc/classes/ReapCommand.src/M000016.html +0 -24
  134. data/web/rdoc/classes/ReapCommand.src/M000018.html +0 -29
  135. data/web/rdoc/classes/Scaffold.html +0 -211
  136. data/web/rdoc/classes/Scaffold.src/M000086.html +0 -16
  137. data/web/rdoc/classes/Scaffold.src/M000087.html +0 -28
  138. data/web/rdoc/classes/Scaffold.src/M000088.html +0 -32
  139. data/web/rdoc/classes/Scaffold.src/M000089.html +0 -18
  140. data/web/rdoc/classes/UnitTestKernel.html +0 -176
  141. data/web/rdoc/classes/UnitTestKernel.src/M000019.html +0 -18
  142. data/web/rdoc/classes/UnitTestKernel.src/M000020.html +0 -18
  143. data/web/rdoc/classes/UnitTestKernel.src/M000021.html +0 -22
  144. data/web/rdoc/classes/UnitTestKernel.src/M000022.html +0 -22
  145. data/web/rdoc/classes/UnitTesting/Failure.html +0 -156
  146. data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +0 -18
  147. data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +0 -21
  148. data/web/rdoc/classes/UnitTesting.html +0 -165
  149. data/web/rdoc/classes/UnitTesting.src/M000090.html +0 -34
  150. data/web/rdoc/classes/UnitTesting.src/M000091.html +0 -18
  151. data/web/rdoc/created.rid +0 -1
  152. data/web/rdoc/files/ANN.html +0 -107
  153. data/web/rdoc/files/COPYING.html +0 -119
  154. data/web/rdoc/files/ChangeLog.html +0 -144
  155. data/web/rdoc/files/ProjectInfo.html +0 -190
  156. data/web/rdoc/files/README.html +0 -274
  157. data/web/rdoc/files/Rakefile.html +0 -101
  158. data/web/rdoc/files/lib/reap/bin/reap_rb.html +0 -129
  159. data/web/rdoc/files/lib/reap/lint_rb.html +0 -101
  160. data/web/rdoc/files/lib/reap/projectinfo_rb.html +0 -110
  161. data/web/rdoc/files/lib/reap/readymade_rb.html +0 -123
  162. data/web/rdoc/files/lib/reap/task/announce_rb.html +0 -114
  163. data/web/rdoc/files/lib/reap/task/fileperm_rb.html +0 -108
  164. data/web/rdoc/files/lib/reap/task/info_rb.html +0 -108
  165. data/web/rdoc/files/lib/reap/task/install_rb.html +0 -108
  166. data/web/rdoc/files/lib/reap/task/noop_rb.html +0 -108
  167. data/web/rdoc/files/lib/reap/task/package_rb.html +0 -109
  168. data/web/rdoc/files/lib/reap/task/publish_rb.html +0 -108
  169. data/web/rdoc/files/lib/reap/task/rdoc_rb.html +0 -108
  170. data/web/rdoc/files/lib/reap/task/scaffold_rb.html +0 -107
  171. data/web/rdoc/files/lib/reap/task/test_rb.html +0 -110
  172. data/web/rdoc/files/lib/reap/task/testext_rb.html +0 -109
  173. data/web/rdoc/files/lib/reap/task/webpublish_rb.html +0 -108
  174. data/web/rdoc/files/lib/reap/task_rb.html +0 -120
  175. data/web/rdoc/files/lib/reap/tasks_rb.html +0 -116
  176. data/web/rdoc/files/lib/reap/test_rb.html +0 -109
  177. data/web/rdoc/fr_class_index.html +0 -47
  178. data/web/rdoc/fr_file_index.html +0 -51
  179. data/web/rdoc/fr_method_index.html +0 -124
  180. data/web/rdoc/index.html +0 -24
  181. data/web/rdoc/rdoc-style.css +0 -208
data/lib/reap/task.rb CHANGED
@@ -5,10 +5,10 @@ require 'fileutils'
5
5
  require 'facet/fileutils/safe_ln'
6
6
  require 'facet/string/tabto'
7
7
  require 'facet/module/basename'
8
+ require 'facet/module/attr_setter'
8
9
 
9
- require 'carat/filelist'
10
+ require 'calibre/filelist'
10
11
 
11
- require 'reap/projectinfo'
12
12
 
13
13
  # Base class for reap tasks.
14
14
  #
@@ -41,27 +41,41 @@ require 'reap/projectinfo'
41
41
  #
42
42
  module Reap
43
43
 
44
+ @registry ||= {}
45
+
46
+ # Hash of all task classes
44
47
  def self.registry ; @registry ; end
45
48
 
49
+ # Hash of tasks available to this project
50
+ def self.tasks
51
+ unless @tasks
52
+ @tasks = {}
53
+ @registry.each { |name, klass|
54
+ @tasks[name] = klass if klass.verify?
55
+ }
56
+ end
57
+ @tasks
58
+ end
59
+
46
60
  def self.register
47
- @registry ||= {}
48
- ObjectSpace.each_object(Class) { |klass|
49
- if klass < ::Reap::Task
50
- if klass.verify
51
- @registry[klass.basename.downcase] = klass
52
- end
53
- end
54
- }
61
+ $PROJECT_INFO = ProjectInfo.new( $PROJECT_FILE )
62
+ #@registry ||= {}
63
+ #ObjectSpace.each_object(Class) { |klass|
64
+ # if klass < ::Reap::Task
65
+ # if klass.verify
66
+ # @registry[klass.basename.downcase] = klass
67
+ # end
68
+ # end
69
+ #}
55
70
  end
56
71
 
57
- def self.tasks ; @tasks ; end
72
+ # def self.initialize
73
+ # @tasks ||= {}
74
+ # registry.each do |name, klass|
75
+ # @tasks[name] = klass.new
76
+ # end
77
+ # end
58
78
 
59
- def self.initialize
60
- @tasks ||= {}
61
- registry.each do |name, klass|
62
- @tasks[name] = klass.new
63
- end
64
- end
65
79
 
66
80
 
67
81
  class Task
@@ -71,20 +85,45 @@ module Reap
71
85
 
72
86
  RUBY = CONFIG['ruby_install_name']
73
87
 
74
- # class methods
88
+ class << self
89
+
90
+ def task_desc( text=nil, &block )
91
+ if text
92
+ @task_desc = proc { text }
93
+ elsif block_given?
94
+ @task_desc = block
95
+ else
96
+ @task_desc.call
97
+ end
98
+ end
99
+
100
+ #def task_desc ; '(no desciption given)' ; end
101
+ def task_name ; basename.downcase ; end
75
102
 
76
- def self.task_desc ; '(no desciption given)' ; end
77
- def self.task_name ; basename.downcase ; end
103
+ def section_required( val ) ; @section_required = val ;end
104
+ def section_required? ; @section_required ; end
78
105
 
79
- def self.section_required( val ) ; @section_required = val ;end
80
- def self.section_required? ; @section_required ; end
106
+ #
107
+ def verify?
108
+ if section_required?
109
+ return $PROJECT_INFO.info.key?(task_name)
110
+ end
111
+ true
112
+ end
81
113
 
82
- def self.verify
83
- assume = true
84
- if section_required?
85
- assume = ::ProjectInfo.info.key?(task_name)
114
+ def inherited( base )
115
+ Reap.registry[base.task_name] = base
86
116
  end
87
- assume
117
+
118
+ def master_attributes ; @master_attributes ||= [] ; end
119
+
120
+ # Use this DSL method to define master task attributes.
121
+ def attr_master( *names )
122
+ attr_accessor *names
123
+ @master_attributes ||= []
124
+ @master_attributes |= names.collect { |n| n.to_s }
125
+ end
126
+
88
127
  end
89
128
 
90
129
  # instance methods
@@ -92,35 +131,47 @@ module Reap
92
131
  def task_name ; self.class.task_name ; end
93
132
  def task_desc ; self.class.task_desc ; end
94
133
 
95
- def master ; ::ProjectInfo.info ; end
134
+ def section_required? ; self.class.section_required? ; end
96
135
 
136
+ #def master ; ::ProjectInfo.info ; end
137
+ def master ; @master ; end
97
138
  def section ; @section ; end
98
139
 
99
- def section_required? ; self.class.section_required? ; end
140
+ #
141
+ def initialize( *args )
142
+ @master = $PROJECT_INFO
100
143
 
101
- def initialize
102
- sect = master[task_name]
144
+ sect = @master[task_name]
103
145
  if sect.is_a?(Array)
104
- sect.each do |s|
105
- section_parameters_set( s )
146
+ @master[task_name].each do |sec|
147
+ set( sec )
106
148
  init
149
+ run
107
150
  end
108
151
  else
109
- section_parameters_set( sect || {} )
152
+ set( sect || {} )
110
153
  init
154
+ run
111
155
  end
112
156
  end
113
157
 
114
- def section_parameters_set( s )
115
- @section = s
116
- @section.each { |k,v| send("#{k}=", v) }
158
+ def set( sec )
159
+ @section = sec
160
+
161
+ self.class.master_attributes.each do |k,v|
162
+ send( "#{k}=", @master[k] )
163
+ end
164
+
165
+ @section.each do |k,v|
166
+ send( "#{k}=", v )
167
+ end
117
168
  end
118
169
 
119
170
  def init
120
171
  raise "not implemented for '#{task_name}' task"
121
172
  end
122
173
 
123
- def run( *args )
174
+ def run
124
175
  raise "no action defined for task #{task_name}"
125
176
  end
126
177
 
@@ -131,32 +182,6 @@ module Reap
131
182
  system arg unless $PRETEND
132
183
  end
133
184
 
134
- # o = nil
135
- # o = yld.call(self) if yld
136
- # if String === o
137
- # begin
138
- # section( o ).each { |k,v| send("#{k}=", v ) }
139
- # end
140
- # end
141
- #
142
- # init
143
- #
144
- # task_name ||= default_name
145
- # task_desc = @desc || default_desc
146
- #
147
- # if subtask
148
- # desc task_desc
149
- # task task_name => subtask do
150
- # run
151
- # end
152
- # else
153
- # desc task_desc
154
- # task task_name do
155
- # run
156
- # end
157
- # end
158
- # end
159
-
160
185
  end #class Task
161
186
 
162
187
  end #module Reap
@@ -167,21 +192,21 @@ end #module Reap
167
192
  ##
168
193
  # module RakeTask
169
194
  # extend self
170
- #
195
+ #
171
196
  # def gem_package_task(*args,&blk)
172
197
  # ::Rake::GemPackageTask.new(*args,&blk)
173
198
  # end
174
- #
199
+ #
175
200
  # def package_task(*args,&blk)
176
201
  # ::Rake::PackageTask.new(*args,&blk)
177
202
  # end
178
- #
203
+ #
179
204
  # def test_task(*args,&blk)
180
205
  # ::Rake::TestTask.new(*args,&blk)
181
206
  # end
182
- #
207
+ #
183
208
  # def rdoc_task(*args,&blk)
184
209
  # ::Rake::RDocTask.new(*args,&blk)
185
210
  # end
186
- #
211
+ #
187
212
  # end
metadata CHANGED
@@ -3,11 +3,11 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: reap
5
5
  version: !ruby/object:Gem::Version
6
- version: "4.0"
7
- date: 2005-10-09 00:00:00 -04:00
8
- summary: "Tools for Ruby project testing, management and assistance."
6
+ version: 4.3.1
7
+ date: 2006-03-15 00:00:00 +00:00
8
+ summary: Tools for Ruby project testing, management and assistance.
9
9
  require_paths:
10
- - lib
10
+ - lib
11
11
  email: transfire@gmail.com
12
12
  homepage: http://reap.rubyforge.org
13
13
  rubyforge_project: reap
@@ -15,270 +15,84 @@ description:
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
18
- has_rdoc: false
18
+ has_rdoc: true
19
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
20
20
  requirements:
21
- -
22
- - ">"
23
- - !ruby/object:Gem::Version
24
- version: 0.0.0
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
25
24
  version:
26
25
  platform: ruby
27
26
  signing_key:
28
27
  cert_chain:
29
28
  authors:
30
- - Thomas Sawyer
29
+ - Thomas Sawyer
31
30
  files:
32
- - ANN
33
- - bin
34
- - dev
35
- - lib
36
- - web
37
- - data
38
- - test
39
- - Rakefile
40
- - README
41
- - setup.rb
42
- - ChangeLog
43
- - COPYING
44
- - ProjectInfo
45
- - bin/reap
46
- - dev/Rakefile
47
- - dev/license-each.rb
48
- - dev/sshpublisher.rb
49
- - dev/template.rb
50
- - dev/publisher.rb
51
- - dev/compositepublisher.rb
52
- - dev/suby-cvs.rb
53
- - dev/composite_task.rb
54
- - dev/rubyforgepublisher.rb
55
- - dev/ftptools.rb
56
- - lib/reap
57
- - lib/reap/bin
58
- - lib/reap/task
59
- - lib/reap/projectinfo.rb
60
- - lib/reap/lint.rb
61
- - lib/reap/task.rb
62
- - lib/reap/test.rb
63
- - lib/reap/tasks.rb
64
- - lib/reap/readymade.rb
65
- - lib/reap/bin/reap.rb
66
- - lib/reap/task/rdoc.rb
67
- - lib/reap/task/announce.rb
68
- - lib/reap/task/testext.rb
69
- - lib/reap/task/install.rb
70
- - lib/reap/task/test.rb
71
- - lib/reap/task/webpublish.rb
72
- - lib/reap/task/scaffold.rb
73
- - lib/reap/task/noop.rb
74
- - lib/reap/task/fileperm.rb
75
- - lib/reap/task/package.rb
76
- - lib/reap/task/info.rb
77
- - lib/reap/task/publish.rb
78
- - web/rdoc
79
- - web/index.html
80
- - web/images
81
- - web/ProjectInfo
82
- - web/rdoc/files
83
- - web/rdoc/index.html
84
- - web/rdoc/rdoc-style.css
85
- - web/rdoc/fr_method_index.html
86
- - web/rdoc/fr_class_index.html
87
- - web/rdoc/fr_file_index.html
88
- - web/rdoc/created.rid
89
- - web/rdoc/classes
90
- - web/rdoc/files/lib
91
- - web/rdoc/files/Rakefile.html
92
- - web/rdoc/files/ChangeLog.html
93
- - web/rdoc/files/ANN.html
94
- - web/rdoc/files/README.html
95
- - web/rdoc/files/COPYING.html
96
- - web/rdoc/files/ProjectInfo.html
97
- - web/rdoc/files/lib/reap
98
- - web/rdoc/files/lib/reap/bin
99
- - web/rdoc/files/lib/reap/task
100
- - web/rdoc/files/lib/reap/readymade_rb.html
101
- - web/rdoc/files/lib/reap/lint_rb.html
102
- - web/rdoc/files/lib/reap/projectinfo_rb.html
103
- - web/rdoc/files/lib/reap/task_rb.html
104
- - web/rdoc/files/lib/reap/test_rb.html
105
- - web/rdoc/files/lib/reap/tasks_rb.html
106
- - web/rdoc/files/lib/reap/bin/reap_rb.html
107
- - web/rdoc/files/lib/reap/task/fileperm_rb.html
108
- - web/rdoc/files/lib/reap/task/install_rb.html
109
- - web/rdoc/files/lib/reap/task/rdoc_rb.html
110
- - web/rdoc/files/lib/reap/task/webpublish_rb.html
111
- - web/rdoc/files/lib/reap/task/scaffold_rb.html
112
- - web/rdoc/files/lib/reap/task/testext_rb.html
113
- - web/rdoc/files/lib/reap/task/info_rb.html
114
- - web/rdoc/files/lib/reap/task/package_rb.html
115
- - web/rdoc/files/lib/reap/task/noop_rb.html
116
- - web/rdoc/files/lib/reap/task/test_rb.html
117
- - web/rdoc/files/lib/reap/task/announce_rb.html
118
- - web/rdoc/files/lib/reap/task/publish_rb.html
119
- - web/rdoc/classes/Reap
120
- - web/rdoc/classes/UnitTestKernel.src
121
- - web/rdoc/classes/Scaffold.html
122
- - web/rdoc/classes/UnitTestKernel.html
123
- - web/rdoc/classes/Scaffold.src
124
- - web/rdoc/classes/UnitTesting.src
125
- - web/rdoc/classes/ProjectInfo.src
126
- - web/rdoc/classes/Object.html
127
- - web/rdoc/classes/Reap.src
128
- - web/rdoc/classes/Reap.html
129
- - web/rdoc/classes/ReapCommand.html
130
- - web/rdoc/classes/UnitTesting
131
- - web/rdoc/classes/ReapCommand.src
132
- - web/rdoc/classes/UnitTesting.html
133
- - web/rdoc/classes/ProjectInfo.html
134
- - web/rdoc/classes/Reap/Test
135
- - web/rdoc/classes/Reap/Test.src
136
- - web/rdoc/classes/Reap/WebPublish.html
137
- - web/rdoc/classes/Reap/WebPublish.src
138
- - web/rdoc/classes/Reap/Publish.src
139
- - web/rdoc/classes/Reap/Noop.html
140
- - web/rdoc/classes/Reap/Package.html
141
- - web/rdoc/classes/Reap/Task.src
142
- - web/rdoc/classes/Reap/Test.html
143
- - web/rdoc/classes/Reap/Info.src
144
- - web/rdoc/classes/Reap/Info.html
145
- - web/rdoc/classes/Reap/Announce.html
146
- - web/rdoc/classes/Reap/TestExt.src
147
- - web/rdoc/classes/Reap/RDoc.html
148
- - web/rdoc/classes/Reap/Perm.src
149
- - web/rdoc/classes/Reap/Noop.src
150
- - web/rdoc/classes/Reap/Install.src
151
- - web/rdoc/classes/Reap/TestExt.html
152
- - web/rdoc/classes/Reap/Package.src
153
- - web/rdoc/classes/Reap/Install.html
154
- - web/rdoc/classes/Reap/Publish.html
155
- - web/rdoc/classes/Reap/Announce.src
156
- - web/rdoc/classes/Reap/RDoc.src
157
- - web/rdoc/classes/Reap/Perm.html
158
- - web/rdoc/classes/Reap/Task.html
159
- - web/rdoc/classes/Reap/Test/TestResults.html
160
- - web/rdoc/classes/Reap/Test/TestResults.src
161
- - web/rdoc/classes/Reap/Test/TestResults.src/M000067.html
162
- - web/rdoc/classes/Reap/Test/TestResults.src/M000068.html
163
- - web/rdoc/classes/Reap/Test/TestResults.src/M000069.html
164
- - web/rdoc/classes/Reap/Test.src/M000062.html
165
- - web/rdoc/classes/Reap/Test.src/M000063.html
166
- - web/rdoc/classes/Reap/Test.src/M000064.html
167
- - web/rdoc/classes/Reap/Test.src/M000065.html
168
- - web/rdoc/classes/Reap/Test.src/M000066.html
169
- - web/rdoc/classes/Reap/WebPublish.src/M000083.html
170
- - web/rdoc/classes/Reap/WebPublish.src/M000084.html
171
- - web/rdoc/classes/Reap/WebPublish.src/M000085.html
172
- - web/rdoc/classes/Reap/Publish.src/M000070.html
173
- - web/rdoc/classes/Reap/Publish.src/M000071.html
174
- - web/rdoc/classes/Reap/Publish.src/M000072.html
175
- - web/rdoc/classes/Reap/Task.src/M000039.html
176
- - web/rdoc/classes/Reap/Task.src/M000040.html
177
- - web/rdoc/classes/Reap/Task.src/M000041.html
178
- - web/rdoc/classes/Reap/Task.src/M000042.html
179
- - web/rdoc/classes/Reap/Task.src/M000043.html
180
- - web/rdoc/classes/Reap/Task.src/M000044.html
181
- - web/rdoc/classes/Reap/Task.src/M000045.html
182
- - web/rdoc/classes/Reap/Task.src/M000046.html
183
- - web/rdoc/classes/Reap/Task.src/M000047.html
184
- - web/rdoc/classes/Reap/Task.src/M000048.html
185
- - web/rdoc/classes/Reap/Task.src/M000049.html
186
- - web/rdoc/classes/Reap/Task.src/M000050.html
187
- - web/rdoc/classes/Reap/Task.src/M000051.html
188
- - web/rdoc/classes/Reap/Task.src/M000052.html
189
- - web/rdoc/classes/Reap/Task.src/M000053.html
190
- - web/rdoc/classes/Reap/Task.src/M000054.html
191
- - web/rdoc/classes/Reap/Info.src/M000033.html
192
- - web/rdoc/classes/Reap/Info.src/M000034.html
193
- - web/rdoc/classes/Reap/Info.src/M000035.html
194
- - web/rdoc/classes/Reap/TestExt.src/M000076.html
195
- - web/rdoc/classes/Reap/TestExt.src/M000077.html
196
- - web/rdoc/classes/Reap/TestExt.src/M000073.html
197
- - web/rdoc/classes/Reap/TestExt.src/M000074.html
198
- - web/rdoc/classes/Reap/TestExt.src/M000075.html
199
- - web/rdoc/classes/Reap/Perm.src/M000078.html
200
- - web/rdoc/classes/Reap/Perm.src/M000079.html
201
- - web/rdoc/classes/Reap/Perm.src/M000080.html
202
- - web/rdoc/classes/Reap/Perm.src/M000081.html
203
- - web/rdoc/classes/Reap/Perm.src/M000082.html
204
- - web/rdoc/classes/Reap/Noop.src/M000027.html
205
- - web/rdoc/classes/Reap/Noop.src/M000028.html
206
- - web/rdoc/classes/Reap/Noop.src/M000029.html
207
- - web/rdoc/classes/Reap/Install.src/M000036.html
208
- - web/rdoc/classes/Reap/Install.src/M000037.html
209
- - web/rdoc/classes/Reap/Install.src/M000038.html
210
- - web/rdoc/classes/Reap/Package.src/M000055.html
211
- - web/rdoc/classes/Reap/Package.src/M000056.html
212
- - web/rdoc/classes/Reap/Package.src/M000057.html
213
- - web/rdoc/classes/Reap/Package.src/M000058.html
214
- - web/rdoc/classes/Reap/Announce.src/M000030.html
215
- - web/rdoc/classes/Reap/Announce.src/M000031.html
216
- - web/rdoc/classes/Reap/Announce.src/M000032.html
217
- - web/rdoc/classes/Reap/RDoc.src/M000059.html
218
- - web/rdoc/classes/Reap/RDoc.src/M000060.html
219
- - web/rdoc/classes/Reap/RDoc.src/M000061.html
220
- - web/rdoc/classes/UnitTestKernel.src/M000019.html
221
- - web/rdoc/classes/UnitTestKernel.src/M000020.html
222
- - web/rdoc/classes/UnitTestKernel.src/M000021.html
223
- - web/rdoc/classes/UnitTestKernel.src/M000022.html
224
- - web/rdoc/classes/Scaffold.src/M000086.html
225
- - web/rdoc/classes/Scaffold.src/M000087.html
226
- - web/rdoc/classes/Scaffold.src/M000088.html
227
- - web/rdoc/classes/Scaffold.src/M000089.html
228
- - web/rdoc/classes/UnitTesting.src/M000090.html
229
- - web/rdoc/classes/UnitTesting.src/M000091.html
230
- - web/rdoc/classes/ProjectInfo.src/M000094.html
231
- - web/rdoc/classes/ProjectInfo.src/M000095.html
232
- - web/rdoc/classes/ProjectInfo.src/M000096.html
233
- - web/rdoc/classes/ProjectInfo.src/M000097.html
234
- - web/rdoc/classes/ProjectInfo.src/M000098.html
235
- - web/rdoc/classes/Reap.src/M000023.html
236
- - web/rdoc/classes/Reap.src/M000024.html
237
- - web/rdoc/classes/Reap.src/M000025.html
238
- - web/rdoc/classes/Reap.src/M000026.html
239
- - web/rdoc/classes/UnitTesting/Failure.html
240
- - web/rdoc/classes/UnitTesting/Failure.src
241
- - web/rdoc/classes/UnitTesting/Failure.src/M000092.html
242
- - web/rdoc/classes/UnitTesting/Failure.src/M000093.html
243
- - web/rdoc/classes/ReapCommand.src/M000009.html
244
- - web/rdoc/classes/ReapCommand.src/M000011.html
245
- - web/rdoc/classes/ReapCommand.src/M000013.html
246
- - web/rdoc/classes/ReapCommand.src/M000014.html
247
- - web/rdoc/classes/ReapCommand.src/M000015.html
248
- - web/rdoc/classes/ReapCommand.src/M000016.html
249
- - web/rdoc/classes/ReapCommand.src/M000018.html
250
- - web/rdoc/classes/ReapCommand.src/M000001.html
251
- - web/rdoc/classes/ReapCommand.src/M000003.html
252
- - web/rdoc/classes/ReapCommand.src/M000005.html
253
- - web/rdoc/classes/ReapCommand.src/M000007.html
254
- - web/images/appleboy.jpg
255
- - web/images/grape.jpg
256
- - data/reap
257
- - data/reap/scaffold
258
- - data/reap/scaffold/Todo
259
- - data/reap/scaffold/Rakefile
260
- - data/reap/scaffold/README
261
- - data/reap/scaffold/setup.rb
262
- - data/reap/scaffold/INSTALL
263
- - data/reap/scaffold/ChangeLog
264
- - data/reap/scaffold/COPYING
265
- - data/reap/scaffold/ProjectInfo
266
- - test/tc_reap.rb
31
+ - bin
32
+ - data
33
+ - lib
34
+ - test
35
+ - ANN
36
+ - ChangeLog
37
+ - COPYING
38
+ - ProjectInfo
39
+ - Rakefile
40
+ - README
41
+ - setup.rb
42
+ - bin/reap
43
+ - data/reap
44
+ - data/reap/scaffold
45
+ - data/reap/scaffold/Todo
46
+ - data/reap/scaffold/Rakefile
47
+ - data/reap/scaffold/README
48
+ - data/reap/scaffold/setup.rb
49
+ - data/reap/scaffold/INSTALL
50
+ - data/reap/scaffold/ChangeLog
51
+ - data/reap/scaffold/COPYING
52
+ - data/reap/scaffold/ProjectInfo
53
+ - lib/reap
54
+ - lib/reap/bin
55
+ - lib/reap/task
56
+ - lib/reap/projectinfo.rb
57
+ - lib/reap/lint.rb
58
+ - lib/reap/task.rb
59
+ - lib/reap/reap.rb
60
+ - lib/reap/interface
61
+ - lib/reap/bin/reap.rb
62
+ - lib/reap/task/rdoc.rb
63
+ - lib/reap/task/release.rb
64
+ - lib/reap/task/announce.rb
65
+ - lib/reap/task/testext.rb
66
+ - lib/reap/task/install.rb
67
+ - lib/reap/task/test.rb
68
+ - lib/reap/task/scaffold.rb
69
+ - lib/reap/task/noop.rb
70
+ - lib/reap/task/fileperm.rb
71
+ - lib/reap/task/package.rb
72
+ - lib/reap/task/info.rb
73
+ - lib/reap/task/publish.rb
74
+ - lib/reap/interface/interface.rb
75
+ - lib/reap/interface/rubyforge.rb
76
+ - test/tc_reap.rb
267
77
  test_files: []
78
+
268
79
  rdoc_options: []
80
+
269
81
  extra_rdoc_files: []
82
+
270
83
  executables:
271
- - reap
84
+ - reap
272
85
  extensions: []
86
+
273
87
  requirements: []
88
+
274
89
  dependencies:
275
- - !ruby/object:Gem::Dependency
276
- name: facets
277
- version_requirement:
278
- version_requirements: !ruby/object:Gem::Version::Requirement
279
- requirements:
280
- -
281
- - ">"
282
- - !ruby/object:Gem::Version
283
- version: 0.0.0
284
- version:
90
+ - !ruby/object:Gem::Dependency
91
+ name: facets
92
+ version_requirement:
93
+ version_requirements: !ruby/object:Gem::Version::Requirement
94
+ requirements:
95
+ - - ">"
96
+ - !ruby/object:Gem::Version
97
+ version: 0.0.0
98
+ version:
data/dev/Rakefile DELETED
@@ -1,60 +0,0 @@
1
- # Rakefile for rubypants -*-ruby-*-
2
- require 'rake/rdoctask'
3
-
4
-
5
- desc "Run all the tests"
6
- task :default => [:test]
7
-
8
- desc "Do predistribution stuff"
9
- task :predist => [:changelog, :doc]
10
-
11
-
12
- desc "Run all the tests"
13
- task :test do
14
- ruby 'rand.rb'
15
- end
16
-
17
- desc "Make an archive as .tar.gz"
18
- task :dist => :test do
19
- system "export DARCS_REPO=#{File.expand_path "."}; " +
20
- "darcs dist -d rand#{get_darcs_tree_version}"
21
- end
22
-
23
- desc "Generate a ChangeLog"
24
- task :changelog do
25
- system "darcs changes --repo=#{ENV["DARCS_REPO"] || "."} >ChangeLog"
26
- end
27
-
28
- desc "Generate RDoc documentation"
29
- Rake::RDocTask.new(:doc) do |rdoc|
30
- rdoc.options << '--line-numbers --inline-source --all'
31
- rdoc.rdoc_files.include 'README'
32
- rdoc.rdoc_files.include 'rand.rb'
33
- end
34
-
35
-
36
- # Helper to retrieve the "revision number" of the darcs tree.
37
- def get_darcs_tree_version
38
- return "" unless File.directory? "_darcs"
39
-
40
- changes = `darcs changes`
41
- count = 0
42
- tag = "0.0"
43
-
44
- changes.each("\n\n") { |change|
45
- head, title, desc = change.split("\n", 3)
46
-
47
- if title =~ /^ \*/
48
- # Normal change.
49
- count += 1
50
- elsif title =~ /tagged (.*)/
51
- # Tag. We look for these.
52
- tag = $1
53
- break
54
- else
55
- warn "Unparsable change: #{change}"
56
- end
57
- }
58
-
59
- "-" + tag + "." + count.to_s
60
- end
@@ -1,27 +0,0 @@
1
-
2
- require 'reap/reap'
3
- require 'reap/task'
4
-
5
- class Reap::CompositeTask < Reap::Task
6
-
7
- register "composite"
8
-
9
- #def default_name ; "" ; end
10
- def default_desc
11
- "run tasks #{subtasks.join(',')} [reap]"
12
- end
13
-
14
- #attr_accessor :subtasks
15
-
16
- def init
17
- #@subtasks = section['subtasks']
18
- end
19
-
20
- private
21
-
22
- def run
23
- #@subtasks.each do |st|
24
- #end
25
- end
26
-
27
- end