Rakefile in nofxx-postgis_adapter-0.5.5 vs Rakefile in nofxx-postgis_adapter-0.5.6

- old
+ new

@@ -32,12 +32,10 @@ end task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| - config = YAML.load(File.read('VERSION.yml')) - version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" - + version = File.exist?('VERSION') ? File.read('VERSION').chomp : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "postgis_adapter #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end