uc3-dmp-id 0.0.116 → 0.0.117
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/helper.rb +1 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ccf6b10cf1c9f0db9b4c5f381c593133ac600d546d513a372f3f8c06c2bbce9
|
4
|
+
data.tar.gz: e1f232093d7572b753361b6d39b508178378761128a59ae8785f9f77ed47056e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9906ad125e407b89ee9528e9efe3be6e6af6cf2dedb5d5afe77bbad56570f98e8c3c7bd08ec5a9213fe3a1145fa79b52d6a37301a833efa802d7db84d63b8fbf
|
7
|
+
data.tar.gz: 02f32dd2f0b51a900275fd5719b9247dd0b42c0af2f6e5aef35baa37e788529b13651b3b42c300d1ecbc77ba742fb5cd9868c4f520b449813a4a4798b6ac5927
|
data/lib/uc3-dmp-id/helper.rb
CHANGED
@@ -187,7 +187,7 @@ module Uc3DmpId
|
|
187
187
|
annotated['dmphub_modification_day'] = Time.now.strftime('%Y-%m-%d')
|
188
188
|
annotated['dmphub_owner_id'] = owner_id unless owner_id.nil?
|
189
189
|
annotated['dmphub_owner_org'] = owner_org unless owner_org.nil?
|
190
|
-
annotated['dmphub_updated_at'] = Time.now.iso8601
|
190
|
+
annotated['dmphub_updated_at'] = Time.now.iso8601 if annotated['dmphub_updated_at'].nil?
|
191
191
|
# Only add the Creation date if it is blank
|
192
192
|
annotated['dmphub_created_at'] = Time.now.iso8601 if json['dmphub_created_at'].nil?
|
193
193
|
return annotated unless json['dmphub_provenance_id'].nil?
|
data/lib/uc3-dmp-id/version.rb
CHANGED