forked from sideshowcoder/geohash
-
Notifications
You must be signed in to change notification settings - Fork 1
/
geohash.gemspec
29 lines (26 loc) · 951 Bytes
/
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
29
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'geohash/version'
jruby = !!()
Gem::Specification.new do |s|
s.name = "geohash"
s.version = GEOHASH::VERSION
s.date = "2014-05-14"
s.summary = "GeoHash Library for Ruby, original work by Dave Troy and Hiroaki Kawai"
s.email = "[email protected]"
s.homepage = "http://github.com/tomquas/geohash"
s.description = "Geohash provides support for manipulating GeoHash strings in Ruby. See http://geohash.org."
s.has_rdoc = true
s.authors = ["Dave Troy", 'tom quas']
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"]
s.extra_rdoc_files = ["Manifest.txt", "README"]
end