spatial_features 1.4.7 → 1.4.8
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 +4 -4
- data/config/initializers/register_oids.rb +8 -4
- data/lib/spatial_features/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83d7a1f2ccb9d711d6afcd7040a791988aec3598
|
|
4
|
+
data.tar.gz: a3622bd27b8450bde182b385879baf135f8b33e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f2ecfb1b6107b69a3818bb2c467412426cc34676a78efdc0adb504e9fc138a973821612b69e2e53bfe15a2206d96f2d87ebb0bf8cf54752283058a52eba56dd
|
|
7
|
+
data.tar.gz: 2b6744fb0dab5b44ab070d191d1ca5376f5854ad1d679400e9efbbc13521aab88ccd0a8457a9730c7e8b5c48c9d4fdf0776e6863abb5730b65c5e65150dde484
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.class_eval do
|
|
2
|
+
def initialize_type_map_with_postgres_oids mapping
|
|
3
|
+
initialize_type_map_without_postgres_oids mapping
|
|
4
|
+
register_class_with_limit mapping, 'geometry', ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::SpecializedString
|
|
5
|
+
register_class_with_limit mapping, 'geography', ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::SpecializedString
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
alias_method_chain :initialize_type_map, :postgres_oids
|
|
5
9
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spatial_features
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Wallace
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-01-
|
|
12
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|