relaton-bib 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/relaton_bib/contributor.rb +4 -2
- data/lib/relaton_bib/hash_to_bib.rb +1 -1
- data/lib/relaton_bib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6f04fbf9d97bcbdf157f86fcaa56df0898826220df4458dfe19021f45fbf2f49
|
4
|
+
data.tar.gz: 3f9430241262b2ce35db7bba082f3ff0657b4ac5144deb6a2885a507013176c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b3cae293ee147603f2ac2886e29838697b96a95faa9c1ca2e1169d631e165727067f33deedf2dd457c7c01080fe86f373a0af211172ed137a81bcb49e4df03
|
7
|
+
data.tar.gz: 4f0acb9683c481e7196551edc1336e1fb1d0caf2e5638447fc460e31a1fde2232f06f4374b6a0dcaf0c5cacf5adf59d07d30299d3d7d0d40705807c36716a2f9
|
@@ -8,9 +8,11 @@ module RelatonBib
|
|
8
8
|
return [] unless c[:affiliation]
|
9
9
|
array(c[:affiliation]).map do |a|
|
10
10
|
a[:description] = array(a[:description])&.map do |d|
|
11
|
-
FormattedString.new(
|
11
|
+
FormattedString.new(
|
12
|
+
d.is_a?(Hash) ?
|
12
13
|
{ content: d[:content], language: d[:language],
|
13
|
-
|
14
|
+
script: d[:script], format: d[:format] } :
|
15
|
+
{ content: d })
|
14
16
|
end
|
15
17
|
Affilation.new(
|
16
18
|
Organization.new(org_hash_to_bib(a[:organization])), a[:description])
|
data/lib/relaton_bib/version.rb
CHANGED
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: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.6
|
222
|
+
rubygems_version: 2.7.6
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: 'RelatonBib: Ruby XMLDOC impementation.'
|