jekyll-geolexica 1.8.13 → 1.8.15

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: 95c0a7c0547605c1021f70db23fb61dfd5bcc394508c380d5ba7c83d62e15050
4
+ data.tar.gz: dc7ebc49fd3aec4a6e3fc49432d12e6725c4acc27a68b8e8689f922a69b354a1
5
5
  SHA512:
6
- metadata.gz: 22cbc5558154aef3022b7d538b47f335b95a1840916c196c117c2b7280105f0efe2ee02861d8621ce66f7ba053bd98a5900d5e71d9901d141572c7c8b7690a81
7
- data.tar.gz: dd7aa2f61f49210a98a85d160c248a4b4bf84bc707db233b27d09b7b8f10ddcb9bf570b7901600e4023b373d99a5387fad31325c0804a577e689914a4e2dca2b
6
+ metadata.gz: bd1b971b4fb9ab92f9f8661dc7e3476091c0470bf3c4d49111551e0284e9340ea292cd2b679e6ac6f5acc36ab2bc24f1adcb2652285784c72eff0a367a3348a2
7
+ data.tar.gz: f3aef44aa0bbaa85dc494463b74f8d2cce23958065666e2216354f58f46c6c8085706de66acf4b34bc56cbd5bbda2d703bc941a520a60f867e4ac44dacb627c7
@@ -43,6 +43,8 @@ Gem::Specification.new do |spec|
43
43
  spec.add_runtime_dependency "jbuilder"
44
44
 
45
45
  spec.add_runtime_dependency "jekyll-asciidoc"
46
+ # Pin logger to <= 1.5.3 due to incompatibility of logger 1.6.0 with Jekyll 4.3.2
47
+ spec.add_runtime_dependency "logger", "<= 1.5.3"
46
48
  spec.add_runtime_dependency "relaton"
47
49
 
48
50
  # Zeitwerk::Loader#push_dir supports :namespace argument from v. 2.4.
@@ -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.15".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.15
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
@@ -64,6 +64,20 @@ dependencies:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
+ - !ruby/object:Gem::Dependency
68
+ name: logger
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "<="
72
+ - !ruby/object:Gem::Version
73
+ version: 1.5.3
74
+ type: :runtime
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "<="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.5.3
67
81
  - !ruby/object:Gem::Dependency
68
82
  name: relaton
69
83
  requirement: !ruby/object:Gem::Requirement