jekyll-geolexica 1.8.8 → 1.8.9

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
  SHA256:
3
- metadata.gz: 28a92c6437e168d14b81c6230871e51b864ad78ca6e8a465c2361553d5273f10
4
- data.tar.gz: 0f42f094620da7d67a4b744020e4f6063996f661281afb05488ccfdd422f9896
3
+ metadata.gz: c1f27c1600cd1a9dc7e89734a4efd24884207d7f3c5d30532272f7398356ccce
4
+ data.tar.gz: aa46d0148829369821096f02159616c1e69c094db0729aad69ce971c34364eae
5
5
  SHA512:
6
- metadata.gz: 05c3892fd357900d2c6793b2725fcb43ec9cb2b24c3ca2e8ad536c266046c7fc1b6a0e3d88b6b1d18fd85694d09a99675cc5bfb7060da2c4e07a333530c52efa
7
- data.tar.gz: e09f1a3c68284ac5a859cca8ac4dd8357f3c1b5212a8ae0e8ccc55afb4824127f28383245132342a95abcfde8ba8d96a72c313b80387d0ed50e44cdb93eb51bd
6
+ metadata.gz: 21384cd0d8e86a16c25bf5d33dbddb673e890ac0de6782faf6da36b71a4c65a1202fd8bfc329c6ed08dfa4f327d82b77797fb96f81e60cf8ecbd60fa612f34c2
7
+ data.tar.gz: 6499a366ddf7b8dcf510671dfca22329c727fe5ec876f3da57e597c3752861c4c7cb3de0e7650bbbe407cac3e6ce43d669e98e7e794f481d10586145d8155078
@@ -65,7 +65,7 @@ module Jekyll
65
65
  concept = YAML.safe_load(File.read(path), **safe_load_options)
66
66
  concept['termid'] = concept['data']['identifier']
67
67
 
68
- concept['data']['localizedConcepts'].each do |lang, local_concept_id|
68
+ (concept['data']['localizedConcepts'] || []).each do |lang, local_concept_id|
69
69
  localized_concept_path = File.join(localized_concepts_path, "#{local_concept_id}.yaml")
70
70
  concept[lang] = YAML.safe_load(File.read(localized_concept_path), **safe_load_options)['data']
71
71
 
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Jekyll
5
5
  module Geolexica
6
- VERSION = "1.8.8".freeze
6
+ VERSION = "1.8.9".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-geolexica
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.8
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.