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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5835f3c34e5de884e5df6a85e0f133d1f758fad2
4
- data.tar.gz: 31f3016139b942dce0ef4470b6cb31965f9c2c18
3
+ metadata.gz: d212884e1dffc19ff2a79c1a1370dcc6e7370fab
4
+ data.tar.gz: 2bf333c6fbcfdbf56a42fb0a3f93d6ec7787f82a
5
5
  SHA512:
6
- metadata.gz: 72457008a4a5ad667a99a5025ad2a7a47ab24193477713978287fa1f693dabbb164987bd2934f01d4ec5d6cba214134ac90342a5c64e452d5ef671e20f351030
7
- data.tar.gz: 89bf2d4eafd89ab821a166e704969afe9e8ca10dde776e2dd0ee7de4aad6bd281dbde35857a8f5cb9c0fef37d5a0f7d60d68fbb7904624e581d3efd87b94524b
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']
@@ -1,3 +1,3 @@
1
1
  module GeoMonitor
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed