adiwg-mdtranslator 1.4.0.beta10 → 1.4.0.beta11

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: 5b54644388b60c03948091762248392f7d20fe79
4
- data.tar.gz: 644183bd971260c3f01c3e198370812926c16208
3
+ metadata.gz: 691860324975f9aaa2aa9ba8a6db68cc9131a1f0
4
+ data.tar.gz: 0d93a0f30b01bb3119291053f29ecfeb68557e9d
5
5
  SHA512:
6
- metadata.gz: 350ce95bed1422f34287834e1bfbc916c7579ba3eb42865a5a5435cae13b9e6e1f724923631d2ccb4cba362adfafd506929c95a1edafcf2e9cdea20fbdb2d9b3
7
- data.tar.gz: 625d62c0814cb681e22b8b5d10601f4a2c4f65a99dde2a1a7fd7248c3424b19aaa9836ad21d77d32f2bc36de994b7a0894eee7fdfe4d1b1016a7f0ae337cd956
6
+ metadata.gz: 977f19681d1405f235f6502119808942cebcc368d0b7431a9bf429c1945066cce43d815387aaa63eefa5dd3b038fef39e64136d3f45f74e59b0fe931778c4349
7
+ data.tar.gz: 718412b6341ad3634ef9926880e3645c0d3b5709a23d45e106941e05d3d39265438feb0ee662f7f62b42c494634b2fffbfdd166845688cf05d43feb1abcab832
@@ -49,6 +49,13 @@ module ADIWG
49
49
  pParty[:contactId] = 'SB'
50
50
  pParty[:roleName] = 'originator'
51
51
  hParent[:citResponsibleParty] << pParty
52
+ intOLRes = intMetadataClass.newOnlineResource
53
+ intOLRes[:olResURI] = 'https://www.sciencebase.gov/catalog/item/' + hParentId
54
+ intOLRes[:olResProtocol] = 'http'
55
+ intOLRes[:olResName] = 'Parent Resource Link'
56
+ intOLRes[:olResDesc] = 'ScienceBase URL of resource'
57
+ intOLRes[:olResFunction] = 'information'
58
+ hParent[:citOlResources] << intOLRes
52
59
 
53
60
  intMetadataInfo[:parentMetadata] = hParent unless hParent.empty?
54
61
  end
@@ -61,6 +61,6 @@
61
61
  module ADIWG
62
62
  module Mdtranslator
63
63
  # current mdtranslator version
64
- VERSION = "1.4.0.beta10"
64
+ VERSION = "1.4.0.beta11"
65
65
  end
66
66
  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.beta10
4
+ version: 1.4.0.beta11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith