-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathgeohash.gemspec
More file actions
24 lines (23 loc) · 828 Bytes
/
geohash.gemspec
File metadata and controls
24 lines (23 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
jruby = !!()
Gem::Specification.new do |s|
s.name = "geohash"
s.version = '1.1.1'
s.date = "2010-09-14"
s.summary = "GeoHash Library for Ruby, per http://geohash.org implementation."
s.email = "dave@popvox.com"
s.homepage = "http://github.com/davetroy/geohash"
s.description = "Geohash provides support for manipulating GeoHash strings in Ruby. See http://geohash.org."
s.has_rdoc = true
s.authors = ["David Troy"]
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