#RTML_ROOT = File.expand_path(File.join(File.dirname(__FILE__))) #require 'rubygems' require './spec/support/rails' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' 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 'rtml' do self.developer 'Colin MacKenzie IV', 'colin.mackenzie4@ingenico.com' self.post_install_message = File.read('PostInstall.txt') self.extra_deps = [['rails','>= 2.3.5'], ['hpricot','>= 0.8.2'], ['sc-core-ext','>= 1.1.1'], ['rubigen','>= 1.5.2']] self.extra_dev_deps = [['rspec','>= 1.3.0'], ['rspec-rails','>= 1.3.2'], ['webrat', '>= 0.7.0']] self.version = Rtml::VERSION::STRING self.readme_file = "README.rdoc" end require 'newgem/tasks' Dir['./tasks/**/*.rake'].each { |t| load File.expand_path(t) } # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features]