relaton-bib 1.19.5 → 1.19.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/versions.json +1 -0
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib/xml_parser.rb +1 -1
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ebc6362f3e1c7be2b9f67d0d5934c52f5ccfd0f65826121e3ec711739c0a09d
|
4
|
+
data.tar.gz: 05aec1a9157b2388a81b2ffc8aebe03ad22ea0ce993319a9dd16c088dba1460c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f5edc01c516b194bbac895769575ab076d91f0e7b01114b8646182c2bb361530ccd243c9c43e52df68634783af5d69628cc1cf2f08d9def0aefc6a4fc14c2af
|
7
|
+
data.tar.gz: 1f3476a58acc6272962db01c979c870c80efa96403158ac2eec77716d776169f15d1a42d81abd1b0658c434c6b16567e720f0c020b29cab23750d424f9b666a1
|
data/grammars/versions.json
CHANGED
data/lib/relaton_bib/version.rb
CHANGED
@@ -290,7 +290,7 @@ module RelatonBib
|
|
290
290
|
def fetch_docid(item)
|
291
291
|
item.xpath("./docidentifier").map do |id|
|
292
292
|
args = id.to_h.transform_keys(&:to_sym)
|
293
|
-
args[:id] = id.text
|
293
|
+
args[:id] = id.children.map { |n| n.text? ? n.content : n.to_xml }.join
|
294
294
|
args[:primary] = id[:primary] == "true" ? true : nil
|
295
295
|
create_docid(**args)
|
296
296
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.19.
|
4
|
+
version: 1.19.7
|
5
5
|
platform: ruby
|
6
|
+
original_platform: ''
|
6
7
|
authors:
|
7
8
|
- Ribose Inc.
|
8
|
-
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -176,7 +176,6 @@ homepage: https://github.com/relaton/relaton-bib
|
|
176
176
|
licenses:
|
177
177
|
- BSD-2-Clause
|
178
178
|
metadata: {}
|
179
|
-
post_install_message:
|
180
179
|
rdoc_options: []
|
181
180
|
require_paths:
|
182
181
|
- lib
|
@@ -191,8 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
190
|
- !ruby/object:Gem::Version
|
192
191
|
version: '0'
|
193
192
|
requirements: []
|
194
|
-
rubygems_version: 3.
|
195
|
-
signing_key:
|
193
|
+
rubygems_version: 3.6.0
|
196
194
|
specification_version: 4
|
197
195
|
summary: 'RelatonBib: Ruby XMLDOC impementation.'
|
198
196
|
test_files: []
|