relaton-bib 1.20.1 → 1.20.3
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/lib/relaton_bib/bibliographic_item.rb +1 -1
- 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: b659bd91a0a95b6cd7d489c5f79df6470555283b6af8ccc1609292487c07ce71
|
4
|
+
data.tar.gz: 68a76c3a7957c0401d4827445481ad126b9d9489ac8c9bb9abf742ca5d7fa687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13ded198401c5a1df93b2d2d8bbd16319330369f1e4ff565e054525fde78568b0111a494ac74aa09e2be2d4989ed9bbbf49bb30e36a81f87c165edbb6d0f3a20
|
7
|
+
data.tar.gz: 8bba3d688b2404fdda799df8485b64c032e1e838d0ec89d235ff54e0992c21ffea5c95b40e155af7de9c2c1204177efac4d76c3ed6417fa36e694cc29bb69cf2
|
@@ -41,7 +41,7 @@ module RelatonBib
|
|
41
41
|
audiovisual film video broadcast software graphic_work music
|
42
42
|
patent inbook incollection inproceedings journal website
|
43
43
|
webresource dataset archival social_media alert message
|
44
|
-
conversation misc internal].freeze
|
44
|
+
conversation collection misc internal].freeze # internal is defined in isodoc grammar
|
45
45
|
|
46
46
|
# @return [Boolean, nil]
|
47
47
|
attr_accessor :all_parts
|
data/lib/relaton_bib/version.rb
CHANGED
@@ -313,7 +313,7 @@ module RelatonBib
|
|
313
313
|
return unless title
|
314
314
|
|
315
315
|
content = variants(title)
|
316
|
-
content = title.text unless content.any?
|
316
|
+
content = title.children.map { |n| n.text? ? n.content : n.to_xml }.join unless content.any?
|
317
317
|
TypedTitleString.new(
|
318
318
|
type: title[:type], content: content, language: title[:language],
|
319
319
|
script: title[:script], format: title[:format]
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|