relaton-bib 1.20.0 → 1.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib/xml_parser.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84abc2d1bc757f744ce6235d024c77487a09acc561a9edc666216ee469545176
|
4
|
+
data.tar.gz: 53a7ff7a4e385e0f36134418f5b0f7d86c528ec5bbfe2ca4b5bba3ed9fd3f6bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86b25aae8300faeba4b4c89ffe9287fb1718866673072e1d427ff1b67a5b3f49fcd8be39d2e009ce26e0bd833c118e5011b795b87aa1d0976372023920330183
|
7
|
+
data.tar.gz: 3e59bc9d39c6f63f7e090055ec8f4760f200348a2e18e1b54da98cb36c7719e41d83d80c8c5e444ea1e96b8fa6533592c34111373ec3db71c731f560a77dd08c
|
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.20.
|
4
|
+
version: 1.20.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|