uc3-dmp-id 0.0.27 → 0.0.29

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: 4bb37c3774e0bfdc3bde166671d245f5928fd1a15a3320e3f6736d9100cc667c
4
- data.tar.gz: 842260600fdc60be2fef3beebbc9d5b8418ba0f90c0f5d4bd97b7d2c3d760255
3
+ metadata.gz: d3b21e9c1f4c217bfeec57e033c2516a09f0e23d426d7f9fbf13a225bbd4824c
4
+ data.tar.gz: 8b3fd850e2301b032b2aecdf0e84878f1526d7b42499505402aac045d37b16fe
5
5
  SHA512:
6
- metadata.gz: 8be8f0d5ec703707d5c7fc3ac2a836a91cfd4704d837a61aaa99191f033521cdb99a9268b37384e35b8300bd0cdf0f7f2b6b3de65a4f8d88ddcb409133d574c8
7
- data.tar.gz: 0160566bfeb48fb811e6bb7d9dda0065c88a09040b13f35423ca4020296c7247e5cf70aead0d7e3dd1e482205051c831d21247a15b04e4657aecffd3a8ca9d45
6
+ metadata.gz: ac256390f7852b18a633eed62279318a5d4b282f579b8c6ed3ac84fe0dfb188b915e17b11342608c7c7d1ef5dc6872ab81c68eb1da13f42bf52b7b31be618065
7
+ data.tar.gz: 9ba658b187f9a4e4ba465448b6e11f466c9881f1e108c88b4aec698eb747349b71d9805e50ff66cf2bf7153ad9af99860de8d11136c8446b7ff69652648c4cc1
@@ -51,7 +51,7 @@ puts "Schemas::Author defined? #{Object.const_defined?('Schemas::Author')}"
51
51
  puts "Author defined? #{Object.const_defined?('Author')}"
52
52
 
53
53
  # Instatiate the matching schema
54
- schema = "Schemas::#{mode.to_s.downcase.capitalize}".split('::').inject(Object) { |o,c| o.const_get c }
54
+ schema = "Uc3DmpId::Schemas::#{mode.to_s.downcase.capitalize}".split('::').inject(Object) { |o,c| o.const_get c }
55
55
  schema.respond_to?(:load) ? schema.load : nil
56
56
  end
57
57
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.27'
4
+ VERSION = '0.0.29'
5
5
  end
@@ -29,7 +29,7 @@ module Uc3DmpId
29
29
  # - Saving the new `VERSION=yyyy-mm-ddThh:mm:ss+zz:zz` item
30
30
  # - Splicing in the current changes onto the existing `VERSION#latest` item
31
31
  # - Returning the spliced `VERSION#latest` back to this method
32
- def new_version(client:, provenance:, p_key:, client: nil, dmp:, latest_version: {})
32
+ def new_version(provenance:, p_key:, client: nil, dmp:, latest_version: {})
33
33
  return nil unless p_key.is_a?(String) && !p_key.strip.empty? && _versionable?(dmp: dmp)
34
34
 
35
35
  client = Uc3DmpDynamo::Client.new(debug: debug) if client.nil?
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.27
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley