uc3-dmp-provenance 0.0.7 → 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: 9eff1f267cb9c78a1166b07446290eb85bdb3ad3130b6e18814b9b02451623d0
4
- data.tar.gz: b5152c9c639fdc1019fbaac216cd63a63b3a17b54f545369c373469723d02db4
3
+ metadata.gz: 788fc2419d524535f7b3e77c1846ee220e889dd6fca3cca4fc4c12113bb3f77e
4
+ data.tar.gz: 594e989df8859dd31773032d3070c80f5a538de177c74473ee506c9084d5dec5
5
5
  SHA512:
6
- metadata.gz: b1959b822a8d88264f52a30ab46f5492db57a39946692a479a9e3c991f75b71f617b885b4b4b13007a3feebe00ca566797e77c0981196997262ba5fec0970827
7
- data.tar.gz: 00b11fd0b85e39f0f836a685569877624334eabcec095b1198eacf73e6eaea87eb5783fac699c3d6d7586db6d200f30f13600e978b850742956a80b326ec0b16
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.7'
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley