forked from julianray/activerecord-mysql2spatial-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactiverecord-mysql2spatial-adapter.gemspec
37 lines (33 loc) · 2.1 KB
/
activerecord-mysql2spatial-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
# -*- encoding: utf-8 -*-
# stub: activerecord-mysql2spatial-adapter 0.5.0.nonrelease ruby lib
Gem::Specification.new do |s|
s.name = "activerecord-mysql2spatial-adapter"
s.version = "0.6.0.nonrelease"
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Daniel Azuma"]
s.date = "2015-01-14"
s.description = "This is an ActiveRecord connection adapter for MySQL Spatial Extensions. It is based on the stock MySQL2 adapter, but provides built-in support for spatial columns. It uses the RGeo library to represent spatial data in Ruby."
s.email = "[email protected]"
s.extra_rdoc_files = ["README.rdoc", "History.rdoc"]
s.files = ["History.rdoc", "README.rdoc", "Version", "lib/active_record/connection_adapters/mysql2spatial_adapter.rb", "lib/active_record/connection_adapters/mysql2spatial_adapter/arel_tosql.rb", "lib/active_record/connection_adapters/mysql2spatial_adapter/main_adapter.rb", "lib/active_record/connection_adapters/mysql2spatial_adapter/spatial_column.rb", "lib/active_record/connection_adapters/mysql2spatial_adapter/version.rb", "lib/active_record/type/spatial.rb", "test/tc_basic.rb", "test/tc_spatial_queries.rb"]
s.homepage = "http://dazuma.github.com/activerecord-mysql2spatial-adapter"
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.rubyforge_project = "virtuoso"
s.rubygems_version = "2.2.2"
s.summary = "An ActiveRecord adapter for MySQL Spatial Extensions, based on RGeo and the mysql2 gem."
s.test_files = ["test/tc_spatial_queries.rb", "test/tc_basic.rb"]
if s.respond_to? :specification_version then
s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rgeo-activerecord>, ["~> 5.0"])
s.add_runtime_dependency(%q<mysql2>, [">= 0.4.4"])
else
s.add_dependency(%q<rgeo-activerecord>, ["~> 2.0"])
s.add_dependency(%q<mysql2>, [">= 0.2.13"])
end
else
s.add_dependency(%q<rgeo-activerecord>, ["~> 2.0"])
s.add_dependency(%q<mysql2>, [">= 0.2.13"])
end
end