relaton-bib 1.20.1 → 1.20.2

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: 84abc2d1bc757f744ce6235d024c77487a09acc561a9edc666216ee469545176
4
- data.tar.gz: 53a7ff7a4e385e0f36134418f5b0f7d86c528ec5bbfe2ca4b5bba3ed9fd3f6bc
3
+ metadata.gz: d008489d2b2c5f5791a2642c4189fac2da66c5415fc944fd869edd082d772d45
4
+ data.tar.gz: dbf448203c3a4d1fd9fb1f003ef7b77acdd60fd5c9d5d11471c314ca2537fbf6
5
5
  SHA512:
6
- metadata.gz: 86b25aae8300faeba4b4c89ffe9287fb1718866673072e1d427ff1b67a5b3f49fcd8be39d2e009ce26e0bd833c118e5011b795b87aa1d0976372023920330183
7
- data.tar.gz: 3e59bc9d39c6f63f7e090055ec8f4760f200348a2e18e1b54da98cb36c7719e41d83d80c8c5e444ea1e96b8fa6533592c34111373ec3db71c731f560a77dd08c
6
+ metadata.gz: 792a54760ab8a07fdab4359fbb51d8a0f52301308899f9635c4399550bd3c5ba3630c093d64e42263c984102b9909046a0c59ab7ecc6646f89aed2d7f76b3bab
7
+ data.tar.gz: aace1e082e434d56696a69cb552fad5ca024fcf05796aaccf2303f97123affb8937c2ada0f2355f00901e9def49e364e513fe05d28327bc41ea023d62dd2c45a
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.20.1".freeze
2
+ VERSION = "1.20.2".freeze
3
3
  end
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.1
4
+ version: 1.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.