#RTML_ROOT = File.expand_path(File.join(File.dirname(__FILE__))) #require 'rubygems' unless defined?(Rails) gem 'rails', '= 2.3.5' end 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" self.summary = self.description = "RubyTML (or just RTML) is a Ruby framework for communicating with Ingenico's Incendo-based payment devices." 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]