adiwg-mdtranslator 1.4.0.beta7 → 1.4.0.beta8
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a561a8015225d2849aa09e5ce21000346a493e0
|
4
|
+
data.tar.gz: 4499efd48369282b94137ad265509fec57658158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03b73ea497272fae1f77f36a27f289ffcbae7ce27d55abda0165d0804ea3b6f5a2e7f40155d5f58eac4a7cd0afa3c213eeca16ff074441cf5981e183f064343b
|
7
|
+
data.tar.gz: 40960e4a899fc09f009429a2dfda69fe3b70f74f75ab4383256b3b0cd72fec00ad99e9aa8a5afa4f97fa6a4bf72558cc6af2510155d58bdd520465a2fa6e4a93
|
@@ -30,7 +30,8 @@ module ADIWG
|
|
30
30
|
parentId = mInfo[:parentMetadata][:citResourceIds].find {
|
31
31
|
|i| i[:identifierType] == 'scienceBase'
|
32
32
|
} unless mInfo[:parentMetadata].nil? || mInfo[:parentMetadata][:citResourceIds].nil?
|
33
|
-
json.parentId parentId[:identifier]
|
33
|
+
json.parentId parentId.nil? ? '' : parentId[:identifier]
|
34
|
+
|
34
35
|
json.identifiers json_map(ids, Identifier)
|
35
36
|
json.title cite[:citTitle]
|
36
37
|
json.alternateTitles([cite[:citAltTitle]]) unless cite[:citAltTitle].nil?
|