forked from sparkapi/spatial_adapter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
spatial_adapter.gemspec
39 lines (32 loc) · 1.36 KB
/
spatial_adapter.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
33
34
35
36
37
38
39
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'spatial_adapter/version'
Gem::Specification.new do |s|
s.name = %q{spatial_adapter}
s.version = SpatialAdapter::VERSION
s.platform = $platform || RUBY_PLATFORM[/java/] || Gem::Platform::RUBY
s.authors = ["Pete Deffendol", "Guilhem Vellut"]
s.email = %q{[email protected]}
s.homepage = %q{http://github.com/fragility/spatial_adapter}
s.summary = "spatial_adapter-#{SpatialAdapter::VERSION}"
s.description = %q{Provides enhancements to ActiveRecord to handle spatial
datatypes in PostgreSQL and MySQL.}
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.extra_rdoc_files = ["README.rdoc", "MIT-LICENSE"]
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
if s.platform.to_s == 'ruby'
s.add_development_dependency 'pg'
s.add_development_dependency 'mysql'
s.add_development_dependency 'mysql2', '<= 0.2.13'
end
if s.platform.to_s == 'java'
s.add_development_dependency 'activerecord-jdbcmysql-adapter'
end
s.add_dependency 'activerecord', '>= 2.2.2', '<= 3.2.13'
s.add_dependency 'GeoRuby', '>= 1.3.0'
end