adiwg-mdtranslator 1.4.0.beta4 → 1.4.0.beta5

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: 58a5d16ef8141dcf32194249d9afbb1d29d06312
4
- data.tar.gz: dcde482a1c83a91a02d9f37362c103ab2d888315
3
+ metadata.gz: 9ba17196aff8c229217d2fdb3833a63487c9a23c
4
+ data.tar.gz: f1293feb09446c035d88d913484b93bfe0c0b3e4
5
5
  SHA512:
6
- metadata.gz: 4acdba7e9612ea93fd2db5d509fd57ce984946ec43c96bc686687a342c16b0522c11eb27fe52cccc869f6e16ff641b1312b7d4447dbbc421f9daa8bf4a97bee9
7
- data.tar.gz: dc263654dc2b42635616c7eaf72cfaea45abb0c69612326275ea85415590f7228a5b68813cb52525a9da82e0598ed088ef2c371fff5fd1cc4d9dc08f9f278d04
6
+ metadata.gz: 287a5ce6c2deb0dcb23e7fa5245d38117264a07b8d96a4955dd96884a18df6664e5369a71cf4e8e1fdbe3340c20bd76f79dab9343bd656599dddf9ac73818acc
7
+ data.tar.gz: f3d1240d864b30151760b636ca00c00721aae70e386a5cc36e74de705f0266aacaeb0155115a00dde0eea5aca72f731184189027a6299370c156d2c326958a1c
@@ -61,6 +61,6 @@
61
61
  module ADIWG
62
62
  module Mdtranslator
63
63
  # current mdtranslator version
64
- VERSION = "1.4.0.beta4"
64
+ VERSION = "1.4.0.beta5"
65
65
  end
66
66
  end
@@ -12,7 +12,7 @@ module ADIWG
12
12
  else
13
13
  type = intObj[:indName].nil? ? 'organization' : 'person'
14
14
  json.name intObj[:indName] || intObj[:orgName]
15
- json.type type
15
+ json.contactType type
16
16
  json.email intObj[:address][:eMailList][0] unless intObj[:address].empty?
17
17
  json.organization type == 'person' ? intObj[:orgName] : nil
18
18
  json.primaryLocation do
@@ -11,7 +11,8 @@ module ADIWG
11
11
  json.scheme intObj[:identifierNamespace] ||
12
12
  unless intObj[:identifierCitation].empty?
13
13
  intObj[:identifierCitation][:citOlResources][0][:olResURI] unless intObj[:identifierCitation][:citOlResources].empty?
14
- end
14
+ end ||
15
+ 'https://www.sciencebase.gov/vocab/category/item/identifier'
15
16
  json.key intObj[:identifier]
16
17
  end
17
18
  end
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.beta4
4
+ version: 1.4.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-17 00:00:00.000000000 Z
12
+ date: 2016-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler