geo_monitor 0.3.1 → 0.3.2
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 +2 -2
- 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: 579cb4bf30246ce0036e37a1ddda3a4a1208352a
|
4
|
+
data.tar.gz: 306039fef4be166bd345bc1d45cd2c5cb9a3ff87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ffd3dfccc04baecd9ad5dc322a251c3a1b4c9ca2484938cd76582a081e2237e615daf8b823b155585dc489d41860b9cc562b3808f6119965f1d28f71e6594c4
|
7
|
+
data.tar.gz: 8ea2dc1e61783dc6b5e35dfedb4fdc3813702248efd8747c87ba20ebae91fa5f1e28f803375144d3d9429714a2c527812582c6e8a223c2e09c133e1a856a86ce
|
@@ -7,8 +7,8 @@ module GeoMonitor
|
|
7
7
|
def self.from_geoblacklight(schema_json)
|
8
8
|
schema = JSON.parse(schema_json)
|
9
9
|
references = JSON.parse(schema['dct_references_s'] || '{}')
|
10
|
-
find_or_create_by(slug: schema['layer_slug_s']) do |layer|
|
11
|
-
layer.checktype =
|
10
|
+
find_or_create_by(slug: schema['layer_slug_s']).tap do |layer|
|
11
|
+
layer.checktype =
|
12
12
|
if references['http://www.opengis.net/def/serviceType/ogc/wms']
|
13
13
|
'WMS'
|
14
14
|
elsif references['http://iiif.io/api/image']
|
data/lib/geo_monitor/version.rb
CHANGED