relaton-bib 1.19.6 → 1.19.7

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: d7dc485533664cf7ec13d5d628849f0237a894da40ad65c2e2a60a71d39d584e
4
- data.tar.gz: bc31b86355b227dc3f31945bdd0a59182b3607dada3e940ce6a8756c16abbaae
3
+ metadata.gz: 4ebc6362f3e1c7be2b9f67d0d5934c52f5ccfd0f65826121e3ec711739c0a09d
4
+ data.tar.gz: 05aec1a9157b2388a81b2ffc8aebe03ad22ea0ce993319a9dd16c088dba1460c
5
5
  SHA512:
6
- metadata.gz: 6ca99b6fb66303dddea58d088a4d8a09eb0c8c0db20082371206e4e72030a04ddd7a93bd9b416d0b4fca3b284e5228e91e353976c851bd3a4e98ecd985749f0c
7
- data.tar.gz: 31b387e1dbef6e707020d11f9ca73a4148c869c15c7786c2d66d63d63217ca27802b413b9879a00b48cd127bb58a55a043e744a5047a4c29c976c6e8ca433a97
6
+ metadata.gz: 1f5edc01c516b194bbac895769575ab076d91f0e7b01114b8646182c2bb361530ccd243c9c43e52df68634783af5d69628cc1cf2f08d9def0aefc6a4fc14c2af
7
+ data.tar.gz: 1f3476a58acc6272962db01c979c870c80efa96403158ac2eec77716d776169f15d1a42d81abd1b0658c434c6b16567e720f0c020b29cab23750d424f9b666a1
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.19.6".freeze
2
+ VERSION = "1.19.7".freeze
3
3
  end
@@ -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.6
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-10-03 00:00:00.000000000 Z
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.3.27
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: []