uc3-dmp-provenance 0.0.6 → 0.0.8

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: 2a50454ca4755fe1e5a1d28c2453dba6a8b16d3b38e52d29b72977b603f1dd87
4
- data.tar.gz: 96211ed122d90a542237c4dbd11f1c1bee717abf218034762872cd4c80f5d05b
3
+ metadata.gz: 788fc2419d524535f7b3e77c1846ee220e889dd6fca3cca4fc4c12113bb3f77e
4
+ data.tar.gz: 594e989df8859dd31773032d3070c80f5a538de177c74473ee506c9084d5dec5
5
5
  SHA512:
6
- metadata.gz: b6b8f9153f155c64015ea0f6cd5a2687bac9f10968536d9b302768c7500a676f0ae7e51d95862e4097331365086d9b78cbb5abf1829524b9c7aff5f1aa59ecdf
7
- data.tar.gz: 9abd42ad27019bc4e57c435b0b19c7104569087a00524404e5d2389bcc855fd34b378bad605e8934592ab08dbf100149fbde6c6495b486284235f89415901d22
6
+ metadata.gz: 670621fea7e20464e8f0aa362d261620f051f2b91961f2bf8a2cb0286fc246c450e6e473265b89bf414d6a9b1d64b7b3c260f06bbf1b64c78e240d8ebeffc079
7
+ data.tar.gz: 2ff00d8798eb466a83f6074c5c242e843ce140888d1e65421d3102188ba9ea7efe803a3b427738338a9cc9d7e69a551b4b3d71c69402def40d47e1a2113566fd
@@ -34,7 +34,7 @@ module Uc3DmpProvenance
34
34
  client_name = _cognito_client_id_to_name(claim: identity)
35
35
 
36
36
  resp = client.get_item(
37
- key: { PK: Helper.append_pk_prefix(client_name), SK: Helper::SK_PROVENANCE_PREFIX }
37
+ key: { PK: Helper.append_pk_prefix(provenance: client_name), SK: Helper::SK_PROVENANCE_PREFIX }
38
38
  )
39
39
  resp.nil? || resp.empty? ? nil : resp
40
40
  end
@@ -45,9 +45,9 @@ module Uc3DmpProvenance
45
45
  def from_pk(pk:)
46
46
  return nil if pk.nil?
47
47
 
48
- pk = Helper.append_pk_prefix(pk)
48
+ pk = Helper.append_pk_prefix(provenance: pk)
49
49
  resp = client.get_item(
50
- key: { PK: Helper.append_pk_prefix(pk), SK: Helper::SK_PROVENANCE_PREFIX }
50
+ key: { PK: Helper.append_pk_prefix(provenance: pk), SK: Helper::SK_PROVENANCE_PREFIX }
51
51
  )
52
52
  resp.nil? || resp.empty? ? nil : resp
53
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpProvenance
4
- VERSION = '0.0.6'
4
+ VERSION = '0.0.8'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-provenance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley