forked from transitland/geohash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
c_geohash.gemspec
28 lines (27 loc) · 1.12 KB
/
c_geohash.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
jruby = !!()
Gem::Specification.new do |s|
s.name = "c_geohash"
s.version = '1.1.2'
s.date = "2014-11-12"
s.summary = "Geohash library that wraps native C in Ruby"
s.email = ["[email protected]", "[email protected]"]
s.homepage = "https://github.com/mapzen/geohash"
s.description = "C_Geohash provides support for manipulating Geohash strings in Ruby. See http://en.wikipedia.org/wiki/Geohash. This is an actively maintained fork of the original http://rubygems.org/gems/geohash"
s.has_rdoc = true
s.licenses = ['MIT']
s.authors = ["David Troy", "Drew Dara-Abrams"]
if ENV['JRUBY'] || RUBY_PLATFORM =~ /java/
s.files = Dir.glob('lib/**/*')
s.platform = 'java'
else
s.files = Dir.glob('ext/*') + ['lib/geohash.rb']
s.platform = Gem::Platform::RUBY
s.extensions << 'ext/extconf.rb'
end
s.test_files = ["test/test_geohash.rb"]
s.rdoc_options = ["--main", "README.md"]
s.extra_rdoc_files = ["README.md", "LICENSE.md"]
s.add_development_dependency("minitest", "~> 5.4")
s.add_development_dependency("rake", "~> 10.3")
s.add_development_dependency("rake-compiler", "~> 0.9")
end