uc3-dmp-id 0.1.45 → 0.1.46

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: 9d7dcde4fbbe78fd142a19c4479d9859971705a28382c6c713ac2bdb86909878
4
- data.tar.gz: '009db949440c54efb31aebcc526aa8bed4b488e60d61c5725fdb7e2e8dc0df92'
3
+ metadata.gz: '0797fef8b7ad115c55bcb7d094cde92501a7dbae0be7aee717e8667de6dafbda'
4
+ data.tar.gz: 477a4dff24dbbc996e46839cfef1bcebaf939107bff88f7dc81a2ec07bcded24
5
5
  SHA512:
6
- metadata.gz: 5dd3fb63bb152a9bd1b2213bf3d1cf3c4541998df05f494882585ab0b0ba3f3c2cd3ff83fb80d2f7f5bb13c83321ab8e72fda58c132d60b3d26910805b526aa4
7
- data.tar.gz: 4c5b37240d88c4fab00f11b03a3af14d6e8e8faf5eafd6edee2151f0d04d1ff6060689bf483eeb06392d676207f4d1b43ad41b8aff30cb1453e346a34ec8ebac
6
+ metadata.gz: 25c7c648411b5c060885e1a5675c8ee5d9f31f6d62c36bf253f34db140259c9f3e0f50b36232805bd34fee21feec10aa6cc21ed474f4b689ef5cde597ea7416c
7
+ data.tar.gz: a333bc778904f1658e7863d32b9239b01e647a4db8fb8a7c8251f8525515a463b6df5e38c4d37ca56912ec681edf5c1802428d85770fec7bb0dcfc3673892ac9
@@ -92,7 +92,7 @@ module Uc3DmpId
92
92
  dmp = resp['dmp'].nil? ? resp : resp['dmp']
93
93
  logger.info(message: 'Existing latest record', details: dmp) if logger.respond_to?(:debug)
94
94
  raise UpdaterError, Helper::MSG_DMP_FORBIDDEN unless provenance.is_a?(Hash) && !provenance['PK'].nil? &&
95
- provenance['PK'] == dmp['dmp']['dmphub_provenance_id']
95
+ provenance['PK'] == dmp['dmphub_provenance_id']
96
96
 
97
97
  logger&.debug(message: "DMP Prior to narrative attachment", details: dmp)
98
98
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.45'
4
+ VERSION = '0.1.46'
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.1.45
4
+ version: 0.1.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley