-
Notifications
You must be signed in to change notification settings - Fork 2
/
geohash_int.gemspec
32 lines (27 loc) · 1.27 KB
/
geohash_int.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
28
29
30
31
32
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "geohash_int/version"
Gem::Specification.new do |spec|
spec.name = "geohash_int"
spec.version = GeohashInt::VERSION
spec.authors = ["Ary Borenszweig", "Joe Eli McIlvain"]
spec.email = ["[email protected]"]
spec.summary = "Fast Geohash for Ruby that yields integers instead of strings"
spec.description = "Wraps geohash-int (https://github.com/yinqiwen/geohash-int, " \
"a fast C99 geohash library which only provides int64 as hash " \
"result) for Ruby using ffi"
spec.homepage = "https://github.com/TheoremOne/ruby-geohash_int"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.extensions = ['ext/geohash_int/Rakefile']
spec.add_dependency "ffi", "~> 1.15.5"
spec.add_development_dependency "bundler", "~> 2.3"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
end