uc3-dmp-id 0.0.52 → 0.0.54

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: 3259fcdd4e0878c48793799628f8b99386301581352b694469b311cf72d1e553
4
- data.tar.gz: d43a114272138af758e54fbb113398fef23d4fe6b2fff8a28b89fc7cd973a367
3
+ metadata.gz: f16fd79bdbb0c94a57e6e59aa268d6ae8f6dc94a5431ec2bf8fc3352f34486c2
4
+ data.tar.gz: 6903af14944f71a66f9c6121786937e407294b8252ec16a2c61f81086b45e0c5
5
5
  SHA512:
6
- metadata.gz: f539afeb4ddc714a737649b68bfa55e7b2c5b7c49afcb64c7d42a7c1281d59b68523ba7f1188da94026c4cd4b69a75df63f1ef86dc4e7c11523cf48e5e77e9ae
7
- data.tar.gz: ec959594a81a6b63ccb2f08676c5cd7bfda4de7baefad0acc80020a2f13d4a5198d3f72b8244d608aaa65d88eed52246c369c1337f21fe3e6a4a0bc4a587f065
6
+ metadata.gz: 1a2633ef6cc7a06537be8d2f74aeeb5b1e7b6bec17049ded6ff2ad24f03d28835e3700d3f53f641582851212afa8b1c36946d1b31fd1f79dd63e6b45d27079a2
7
+ data.tar.gz: 05b05a9ab69c961c5fb77d42a4084bccd99745c1b843a40363fedbec5522d40478227bc60f49295854e8a7579f716768f20836e00d3334d831810458c8d5cbdc
@@ -49,7 +49,10 @@ module Uc3DmpId
49
49
  # Don't continue if nothing has changed!
50
50
  raise UpdaterError, MSG_DMP_NOT_FOUND if dmp.nil?
51
51
 
52
- errs = _updateable?(provenance: provenance, p_key: p_key, dmp: dmp)
52
+ puts "attach_narrative: dmp: #{dmp.class.name}, p_key: #{p_key}, prov: #{provenance['PK']}"
53
+ puts dmp
54
+
55
+ errs = _updateable?(provenance: provenance, p_key: p_key, json: dmp)
53
56
  raise UpdaterError, errs if errs.is_a?(Array) && errs.any?
54
57
 
55
58
  # Add the DMPHub specific attributes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.52'
4
+ VERSION = '0.0.54'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52
4
+ version: 0.0.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-27 00:00:00.000000000 Z
11
+ date: 2023-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json