Rakefile in rtml-2.0.3 vs Rakefile in rtml-2.0.4

- old
+ new

@@ -1,7 +1,11 @@ #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' @@ -17,10 +21,11 @@ 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 = "RubyTML (or just RTML) is a Ruby framework for communicating with Ingenico's Incendo-based payment devices." + 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) }