uc3-dmp-id 0.0.79 → 0.0.80

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: da5dfe631ce55bbbbc07ef7ef3827d4c47240d3b5f11b2ce86bae6a21a36f900
4
- data.tar.gz: 4f75515de20699e2fdaa296d47e398bc81450c362f1744c9e577d4efddc8845d
3
+ metadata.gz: 49be29fe52616c95e8cb9a58221caf8ae2931a418a019f874e3c1ea311b8487a
4
+ data.tar.gz: 73643d8ac5c0058c554fb4679ace24e200dc97d12ac4a5a1d5d32725e259118d
5
5
  SHA512:
6
- metadata.gz: 136b0c2ca5323a4c6992edc5d36d5c4a721938676ab894f0e39a86b0f9d42ccaee1a54a0176e9ea4ac00e41e656ad0bb5badd1e32257c0691a200f5764f32af2
7
- data.tar.gz: 47dde129910892bbf2fbf9947bb8e5d830b4f3378003fa5cff99e9b3330aa8f88aaf90003c681dace5699c64892a81c9493b6bb765238aa9a5e59984a6bd1276
6
+ metadata.gz: 1afdda10f4f785f5b9e4b2ace0851ca431ef7e91d88d16e98901f704e00a3d286e8febe161be736cf2f3576e6d5fe2b04d1ede420231bde5bcedaf17c1775170
7
+ data.tar.gz: 630b9efacc9bfdf7f52a620f6f29cf7e4452783ef153cf2e34b1aeb590fc2a99f13bb94805ecd34dddfc4fa32c7eb3c4a4869da0e851bcd7b8b316d4fa39b844
@@ -84,7 +84,7 @@ puts new_version
84
84
  errs = Validator.validate(mode: 'author', json: json)
85
85
  return errs.join(', ') if errs.is_a?(Array) && errs.any? && errs.first != Validator::MSG_VALID_JSON
86
86
 
87
- puts "Provenance: #{provenance['PK']}, DMP_ID to PK #{Helper.dmp_id_to_pk(json: dmp_id)} == P_KEY: #{p_key}"
87
+ puts "Provenance: #{provenance['PK']}, DMP_ID to PK #{Helper.dmp_id_to_pk(json: json.fetch('dmp_id', {}))} == P_KEY: #{p_key}"
88
88
 
89
89
  # Fail if the provenance is not defined
90
90
  return [MSG_DMP_FORBIDDEN] unless provenance.is_a?(Hash) && !provenance['PK'].nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.79'
4
+ VERSION = '0.0.80'
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.79
4
+ version: 0.0.80
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley