jekyll-geolexica 1.8.12 → 1.8.14

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: 339e543a0ab788e7bcfa8adf5b7aead6cf53ad0580e765f024e72381bc5cda24
4
- data.tar.gz: b47938698f4166e4d1f990683c1f7df3448d14d35de59030bf4bd95b43ed30fc
3
+ metadata.gz: fc7f723b3b345f54f510e69beeb32c3662f1f5a9bf72ca66febdd6934cb1b38b
4
+ data.tar.gz: d85912d07d50a600b9f8d16c803503bb8b3584f7ba0ae9571ef7de6322931285
5
5
  SHA512:
6
- metadata.gz: 3b72c81b7d64d2808fcb5c6e4e1ec0acdaf9157cb15c7a1299d9cbc9d6d40445fc2b72b2b34d3f8c5c5772771d1cb6a4f121bb459fdbab5cf6a2aa9a80971303
7
- data.tar.gz: 0a4d8f4ae92a8aa5ab2d6545487f495fc09335cdb68f2ee7d5bc7b6208c42b8b9a9d886216c5e6fc01fe21a80a44c63e9f8c6f70f68f8321e35f003edae73d0a
6
+ metadata.gz: 9b45c994fde81794f5fef3be554fdecfb7c670119a91a2bd1d3de0155ad6c090e5be7ac355f0c1ccdd18d531a3bfd44c5626cf266cbc78b336291f9ae76e8f25
7
+ data.tar.gz: b4382194264a9234808eb4c259669b363ea6f821779a0ed676b79a2fb4a39832264900671f909893763f42a61825c8ce0c8a4dac600b92af598067ddcab0539e
@@ -42,7 +42,7 @@
42
42
  {% if localized_term.definition %}
43
43
  {% for definition in localized_term.definition %}
44
44
  <p class="definition localized">
45
- {%- if localized_term.domain != blank -%}
45
+ {%- if localized_term.domain -%}
46
46
  &lt;{{ localized_term.domain | escape }}&gt;&nbsp;
47
47
  {%- endif -%}
48
48
  {{ definition.content | escape | resolve_reference_to_links }}
@@ -25,7 +25,7 @@ module Jekyll
25
25
  modification = input["modification"]
26
26
  return source unless modification
27
27
 
28
- "#{source}, modified -- #{modification}"
28
+ "#{source}, #{input["status"] || "modified"} -- #{modification}"
29
29
  end
30
30
 
31
31
  def concepts_url(base_url)
@@ -83,14 +83,21 @@ module Jekyll
83
83
  concept['sources'] ||= []
84
84
 
85
85
  authoritative_sources.each do |authoritative_source|
86
+ if authoritative_source['relationship']
87
+ status = authoritative_source['relationship']['type']
88
+ modification = authoritative_source['relationship']['modification']
89
+ end
90
+
86
91
  concept['sources'] << {
92
+ "status" => status,
93
+ "modification" => modification,
87
94
  "origin" => {
88
95
  'ref' => authoritative_source['ref'],
89
96
  'clause' => authoritative_source['clause'],
90
97
  'link' => authoritative_source['link'],
91
98
  }.compact,
92
99
  'type' => 'authoritative'
93
- }
100
+ }.compact
94
101
  end
95
102
  end
96
103
 
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Jekyll
5
5
  module Geolexica
6
- VERSION = "1.8.12".freeze
6
+ VERSION = "1.8.14".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-geolexica
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.12
4
+ version: 1.8.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-08 00:00:00.000000000 Z
11
+ date: 2023-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll