activerecord-postgis-adapter 2.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record/connection_adapters/postgis_adapter.rb +9 -8
- data/lib/active_record/connection_adapters/postgis_adapter/common_adapter_methods.rb +6 -6
- data/lib/active_record/connection_adapters/postgis_adapter/main_adapter.rb +18 -33
- data/lib/active_record/connection_adapters/postgis_adapter/spatial_column.rb +12 -8
- data/lib/active_record/connection_adapters/postgis_adapter/spatial_column_info.rb +42 -0
- data/lib/active_record/connection_adapters/postgis_adapter/version.rb +1 -1
- data/test/basic_test.rb +175 -183
- data/test/ddl_test.rb +248 -217
- data/test/nested_class_test.rb +22 -30
- data/test/setup_test.rb +4 -12
- data/test/spatial_queries_test.rb +83 -91
- data/test/tasks_test.rb +145 -153
- metadata +18 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-postgis-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma, Tee Parham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mocha
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
55
69
|
description: ActiveRecord connection adapter for PostGIS. It is based on the stock
|
56
70
|
PostgreSQL adapter, but provides built-in support for the spatial extensions provided
|
57
71
|
by PostGIS. It uses the RGeo library to represent spatial data in Ruby.
|
@@ -71,6 +85,7 @@ files:
|
|
71
85
|
- lib/active_record/connection_adapters/postgis_adapter/railtie.rb
|
72
86
|
- lib/active_record/connection_adapters/postgis_adapter/setup.rb
|
73
87
|
- lib/active_record/connection_adapters/postgis_adapter/spatial_column.rb
|
88
|
+
- lib/active_record/connection_adapters/postgis_adapter/spatial_column_info.rb
|
74
89
|
- lib/active_record/connection_adapters/postgis_adapter/spatial_table_definition.rb
|
75
90
|
- lib/active_record/connection_adapters/postgis_adapter/version.rb
|
76
91
|
- lib/activerecord-postgis-adapter.rb
|
@@ -103,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
118
|
version: '0'
|
104
119
|
requirements: []
|
105
120
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.3.0
|
107
122
|
signing_key:
|
108
123
|
specification_version: 4
|
109
124
|
summary: ActiveRecord adapter for PostGIS, based on RGeo.
|