jekyll-geolexica 1.8.13 → 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: 2e2ec54f933aeb65409f3455f54dab7cd57c3d6d1b84be9d2a2c53682b77aa7f
4
- data.tar.gz: bbc8e3fbc09cff3dfc526c6eaec61c1f456a30b6ae70f27d3b0d2d1d13381571
3
+ metadata.gz: fc7f723b3b345f54f510e69beeb32c3662f1f5a9bf72ca66febdd6934cb1b38b
4
+ data.tar.gz: d85912d07d50a600b9f8d16c803503bb8b3584f7ba0ae9571ef7de6322931285
5
5
  SHA512:
6
- metadata.gz: 22cbc5558154aef3022b7d538b47f335b95a1840916c196c117c2b7280105f0efe2ee02861d8621ce66f7ba053bd98a5900d5e71d9901d141572c7c8b7690a81
7
- data.tar.gz: dd7aa2f61f49210a98a85d160c248a4b4bf84bc707db233b27d09b7b8f10ddcb9bf570b7901600e4023b373d99a5387fad31325c0804a577e689914a4e2dca2b
6
+ metadata.gz: 9b45c994fde81794f5fef3be554fdecfb7c670119a91a2bd1d3de0155ad6c090e5be7ac355f0c1ccdd18d531a3bfd44c5626cf266cbc78b336291f9ae76e8f25
7
+ data.tar.gz: b4382194264a9234808eb4c259669b363ea6f821779a0ed676b79a2fb4a39832264900671f909893763f42a61825c8ce0c8a4dac600b92af598067ddcab0539e
@@ -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.13".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.13
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-10-20 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