uc3-dmp-dynamo 0.0.21 → 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: 772a7143667cc896819cd1aaa74e163b9c3822ad39924e35df53abac63f8134a
4
- data.tar.gz: 1239375f6bb03b369fc4d8d2b39e4e5b21b351cc5dd9ffe63904ab18e460f7d2
3
+ metadata.gz: 44b968b4ae79f2f8934450466a4b9623e9c964664b73e4a21ac85a4facf68135
4
+ data.tar.gz: 50d34cb8c4c9a6706f4329692634c5538ae00bee0dbaf2f3babc3732e064269e
5
5
  SHA512:
6
- metadata.gz: f2cddf628245cdb3e38ce62615a702bee8fe6efd4ee95e1bf7ca0bb72c2f8e262063eaa62b8473626cd2d2425cba524879fab49ffdd68228e18df5948e3f4dab
7
- data.tar.gz: 3f49213a7b16a17d6d83e413b305a8a32f7158c262320d4942bdc2282b4be2bb2a35a40e5669289f7891d47b8c1be0fed512d0a86900be1d3f6017f18739e7f5
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.21'
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.21
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: 2023-10-16 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.10
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