relaton-render 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton/render/parse/parse_contributors.rb +4 -1
- data/lib/relaton/render/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0caceaa89011341d8945f3de32ad2dc24c64d9347393beb3674d19b717c783a
|
4
|
+
data.tar.gz: 23420990ccd5fc677b1f3a8c5e80b9bfc833d5e7b0aab2989950921ec510e00c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86fbfab3364784b1901ea84d41ff973516809c86e1ad7dc5b9521dc13ca9f032be61b884b1984f063ce09e6ceff6c709e686945cc4c43ce086896f8be4ed2732
|
7
|
+
data.tar.gz: 5a2dc0337980186fd624c5c227ed1a46573d478a669ee36487e23da4aeb372764d16325884d29fac3a25788d30d02551ad956c02f693f1efd6b041da43a0b603
|
@@ -115,7 +115,10 @@ module Relaton
|
|
115
115
|
x = pick_contributor(doc, "publisher")
|
116
116
|
host and x ||= pick_contributor(host, "publisher")
|
117
117
|
x.nil? and return nil
|
118
|
-
x.map
|
118
|
+
x.map do |c|
|
119
|
+
c.entity.abbreviation&.content ||
|
120
|
+
c.entity.name.first&.content
|
121
|
+
end
|
119
122
|
end
|
120
123
|
|
121
124
|
def distributor(doc, host)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-render
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
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-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
238
|
requirements: []
|
239
|
-
rubygems_version: 3.3.
|
239
|
+
rubygems_version: 3.3.7
|
240
240
|
signing_key:
|
241
241
|
specification_version: 4
|
242
242
|
summary: Rendering of ISO 690 XML
|