mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
signed cgi_multipart_eof_fix
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@590 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
f540b48bf3
commit
e4e25dfebd
2 changed files with 15 additions and 23 deletions
|
@ -1,4 +1,6 @@
|
|||
|
||||
v2.4. Signed gem.
|
||||
|
||||
v2.3. Use STDERR, not $stderr, just like Mongrel; tests now use Test::Unit; moving to the mongrel project on RubyForge.
|
||||
|
||||
v2.2. Don't load on Ruby > 1.8.5; copyright correction.
|
||||
|
|
|
@ -1,27 +1,17 @@
|
|||
|
||||
require 'rubygems'
|
||||
require 'lib/rake_task_redefine_task.rb'
|
||||
require 'echoe'
|
||||
|
||||
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
|
||||
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
|
||||
p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem',
|
||||
'/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem']
|
||||
p.require_signed = true
|
||||
end
|
||||
|
||||
Rake::Task.redefine_task("test") do
|
||||
system "ruby -Ibin:lib:test test/cgi_multipart_eof_fix_test.rb"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue