uc3-dmp-dynamo 0.0.22 → 0.0.23

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: ad97d7b44ceb4a4f4f341e2f942d7e99b498abd3e6db83a414972e95cc5658f7
4
- data.tar.gz: 2137cd384c8dcb9be31a8c2769a38010ee597c72bcba731e86933a9804c605c2
3
+ metadata.gz: 44b968b4ae79f2f8934450466a4b9623e9c964664b73e4a21ac85a4facf68135
4
+ data.tar.gz: 50d34cb8c4c9a6706f4329692634c5538ae00bee0dbaf2f3babc3732e064269e
5
5
  SHA512:
6
- metadata.gz: 3870dc65b55dc8c5dea46feb3c0165104387ae7f12b64785e4f9e2cba3fb19df791b76159e3e747bcbce4941982520fbfeb7cdb89ced3e3170be09916628b5c3
7
- data.tar.gz: d8e156f344b23f6ff46dd932057f1ddf1db66aed6db5acfa84308b30c460741a22c3643abf735309672dbce268a8e39818fbdb342a571e1d8a8bd17900d36f50
6
+ metadata.gz: 858701c579d7f7b48a9a589b244e607f64902f947ef2b920b13cce11815604f149b016748028c675584910a12ec3b048a3b849465e7a43af7ac1f3c259308083
7
+ data.tar.gz: 7234798ffccc538e592bd68a9f478fa5041503a923423ce74a67861c35a8c5cdc3fa094bed91e6b784ea9740d7c95cfcbc49ee2fc041e33146528722f2c7c962
@@ -14,7 +14,7 @@ module Uc3DmpDynamo
14
14
  attr_accessor :connection, :table
15
15
 
16
16
  def initialize(**_args)
17
- @table = ENV.fetch('DYNAMO_TABLE', nil)
17
+ @table = args.fetch('table', ENV.fetch('DYNAMO_TABLE', nil))
18
18
  raise ClientError, MSG_MISSING_TABLE if @table.nil?
19
19
 
20
20
  @connection = Aws::DynamoDB::Client.new(region: ENV.fetch('AWS_REGION', 'us-west-2'))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpDynamo
4
- VERSION = '0.0.22'
4
+ VERSION = '0.0.23'
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.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-29 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.4.22
142
+ rubygems_version: 3.5.13
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: DMPTool gem that provides support for Dynamo DB