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: dd345d2376c408109e0fe9ea299c680facb61e03
4
- data.tar.gz: 4b8a1fa5ff86f8ee806c99aa1c8d83cc20bf6f61
3
+ metadata.gz: 0a561a8015225d2849aa09e5ce21000346a493e0
4
+ data.tar.gz: 4499efd48369282b94137ad265509fec57658158
5
5
  SHA512:
6
- metadata.gz: 377fe092a0fae3ca047ed8b3c4766d3a4d0124d7882019f464cf6ad4e48d2b3ff4a12dfe19b76475251aa4de722bfe7cc3387157126e984cfa92fab4ebe4bea7
7
- data.tar.gz: bcdc71409a56bc0a758a27ffe0d76eaf452fc0d8ece303cb85649c308867c791ac09ee02189c415a6673a9ee053a17afb5e944fef0ca5878ce638fa0d73aba5f
6
+ metadata.gz: 03b73ea497272fae1f77f36a27f289ffcbae7ce27d55abda0165d0804ea3b6f5a2e7f40155d5f58eac4a7cd0afa3c213eeca16ff074441cf5981e183f064343b
7
+ data.tar.gz: 40960e4a899fc09f009429a2dfda69fe3b70f74f75ab4383256b3b0cd72fec00ad99e9aa8a5afa4f97fa6a4bf72558cc6af2510155d58bdd520465a2fa6e4a93
@@ -61,6 +61,6 @@
61
61
  module ADIWG
62
62
  module Mdtranslator
63
63
  # current mdtranslator version
64
- VERSION = "1.4.0.beta7"
64
+ VERSION = "1.4.0.beta8"
65
65
  end
66
66
  end
@@ -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?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdtranslator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.beta7
4
+ version: 1.4.0.beta8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith