2009-11-04 17:00:05 -05:00
|
|
|
require 'rubygems'
|
|
|
|
gem 'hoe', '>= 2.1.0'
|
|
|
|
require 'hoe'
|
|
|
|
require 'fileutils'
|
2009-11-16 16:02:16 -05:00
|
|
|
require './lib/capybara'
|
2009-11-04 17:00:05 -05:00
|
|
|
|
|
|
|
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)
|
2009-11-16 16:02:16 -05:00
|
|
|
$hoe = Hoe.spec 'capybara' do
|
2009-11-04 17:00:05 -05:00
|
|
|
self.developer 'Jonas Nicklas', 'jonas.nicklas@gmail.com'
|
2009-11-15 17:21:21 -05:00
|
|
|
self.rubyforge_name = self.name # TODO this is default value
|
2009-11-04 17:00:05 -05:00
|
|
|
|
2009-11-15 17:21:21 -05:00
|
|
|
self.extra_deps = [
|
|
|
|
['nokogiri', '>= 1.3.3'],
|
|
|
|
['culerity', '>= 0.2.3'],
|
2009-11-16 16:07:46 -05:00
|
|
|
['selenium-webdriver', '>= 0.0.3'],
|
|
|
|
['rack', '>= 1.0.0'],
|
|
|
|
['database_cleaner', '>= 0.2.3']
|
2009-11-15 17:21:21 -05:00
|
|
|
]
|
2009-11-04 17:00:05 -05:00
|
|
|
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]
|