Skip to content
Snippets Groups Projects
geocoder.gemspec 1.11 KiB
Newer Older
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
Sean McCann's avatar
Sean McCann committed
require 'date'
require "geocoder/version"
Gem::Specification.new do |s|
  s.name        = "geocoder"
Alex Reisner's avatar
Alex Reisner committed
  s.required_ruby_version = '>= 2.0.0'
  s.version     = Geocoder::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Alex Reisner"]
  s.email       = ["alex@alexreisner.com"]
  s.date        = Date.today.to_s
Alex Reisner's avatar
Alex Reisner committed
  s.summary     = "Complete geocoding solution for Ruby."
  s.description = "Provides object geocoding (by street or IP address), reverse geocoding (coordinates to street address), distance queries for ActiveRecord and Mongoid, result caching, and more. Designed for Rails but works with Sinatra and other Rack frameworks too."
  s.files       = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'examples/**/*', 'lib/**/*', 'bin/*']
  s.require_paths = ["lib"]
  s.executables = ["geocode"]
Chris Marshall's avatar
Chris Marshall committed
  s.license     = 'MIT'
  s.metadata = {
    'source_code_uri' => 'https://github.com/alexreisner/geocoder',
    'changelog_uri'   => 'https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md'
  }