uc3-dmp-id 0.0.33 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 865a2da35a678771517b269f33d836aa5bacd7c41c15f037e06da3ae5c1f4110
4
- data.tar.gz: 59a50dcb837f57a9a577aa99d0af2f45124b8b9e502b88f5ad1d21b4881880c4
3
+ metadata.gz: 34abba8c31224a2fd5609c38cf4123adfbb65c0fee23ea2b7c60be624c93e4bc
4
+ data.tar.gz: a00f307c3871588552faf3dccc2a7bdb42ab23290454fe5c870f6c6606690516
5
5
  SHA512:
6
- metadata.gz: 5e4c19d1b7bbd43fe5bc66b26e6af670ea848b9348e50544efedac6a19ac1bc1d8c126da09ce7fa7511d80f1f7a13bd48379a62251ecea9e9521c99508da6ecd
7
- data.tar.gz: 44117596ad98ae5acaf508ba6fddcc8032ef1ec06d3436d9685a8c942f1823c1b3352b33f988d6fe18e112fc04a76ee86ce5c10ba815bec439d8e731e4bb3d93
6
+ metadata.gz: d4a03380d9d10ef00523cd5969e50ef6aa8e9e97e23fac56d56df7a5016ae815879e19676057a4ab48682ede6f4119a44f675937f11fb92653429bd405123fdc
7
+ data.tar.gz: c28117b7464eae273667331d300f82d84d0c820af60821e964b3665925c324f5ab33a53ed11e5f69bf295187d516ce4799d3a859fd24450c8f80059a5b340469
@@ -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']
@@ -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.34'
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.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley