-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
geocoder.gemspec
27 lines (26 loc) · 1.23 KB
/
geocoder.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'date'
require "geocoder/version"
Gem::Specification.new do |s|
s.name = "geocoder"
s.required_ruby_version = '>= 2.0.0'
s.version = Geocoder::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Alex Reisner"]
s.email = ["[email protected]"]
s.homepage = "http://www.rubygeocoder.com"
s.date = Date.today.to_s
s.summary = "Complete geocoding solution for Ruby."
s.description = "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"]
s.license = 'MIT'
s.metadata = {
'source_code_uri' => 'https://github.com/alexreisner/geocoder',
'changelog_uri' => 'https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md'
}
s.add_dependency("base64", ">= 0.1.0") # for :google_premier lookup
s.add_dependency("csv", ">= 3.0.0") # for :maxmind lookup
end