rgeo-activerecord 4.0.4 → 4.0.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 746ee8f040e9ef026c3d43bc346ca06f868acd30
|
4
|
+
data.tar.gz: e2f02e5a4e134c090d701a0812c6d6b639f12caa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: debe22e1741a1889064d29b00351b12b5a942e9993b82c29c56b9ec6a96579f3028ea843cea70341aa6860d2627ce5f83c335715a8bb178e74d41c6d4775bd3f
|
7
|
+
data.tar.gz: 68c7b5367ce0d0efa4d810810cc5788dbfebda986f5380b1891391fb27486723a2bcc9fd8f8eb5847ef1ea54726db24a79388406416a674db905c0fbb57fdaf6
|
data/History.md
CHANGED
@@ -54,7 +54,7 @@ module RGeo
|
|
54
54
|
|
55
55
|
# This node wraps an RGeo feature and gives it spatial expression constructors.
|
56
56
|
class SpatialConstantNode
|
57
|
-
include
|
57
|
+
include SpatialExpressions
|
58
58
|
|
59
59
|
# The delegate should be the RGeo feature.
|
60
60
|
def initialize(delegate)
|
@@ -6,15 +6,15 @@ module RGeo
|
|
6
6
|
# Some default column constructors specifications for most spatial
|
7
7
|
# databases. Individual adapters may add to or override this list.
|
8
8
|
DEFAULT_SPATIAL_COLUMN_CONSTRUCTORS = {
|
9
|
-
|
9
|
+
geometry_collection: {}.freeze,
|
10
10
|
geometry: {}.freeze,
|
11
|
-
point: {}.freeze,
|
12
11
|
line_string: {}.freeze,
|
13
|
-
polygon: {}.freeze,
|
14
|
-
geometry_collection: {}.freeze,
|
15
12
|
multi_line_string: {}.freeze,
|
16
13
|
multi_point: {}.freeze,
|
17
14
|
multi_polygon: {}.freeze,
|
15
|
+
point: {}.freeze,
|
16
|
+
polygon: {}.freeze,
|
17
|
+
spatial: { type: "geometry" }.freeze,
|
18
18
|
}.freeze
|
19
19
|
|
20
20
|
# Index definition struct with a spatial flag field.
|
@@ -25,14 +25,14 @@ module RGeo
|
|
25
25
|
|
26
26
|
def self.geometric_type_from_name(name)
|
27
27
|
case name.to_s
|
28
|
+
when /^geometrycollection/i then Feature::GeometryCollection
|
28
29
|
when /^geometry/i then Feature::Geometry
|
29
|
-
when /^point/i then Feature::Point
|
30
30
|
when /^linestring/i then Feature::LineString
|
31
|
-
when /^polygon/i then Feature::Polygon
|
32
|
-
when /^geometrycollection/i then Feature::GeometryCollection
|
33
|
-
when /^multipoint/i then Feature::MultiPoint
|
34
31
|
when /^multilinestring/i then Feature::MultiLineString
|
32
|
+
when /^multipoint/i then Feature::MultiPoint
|
35
33
|
when /^multipolygon/i then Feature::MultiPolygon
|
34
|
+
when /^point/i then Feature::Point
|
35
|
+
when /^polygon/i then Feature::Polygon
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgeo-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma, Tee Parham
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
47
|
+
version: '5.8'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
54
|
+
version: '5.8'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,34 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: appraisal
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.1'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rgeo-geojson
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.4.1
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.4.1
|
83
111
|
description: RGeo is a geospatial data library for Ruby. RGeo::ActiveRecord is an
|
84
112
|
optional RGeo module providing some spatial extensions to ActiveRecord, as well
|
85
113
|
as common tools used by RGeo-based spatial adapters.
|