uc3-dmp-dynamo 0.0.5 → 0.0.7

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: c011576d2723217aae4d7342bf91a859257e4216bd5206e044adf24bb29f7690
4
- data.tar.gz: da6fa2f726afbfb00c0d55b331b014b29eb52369982ee6298b51c8b9d80ca979
3
+ metadata.gz: 2861f76d83a38ae8109060fbf73f0ca1b2109193fa169d6b7d4ab22e563a4797
4
+ data.tar.gz: b64e42dc4bed6841414f5c4e4961a0da53a429d20ee06f3c10c5d07030af9267
5
5
  SHA512:
6
- metadata.gz: b267194e66c9970735c40bcd0146f0124d5692ea083954656826dd18a17d043a5b440c76d9d6c1444a6dcd473f7207b685603942bc32e0fa83042d14125080f1
7
- data.tar.gz: 7ae5ef0d23a3d409075f885657898a3f720eaf0e4aef102af9b0fa881c40e48aa41b98adc971b1c40519884e4934028d3f3390f26d11f060b9d4b67ddbf3db52
6
+ metadata.gz: b5031fa6454e287a4e72c5a94b6a77d4a35b822b1364a28d0866d810fcb20a21085f9e9fa1b63efae3fa634bb772be18b80e417a9c02cfbf4da57269f2988feb
7
+ data.tar.gz: 1e306061fe5740afd336549476fcbee4ea5b17eac65d74f998d5f72e8cc9762898097cd0d2d9380ad5a0a058101b28dba59438f602631392d3820bfeb3e800fb
@@ -72,10 +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.inspect}"
76
- puts resp.items.inspect
75
+ puts "#{SOURCE} => query - args: #{hash}"
76
+ puts resp.items
77
77
  end
78
- resp.items.any? ? resp.items.map(&:item) : []
78
+
79
+ resp.items
79
80
  rescue Aws::Errors::ServiceError => e
80
81
  raise ClientError, format(MSG_DYNAMO_ERROR, msg: e.message, trace: e.backtrace)
81
82
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpDynamo
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-10 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json