uc3-dmp-dynamo 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-dynamo/client.rb +3 -6
- data/lib/uc3-dmp-dynamo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2861f76d83a38ae8109060fbf73f0ca1b2109193fa169d6b7d4ab22e563a4797
|
4
|
+
data.tar.gz: b64e42dc4bed6841414f5c4e4961a0da53a429d20ee06f3c10c5d07030af9267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5031fa6454e287a4e72c5a94b6a77d4a35b822b1364a28d0866d810fcb20a21085f9e9fa1b63efae3fa634bb772be18b80e417a9c02cfbf4da57269f2988feb
|
7
|
+
data.tar.gz: 1e306061fe5740afd336549476fcbee4ea5b17eac65d74f998d5f72e8cc9762898097cd0d2d9380ad5a0a058101b28dba59438f602631392d3820bfeb3e800fb
|
@@ -72,14 +72,11 @@ module Uc3DmpDynamo
|
|
72
72
|
resp = @connection.query(hash)
|
73
73
|
# If debug is enabled then write the response to the LogWriter
|
74
74
|
if debug
|
75
|
-
puts "#{SOURCE} => query - args: #{hash
|
76
|
-
puts resp.items
|
75
|
+
puts "#{SOURCE} => query - args: #{hash}"
|
76
|
+
puts resp.items
|
77
77
|
end
|
78
78
|
|
79
|
-
|
80
|
-
puts resp.items.first.inspect
|
81
|
-
|
82
|
-
resp.items.any? ? resp.items.map(&:item) : []
|
79
|
+
resp.items
|
83
80
|
rescue Aws::Errors::ServiceError => e
|
84
81
|
raise ClientError, format(MSG_DYNAMO_ERROR, msg: e.message, trace: e.backtrace)
|
85
82
|
end
|