uc3-dmp-id 0.0.56 → 0.0.57

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: f1aafa930278b99e50df087691c0bacc305af75bf449b67e64e82e8031e2711d
4
- data.tar.gz: 8f81d11cf31acb8afcea0adb1171b03f8c39f88cb1471125dc34c95f8faedd92
3
+ metadata.gz: 11de25d7e0745bdf275b6376dcffa9a5d77edff86e50c8e518d70019b403ee91
4
+ data.tar.gz: d571d63e40edb7941f3d3e4eef76476ce2dd6dae62f600de8ca1e0ed15d7f5b6
5
5
  SHA512:
6
- metadata.gz: 2145330c697fdc2c9d3ebbd52a9cf4130725c9e9e1a9bab724758198b90e6f9f5c897442c1244d26848fa118269665891aefbc3f696a89a919eb9fcd629b100f
7
- data.tar.gz: d7ba392936d2ab33b810455c4bb1ba530b346e1b618f22d311ec75eb0ab471b038def5ca0fe171d2f28950bab8327d176fd56bcd3e03e2265e3863e89cdbc0a3
6
+ metadata.gz: 1d94e13789f31d6681b40028137001d8747627369728c57faa6b14d155ce0187ffe630f4184ef9ab98ad39f568485045cd53cd9e811cfc90bef89df68c56b454
7
+ data.tar.gz: 7cb53f7d0e216940652f030f0f615409ddada0492c87eb4ffea793162a68876e04d2a5913b2036aa85e7d5c03e975478905797d5aa49c9cdb0db60b76eadca46
@@ -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, json: dmp)
52
+ puts "Found DMP:"
53
+ puts dmp
54
+
55
+ errs = _updateable?(provenance: provenance, p_key: p_key, json: dmp['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.56'
4
+ VERSION = '0.0.57'
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.56
4
+ version: 0.0.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley