Sha256: 01e5714223b1f9358f28f7016afcb35900f4f96b683ae33349ae22faf13a9291

Contents?: true

Size: 1.64 KB

Versions: 13

Compression:

Stored size: 1.64 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name        = "rails-geocoder"
    gem.summary     = %Q{Add geocoding functionality to Rails models.}
    gem.description = %Q{Geocoder adds object geocoding and database-agnostic distance calculations to Ruby on Rails. It does not rely on proprietary database functions so finding geocoded objects in a given area is easily done using out-of-the-box MySQL or even SQLite.}
    gem.email       = "alex@alexreisner.com"
    gem.homepage    = "http://github.com/alexreisner/geocoder"
    gem.authors     = ["Alex Reisner"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

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.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
geocoder-0.9.8 Rakefile
rails-geocoder-0.9.8 Rakefile
rails-geocoder-0.9.7 Rakefile
rails-geocoder-0.9.6 Rakefile
rails-geocoder-0.9.5 Rakefile
rails-geocoder-0.9.4 Rakefile
rails-geocoder-0.9.3 Rakefile
rails-geocoder-0.9.2 Rakefile
rails-geocoder-0.9.1 Rakefile
rails-geocoder-0.9.0 Rakefile
rails-geocoder-0.8.9 Rakefile
rails-geocoder-0.8.2 Rakefile
rails-geocoder-0.8.1 Rakefile