uc3-dmp-id 0.0.92 → 0.0.93

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: 55e15684bfc0ccb76cb498ccddfae9b83c8ce935240efbb5ad1112ddbf791ab8
4
- data.tar.gz: 2a729a50e838d4e25a4921d5a33f6b12b3e786e2da4c91b12016340b6d5a158b
3
+ metadata.gz: effd6e9f621b4a0a2ff038e01a9db04f39284eebe520c18df70b6a224984e030
4
+ data.tar.gz: be8087477ee5ae03e4c82b24cecf4f8b92b5fb4fa090520277738b0538d3324c
5
5
  SHA512:
6
- metadata.gz: 70315b0ebd96129ec4c7ba051e39d5e385952079f20a565e000bd7b4812be60687a2cde3c414c66db71bda2ccb35a67e06dfcf90aa21b65dee22cb26786ddbfb
7
- data.tar.gz: '0481364645a94de5cb4178bd4657b7d7e1622016cbc7bb0ff9cd3e2082efe2424f5bc98cf47d4b36f2e59515399e7dbd237f4e62ba49b025e788ae0c705bb135'
6
+ metadata.gz: 31d8ab61ec9adef5daba45bb25d26bfbb5559b5ac468bc3b05231e814e24e0670d84644040006ab723049f7c7b469e13a4ac53a9fd34c88ba8473232b0beb93e
7
+ data.tar.gz: 1c2b1e95f0f01ca0ef7e641338eac0ab18e59b1137980dd912cb8b7321d7311a0dfa4f7458d796d73040e73ba91768399f19f9320be2a7da4b8941026337783e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.92'
4
+ VERSION = '0.0.93'
5
5
  end
@@ -32,9 +32,13 @@ module Uc3DmpId
32
32
  # - Splicing in the current changes onto the existing `VERSION#latest` item
33
33
  # - Returning the spliced `VERSION#latest` back to this method
34
34
  def new_version(provenance:, p_key:, client: nil, dmp:, latest_version: {}, logger: nil)
35
+
36
+ puts "Provenance: #{provenance}, PK: #{p_key}"
37
+ puts dmp
38
+
35
39
  return nil unless p_key.is_a?(String) && !p_key.strip.empty? && _versionable?(dmp: dmp)
36
40
 
37
- client = Uc3DmpDynamo::Client.new(logger: logger) if client.nil?
41
+ client = Uc3DmpDynamo::Client.new if client.nil?
38
42
  latest_version = Finder.by_p_key(client: client, p_key: p_key) unless latest_version.is_a?(Hash) &&
39
43
  !latest_version['PK'].nil?
40
44
 
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.92
4
+ version: 0.0.93
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley