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 +4 -4
- data/lib/uc3-dmp-id/updater.rb +4 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f16fd79bdbb0c94a57e6e59aa268d6ae8f6dc94a5431ec2bf8fc3352f34486c2
|
4
|
+
data.tar.gz: 6903af14944f71a66f9c6121786937e407294b8252ec16a2c61f81086b45e0c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a2633ef6cc7a06537be8d2f74aeeb5b1e7b6bec17049ded6ff2ad24f03d28835e3700d3f53f641582851212afa8b1c36946d1b31fd1f79dd63e6b45d27079a2
|
7
|
+
data.tar.gz: 05b05a9ab69c961c5fb77d42a4084bccd99745c1b843a40363fedbec5522d40478227bc60f49295854e8a7579f716768f20836e00d3334d831810458c8d5cbdc
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/uc3-dmp-id/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|