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