uc3-dmp-id 0.0.70 → 0.0.71
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/finder.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: 99921e6917f8a405ae38995e797bb69bf05499813ff9b07271ded5657285f94d
|
4
|
+
data.tar.gz: 17637fbbebb9632878be57ef1b1d53ca6e77cad7dc1505c68bf7626eb47734dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c0b78403c2fcd65a18fce747a91fe3222d1adb895a94f0f2dde1c7957eed7c024a0b3b0ca9170c57a594aded1a1fa56fab1ea43b9f470da7407768bfac0b0e6
|
7
|
+
data.tar.gz: a7f28875760efb596897e48a17bfe16abef184282fa279bf03e885dfee2bd159fd4bd3c92f95b282d964897189c4ee1b00af5d18ae1e328a2cdcc49cd713ec19
|
data/lib/uc3-dmp-id/finder.rb
CHANGED
@@ -37,7 +37,7 @@ module Uc3DmpId
|
|
37
37
|
# return by_provenance_identifier(json: json, client: client, debug: debug) if p_key.nil?
|
38
38
|
|
39
39
|
# find_by_PK
|
40
|
-
by_pk(p_key: p_key, s_key: json['SK'], client: client, debug: debug)
|
40
|
+
p_key.nil? ? nil : by_pk(p_key: p_key, s_key: json['SK'], client: client, debug: debug)
|
41
41
|
end
|
42
42
|
|
43
43
|
# Find the DMP by its PK and SK
|
data/lib/uc3-dmp-id/version.rb
CHANGED