diff --git a/Rakefile b/Rakefile index 7ca7b41efb10cdd3e6225cfda172b309d6c2b686..cf5eca52b84e50722e191e983e7a681fea07c9b3 100644 --- a/Rakefile +++ b/Rakefile @@ -12,14 +12,8 @@ task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| - if File.exist?('VERSION') - version = File.read('VERSION') - else - version = "" - end - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "geocoder #{version}" + rdoc.title = "Geocoder #{Geocoder::VERSION}" rdoc.rdoc_files.include('*.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end