dmp-dynamo_adapter 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dmp/dynamo_adapter.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80c519bd779bdfc10d50d22b12e61f75a1809c9f54feef84c5f8bf4373bd7665
4
- data.tar.gz: 9f37c7e34d64b0a5594fef9b0951c89f4d76ddd3478577b4afc3f37d1fd004a5
3
+ metadata.gz: e6591d15b252c3b6252d1bae91ea019912b62971f05edab4a7ece2cbd9d4a1b1
4
+ data.tar.gz: 8ac48813d44b7afb0d7cf388a707cb6571ec1b57013b829e68d7f3a7d5c6588e
5
5
  SHA512:
6
- metadata.gz: 812e6b3c2e47c7192c352b1c563d047405b8a896fcd115c9f7d3497f9b6c82f21443a828b17c0d62c8b7023a20da4c788664003742be0358b9aa1559142ae474
7
- data.tar.gz: bfb81e6b453cb83e63c94a939a5dcdba10ca105cd071eb8de1926ff7591e45c043dbc117c11ea463e772090c9bab895e19d8cdcfc959803ff654c9b541c8a011
6
+ metadata.gz: 638372a06477483b5860fcfcea5e7a57c8d47042555871a3c65ded656e23b175b0d426f8138abfa7677f1ca8a9df42fe3c8882e45e897f7c58a5c7c88e08d1ba
7
+ data.tar.gz: 2283314e1c73399d762f06fc3b1e51aeee7f622e617f85cc45a55c0bfdd2e3225e9471bf308e26ed6a966df5a2e8e2926332fab877d227a6df746cea68090f97
@@ -70,8 +70,7 @@ p "FINDING BY PK: PK - #{p_key.inspect} / SK - #{s_key.inspect}"
70
70
  return_consumed_capacity: @debug_mode ? 'TOTAL' : 'NONE'
71
71
  }
72
72
  )
73
- return { status: 404, error: MSG_NOT_FOUND } if response[:items].nil? ||
74
- response[:items].empty?
73
+ return { status: 404, error: MSG_NOT_FOUND } if response[:item].nil? || response[:item].empty?
75
74
 
76
75
  { status: 200, items: [response[:item]] }
77
76
  rescue Aws::Errors::ServiceError => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dmp-dynamo_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - briri