1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/projects/cgi_multipart_eof_fix/Rakefile
evanweaver 328b9bb413 update docs host
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@572 19e92222-5c0b-0410-8929-a290d50e31e9
2007-08-21 04:52:09 +00:00

27 lines
782 B
Ruby

require 'rubygems'
require 'lib/rake_task_redefine_task.rb'
begin
gem 'echoe', '>=2.3'
require 'echoe'
echoe = Echoe.new("cgi_multipart_eof_fix") do |p|
p.author = "Evan Weaver"
p.rubyforge_name = "mongrel"
p.summary = p.description = "Fix an exploitable bug in CGI multipart parsing."
p.url = "http://blog.evanweaver.com/pages/code#cgi_multipart_eof_fix"
p.docs_host = "blog.evanweaver.com:~/www/bax/public/files/doc/"
p.rdoc_pattern = /CHANGELOG|LICENSE|README|lib\/cgi_multipart_eof_fix/
p.need_tar_gz = false
p.need_tgz = true
end
rescue LoadError
desc 'Run the default tasks'
task :default => :test
end
Rake::Task.redefine_task("test") do
system "ruby -Ibin:lib:test test/cgi_multipart_eof_fix_test.rb"
end