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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 999dde6e3d1bb1df421041946e460c0bbea4032b69833aa8215912f972af65fb
4
- data.tar.gz: de8d307b656e2ecbbac2ef6b50d49eb7d053cae4d84b71838d4d9bc50023f478
3
+ metadata.gz: 4ebc6362f3e1c7be2b9f67d0d5934c52f5ccfd0f65826121e3ec711739c0a09d
4
+ data.tar.gz: 05aec1a9157b2388a81b2ffc8aebe03ad22ea0ce993319a9dd16c088dba1460c
5
5
  SHA512:
6
- metadata.gz: 37fda9565921654b8d3a939b77aa3e6e9ef9884ed763504993468c7cb8fac7f07c063c20676114baae892b2720cf37dec277c6f920aab088bbd94198273d2926
7
- data.tar.gz: 38cc5aa0b08a19c8e6d7ef93e82c8b95be9e604afb8dcfae3a437bd310c6fcd73c8b1096456d5b64f812d4fc0dc5c85b57fdc196bae4eb3dec4431b62605cf77
6
+ metadata.gz: 1f5edc01c516b194bbac895769575ab076d91f0e7b01114b8646182c2bb361530ccd243c9c43e52df68634783af5d69628cc1cf2f08d9def0aefc6a4fc14c2af
7
+ data.tar.gz: 1f3476a58acc6272962db01c979c870c80efa96403158ac2eec77716d776169f15d1a42d81abd1b0658c434c6b16567e720f0c020b29cab23750d424f9b666a1
@@ -29,6 +29,7 @@
29
29
  "relaton-model-oasis": "v1.0.1",
30
30
  "relaton-model-jis": "v0.0.1",
31
31
  "relaton-model-etsi": "v0.0.3",
32
+ "relaton-model-plateau": "v0.0.1",
32
33
  "metanorma-model": "v1.3.0",
33
34
  "date": "2024-02-21T18:15:14Z"
34
35
  }
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.19.5".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.5
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-09-11 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: []