activerecord-postgis-adapter 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f48bf8a031b980aa3b0f5126c348628f06c5d20c7a12d50b4994bb6b118f718
|
|
4
|
+
data.tar.gz: f5bdbb705028bc67f7bd506038e1017de0ada5b96f529db6761977f03f7ec1d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91939a84b430809a77548cc34c8c792264306fe55219fa2d7ec2328509db0a3345ecb93a4ae742d94f483444ab6bd579e77f551ffbb86e01bda472b4d248239e
|
|
7
|
+
data.tar.gz: 3f02dfbbea496a28d5a529f59628466cd1e146a7e2de8c39510ae5f172f6cbceff2978e7e34e2b2a1e644c4ae43d4bad100bd004971b84e278d7fc50537ca1f7
|
|
@@ -38,7 +38,7 @@ end
|
|
|
38
38
|
module ActiveRecord
|
|
39
39
|
module ConnectionAdapters
|
|
40
40
|
class PostGISAdapter < PostgreSQLAdapter
|
|
41
|
-
ADAPTER_NAME = 'PostGIS'
|
|
41
|
+
ADAPTER_NAME = 'PostGIS'
|
|
42
42
|
|
|
43
43
|
SPATIAL_COLUMN_OPTIONS =
|
|
44
44
|
{
|
|
@@ -96,3 +96,21 @@ module ActiveRecord
|
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
|
+
|
|
100
|
+
# if using JRUBY, create ArJdbc::PostGIS module
|
|
101
|
+
# and prepend it to the PostgreSQL adapter since
|
|
102
|
+
# it is the default adapter_spec.
|
|
103
|
+
# see: https://github.com/jruby/activerecord-jdbc-adapter/blob/60-stable/lib/arjdbc/postgresql/adapter.rb#27
|
|
104
|
+
if RUBY_ENGINE == "jruby"
|
|
105
|
+
module ArJdbc
|
|
106
|
+
module PostGIS
|
|
107
|
+
ADAPTER_NAME = 'PostGIS'
|
|
108
|
+
|
|
109
|
+
def adapter_name
|
|
110
|
+
ADAPTER_NAME
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
ArJdbc::PostgreSQL.prepend(ArJdbc::PostGIS)
|
|
116
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-postgis-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Daniel Azuma
|
|
7
|
+
- Daniel Azuma
|
|
8
|
+
- Tee Parham
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2021-03-28 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: activerecord
|
|
@@ -16,14 +17,14 @@ dependencies:
|
|
|
16
17
|
requirements:
|
|
17
18
|
- - "~>"
|
|
18
19
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
20
|
+
version: 6.0.0
|
|
20
21
|
type: :runtime
|
|
21
22
|
prerelease: false
|
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
24
|
requirements:
|
|
24
25
|
- - "~>"
|
|
25
26
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
27
|
+
version: 6.0.0
|
|
27
28
|
- !ruby/object:Gem::Dependency
|
|
28
29
|
name: rgeo-activerecord
|
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -44,14 +45,14 @@ dependencies:
|
|
|
44
45
|
requirements:
|
|
45
46
|
- - "~>"
|
|
46
47
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
48
|
+
version: '13.0'
|
|
48
49
|
type: :development
|
|
49
50
|
prerelease: false
|
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
52
|
requirements:
|
|
52
53
|
- - "~>"
|
|
53
54
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
55
|
+
version: '13.0'
|
|
55
56
|
- !ruby/object:Gem::Dependency
|
|
56
57
|
name: minitest
|
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -97,7 +98,10 @@ dependencies:
|
|
|
97
98
|
description: ActiveRecord connection adapter for PostGIS. It is based on the stock
|
|
98
99
|
PostgreSQL adapter, and adds built-in support for the spatial extensions provided
|
|
99
100
|
by PostGIS. It uses the RGeo library to represent spatial data in Ruby.
|
|
100
|
-
email:
|
|
101
|
+
email:
|
|
102
|
+
- dazuma@gmail.com
|
|
103
|
+
- parhameter@gmail.com
|
|
104
|
+
- kfdoggett@gmail.com
|
|
101
105
|
executables: []
|
|
102
106
|
extensions: []
|
|
103
107
|
extra_rdoc_files: []
|
|
@@ -120,7 +124,7 @@ files:
|
|
|
120
124
|
- lib/activerecord-postgis-adapter.rb
|
|
121
125
|
homepage: http://github.com/rgeo/activerecord-postgis-adapter
|
|
122
126
|
licenses:
|
|
123
|
-
- BSD
|
|
127
|
+
- BSD-3-Clause
|
|
124
128
|
metadata: {}
|
|
125
129
|
post_install_message:
|
|
126
130
|
rdoc_options: []
|
|
@@ -137,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
137
141
|
- !ruby/object:Gem::Version
|
|
138
142
|
version: '0'
|
|
139
143
|
requirements: []
|
|
140
|
-
rubygems_version: 3.
|
|
144
|
+
rubygems_version: 3.0.8
|
|
141
145
|
signing_key:
|
|
142
146
|
specification_version: 4
|
|
143
147
|
summary: ActiveRecord adapter for PostGIS, based on RGeo.
|