geo_monitor 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/geo_monitor/layer.rb +1 -1
- data/lib/geo_monitor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d212884e1dffc19ff2a79c1a1370dcc6e7370fab
|
4
|
+
data.tar.gz: 2bf333c6fbcfdbf56a42fb0a3f93d6ec7787f82a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4c0a78f06e1344f97f923904d1a4adda96f998108b08fe2e7fe51f3eac4d15c3773eb2bdeb58b82b0b6a7df8f359d413b960084c17298b19de6ad4f91e489bb
|
7
|
+
data.tar.gz: 6d1bf9b04eaf4f1c196a509515be4d2099773af1c758659561249cc727f135baee6f525fe145d689575959cd0bda48f86913ef2bc04f26c1dc121627de81623c
|
@@ -6,7 +6,7 @@ module GeoMonitor
|
|
6
6
|
# @param [String] schema_json
|
7
7
|
def self.from_geoblacklight(schema_json)
|
8
8
|
schema = JSON.parse(schema_json)
|
9
|
-
references = JSON.parse(schema['dct_references_s'])
|
9
|
+
references = JSON.parse(schema['dct_references_s'] || '{}')
|
10
10
|
find_or_create_by(slug: schema['layer_slug_s']) do |layer|
|
11
11
|
layer.checktype =
|
12
12
|
if references['http://www.opengis.net/def/serviceType/ogc/wms']
|
data/lib/geo_monitor/version.rb
CHANGED