uc3-dmp-dynamo 0.0.22 → 0.0.24

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: d5628c26ad367ecc741e220a032d98e35d63346ae32a844d2fa874ae4414e9d9
4
+ data.tar.gz: 4fb7ecba593cf5d03149308036a40a53c6158d74a320dca96289df1ae7a5e904
5
5
  SHA512:
6
- metadata.gz: 3870dc65b55dc8c5dea46feb3c0165104387ae7f12b64785e4f9e2cba3fb19df791b76159e3e747bcbce4941982520fbfeb7cdb89ced3e3170be09916628b5c3
7
- data.tar.gz: d8e156f344b23f6ff46dd932057f1ddf1db66aed6db5acfa84308b30c460741a22c3643abf735309672dbce268a8e39818fbdb342a571e1d8a8bd17900d36f50
6
+ metadata.gz: a06421e66f451cb5dd5a175c48a3ab65f2301c16195f7c8938ff854b4d42e494b8ca5e974074ae46f3f69eb503e1b48800edd8de11bbdd33ec47bdc92052d62b
7
+ data.tar.gz: 20698812df5fb2de53f8eeba854d62391b376d0600adec2a465de16323f15f8634b2132caf7d3f47d4e2a7fc39cb989aea932b3de40f9792d3bc99084445140e
@@ -13,8 +13,8 @@ module Uc3DmpDynamo
13
13
 
14
14
  attr_accessor :connection, :table
15
15
 
16
- def initialize(**_args)
17
- @table = ENV.fetch('DYNAMO_TABLE', nil)
16
+ def initialize(**args)
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.24'
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.24
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-09 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