uc3-dmp-id 0.0.32 → 0.0.34

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: e9c5eb1e3af04a0d8ed5468b4f2357872e63e8a07e06ce071a6414daed420a27
4
- data.tar.gz: fd042c4b9bb088a893010bcaf7e5d84fdb884a7c8ef513313159508bcbe79056
3
+ metadata.gz: 34abba8c31224a2fd5609c38cf4123adfbb65c0fee23ea2b7c60be624c93e4bc
4
+ data.tar.gz: a00f307c3871588552faf3dccc2a7bdb42ab23290454fe5c870f6c6606690516
5
5
  SHA512:
6
- metadata.gz: ac616730bfdc04c41a01bda6bbcd795981a889df0a2fe0d5ec8087a1047380a1b8a020bc6b72274c57941004e5b7e198ed00f98df8b946a755f67379e0dc651f
7
- data.tar.gz: 5fe3de09a45418038dbc64241938955bdd5273dceb4d3fa329f1f7d5bf6ba3841b9307461947fc3c5ac5bbfef1e701bbb4a41a9cd6d192a76fc24a5f5316db40
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.32'
4
+ VERSION = '0.0.34'
5
5
  end
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.32
4
+ version: 0.0.34
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-07 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json