uc3-dmp-id 0.0.13 → 0.0.14

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: 7305cd9930a1eb2f2feb56fa439ef8ebfc95ce5550184f81801989b570b9e56e
4
- data.tar.gz: dafe80d52cb7ef18b1dc63c15708955eb8abb608bace639d29df2cbcd96e0aaf
3
+ metadata.gz: db1f76572c527c11eaf8e14afa51c095eab796c53c631d6fe1b78bca2c5f3395
4
+ data.tar.gz: 671c4b0a629837069b23286876b2cd871caab2f9df1bc011b91e68f68bf45bff
5
5
  SHA512:
6
- metadata.gz: 2b14d04b52398da535ef787b15e5f883f9fdf93a6adb1adf34c5e82c459f13c40f481fb214bb17f770502e06a8fe67e3a6692359a2a8e96a5a6918dcd2e134c3
7
- data.tar.gz: 3c9eded9447bc3fd9a4b3f2168bc289d812b5b1613a86e4e407ba83ad402be23ca4fd01d113373e93f23c951d1d96d36d6b75863cbad14be27c47376cc9f2ebc
6
+ metadata.gz: 76c00b9f95b7b5fefac06ba75696e6b5fc6b1ddb244093888b08899b79d2df98996a70c7c3026bcebcc3bf91030fced1172587dc1494419dad101cd30e1a87bf
7
+ data.tar.gz: 4664882d1dbf1ef2ba593b8ca4858829b4c05e767bb94e107a7db6b24370ca6739983b53b66eef56909bb7f713fdaeba05f8d71217ae181ad87ef43824d6d64d
@@ -77,9 +77,9 @@ puts "FETCHED:"
77
77
  puts resp
78
78
 
79
79
  dmp = resp['dmp'].nil? ? JSON.parse({ dmp: resp }.to_json) : resp
80
- return nil if resp['dmp']['PK'].nil?
80
+ return nil if dmp['dmp']['PK'].nil?
81
81
 
82
- _append_versions(p_key: resp['dmp']['PK'], dmp: dmp, client: client, debug: debug)
82
+ _append_versions(p_key: dmp['dmp']['PK'], dmp: dmp, client: client, debug: debug)
83
83
  end
84
84
 
85
85
  # Attempt to find the DMP item by the provenance system's identifier
@@ -103,7 +103,7 @@ puts resp
103
103
  return resp unless resp.is_a?(Hash)
104
104
 
105
105
  dmp = resp['dmp'].nil? ? JSON.parse({ dmp: resp }.to_json) : resp
106
- return nil if resp['dmp']['PK'].nil?
106
+ return nil if dmp['dmp']['PK'].nil?
107
107
 
108
108
  # If we got a hit, fetch the DMP and return it.
109
109
  by_pk(p_key: dmp['dmp']['PK'], s_key: dmp['dmp']['SK'])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.13'
4
+ VERSION = '0.0.14'
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.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley