relaton-nist 1.11.1 → 1.11.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: 6d5db99f4b5678fecd7b926c007b66149d72123c4a6aaaed113589b667c00b8c
4
- data.tar.gz: 1f82071f8e6ed586475d915a1d105b5aefba8dedb5042cfe1d0230d0a41a51fa
3
+ metadata.gz: '095a15201f14cd98e0e838767c84345b6c3963fd40a820c380e2d473d6974911'
4
+ data.tar.gz: b95ac950a2c35a3f24b788544cc66e064e24abd64e0953e791a343a5a031ac82
5
5
  SHA512:
6
- metadata.gz: 14a85ac2317285758f0fd1e18faa6ca70491a53c5dd8aa0a6c53e2d4e91a3bf8c8d8ab63a57aeb68238301bfe07c0e4a97e32ee50f85b26fb576127db309e4b1
7
- data.tar.gz: 40e515d019b42731617c8569b40d03a911e9a3c1ba19dec11afa73dec7a52c6762f97085549658c0459ae6d328be28dd4e851a7641f77622f191138666193f93
6
+ metadata.gz: 49830f72fa98e99c018694f8cface13e108cfffe4de3163870e12d02a6434006fe6d48a40480041a3d2ff1a39cded6243fb0c35f07450c2429107a56890e7cc9
7
+ data.tar.gz: 5d482c2805ee879b8728627b495a638b46604f6aecc898b0f75c2e8a114fc5d23d778e297cd59567b6da8375d7d011729fc5df3b39dc4eed9657c329679086ef
@@ -75,7 +75,9 @@ module RelatonNist
75
75
  t = doc.xpath("titles/title|titles/subtitle")
76
76
  return [] unless t.any?
77
77
 
78
- RelatonBib::TypedTitleString.from_string t.map(&:text).join, "en", "Latn"
78
+ # RelatonBib::TypedTitleString.from_string t.map(&:text).join, "en", "Latn"
79
+ [{ content: t.map(&:text).join, language: "en", script: "Latn",
80
+ format: "text/plain" }]
79
81
  end
80
82
 
81
83
  # @param doc [Nokogiri::XML::Element]
@@ -1,3 +1,3 @@
1
1
  module RelatonNist
2
- VERSION = "1.11.1".freeze
2
+ VERSION = "1.11.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-nist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-01 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml