uc3-dmp-id 0.0.27 → 0.0.28
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/version.rb +1 -1
- data/lib/uc3-dmp-id/versioner.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: 6b769d6cf555dcc4cc7beac7763ffe726c7a11e55ecbf747b0f2cba16b17be27
|
4
|
+
data.tar.gz: b59f0aeb0f3eaa211c233c781733bf4475b0e1a6199e5b282c5f147d24e797f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96950e3f812891cff1afd9357ffd8e7da08f416a7d0e1782735aeacfc1ecb6cda0fc579aaff53004398817a51107697cf1e7c4ec9ef0977e1fbd3f0b869c417e
|
7
|
+
data.tar.gz: 056eee04ff170208a91057d59da6b0740eaa67dc511d4872555d9543fddfeb941bca907b096abe5b625fae114982468ca8bd64bb5b3e317760d781f5fbea3fba
|
data/lib/uc3-dmp-id/version.rb
CHANGED
data/lib/uc3-dmp-id/versioner.rb
CHANGED
@@ -29,7 +29,7 @@ module Uc3DmpId
|
|
29
29
|
# - Saving the new `VERSION=yyyy-mm-ddThh:mm:ss+zz:zz` item
|
30
30
|
# - Splicing in the current changes onto the existing `VERSION#latest` item
|
31
31
|
# - Returning the spliced `VERSION#latest` back to this method
|
32
|
-
def new_version(
|
32
|
+
def new_version(provenance:, p_key:, client: nil, dmp:, latest_version: {})
|
33
33
|
return nil unless p_key.is_a?(String) && !p_key.strip.empty? && _versionable?(dmp: dmp)
|
34
34
|
|
35
35
|
client = Uc3DmpDynamo::Client.new(debug: debug) if client.nil?
|