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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 628b2fb84344d551dd9757e91881ff1f1520f2f1c07516d746de801373558346
4
- data.tar.gz: 7bc1288dcd9b5094a7f76d17c2d0f522083932f738ab1761890e7039cf57513d
3
+ metadata.gz: 620f1b04b1e3a46e4770e446392494bace0685a3434b11c92c4135915b4d1f3e
4
+ data.tar.gz: 571407a0bd4d89652613fefa43c9a4797a6cfa30f395ff0b0f21eacfa615843a
5
5
  SHA512:
6
- metadata.gz: 610e5de928292f96d236b28191bc57a13f6b4b744e08004c70ca4e5938130b79b041802e85f96e6f4484cb67e926632557651a5f46e1e7060c5bc462546480f5
7
- data.tar.gz: '063822342f7c074e63b4e9919821b3500154fb60df9305427c79a6422acb3202afc404880242e5ca704fc662b869c31f8d5b506fe88119e6551b193fcdadc69f'
6
+ metadata.gz: 41ffd93cf6347a1ba693fa26ab6163d237b224f313d911c5f6e001215bd1cae9cb939c66b4f0f3e28755faf442a974c19670ed1e54cab583e8529bf81271b789
7
+ data.tar.gz: fd812869932e7d98c30223b65ea3c154de666907411dd0213f5694a9e700980693eed928e4f733b425c062e61647582685cf101446c88f6f65efe755490e2743
@@ -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']],
@@ -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: 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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.37'
4
+ VERSION = '0.0.39'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley