reap 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ANN-0.6.1 +3 -0
- data/Rakefile +19 -0
- data/Reapfile +46 -33
- data/data/site_ruby/reap/template.yaml +94 -0
- data/lib/reap/announce-task.rb +159 -0
- data/lib/reap/chmod-task.rb +82 -0
- data/lib/reap/package-task.rb +165 -0
- data/lib/reap/publish-task.rb +53 -0
- data/lib/reap/rdoc-task.rb +70 -0
- data/lib/reap/reap-all.rb +15 -0
- data/lib/reap/task.rb +177 -118
- data/lib/reap/template-task.rb +40 -0
- data/lib/reap/test-task.rb +159 -0
- data/pub/www/Reapfile +99 -0
- data/pub/www/images/appleboy.jpg +0 -0
- data/pub/www/index.html +49 -5
- data/{doc/files/LICENSE.html → pub/www/rdoc/classes/Reap.html} +32 -33
- data/pub/www/rdoc/classes/Reap/AnnounceTask.html +154 -0
- data/pub/www/rdoc/classes/Reap/AnnounceTask.src/M000031.html +111 -0
- data/pub/www/rdoc/classes/Reap/AnnounceTask.src/M000032.html +46 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.html +220 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000015.html +21 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000016.html +21 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000017.html +42 -0
- data/pub/www/rdoc/classes/Reap/ChmodTask.src/M000018.html +26 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.html +181 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000001.html +49 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000002.html +74 -0
- data/pub/www/rdoc/classes/Reap/PackageTask.src/M000003.html +51 -0
- data/pub/www/rdoc/classes/Reap/PublishTask.html +160 -0
- data/pub/www/rdoc/classes/Reap/PublishTask.src/M000019.html +24 -0
- data/pub/www/rdoc/classes/Reap/PublishTask.src/M000020.html +38 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.html +220 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000004.html +24 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000005.html +21 -0
- data/pub/www/rdoc/classes/Reap/RDocTask.src/M000006.html +53 -0
- data/pub/www/rdoc/classes/Reap/Task.html +319 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000024.html +21 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000025.html +18 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000026.html +18 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000027.html +28 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000028.html +16 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000029.html +18 -0
- data/pub/www/rdoc/classes/Reap/Task.src/M000030.html +19 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.html +182 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000021.html +18 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000022.html +21 -0
- data/pub/www/rdoc/classes/Reap/TemplateTask.src/M000023.html +34 -0
- data/pub/www/rdoc/classes/Reap/TestTask.html +228 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000007.html +25 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000008.html +21 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000009.html +77 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000010.html +27 -0
- data/pub/www/rdoc/classes/Reap/TestTask.src/M000011.html +36 -0
- data/{doc → pub/www/rdoc}/classes/Reap/TestTask/TestResults.html +23 -55
- data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000012.html +21 -0
- data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000013.html +21 -0
- data/pub/www/rdoc/classes/Reap/TestTask/TestResults.src/M000014.html +23 -0
- data/pub/www/rdoc/created.rid +1 -0
- data/{doc/files/lib/reap/tasks → pub/www/rdoc/files/lib/reap2}/announce-task_rb.html +3 -3
- data/{doc/files/lib/reap/task_rb.html → pub/www/rdoc/files/lib/reap2/chmod-task_rb.html} +5 -5
- data/pub/www/{doc/files/lib/reap/tasks → rdoc/files/lib/reap2}/package-task_rb.html +3 -3
- data/pub/www/{doc/files/lib/reap/template_rb.html → rdoc/files/lib/reap2/publish-task_rb.html} +10 -4
- data/pub/www/{doc/files/lib/reap/task_rb.html → rdoc/files/lib/reap2/rdoc-task_rb.html} +5 -5
- data/pub/www/{doc/files/lib/reap/reap_rb.html → rdoc/files/lib/reap2/reap-all_rb.html} +7 -7
- data/{doc/files/lib/reap/runner_rb.html → pub/www/rdoc/files/lib/reap2/task_rb.html} +7 -8
- data/pub/www/{doc/files/lib/reap/tasks → rdoc/files/lib/reap2}/template-task_rb.html +4 -4
- data/{doc/files/lib/reap/tasks → pub/www/rdoc/files/lib/reap2}/test-task_rb.html +10 -4
- data/{doc → pub/www/rdoc}/fr_class_index.html +0 -1
- data/pub/www/rdoc/fr_file_index.html +35 -0
- data/pub/www/rdoc/fr_method_index.html +58 -0
- data/{doc → pub/www/rdoc}/index.html +1 -1
- data/{doc → pub/www/rdoc}/rdoc-style.css +0 -0
- data/test/tc_reap.rb +11 -0
- metadata +98 -112
- data/bin/reap +0 -103
- data/doc/classes/Reap.html +0 -184
- data/doc/classes/Reap/AnnounceTask.html +0 -339
- data/doc/classes/Reap/ChmodTask.html +0 -277
- data/doc/classes/Reap/PackageTask.html +0 -374
- data/doc/classes/Reap/PublishTask.html +0 -237
- data/doc/classes/Reap/RDocTask.html +0 -254
- data/doc/classes/Reap/Runner.html +0 -299
- data/doc/classes/Reap/Task.html +0 -438
- data/doc/classes/Reap/TemplateTask.html +0 -226
- data/doc/classes/Reap/TestTask.html +0 -354
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -194
- data/doc/files/lib/reap/reap_rb.html +0 -111
- data/doc/files/lib/reap/tasks/chmod-task_rb.html +0 -101
- data/doc/files/lib/reap/tasks/package-task_rb.html +0 -108
- data/doc/files/lib/reap/tasks/publish-task_rb.html +0 -101
- data/doc/files/lib/reap/tasks/rdoc-task_rb.html +0 -101
- data/doc/files/lib/reap/tasks/template-task_rb.html +0 -109
- data/doc/fr_file_index.html +0 -38
- data/doc/fr_method_index.html +0 -73
- data/lib/reap/reap.rb +0 -13
- data/lib/reap/runner.rb +0 -90
- data/lib/reap/tasks/announce-task.rb +0 -149
- data/lib/reap/tasks/chmod-task.rb +0 -69
- data/lib/reap/tasks/package-task.rb +0 -157
- data/lib/reap/tasks/publish-task.rb +0 -39
- data/lib/reap/tasks/rdoc-task.rb +0 -55
- data/lib/reap/tasks/template-task.rb +0 -39
- data/lib/reap/tasks/test-task.rb +0 -140
- data/pub/www/doc/classes/Reap.html +0 -184
- data/pub/www/doc/classes/Reap/AnnounceTask.html +0 -331
- data/pub/www/doc/classes/Reap/ChmodTask.html +0 -278
- data/pub/www/doc/classes/Reap/PackageTask.html +0 -372
- data/pub/www/doc/classes/Reap/PublishTask.html +0 -231
- data/pub/www/doc/classes/Reap/RDocTask.html +0 -254
- data/pub/www/doc/classes/Reap/Runner.html +0 -307
- data/pub/www/doc/classes/Reap/Task.html +0 -390
- data/pub/www/doc/classes/Reap/TemplateTask.html +0 -233
- data/pub/www/doc/classes/Reap/TestTask.html +0 -242
- data/pub/www/doc/created.rid +0 -1
- data/pub/www/doc/files/LICENSE.html +0 -119
- data/pub/www/doc/files/README.html +0 -194
- data/pub/www/doc/files/lib/reap/runner_rb.html +0 -113
- data/pub/www/doc/files/lib/reap/tasks/announce-task_rb.html +0 -113
- data/pub/www/doc/files/lib/reap/tasks/chmod-task_rb.html +0 -101
- data/pub/www/doc/files/lib/reap/tasks/publish-task_rb.html +0 -101
- data/pub/www/doc/files/lib/reap/tasks/rdoc-task_rb.html +0 -101
- data/pub/www/doc/files/lib/reap/tasks/test-task_rb.html +0 -101
- data/pub/www/doc/fr_class_index.html +0 -36
- data/pub/www/doc/fr_file_index.html +0 -39
- data/pub/www/doc/fr_method_index.html +0 -69
- data/pub/www/doc/index.html +0 -24
- data/pub/www/doc/rdoc-style.css +0 -208
- data/test/tc_require.rb +0 -11
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'reap/task'
|
2
|
+
|
3
|
+
class Reap::TemplateTask < Reap::Task
|
4
|
+
|
5
|
+
section_name :template
|
6
|
+
|
7
|
+
DATA_DIR = 'site_ruby/reap'
|
8
|
+
|
9
|
+
def init
|
10
|
+
@file_name = section['file'] || 'Reapfile'
|
11
|
+
end
|
12
|
+
|
13
|
+
def define
|
14
|
+
desc "create template Reapfile in current directory *"
|
15
|
+
task :template do
|
16
|
+
run_template
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def run_template
|
21
|
+
dir = File.join( ::Config::CONFIG['datadir'], DATA_DIR ) #File.dirname(File.dirname(__FILE__))
|
22
|
+
tmpf = File.join( dir, 'template.yaml' )
|
23
|
+
unless File.file?( tmpf )
|
24
|
+
puts tmpf
|
25
|
+
raise "Tempfile is missing."
|
26
|
+
end
|
27
|
+
|
28
|
+
if File.directory?(@file_name)
|
29
|
+
puts "#{@file_name} a directory. Cannot comply."
|
30
|
+
return
|
31
|
+
elsif File.file?(@file_name)
|
32
|
+
puts "#{@file_name} already exists."
|
33
|
+
return
|
34
|
+
end
|
35
|
+
# copy tmpf to Reapfile
|
36
|
+
FileUtils.cp( tmpf, @file_name )
|
37
|
+
puts "#{@file_name} created. You'll need to fill it out."
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,159 @@
|
|
1
|
+
require 'reap/task'
|
2
|
+
|
3
|
+
#require 'test/unit'
|
4
|
+
require 'test/unit/ui/testrunnermediator'
|
5
|
+
require 'nano/string/tabto'
|
6
|
+
|
7
|
+
Test::Unit.run = true # don't run auto tests
|
8
|
+
|
9
|
+
class Reap::TestTask < Reap::Task
|
10
|
+
|
11
|
+
section_name :test
|
12
|
+
|
13
|
+
attr_accessor :libs, :files, :options
|
14
|
+
|
15
|
+
def init
|
16
|
+
@libs = ( section["libs"] || ['lib'] ).join(':')
|
17
|
+
@files = section["files"] || [ 'test/**/tc*.rb', 'test/**/test*.rb', 'test/**/*test.rb' ]
|
18
|
+
@options = section['options']
|
19
|
+
|
20
|
+
# interal use
|
21
|
+
@results = TestResults.new
|
22
|
+
@errors = []
|
23
|
+
@failures = []
|
24
|
+
end
|
25
|
+
|
26
|
+
def define
|
27
|
+
desc "run unit-tests (each in a separate process) *"
|
28
|
+
task :test do
|
29
|
+
run_testsuite
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def run_testsuite
|
34
|
+
# get test files
|
35
|
+
test_libs = @libs
|
36
|
+
test_files = FileList.new
|
37
|
+
test_files.include(*@files)
|
38
|
+
if test_files.empty?
|
39
|
+
puts "No test files found."
|
40
|
+
return
|
41
|
+
end
|
42
|
+
print "Reap is shelling out work to Ruby's Test Suite..."
|
43
|
+
|
44
|
+
test_files.each { |f|
|
45
|
+
$stdout << '.'; $stdout.flush
|
46
|
+
run_test( f )
|
47
|
+
#ruby %{-r"test/unit" "#{f}"}
|
48
|
+
}
|
49
|
+
puts "done."
|
50
|
+
|
51
|
+
# Don't know why empty arrays get in them yet, but...
|
52
|
+
@failures.reject! { |e| e == [] }
|
53
|
+
@errors.reject! { |e| e == [] }
|
54
|
+
|
55
|
+
# Display Failures
|
56
|
+
puts
|
57
|
+
puts %{FAILURES:#{@failures.empty? ? ' []' : ''}}
|
58
|
+
@failures.reverse.each { |fails|
|
59
|
+
fails.reverse.each { |failure|
|
60
|
+
puts
|
61
|
+
puts %{ - test : #{failure.test_name}}
|
62
|
+
puts %{ location : #{failure.location}}
|
63
|
+
if failure.message.index("\n")
|
64
|
+
puts %{ message : >}
|
65
|
+
puts failure.message.tabto(6)
|
66
|
+
else
|
67
|
+
puts %{ message : #{failure.message}}
|
68
|
+
end
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
# Display Errors
|
73
|
+
puts
|
74
|
+
puts %{ERRORS:#{@errors.empty? ? ' []' : ''}}
|
75
|
+
@errors.reverse.each { |errs|
|
76
|
+
errs.reverse.each { |err|
|
77
|
+
puts
|
78
|
+
puts %{ - test : #{err.test_name}}
|
79
|
+
puts %{ message : #{err.exception.message}}
|
80
|
+
puts %{ backtrace :}
|
81
|
+
err.exception.backtrace[0...-1].each { |bt| puts %Q{ - #{bt}} }
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
# Display Final Results
|
86
|
+
puts
|
87
|
+
puts @results
|
88
|
+
puts
|
89
|
+
|
90
|
+
# old way (don't work right)
|
91
|
+
#puts %Q{ ruby %{-I#{test_libs} -e0 -r"test/unit" \\\n#{test_reqs}#{test_opts}} } if $DEBUG
|
92
|
+
#ruby %{-I#{test_libs} -e0 -r"test/unit" \\\n#{test_reqs}#{test_opts}}
|
93
|
+
#ruby %{-e0 -r"test/unit" \\\n#{test_reqs}#{test_opts}}
|
94
|
+
end
|
95
|
+
|
96
|
+
def run_test( test_file )
|
97
|
+
if ! File.file?( test_file )
|
98
|
+
r = nil
|
99
|
+
else
|
100
|
+
r = fork_test( test_file )
|
101
|
+
end
|
102
|
+
unless r.passed?
|
103
|
+
@errors << r.instance_variable_get('@errors')
|
104
|
+
@failures << r.instance_variable_get('@failures')
|
105
|
+
end
|
106
|
+
@results << r
|
107
|
+
end
|
108
|
+
|
109
|
+
def fork_test( testfile )
|
110
|
+
src = %Q{
|
111
|
+
#require 'test/unit'
|
112
|
+
require 'test/unit/collector'
|
113
|
+
require 'test/unit/collector/objectspace'
|
114
|
+
require 'test/unit/ui/testrunnermediator'
|
115
|
+
|
116
|
+
load('#{testfile}')
|
117
|
+
tests = Test::Unit::Collector::ObjectSpace.new.collect
|
118
|
+
runner = Test::Unit::UI::TestRunnerMediator.new( tests )
|
119
|
+
result = runner.run_suite
|
120
|
+
puts Marshal.dump(result)
|
121
|
+
}
|
122
|
+
result = IO.popen("ruby","w+") do |ruby|
|
123
|
+
ruby.puts src
|
124
|
+
ruby.close_write
|
125
|
+
ruby.read
|
126
|
+
end
|
127
|
+
p testfile if $VERBOSE
|
128
|
+
return Marshal.load(result)
|
129
|
+
end
|
130
|
+
|
131
|
+
#
|
132
|
+
# Support class for collecting test results
|
133
|
+
#
|
134
|
+
class TestResults
|
135
|
+
attr_reader :assertion_count, :run_count, :failure_count, :error_count
|
136
|
+
def initialize
|
137
|
+
@assertion_count = 0
|
138
|
+
@run_count = 0
|
139
|
+
@failure_count = 0
|
140
|
+
@error_count = 0
|
141
|
+
end
|
142
|
+
def <<( result )
|
143
|
+
@assertion_count += result.assertion_count
|
144
|
+
@run_count += result.run_count
|
145
|
+
@failure_count += result.failure_count
|
146
|
+
@error_count += result.error_count
|
147
|
+
end
|
148
|
+
def to_s
|
149
|
+
s = %{SUMMARY:\n\n}
|
150
|
+
s << %{ tests : #{@run_count}\n}
|
151
|
+
s << %{ assertions : #{@assertion_count}\n}
|
152
|
+
s << %{ failures : #{@failure_count}\n}
|
153
|
+
s << %{ errors : #{@error_count}\n}
|
154
|
+
s
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
end
|
159
|
+
|
data/pub/www/Reapfile
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- %YAML:1.0
|
2
|
+
|
3
|
+
TITLE: &title Reap
|
4
|
+
NAME: &pkg reap
|
5
|
+
VERSION: '0.6.1'
|
6
|
+
AUTHOR: Thomas Sawyer
|
7
|
+
EMAIL: transfire@gmail.com
|
8
|
+
HOMEPAGE: "http://reap.rubyforge.org"
|
9
|
+
SUMMARY: Rake extensions for project management assitance.
|
10
|
+
|
11
|
+
DESCRIPTION: >
|
12
|
+
The Reap extensions for Rake comprise a set of commonly
|
13
|
+
needed tasks for Ruby package developers/deployers.
|
14
|
+
Because of the commonality, Reap utilizes a YAML
|
15
|
+
configuration file to harvest project information,
|
16
|
+
significantly simplifying Rake usage. In fact,
|
17
|
+
when using Reap, it will not be uncommon to see a
|
18
|
+
Rakefile containinf nothing but require 'reap-all'.
|
19
|
+
|
20
|
+
RUBYFORGE:
|
21
|
+
PROJECT: reap
|
22
|
+
USERNAME: reap
|
23
|
+
|
24
|
+
PUBLISH:
|
25
|
+
HOST: rubyforge
|
26
|
+
TYPE: web
|
27
|
+
USERNAME: transami
|
28
|
+
DIR: www
|
29
|
+
|
30
|
+
#=====================================================#
|
31
|
+
# From here down the default settings usually suffice #
|
32
|
+
#=====================================================#
|
33
|
+
|
34
|
+
TEST:
|
35
|
+
FILES:
|
36
|
+
- 'test/**/tc*.rb'
|
37
|
+
- 'test/**/test*.rb'
|
38
|
+
- 'test/**/*test.rb'
|
39
|
+
OPTIONS: ~ # not used yet
|
40
|
+
|
41
|
+
RDOC:
|
42
|
+
TITLE: *title
|
43
|
+
DIR: 'pub/www/rdoc'
|
44
|
+
TEMPLATE: html
|
45
|
+
OPTIONS: ['--merge', '--all']
|
46
|
+
MAIN: README
|
47
|
+
INCLUDE:
|
48
|
+
- 'README*'
|
49
|
+
- 'LICEN*'
|
50
|
+
- 'COPY*'
|
51
|
+
- 'lib/**/*.rb'
|
52
|
+
- 'bin/**/*.rb'
|
53
|
+
EXCLUDE: []
|
54
|
+
|
55
|
+
PACKAGE:
|
56
|
+
DIR: pkg
|
57
|
+
INCLUDE:
|
58
|
+
- 'lib/**/*'
|
59
|
+
- 'data/**/*'
|
60
|
+
- 'ext/**/*'
|
61
|
+
- 'bin/**/*'
|
62
|
+
- 'bench/**/*'
|
63
|
+
- 'test/**/*'
|
64
|
+
- 'doc/**/*'
|
65
|
+
- 'rdoc/**/*'
|
66
|
+
- 'pub/**/*'
|
67
|
+
- 'www/**/*'
|
68
|
+
- 'demo/**/*'
|
69
|
+
- 'samples/**/*'
|
70
|
+
- 'examples/**/*'
|
71
|
+
- 'bench/**/*'
|
72
|
+
- 'setup.rb'
|
73
|
+
- '[A-Z]*'
|
74
|
+
EXCLUDE:
|
75
|
+
- InstalledFiles
|
76
|
+
AUTOREQUIRE: ~
|
77
|
+
REQUIREMENTS: []
|
78
|
+
DEPENDENCIES: []
|
79
|
+
EXECUTABLES: []
|
80
|
+
GEM: true
|
81
|
+
ZIP: true
|
82
|
+
GZIP: true
|
83
|
+
BZIP2: true
|
84
|
+
|
85
|
+
ANNOUNCE:
|
86
|
+
TO: transfire@gmail.com #ruby-talk@ruby-lang.org
|
87
|
+
FROM: *email
|
88
|
+
DOMAIN: reap.rubyforge.org
|
89
|
+
SERVER: smtp.gmail.com
|
90
|
+
PORT: 587
|
91
|
+
ACCOUNT: transfire@gmail.com
|
92
|
+
AUTHTYPE: login #cram_md5 #plain
|
93
|
+
TLS: false # not working yet
|
94
|
+
FILE: ANN-0.6.1 # which file contains announcement
|
95
|
+
SLOGAN: REAP THE REWARDS!
|
96
|
+
INFO:
|
97
|
+
- http://reap.rubyforge.org
|
98
|
+
- http://rake.rubyforge.org
|
99
|
+
|
Binary file
|
data/pub/www/index.html
CHANGED
@@ -1,6 +1,50 @@
|
|
1
|
-
<
|
2
|
-
ways similiar to Rake or Rant, but unlike them it is not designed for general
|
3
|
-
use, but rather is designed specifically for Ruby projects. Thus it is
|
4
|
-
quite a bit easier to use, as setting up a project is simply a matter of
|
5
|
-
editing a single straight-forward YAML configuration file.</p>
|
1
|
+
<html>
|
6
2
|
|
3
|
+
<head>
|
4
|
+
<title>Reap, a Rake-based Ruby Project Assistant</title>
|
5
|
+
<style>
|
6
|
+
|
7
|
+
body { margin: 0; padding: 0; padding-right: 20px; }
|
8
|
+
p { font-family: sans-serif; text-align: justify; }
|
9
|
+
img { }
|
10
|
+
iframe { width: 520px; height: 320px; border: solid 1px purple; margin-left: 40px; margin-top: 10px; margin-bottom: 10px; }
|
11
|
+
table { margin: 0; padding: 0; border: 0; }
|
12
|
+
td { margin: 0; padding: 0; vertical-align: top; }
|
13
|
+
td#leftside { text-align: center; font-family: sans-serif; font-size: 10pt; border-right: 1px solid lightgrey; }
|
14
|
+
td#main { padding-left: 20px; }
|
15
|
+
span#title { font-size: 64pt; font-weight: bold; color: purple; }
|
16
|
+
|
17
|
+
</style>
|
18
|
+
</head>
|
19
|
+
|
20
|
+
<body>
|
21
|
+
|
22
|
+
<table width="100%">
|
23
|
+
<tr>
|
24
|
+
|
25
|
+
<td id="leftside">
|
26
|
+
<img src="images/appleboy.jpg" align="top"/>
|
27
|
+
<br/><br/>
|
28
|
+
Why's the Appleboy so happy?
|
29
|
+
</td>
|
30
|
+
|
31
|
+
<td id="main" width=100%>
|
32
|
+
|
33
|
+
<span id="title">REAP</span>
|
34
|
+
|
35
|
+
<p>The second is a Ruby specific project-assistance tool called Reap. Reap is in many
|
36
|
+
ways similiar to Rake or Rant, but unlike them it is not designed for general
|
37
|
+
use, but rather is designed specifically for Ruby projects. Thus it is
|
38
|
+
quite a bit easier to use, as setting up a project is simply a matter of
|
39
|
+
editing a single straight-forward YAML configuration file.</p>
|
40
|
+
|
41
|
+
<p>Have a look at an example Reapfile.</p>
|
42
|
+
|
43
|
+
<iframe src="Reapfile">Sorry, there are no iframes in your web world.</iframe>
|
44
|
+
|
45
|
+
</td>
|
46
|
+
</tr>
|
47
|
+
</table>
|
48
|
+
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>Module: Reap</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
11
|
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
@@ -46,20 +46,24 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Reap</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/reap2/task_rb.html">
|
59
|
+
lib/reap2/task.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
63
67
|
<!-- banner header -->
|
64
68
|
|
65
69
|
<div id="bodyContent">
|
@@ -68,24 +72,6 @@
|
|
68
72
|
|
69
73
|
<div id="contextContent">
|
70
74
|
|
71
|
-
<div id="description">
|
72
|
-
<h1>BUTTERED PANCAKES LICENSE</h1>
|
73
|
-
<p>
|
74
|
-
The following stipulations:
|
75
|
-
</p>
|
76
|
-
<pre>
|
77
|
-
1) Butter my panakes
|
78
|
-
2) Don't feed the lawyers
|
79
|
-
</pre>
|
80
|
-
<p>
|
81
|
-
Which means:
|
82
|
-
</p>
|
83
|
-
<pre>
|
84
|
-
1) Acknowledge arthor and sources
|
85
|
-
2) Don't sue any one over it
|
86
|
-
</pre>
|
87
|
-
|
88
|
-
</div>
|
89
75
|
|
90
76
|
|
91
77
|
</div>
|
@@ -98,6 +84,19 @@ Which means:
|
|
98
84
|
|
99
85
|
<div id="section">
|
100
86
|
|
87
|
+
<div id="class-list">
|
88
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
89
|
+
|
90
|
+
Class <a href="Reap/AnnounceTask.html" class="link">Reap::AnnounceTask</a><br />
|
91
|
+
Class <a href="Reap/ChmodTask.html" class="link">Reap::ChmodTask</a><br />
|
92
|
+
Class <a href="Reap/PackageTask.html" class="link">Reap::PackageTask</a><br />
|
93
|
+
Class <a href="Reap/PublishTask.html" class="link">Reap::PublishTask</a><br />
|
94
|
+
Class <a href="Reap/RDocTask.html" class="link">Reap::RDocTask</a><br />
|
95
|
+
Class <a href="Reap/Task.html" class="link">Reap::Task</a><br />
|
96
|
+
Class <a href="Reap/TemplateTask.html" class="link">Reap::TemplateTask</a><br />
|
97
|
+
Class <a href="Reap/TestTask.html" class="link">Reap::TestTask</a><br />
|
98
|
+
|
99
|
+
</div>
|
101
100
|
|
102
101
|
|
103
102
|
|