reap 5.10.10 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +400 -8
- data/README +136 -75
- data/bin/reap +2 -2
- data/bin/rubytest +5 -0
- data/data/reap/scaffold/standard/COPYING +403 -0
- data/data/reap/scaffold/{ChangeLog → standard/ChangeLog} +0 -0
- data/data/reap/scaffold/standard/INSTALL +14 -0
- data/data/reap/scaffold/{ProjectInfo → standard/ProjectInfo} +23 -24
- data/data/reap/scaffold/standard/README +3 -0
- data/data/reap/scaffold/standard/Rakefile +10 -0
- data/{Rakefile → data/reap/scaffold/standard/TODO} +0 -0
- data/data/reap/scaffold/{setup.rb → standard/setup.rb} +287 -270
- data/data/reap/scaffold/subversion/trunk/COPYING +403 -0
- data/data/reap/scaffold/{INSTALL → subversion/trunk/ChangeLog} +0 -0
- data/data/reap/scaffold/subversion/trunk/INSTALL +14 -0
- data/data/reap/scaffold/subversion/trunk/ProjectInfo +76 -0
- data/data/reap/scaffold/subversion/trunk/README +3 -0
- data/data/reap/scaffold/subversion/trunk/Rakefile +10 -0
- data/data/reap/scaffold/{README → subversion/trunk/TODO} +0 -0
- data/data/reap/scaffold/subversion/trunk/setup.rb +1568 -0
- data/data/reap/setup.rb +1568 -0
- data/lib/reap/bin/reap.rb +176 -80
- data/lib/reap/bin/rubytest.rb +53 -0
- data/lib/reap/class/announce.rb +220 -0
- data/lib/reap/class/doap.rb +80 -0
- data/lib/reap/class/extest.rb +151 -0
- data/lib/reap/class/filer.rb +62 -0
- data/lib/reap/class/installer.rb +178 -0
- data/lib/reap/class/manifest.rb +72 -0
- data/lib/reap/class/package.rb +468 -0
- data/lib/reap/class/publish.rb +152 -0
- data/lib/reap/class/rdoc.rb +131 -0
- data/lib/reap/class/test.rb +269 -0
- data/lib/reap/projectinfo.rb +187 -30
- data/lib/reap/rake.rb +42 -0
- data/lib/reap/reap.rb +89 -0
- data/lib/reap/tasks.rb +672 -11
- data/lib/reap/taskutils.rb +122 -0
- data/sample/ProjectInfo +96 -0
- data/sample/Rakefile +9 -0
- data/sample/Reapfile +11 -0
- data/sample/task/demo.rb +15 -0
- data/setup.rb +287 -272
- metadata +99 -257
- data/ANN +0 -3
- data/ChangeLog +0 -25
- data/ProjectInfo +0 -65
- data/data/reap/scaffold/COPYING +0 -11
- data/data/reap/scaffold/Rakefile +0 -146
- data/data/reap/scaffold/Todo +0 -0
- data/dev/Rakefile +0 -60
- data/dev/composite_task.rb +0 -27
- data/dev/compositepublisher.rb +0 -24
- data/dev/ftptools.rb +0 -139
- data/dev/license-each.rb +0 -85
- data/dev/publisher.rb +0 -75
- data/dev/rubyforgepublisher.rb +0 -18
- data/dev/sshpublisher.rb +0 -47
- data/dev/suby-cvs.rb +0 -46
- data/dev/template.rb +0 -72
- data/lib/reap/lint.rb +0 -0
- data/lib/reap/readymade.rb +0 -21
- data/lib/reap/task.rb +0 -187
- data/lib/reap/task/announce.rb +0 -156
- data/lib/reap/task/fileperm.rb +0 -82
- data/lib/reap/task/info.rb +0 -20
- data/lib/reap/task/install.rb +0 -33
- data/lib/reap/task/noop.rb +0 -26
- data/lib/reap/task/package.rb +0 -204
- data/lib/reap/task/publish.rb +0 -49
- data/lib/reap/task/rdoc.rb +0 -82
- data/lib/reap/task/scaffold.rb +0 -114
- data/lib/reap/task/test.rb +0 -186
- data/lib/reap/task/testext.rb +0 -110
- data/lib/reap/task/webpublish.rb +0 -43
- data/lib/reap/test.rb +0 -138
- data/test/tc_reap.rb +0 -11
- data/web/ProjectInfo +0 -57
- data/web/images/appleboy.jpg +0 -0
- data/web/images/grape.jpg +0 -0
- data/web/index.html +0 -124
- data/web/rdoc/classes/Object.html +0 -121
- data/web/rdoc/classes/ProjectInfo.html +0 -207
- data/web/rdoc/classes/ProjectInfo.src/M000094.html +0 -18
- data/web/rdoc/classes/ProjectInfo.src/M000095.html +0 -24
- data/web/rdoc/classes/ProjectInfo.src/M000096.html +0 -22
- data/web/rdoc/classes/ProjectInfo.src/M000097.html +0 -21
- data/web/rdoc/classes/ProjectInfo.src/M000098.html +0 -18
- data/web/rdoc/classes/Reap.html +0 -248
- data/web/rdoc/classes/Reap.src/M000023.html +0 -16
- data/web/rdoc/classes/Reap.src/M000024.html +0 -21
- data/web/rdoc/classes/Reap.src/M000025.html +0 -16
- data/web/rdoc/classes/Reap.src/M000026.html +0 -21
- data/web/rdoc/classes/Reap/Announce.html +0 -262
- data/web/rdoc/classes/Reap/Announce.src/M000030.html +0 -18
- data/web/rdoc/classes/Reap/Announce.src/M000031.html +0 -114
- data/web/rdoc/classes/Reap/Announce.src/M000032.html +0 -46
- data/web/rdoc/classes/Reap/Info.html +0 -176
- data/web/rdoc/classes/Reap/Info.src/M000033.html +0 -18
- data/web/rdoc/classes/Reap/Info.src/M000034.html +0 -17
- data/web/rdoc/classes/Reap/Info.src/M000035.html +0 -18
- data/web/rdoc/classes/Reap/Install.html +0 -193
- data/web/rdoc/classes/Reap/Install.src/M000036.html +0 -18
- data/web/rdoc/classes/Reap/Install.src/M000037.html +0 -20
- data/web/rdoc/classes/Reap/Install.src/M000038.html +0 -26
- data/web/rdoc/classes/Reap/Noop.html +0 -192
- data/web/rdoc/classes/Reap/Noop.src/M000027.html +0 -18
- data/web/rdoc/classes/Reap/Noop.src/M000028.html +0 -17
- data/web/rdoc/classes/Reap/Noop.src/M000029.html +0 -18
- data/web/rdoc/classes/Reap/Package.html +0 -310
- data/web/rdoc/classes/Reap/Package.src/M000055.html +0 -18
- data/web/rdoc/classes/Reap/Package.src/M000056.html +0 -68
- data/web/rdoc/classes/Reap/Package.src/M000057.html +0 -84
- data/web/rdoc/classes/Reap/Package.src/M000058.html +0 -61
- data/web/rdoc/classes/Reap/Perm.html +0 -236
- data/web/rdoc/classes/Reap/Perm.src/M000078.html +0 -18
- data/web/rdoc/classes/Reap/Perm.src/M000079.html +0 -21
- data/web/rdoc/classes/Reap/Perm.src/M000080.html +0 -42
- data/web/rdoc/classes/Reap/Perm.src/M000081.html +0 -26
- data/web/rdoc/classes/Reap/Perm.src/M000082.html +0 -18
- data/web/rdoc/classes/Reap/Publish.html +0 -213
- data/web/rdoc/classes/Reap/Publish.src/M000070.html +0 -18
- data/web/rdoc/classes/Reap/Publish.src/M000071.html +0 -22
- data/web/rdoc/classes/Reap/Publish.src/M000072.html +0 -37
- data/web/rdoc/classes/Reap/RDoc.html +0 -218
- data/web/rdoc/classes/Reap/RDoc.src/M000059.html +0 -18
- data/web/rdoc/classes/Reap/RDoc.src/M000060.html +0 -24
- data/web/rdoc/classes/Reap/RDoc.src/M000061.html +0 -70
- data/web/rdoc/classes/Reap/Task.html +0 -396
- data/web/rdoc/classes/Reap/Task.src/M000039.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000040.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000041.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000042.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000043.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000044.html +0 -22
- data/web/rdoc/classes/Reap/Task.src/M000045.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000046.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000047.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000048.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000049.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000050.html +0 -27
- data/web/rdoc/classes/Reap/Task.src/M000051.html +0 -19
- data/web/rdoc/classes/Reap/Task.src/M000052.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000053.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000054.html +0 -19
- data/web/rdoc/classes/Reap/Test.html +0 -253
- data/web/rdoc/classes/Reap/Test.src/M000062.html +0 -18
- data/web/rdoc/classes/Reap/Test.src/M000063.html +0 -26
- data/web/rdoc/classes/Reap/Test.src/M000064.html +0 -77
- data/web/rdoc/classes/Reap/Test.src/M000065.html +0 -27
- data/web/rdoc/classes/Reap/Test.src/M000066.html +0 -50
- data/web/rdoc/classes/Reap/Test/TestResults.html +0 -205
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000067.html +0 -21
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000068.html +0 -21
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000069.html +0 -23
- data/web/rdoc/classes/Reap/TestExt.html +0 -234
- data/web/rdoc/classes/Reap/TestExt.src/M000073.html +0 -18
- data/web/rdoc/classes/Reap/TestExt.src/M000074.html +0 -20
- data/web/rdoc/classes/Reap/TestExt.src/M000075.html +0 -49
- data/web/rdoc/classes/Reap/TestExt.src/M000076.html +0 -34
- data/web/rdoc/classes/Reap/TestExt.src/M000077.html +0 -27
- data/web/rdoc/classes/Reap/WebPublish.html +0 -213
- data/web/rdoc/classes/Reap/WebPublish.src/M000083.html +0 -18
- data/web/rdoc/classes/Reap/WebPublish.src/M000084.html +0 -21
- data/web/rdoc/classes/Reap/WebPublish.src/M000085.html +0 -32
- data/web/rdoc/classes/ReapCommand.html +0 -425
- data/web/rdoc/classes/ReapCommand.src/M000001.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000003.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000005.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000007.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000009.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000011.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000013.html +0 -18
- data/web/rdoc/classes/ReapCommand.src/M000014.html +0 -19
- data/web/rdoc/classes/ReapCommand.src/M000015.html +0 -19
- data/web/rdoc/classes/ReapCommand.src/M000016.html +0 -24
- data/web/rdoc/classes/ReapCommand.src/M000018.html +0 -29
- data/web/rdoc/classes/Scaffold.html +0 -211
- data/web/rdoc/classes/Scaffold.src/M000086.html +0 -16
- data/web/rdoc/classes/Scaffold.src/M000087.html +0 -28
- data/web/rdoc/classes/Scaffold.src/M000088.html +0 -32
- data/web/rdoc/classes/Scaffold.src/M000089.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.html +0 -176
- data/web/rdoc/classes/UnitTestKernel.src/M000019.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.src/M000020.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.src/M000021.html +0 -22
- data/web/rdoc/classes/UnitTestKernel.src/M000022.html +0 -22
- data/web/rdoc/classes/UnitTesting.html +0 -165
- data/web/rdoc/classes/UnitTesting.src/M000090.html +0 -34
- data/web/rdoc/classes/UnitTesting.src/M000091.html +0 -18
- data/web/rdoc/classes/UnitTesting/Failure.html +0 -156
- data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +0 -18
- data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +0 -21
- data/web/rdoc/created.rid +0 -1
- data/web/rdoc/files/ANN.html +0 -107
- data/web/rdoc/files/COPYING.html +0 -119
- data/web/rdoc/files/ChangeLog.html +0 -144
- data/web/rdoc/files/ProjectInfo.html +0 -190
- data/web/rdoc/files/README.html +0 -274
- data/web/rdoc/files/Rakefile.html +0 -101
- data/web/rdoc/files/lib/reap/bin/reap_rb.html +0 -129
- data/web/rdoc/files/lib/reap/lint_rb.html +0 -101
- data/web/rdoc/files/lib/reap/projectinfo_rb.html +0 -110
- data/web/rdoc/files/lib/reap/readymade_rb.html +0 -123
- data/web/rdoc/files/lib/reap/task/announce_rb.html +0 -114
- data/web/rdoc/files/lib/reap/task/fileperm_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/info_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/install_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/noop_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/package_rb.html +0 -109
- data/web/rdoc/files/lib/reap/task/publish_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/rdoc_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/scaffold_rb.html +0 -107
- data/web/rdoc/files/lib/reap/task/test_rb.html +0 -110
- data/web/rdoc/files/lib/reap/task/testext_rb.html +0 -109
- data/web/rdoc/files/lib/reap/task/webpublish_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task_rb.html +0 -120
- data/web/rdoc/files/lib/reap/tasks_rb.html +0 -116
- data/web/rdoc/files/lib/reap/test_rb.html +0 -109
- data/web/rdoc/fr_class_index.html +0 -47
- data/web/rdoc/fr_file_index.html +0 -51
- data/web/rdoc/fr_method_index.html +0 -124
- data/web/rdoc/index.html +0 -24
- data/web/rdoc/rdoc-style.css +0 -208
data/lib/reap/task/webpublish.rb
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'reap/task'
|
3
|
-
|
4
|
-
#
|
5
|
-
# Web Publish Task
|
6
|
-
#
|
7
|
-
class Reap::WebPublish < Reap::Task
|
8
|
-
|
9
|
-
section_required true
|
10
|
-
|
11
|
-
def task_desc
|
12
|
-
"publish project website to your internet host *"
|
13
|
-
end
|
14
|
-
|
15
|
-
attr_accessor :host, :type, :dir, :project, :username
|
16
|
-
attr_accessor :exclude # not using yet
|
17
|
-
|
18
|
-
def init
|
19
|
-
@host ||= 'rubyforge.org'
|
20
|
-
@project ||= master['rubyforge']['project'] || master['name']
|
21
|
-
@username ||= master['rubyforge']['username']
|
22
|
-
@exclude ||= []
|
23
|
-
end
|
24
|
-
|
25
|
-
def run
|
26
|
-
cmd = ''; skip = false
|
27
|
-
|
28
|
-
case @host
|
29
|
-
when 'rubyforge'
|
30
|
-
cmd = %{scp -r #{@dir}/* #{@username}@rubyforge.org:/var/www/gforge-projects/#{@project}/}
|
31
|
-
else
|
32
|
-
puts %{Unrecognized publishing host '#{@host}'. Skipped.}
|
33
|
-
skip = true
|
34
|
-
end
|
35
|
-
|
36
|
-
unless skip
|
37
|
-
puts "Reap is shelling out publishing work..."
|
38
|
-
puts cmd
|
39
|
-
sh(cmd) unless $PRETEND
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
data/lib/reap/test.rb
DELETED
@@ -1,138 +0,0 @@
|
|
1
|
-
require 'facet/kernel/sym_esc'
|
2
|
-
require 'yaml'
|
3
|
-
|
4
|
-
$test_mode = false
|
5
|
-
$test_failures = []
|
6
|
-
|
7
|
-
|
8
|
-
module UnitTestKernel
|
9
|
-
|
10
|
-
def assert_on!
|
11
|
-
$test_mode = true
|
12
|
-
end
|
13
|
-
|
14
|
-
def assert_off!
|
15
|
-
$test_mode = false
|
16
|
-
end
|
17
|
-
|
18
|
-
def assert!(&blk)
|
19
|
-
old = $test_mode
|
20
|
-
$test_mode = true
|
21
|
-
r = blk.call
|
22
|
-
$test_mode = old
|
23
|
-
return r
|
24
|
-
end
|
25
|
-
|
26
|
-
def no_assertion!(&blk)
|
27
|
-
old = $test_mode
|
28
|
-
$test_mode = false
|
29
|
-
r = blk.call
|
30
|
-
$test_mode = old
|
31
|
-
return r
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
35
|
-
|
36
|
-
class Object
|
37
|
-
include UnitTestKernel
|
38
|
-
end
|
39
|
-
|
40
|
-
|
41
|
-
module UnitTesting
|
42
|
-
|
43
|
-
class Failure
|
44
|
-
|
45
|
-
def to_yaml_properties
|
46
|
-
[ '@self', '@method', '@args', '@caller' ]
|
47
|
-
end
|
48
|
-
|
49
|
-
def initialize( slf, meth, args, callr )
|
50
|
-
@self = slf
|
51
|
-
@method = meth
|
52
|
-
@args = args
|
53
|
-
@caller = callr
|
54
|
-
end
|
55
|
-
|
56
|
-
end
|
57
|
-
|
58
|
-
|
59
|
-
TRANSPARENT_ASSERTIONS = %w{
|
60
|
-
== === eql? equal? kind_of? include?
|
61
|
-
member? empty? nil? has_key? key? respond_to?
|
62
|
-
between?
|
63
|
-
}
|
64
|
-
|
65
|
-
def self.advise_assertions
|
66
|
-
|
67
|
-
ObjectSpace.each_object(Module) do |m|
|
68
|
-
|
69
|
-
TRANSPARENT_ASSERTIONS.each do |meth|
|
70
|
-
|
71
|
-
nmeth = "assert_#{sym_esc(meth)}"
|
72
|
-
|
73
|
-
if m.method_defined?(meth)
|
74
|
-
|
75
|
-
m.class_eval <<-HERE
|
76
|
-
alias :#{nmeth} :#{meth}
|
77
|
-
def #{meth}(*args)
|
78
|
-
if $test_mode
|
79
|
-
r = nil
|
80
|
-
no_assertion! {
|
81
|
-
r = #{nmeth}(*args)
|
82
|
-
unless r
|
83
|
-
$test_failures << Failure.new( self, :"#{meth}", args, caller[2..-1] )
|
84
|
-
end
|
85
|
-
}
|
86
|
-
return r
|
87
|
-
else
|
88
|
-
return #{nmeth}(*args)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
HERE
|
92
|
-
|
93
|
-
end #if
|
94
|
-
|
95
|
-
end #do
|
96
|
-
|
97
|
-
end #do
|
98
|
-
|
99
|
-
end #def
|
100
|
-
|
101
|
-
def self.report
|
102
|
-
y $test_failures
|
103
|
-
end
|
104
|
-
|
105
|
-
end
|
106
|
-
|
107
|
-
class Object
|
108
|
-
include UnitTestKernel
|
109
|
-
end
|
110
|
-
|
111
|
-
UnitTesting.advise_assertions
|
112
|
-
|
113
|
-
|
114
|
-
=begin testing
|
115
|
-
|
116
|
-
class X
|
117
|
-
def a
|
118
|
-
1
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
class TestX < X
|
123
|
-
|
124
|
-
def test_a
|
125
|
-
assert! {
|
126
|
-
a == 1
|
127
|
-
a == 2
|
128
|
-
}
|
129
|
-
end
|
130
|
-
|
131
|
-
end
|
132
|
-
|
133
|
-
x = TestX.new
|
134
|
-
x.test_a
|
135
|
-
|
136
|
-
UnitTesting.report
|
137
|
-
|
138
|
-
=end
|
data/test/tc_reap.rb
DELETED
data/web/ProjectInfo
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
--- %YAML:1.0
|
2
|
-
|
3
|
-
TITLE : Reap
|
4
|
-
NAME : reap
|
5
|
-
DATE : '2005-10-06'
|
6
|
-
SERIES : '4.0'
|
7
|
-
STATUS : 'beta/stable'
|
8
|
-
|
9
|
-
AUTHOR : Thomas Sawyer
|
10
|
-
EMAIL : transfire@gmail.com
|
11
|
-
HOMEPAGE : "http://reap.rubyforge.org"
|
12
|
-
|
13
|
-
SUMMARY: >
|
14
|
-
Tool for Ruby project testing, management
|
15
|
-
and assistance.
|
16
|
-
|
17
|
-
DESCRIPTION: >
|
18
|
-
Reap is a tool that comprises a set of commonly needed
|
19
|
-
tasks for Ruby package developers/deployers. Because
|
20
|
-
of the commonality, Reap utilizes a YAML configuration
|
21
|
-
file to harvest project information, significantly
|
22
|
-
simplifying usage.
|
23
|
-
|
24
|
-
DISTRIBUTE : [ gem, tar.bz2, zip ] #tar.gz, tbz, tgz
|
25
|
-
DEPENDENCIES : [ facets ]
|
26
|
-
EXECUTABLES : [ reap ]
|
27
|
-
|
28
|
-
RUBYFORGE:
|
29
|
-
PROJECT: reap
|
30
|
-
USERNAME: transami
|
31
|
-
|
32
|
-
PUBLISH:
|
33
|
-
type : web
|
34
|
-
host : rubyforge.org
|
35
|
-
username : transami
|
36
|
-
dir : web
|
37
|
-
|
38
|
-
ANNOUNCE:
|
39
|
-
to : ruby-talk@ruby-lang.org
|
40
|
-
from : *email
|
41
|
-
domain : reap.rubyforge.org
|
42
|
-
server : smtp.gmail.com
|
43
|
-
port : 587
|
44
|
-
account : *email # transfire@gmail.com
|
45
|
-
authtype : login # cram_md5, plain
|
46
|
-
sectype : tls # ~, tls, ssl (tls not working yet)
|
47
|
-
file : ANN # which file contains announcement
|
48
|
-
slogan : REAP THE REWARDS!
|
49
|
-
links :
|
50
|
-
- http://reap.rubyforge.org
|
51
|
-
|
52
|
-
PERM:
|
53
|
-
filemod: 644
|
54
|
-
dirmod: 755
|
55
|
-
user: trans
|
56
|
-
group: users
|
57
|
-
|
data/web/images/appleboy.jpg
DELETED
Binary file
|
data/web/images/grape.jpg
DELETED
Binary file
|
data/web/index.html
DELETED
@@ -1,124 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
|
3
|
-
<head>
|
4
|
-
<title>Reap</title>
|
5
|
-
<style>
|
6
|
-
|
7
|
-
body { margin: 0; padding: 0; }
|
8
|
-
p { font-family: sans-serif; text-align: justify; font-size: 12pt; line-height: 20pt; }
|
9
|
-
img { }
|
10
|
-
table { margin: 10px; padding: 0; border: 0; }
|
11
|
-
td { margin: 0; padding: 0; vertical-align: top; }
|
12
|
-
|
13
|
-
div#title { float: top; background: url(images/grape.jpg) violet; }
|
14
|
-
|
15
|
-
div#menu { float: left; text-align: center; font-family: sans-serif; font-size: 10pt;
|
16
|
-
width: 70px; border-right: 1px solid lightgrey; margin-right: 15px; height: 930px;
|
17
|
-
background: url(images/grape.jpg) repeat-y #330044; }
|
18
|
-
|
19
|
-
div#menu a { color: white; text-decoration: none; font-weight: bold; font-family: monospace; }
|
20
|
-
|
21
|
-
td#title { padding-left: 20px; padding-right: 20px; vertical-align: top; width: 250px; color: white; }
|
22
|
-
|
23
|
-
td#slogon { vertical-align: middle; text-align: center; font-family: monospace; color: white; }
|
24
|
-
|
25
|
-
span#title { font-size: 64pt; font-weight: bold; color: white; font-family: sans-serif; }
|
26
|
-
|
27
|
-
div#rake { position: relative; font-size: 8pt; font-family: monospace; top: -15px; left: 114px; }
|
28
|
-
|
29
|
-
b#p { color: white; }
|
30
|
-
|
31
|
-
b#b { color: black; }
|
32
|
-
|
33
|
-
b#r { color: red; }
|
34
|
-
|
35
|
-
div#copy { font-size: 7pt; font-family: sans-serif; }
|
36
|
-
|
37
|
-
div#eg { float: right; margin: 0px; margin-left: 20px; border-left: solid 0px #330044;
|
38
|
-
text-align: center; font-family: monospace; padding: 0px; padding-top: 7px;
|
39
|
-
color: #330044; background: white; }
|
40
|
-
|
41
|
-
iframe { width: 440px; height: 900px; border: 0; border-left: solid 1px #DDDDDD;
|
42
|
-
margin: 0px; margin-top: 5px; padding-left: 5px;
|
43
|
-
background: white; font-size: 6pt; }
|
44
|
-
|
45
|
-
</style>
|
46
|
-
</head>
|
47
|
-
|
48
|
-
<body>
|
49
|
-
|
50
|
-
<div id="title">
|
51
|
-
<table width="100%"><tr>
|
52
|
-
<td id="title">
|
53
|
-
<span id="title">REAP</span>
|
54
|
-
<div id="rake">Meta Project</div>
|
55
|
-
</td>
|
56
|
-
<td id="slogon">
|
57
|
-
<b id="p">f o r</b>
|
58
|
-
<b id="p">w h e n</b>
|
59
|
-
<b id="p">y o u r</b>
|
60
|
-
<b id="r">r u b y</b>
|
61
|
-
<b id="p">r u n n e t h</b>
|
62
|
-
<b id="p">o v e r</b>
|
63
|
-
</td>
|
64
|
-
</tr></table>
|
65
|
-
</div>
|
66
|
-
|
67
|
-
<div id="menu">
|
68
|
-
<br/><br/>
|
69
|
-
<a href="rdoc/index.html">R<br/>D<br/>O<br/>C<br/>S<br/></a>
|
70
|
-
<br/><br/>
|
71
|
-
<a href="http://rubyforge.org/projects/reap/">D<br/>E<br/>V<br/>S<br/>I<br/>T<br/>E<br/></a>
|
72
|
-
<br/><br/>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
<div id="eg">
|
76
|
-
<b>Have a look at this example Reapfile</b><br/>
|
77
|
-
<iframe src="ProjectInfo">Sorry, there are no iframes in your web world.</iframe>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<table id="container"><tr><td>
|
81
|
-
|
82
|
-
<p>Reap is a set of tools designed to simplify the life of
|
83
|
-
Ruby application developers and project managers. The tools
|
84
|
-
comprise a set of commonly useful tasks, from setting up a a standard
|
85
|
-
project structure, thru creating gems, to issuing announcements.
|
86
|
-
Because of the commonality between these tasks Reap utilizes a
|
87
|
-
central YAML-formatted configuration file to harvest project
|
88
|
-
information, significantly simplifying usage.</p>
|
89
|
-
|
90
|
-
<p>To use Reap, you simply need to install it and add a ProjectInfo (or ReapFile)
|
91
|
-
to your projects main directory. Reap expects the standard project layout as
|
92
|
-
promoted by setup.rb.</p>
|
93
|
-
|
94
|
-
<p>To see what tasks are available, givne the content of the ProjectInfo file.
|
95
|
-
Simply type 'reap' into the command line. For example:</p>
|
96
|
-
|
97
|
-
<pre>
|
98
|
-
|
99
|
-
~/myproj$ reap
|
100
|
-
|
101
|
-
info Display ProjectInfo file.
|
102
|
-
install Locally install package using setup.rb or install.rb.
|
103
|
-
package Build distribution packages (gem, tar.bz2, zip).
|
104
|
-
test Run unit-tests (each in a separate process).
|
105
|
-
testext Extract unit-tests from lib scripts.
|
106
|
-
publish Publish documents to the web.
|
107
|
-
perm Normalize ownership and permissions of package files.
|
108
|
-
announce Send announcement email to ruby-talk or other address.
|
109
|
-
rdoc Generate RDocs (in doc).
|
110
|
-
|
111
|
-
</pre>
|
112
|
-
|
113
|
-
|
114
|
-
NOTE <i>Not all intended functionality is complete. But the Reap tasks provided
|
115
|
-
do work fairly well, as I use them for my own projects. -T.</i>
|
116
|
-
|
117
|
-
<br/><br/>
|
118
|
-
|
119
|
-
<div id="copy">Copyright (c) 2005 Thomas Sawyer, All Rights Reserved.</div>
|
120
|
-
|
121
|
-
</td></tr></table>
|
122
|
-
|
123
|
-
</body>
|
124
|
-
</html>
|
@@ -1,121 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Object</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Object</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/reap/test_rb.html">
|
59
|
-
lib/reap/test.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
<a href="Object.html">
|
69
|
-
Object
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
|
88
|
-
</div>
|
89
|
-
|
90
|
-
|
91
|
-
<!-- if includes -->
|
92
|
-
<div id="includes">
|
93
|
-
<h3 class="section-bar">Included Modules</h3>
|
94
|
-
|
95
|
-
<div id="includes-list">
|
96
|
-
<span class="include-name"><a href="UnitTestKernel.html">UnitTestKernel</a></span>
|
97
|
-
<span class="include-name"><a href="UnitTestKernel.html">UnitTestKernel</a></span>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
|
101
|
-
<div id="section">
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<!-- if method_list -->
|
111
|
-
|
112
|
-
|
113
|
-
</div>
|
114
|
-
|
115
|
-
|
116
|
-
<div id="validator-badges">
|
117
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
118
|
-
</div>
|
119
|
-
|
120
|
-
</body>
|
121
|
-
</html>
|