rgeo-geojson 0.3.1 → 0.3.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 +4 -4
- data/History.md +6 -0
- data/lib/rgeo/geo_json/coder.rb +6 -6
- data/lib/rgeo/geo_json/version.rb +1 -1
- metadata +9 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 503714421404cf164fbb61280d4b0fcdc1ed626f
|
|
4
|
+
data.tar.gz: bdb19b2bfa801d881f67c2b32399d29750d21ad9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb72641504799a5d5272c90bd60d170295f7e34cbaab705733abb1a9b80818fadf5bade1425eb6be7e6a6ef6b45c5fad4a3774ec0046323b369d1f90dee0650c
|
|
7
|
+
data.tar.gz: 1c073bda74e6ac4b19bba2722ff22feb82f956fd4113b24d55d204ce24b4aa699e686517787f635841e0a68f8918225b723b2065e9000571e5a490f0e4c1fdb6
|
data/History.md
CHANGED
data/lib/rgeo/geo_json/coder.rb
CHANGED
|
@@ -208,32 +208,32 @@ module RGeo
|
|
|
208
208
|
when ::RGeo::Feature::Point
|
|
209
209
|
{
|
|
210
210
|
'type' => 'Point',
|
|
211
|
-
'coordinates' =>
|
|
211
|
+
'coordinates' => object_.coordinates
|
|
212
212
|
}
|
|
213
213
|
when ::RGeo::Feature::LineString
|
|
214
214
|
{
|
|
215
215
|
'type' => 'LineString',
|
|
216
|
-
'coordinates' => object_.
|
|
216
|
+
'coordinates' => object_.coordinates
|
|
217
217
|
}
|
|
218
218
|
when ::RGeo::Feature::Polygon
|
|
219
219
|
{
|
|
220
220
|
'type' => 'Polygon',
|
|
221
|
-
'coordinates' =>
|
|
221
|
+
'coordinates' => object_.coordinates
|
|
222
222
|
}
|
|
223
223
|
when ::RGeo::Feature::MultiPoint
|
|
224
224
|
{
|
|
225
225
|
'type' => 'MultiPoint',
|
|
226
|
-
'coordinates' => object_.
|
|
226
|
+
'coordinates' => object_.coordinates
|
|
227
227
|
}
|
|
228
228
|
when ::RGeo::Feature::MultiLineString
|
|
229
229
|
{
|
|
230
230
|
'type' => 'MultiLineString',
|
|
231
|
-
'coordinates' => object_.
|
|
231
|
+
'coordinates' => object_.coordinates
|
|
232
232
|
}
|
|
233
233
|
when ::RGeo::Feature::MultiPolygon
|
|
234
234
|
{
|
|
235
235
|
'type' => 'MultiPolygon',
|
|
236
|
-
'coordinates' => object_.
|
|
236
|
+
'coordinates' => object_.coordinates
|
|
237
237
|
}
|
|
238
238
|
when ::RGeo::Feature::GeometryCollection
|
|
239
239
|
{
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rgeo-geojson
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2015-12-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rgeo
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '0.
|
|
20
|
+
version: '0.5'
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: '0.
|
|
27
|
+
version: '0.5'
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: bundler
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -45,28 +45,28 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: '5.
|
|
48
|
+
version: '5.8'
|
|
49
49
|
type: :development
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: '5.
|
|
55
|
+
version: '5.8'
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: rake
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
60
|
- - "~>"
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: '10.
|
|
62
|
+
version: '10.4'
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
67
|
- - "~>"
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '10.
|
|
69
|
+
version: '10.4'
|
|
70
70
|
description: RGeo is a geospatial data library for Ruby. RGeo::GeoJSON is an optional
|
|
71
71
|
RGeo module providing GeoJSON encoding and decoding services. This module can be
|
|
72
72
|
used to communicate with location-based web services that understand the GeoJSON
|
|
@@ -108,10 +108,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
108
108
|
version: '0'
|
|
109
109
|
requirements: []
|
|
110
110
|
rubyforge_project:
|
|
111
|
-
rubygems_version: 2.
|
|
111
|
+
rubygems_version: 2.5.0
|
|
112
112
|
signing_key:
|
|
113
113
|
specification_version: 4
|
|
114
114
|
summary: An RGeo module providing GeoJSON encoding and decoding.
|
|
115
115
|
test_files:
|
|
116
116
|
- test/basic_test.rb
|
|
117
|
-
has_rdoc:
|