require "rake" begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "rack-htmltidy" gemspec.summary = "HTML Tidy." gemspec.email = "matwb@univ.gda.pl" gemspec.homepage = "http://github.com/wbzyl/rack-tidy" gemspec.authors = ["Wlodek Bzyl"] gemspec.description = gemspec.summary gemspec.files = %w[LICENSE Rakefile VERSION.yml] + FileList['lib/**/*.rb'] gemspec.add_runtime_dependency 'rack', '>=1.0.0' gemspec.add_runtime_dependency 'tidy', '>=1.1.2' # patched gemspec.add_development_dependency 'rack-test', '>=0.3.0' end rescue LoadError puts "Jeweler not available." puts "Install it with:" puts " sudo gem install technicalpickles-jeweler -s http://gems.github.com" end