uc3-dmp-id 0.0.37 → 0.0.39
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 -0
- data/lib/uc3-dmp-id/updater.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: 620f1b04b1e3a46e4770e446392494bace0685a3434b11c92c4135915b4d1f3e
|
4
|
+
data.tar.gz: 571407a0bd4d89652613fefa43c9a4797a6cfa30f395ff0b0f21eacfa615843a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41ffd93cf6347a1ba693fa26ab6163d237b224f313d911c5f6e001215bd1cae9cb939c66b4f0f3e28755faf442a974c19670ed1e54cab583e8529bf81271b789
|
7
|
+
data.tar.gz: fd812869932e7d98c30223b65ea3c154de666907411dd0213f5694a9e700980693eed928e4f733b425c062e61647582685cf101446c88f6f65efe755490e2743
|
data/lib/uc3-dmp-id/finder.rb
CHANGED
@@ -83,6 +83,7 @@ module Uc3DmpId
|
|
83
83
|
raise FinderError, MSG_MISSING_PROV_ID if json.nil? || json.fetch('dmp_id', {})['identifier'].nil?
|
84
84
|
|
85
85
|
args = {
|
86
|
+
index_name: 'dmphub_provenance_identifier_gsi',
|
86
87
|
key_conditions: {
|
87
88
|
dmphub_provenance_identifier: {
|
88
89
|
attribute_value_list: [json['dmp_id']['identifier']],
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -60,7 +60,7 @@ module Uc3DmpId
|
|
60
60
|
|
61
61
|
# Once the DMP has been updated, we need to register it's DMP ID and download any PDF if applicable
|
62
62
|
# -------------------------------------------------------------------------
|
63
|
-
def _post_process(json:, debug:
|
63
|
+
def _post_process(json:, debug: false)
|
64
64
|
return false unless json.is_a?(Hash)
|
65
65
|
|
66
66
|
# Indicate whether or not the updater is the provenance system
|
data/lib/uc3-dmp-id/version.rb
CHANGED