Sha256: 55a3148b4ee85884a51fda33c8927035a9837a0e8f64d0c22a87297bd63cc313

Contents?: true

Size: 860 Bytes

Versions: 1

Compression:

Stored size: 860 Bytes

Contents

require 'rubygems'
require 'rake'
require 'lib/rake_task_redefine_task.rb'

begin
  require 'rake/clean'
  require 'echoe'

  echoe = Echoe.new("cgi_multipart_eof_fix") do |p|
    p.author = "Evan Weaver" 
    p.rubyforge_name = "fauna"
    p.summary = p.description = "Fix an exploitable bug in CGI multipart parsing which affects Ruby <= 1.8.5 when multipart boundary attribute contains a non-halting regular expression string."    
    p.url = "http://blog.evanweaver.com/pages/code#cgi_multipart_eof_fix"
    p.docs_host = "blog.evanweaver.com:~/www/snax/public/files/doc/"
    p.rdoc_pattern = /CHANGELOG|LICENSE|README|lib\/cgi_multipart_eof_fix/
  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cgi_multipart_eof_fix-2.2 Rakefile