uc3-dmp-id 0.1.31 → 0.1.32
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/creator.rb +3 -0
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c916c27dc8eac1cb0ef5b40a5d3fc4e4e07ce34f1bb599f208e919442d6c7f2b
|
4
|
+
data.tar.gz: 7803e305538f4cce36ca021125ae1161cd201d8db4dd25cf8fe026ae28a53011
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2738c8c874bd31cef0c6726de4cafb6378c8e1aa374223a478dcfdd42be0a28d1a929e04ec797d5cfe14748bb2a07eb1a1da723b7164b2ec0e12c6942922065a
|
7
|
+
data.tar.gz: 34e267e65d8db9b497a9673f355a97a21ad92820f6d8e1a98c9102017d8abce21695904bf7a8547568e0b5577364af3f86cc52c7c59ea4d37bfa528c0494d720
|
data/lib/uc3-dmp-id/creator.rb
CHANGED
@@ -49,6 +49,9 @@ module Uc3DmpId
|
|
49
49
|
annotated['created'] = now unless seeding
|
50
50
|
annotated['modified'] = now unless seeding
|
51
51
|
|
52
|
+
# Make sure we set the registration date. This will change in the new system
|
53
|
+
annotated['registered'] = annotated['created'] if annotated['registered'].nil?
|
54
|
+
|
52
55
|
# Create the item
|
53
56
|
resp = client.put_item(json: annotated, logger:)
|
54
57
|
raise CreatorError, Helper::MSG_DMP_NO_DMP_ID if resp.nil?
|
data/lib/uc3-dmp-id/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.32
|
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-
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|