jekyll-geolexica 1.8.7 → 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: 16891afbfd31bfa320715e20de559a8ae6b96eecc2cfc53b38ab1654f5c1e156
4
- data.tar.gz: 1fb4b721b4029abaa5d1c6fdb5f4026ef1eca64fc4f29288bc81f8edfb6be7b2
3
+ metadata.gz: c1f27c1600cd1a9dc7e89734a4efd24884207d7f3c5d30532272f7398356ccce
4
+ data.tar.gz: aa46d0148829369821096f02159616c1e69c094db0729aad69ce971c34364eae
5
5
  SHA512:
6
- metadata.gz: e5b2fcbcebd7174d974e5579caf37f921f245f47bd68c824c6bce4ebe70db6c5356ee769fd7a3998a7b80080fe8b38c97c42af8333a0ae221acf05159fd90a1d
7
- data.tar.gz: 2f6a10a96391e6384f1c4a2b3e97d6ea62ba2eccbdcff936adf199c3dc4412625f7d9ca2b0bf4a87ee9acae804ec11e70b670ab29b199fd62d0ad2cd033eb9c7
6
+ metadata.gz: 21384cd0d8e86a16c25bf5d33dbddb673e890ac0de6782faf6da36b71a4c65a1202fd8bfc329c6ed08dfa4f327d82b77797fb96f81e60cf8ecbd60fa612f34c2
7
+ data.tar.gz: 6499a366ddf7b8dcf510671dfca22329c727fe5ec876f3da57e597c3752861c4c7cb3de0e7650bbbe407cac3e6ce43d669e98e7e794f481d10586145d8155078
data/README.adoc ADDED
@@ -0,0 +1,15 @@
1
+ = jekyll-geolexica
2
+
3
+ image:https://github.com/geolexica/jekyll-geolexica/actions/workflows/test.yaml/badge.svg[Build Status,link=https://github.com/geolexica/jekyll-geolexica/actions/workflows/test.yaml]
4
+ image:https://img.shields.io/gem/v/jekyll-geolexica.svg[Gem Version,link=https://rubygems.org/gems/jekyll-geolexica]
5
+ image:https://img.shields.io/github/issues-pr-raw/geolexica/jekyll-geolexica.svg[Pull Requests,link=https://github.com/geolexica/jekyll-geolexica/pulls]
6
+ image:https://img.shields.io/github/commits-since/geolexica/jekyll-geolexica/latest.svg[Commits since latest,link=https://github.com/geolexica/jekyll-geolexica/releases]
7
+
8
+ Jekyll plugin for Geolexica by the Geolexica Team.
9
+
10
+ == Releasing
11
+
12
+ === New approach
13
+
14
+ Do `+git tag ${version-tag}+` or, start release manually with the
15
+ https://github.com/geolexica/jekyll-geolexica/actions/workflows/release.yml[`release.yml` workflow]
@@ -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
 
@@ -75,7 +75,7 @@ module Jekyll
75
75
 
76
76
  if concept[lang]['status'] && !concept[lang]['status'].empty? &&
77
77
  (concept[lang]['entry_status'].nil? || concept[lang]['entry_status'].empty?)
78
- concept['entry_status'] = concept[lang]['status']
78
+ concept[lang]['entry_status'] = concept[lang]['status']
79
79
  end
80
80
  end
81
81
 
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Jekyll
5
5
  module Geolexica
6
- VERSION = "1.8.7".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.7
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -156,6 +156,7 @@ extensions: []
156
156
  extra_rdoc_files: []
157
157
  files:
158
158
  - Gemfile
159
+ - README.adoc
159
160
  - Rakefile
160
161
  - _config.yml
161
162
  - _data/lang.yaml