uc3-dmp-dynamo 0.0.16 → 0.0.18

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: 2fcdba6dc1e42019bc664159cf1e2cfa4e89658a5f05b3370d3e4172e8e6a4e3
4
- data.tar.gz: 9a0046dc12b25523263f85669173db965011fe2fd97086cbd20b27419b674b62
3
+ metadata.gz: 49967f4bc1c632cc96e73008e18b83f23470afa90aeae6a87d19bb2a57e9c02f
4
+ data.tar.gz: 6a004146a8cc09c99984ae998efe3e1607d06347feb49e9a2a12303afdf7d13b
5
5
  SHA512:
6
- metadata.gz: 5b3e34ecf69e21e83a3a19affd699f4e2a27c0bf9a32ff5b39fb854b97f1b15c72a90e1874fad2f4b8ce9f7c948135114217ef05153e35bff61529d5db7bc236
7
- data.tar.gz: 4a87b60f7eb9d4df527ffb9097d187199281b4043bfcdb758993f764686e75556ed355985a37a1feb3e7006c92f34cb801dc5ba0898579e93436664f3e83ca8c
6
+ metadata.gz: 94e50d9577ade9d2474f8c93b5dec7c7739809fcceb30383ffbfcec44c22159570a85ddba4fd646eda80dcc9a68253728f0f7f21925baf5f1318cab2768d9558
7
+ data.tar.gz: 8a844f411cbda3eaa90943a287b117a4963d77776ed3fa60341f441d258bd4ac0118037adfdc5ccbc349939522eb9cd7a4ce04be2bcf4c7e7a53b171a4e15d94
@@ -64,14 +64,14 @@ module Uc3DmpDynamo
64
64
  return_consumed_capacity: logger&.level == 'debug' ? 'TOTAL' : 'NONE'
65
65
  }
66
66
  # Look for and add any other filtering or projection args
67
- %i[filter_expression expression_attribute_values projection_expression scan_index_forward].each do |key|
67
+ %i[index_name filter_expression expression_attribute_values projection_expression scan_index_forward].each do |key|
68
68
  next if args[key.to_sym].nil?
69
69
 
70
70
  hash[key.to_sym] = args[key.to_sym]
71
71
  end
72
72
 
73
+ logger.debug(message: "#{SOURCE} queried for: #{hash}") if logger.respond_to?(:debug)
73
74
  resp = @connection.query(hash)
74
- logger.debug(message: "#{SOURCE} queried for: #{args}") if logger.respond_to?(:debug)
75
75
  return [] unless resp.items.any?
76
76
  return resp.items if resp.items.first.is_a?(Hash)
77
77
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpDynamo
4
- VERSION = '0.0.16'
4
+ VERSION = '0.0.18'
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.16
4
+ version: 0.0.18
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-07-07 00:00:00.000000000 Z
11
+ date: 2023-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json