uc3-dmp-id 0.0.33 → 0.0.35

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: 865a2da35a678771517b269f33d836aa5bacd7c41c15f037e06da3ae5c1f4110
4
- data.tar.gz: 59a50dcb837f57a9a577aa99d0af2f45124b8b9e502b88f5ad1d21b4881880c4
3
+ metadata.gz: b6deb6c2410fcd18ed4bb3cd248012a3c76cc5a7bf7eefb85c42e35de9d85469
4
+ data.tar.gz: b8bef46b7faf3a75d7f064cc7b9137e185fd786c0922ab94bbea05518d95bade
5
5
  SHA512:
6
- metadata.gz: 5e4c19d1b7bbd43fe5bc66b26e6af670ea848b9348e50544efedac6a19ac1bc1d8c126da09ce7fa7511d80f1f7a13bd48379a62251ecea9e9521c99508da6ecd
7
- data.tar.gz: 44117596ad98ae5acaf508ba6fddcc8032ef1ec06d3436d9685a8c942f1823c1b3352b33f988d6fe18e112fc04a76ee86ce5c10ba815bec439d8e731e4bb3d93
6
+ metadata.gz: e6e2c933a4ebcaa35b5cbef3b2265d20f8e7dd9398fc313632a826fe7f1280ad9f6753d9780d6ee2b321d6be0459ceb4765cf5e551c2a0cc93b4b687d7c038b4
7
+ data.tar.gz: 55f633c30625d5d8285f8d0e4ab8c7f03d33a632c61995c0df0c79ea416069118ef32da27986ec92845c9f9a34bff666cb480984cb122fdc801c1818f6fe8358
@@ -24,7 +24,7 @@ module Uc3DmpId
24
24
  # Find a DMP based on the contents of the incoming JSON
25
25
  # -------------------------------------------------------------------------
26
26
  def by_json(json:, debug: false)
27
- json = Validator.parse_json(json: json)&.fetch('dmp', {})
27
+ json = Helper.parse_json(json: json)&.fetch('dmp', {})
28
28
  raise FinderError, MSG_INVALID_ARGS if json.nil? || (json['PK'].nil? && json['dmp_id'].nil?)
29
29
 
30
30
  p_key = json['PK']
@@ -90,7 +90,7 @@ module Uc3DmpId
90
90
  }
91
91
  },
92
92
  filter_expression: 'SK = :version',
93
- expression_attribute_values: { ':version': KeyHelper::DMP_LATEST_VERSION }
93
+ expression_attribute_values: { ':version': Helper::DMP_LATEST_VERSION }
94
94
  }
95
95
  client = client.nil? ? Uc3DmpDynamo::Client.new(debug: debug) : client
96
96
  resp = client.query(**args)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.33'
4
+ VERSION = '0.0.35'
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.33
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley