require 'rubygems' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' require './lib/capybara' Hoe.plugin :newgem # Hoe.plugin :website # Hoe.plugin :cucumberfeatures # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.spec 'capybara' do self.developer 'Jonas Nicklas', 'jonas.nicklas@gmail.com' self.rubyforge_name = self.name # TODO this is default value self.readme_file = 'README.rdoc' self.extra_rdoc_files = ['README.rdoc'] self.extra_deps = [ ['nokogiri', '>= 1.3.3'], ['culerity', '>= 0.2.4'], ['selenium-webdriver', '>= 0.0.3'], ['rack', '>= 1.0.0'], ['rack-test', '>= 0.5.2'], ] self.extra_dev_deps = [ ['sinatra', '>= 0.9.4'], ['rspec', '>= 1.2.9'] ] end require 'newgem/tasks' Dir['tasks/**/*.rake'].each { |t| load t } # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features]