Skip to content
Snippets Groups Projects
geocoder.gemspec 1.46 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"
  s.required_ruby_version = '>= 1.9.3'
  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.post_install_message = %q{

NOTE: Geocoder's default IP address lookup has changed from FreeGeoIP.net to IPInfo.io. If you explicitly specify :freegeoip in your configuration you must choose a different IP lookup before FreeGeoIP is discontinued on July 1, 2018. If you do not explicitly specify :freegeoip you do not need to change anything.
  s.metadata = {
    'source_code_uri' => 'https://github.com/alexreisner/geocoder',
    'changelog_uri'   => 'https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md'
  }