require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' task :default => :test desc "Run the tests" Rake::TestTask::new do |t| t.test_files = FileList['test/test*.rb'] t.verbose = true end desc "Generate the documentation" Rake::RDocTask::new do |rdoc| rdoc.rdoc_dir = 'ym4r-doc/' rdoc.title = "YM4R Documentation" rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end spec = Gem::Specification::new do |s| s.platform = Gem::Platform::RUBY s.name = 'ym4r' s.version = "0.6.2" s.summary = "Helping the use of Google Maps and Yahoo! Maps API's from Ruby and Rails" s.description = <