uc3-dmp-id 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a19e06c1847aca651e60a3968ee5ca16e1bd28b786fb1ce758698808407d951d
4
- data.tar.gz: 9a8f3b12509d421659326df356a3f91e0b8453e5ba3dcf6ba2b85c8a1b9e3570
3
+ metadata.gz: 91c01361a882520a281db0da8aa029bcb480b4873b684a4a526f2542abda9ea0
4
+ data.tar.gz: b9ca235a0c706469b4568e74a6ecbec2b39e0b44f9298d781ea11a2dd9cde749
5
5
  SHA512:
6
- metadata.gz: 261e671e435e3231ed03d66642b5915fe917d5580ad5106c720f40b3c9f7b1f508ca693198291cb404a208724f706c36d20a4a325850e1af8e7f367c42f88dc8
7
- data.tar.gz: e6b151bbc3da3a5fe7bbe399164a6482313db66d9b2aa44af246ca48cf1021739bdab9aca4e4fd51f42ed53a89e26e75ab29e5cd6afd5d301b39effbfed35c89
6
+ metadata.gz: d4a5092b448ce3f1a1ad71ed53c5d81304780732a5766d35a2875d0ed244d07b660d25f156a8facd1c9a794d89e59f17915bf640692ba1266556892245b5cab9
7
+ data.tar.gz: 4e3d0e476d2479f075abd8bc0cb45028766a766e60a1fae4441a1ef68c451e58757c5cd33c4b3033ccce5784c23112b1f9cb9782b49fd17c8dd2b80f538a4d24
@@ -206,6 +206,7 @@ module Uc3DmpId
206
206
  annotated['dmphub_modification_day'] = Time.now.utc.strftime('%Y-%m-%d')
207
207
  annotated['dmphub_owner_id'] = owner_id unless owner_id.nil?
208
208
  annotated['dmphub_owner_org'] = owner_org unless owner_org.nil?
209
+ annotated['registered'] = annotated['modified'] if annotated['registered'].nil?
209
210
  return annotated unless json['dmphub_provenance_id'].nil?
210
211
 
211
212
  annotated['dmphub_provenance_id'] = provenance.fetch('PK', '')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.23'
4
+ VERSION = '0.1.24'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json