glossarist 2.6.7 → 2.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config.yml +2 -0
- data/lib/glossarist/concept_manager.rb +2 -0
- data/lib/glossarist/validation/bibliography_index.rb +9 -3
- data/lib/glossarist/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0336099c1eb0c66224ec4a26107cce5640349c2f789c38dc2a6bd83a26807b14'
|
|
4
|
+
data.tar.gz: fed925c14aa19c1f5887266e5adb17e2ef50dc7c161c5e4023e9ae2f77045769
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eda178f87ebfb0929b1da94e309f5a290fcdda1e8f6c069b463aa8e730ba6a1d8cd711c6c500e6fb841d65ba45debb2d911cef0f7e3d53b46b1d53c6fff1b1aa
|
|
7
|
+
data.tar.gz: 74f14b604ba9189ae879c9ecc8c239608210bd74bbe0c8cf28cd14af9dda9725177bf4a27de4c20ff7ad4559bf4e7a6a708ee62ef9933ee1e8fefe7f14c3b00e
|
data/config.yml
CHANGED
|
@@ -107,10 +107,13 @@ module Glossarist
|
|
|
107
107
|
)
|
|
108
108
|
return unless bib
|
|
109
109
|
|
|
110
|
-
bib.entries.each do |entry|
|
|
110
|
+
Array(bib.entries).each do |entry|
|
|
111
|
+
next unless entry.respond_to?(:id)
|
|
111
112
|
index.register(entry.id, entry)
|
|
112
|
-
index.register(entry.reference, entry) if entry.reference
|
|
113
|
+
index.register(entry.reference, entry) if entry.respond_to?(:reference) && entry.reference
|
|
113
114
|
end
|
|
115
|
+
rescue StandardError
|
|
116
|
+
nil
|
|
114
117
|
end
|
|
115
118
|
|
|
116
119
|
def index_images_file(index, dataset_path)
|
|
@@ -121,9 +124,12 @@ module Glossarist
|
|
|
121
124
|
)
|
|
122
125
|
return unless images
|
|
123
126
|
|
|
124
|
-
images.entries.each do |entry|
|
|
127
|
+
Array(images.entries).each do |entry|
|
|
128
|
+
next unless entry.respond_to?(:id)
|
|
125
129
|
index.register(entry.id, entry)
|
|
126
130
|
end
|
|
131
|
+
rescue StandardError
|
|
132
|
+
nil
|
|
127
133
|
end
|
|
128
134
|
|
|
129
135
|
def index_bib_from_yaml_string(index, yaml_content)
|
data/lib/glossarist/version.rb
CHANGED