aws-record 2.13.3 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f00e0b5d064c085fb4c789f556640daa5fdddb73ecca664e9567cd3779b1a644
4
- data.tar.gz: 400a06cc869afe28dd9a823fada120eee08054d14522b964936c197ae4997d8c
3
+ metadata.gz: 98102b697ac8df9118fd286cdd37a4254092f241a3d3fe4a15805431ffea3a3c
4
+ data.tar.gz: 0354c3e97ae871234058fd7b676290a4496d26ba6de1cdefacad07dbd8894cfa
5
5
  SHA512:
6
- metadata.gz: 86bdbd867e84eeb675418787f8ac29f0f05c7ff9c948bd1cb201a5aa99c108bcb87c945806da861c3835b6f771a509283215360831fc6b8168a74444a8acf021
7
- data.tar.gz: 0e70aef2a89abc281031dd3d371b92f7a3020d65d850bf7d200d622d3ed3cb1bc13268b3c88a57b237291b0d7bd95c5f6be12ae0fe9912cbc0a385a411c59de2
6
+ metadata.gz: d68f9c4f65d53f597212d8fb2ea537c75dfd12c6017b726e88d2be9c6ac9e8f49f2b58905b0779bc556c1587d46fabca60ae4aa73884bc4f1ff437bb56da3739
7
+ data.tar.gz: aa68a6acbdfbcc5a24d7c07115c5c7ce3af8e84c2a9fba0bc1768256ece19c9508d49b3d9249251e11a08374da00b9701c6aa971c8c711310591f3bb811513d9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ 2.14.0 (2025-06-04)
2
+ ------------------
3
+
4
+ * Feature - Drop Ruby runtime support for 2.5 and 2.6.
5
+
6
+ 2.13.4 (2025-05-21)
7
+ ------------------
8
+
9
+ * Issue - Use configured clients for batch reads in `find_all`.
10
+
1
11
  2.13.3 (2025-01-02)
2
12
  ------------------
3
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.13.3
1
+ 2.14.0
@@ -38,7 +38,7 @@ module Aws
38
38
  # @return [Array] an array of unordered new items
39
39
  def execute!
40
40
  operation_keys = unprocessed_keys[0..BATCH_GET_ITEM_LIMIT - 1]
41
- @unprocessed_keys = unprocessed_keys[BATCH_GET_ITEM_LIMIT..-1] || []
41
+ @unprocessed_keys = unprocessed_keys[BATCH_GET_ITEM_LIMIT..] || []
42
42
 
43
43
  operations = build_operations(operation_keys)
44
44
  result = @client.batch_get_item(request_items: operations)
@@ -244,7 +244,7 @@ module Aws
244
244
  end
245
245
  end
246
246
 
247
- def _perform_save(opts)
247
+ def _perform_save(opts) # rubocop:disable Naming/PredicateMethod
248
248
  force = opts.delete(:force)
249
249
  expect_new = expect_new_item?
250
250
  if force
@@ -553,7 +553,7 @@ module Aws
553
553
  # include all the keys defined in model.
554
554
  # @raise [ArgumentError] if the provided keys are a duplicate.
555
555
  def find_all(keys)
556
- Aws::Record::Batch.read do |db|
556
+ Aws::Record::Batch.read(client: dynamodb_client) do |db|
557
557
  keys.each do |key|
558
558
  db.find(self, key)
559
559
  end
@@ -631,8 +631,8 @@ module Aws
631
631
  end
632
632
  end
633
633
  update_expressions = []
634
- update_expressions << ("SET #{set_expressions.join(', ')}") unless set_expressions.empty?
635
- update_expressions << ("REMOVE #{remove_expressions.join(', ')}") unless remove_expressions.empty?
634
+ update_expressions << "SET #{set_expressions.join(', ')}" unless set_expressions.empty?
635
+ update_expressions << "REMOVE #{remove_expressions.join(', ')}" unless remove_expressions.empty?
636
636
  {
637
637
  update_expression: update_expressions.join(' '),
638
638
  expression_attribute_names: exp_attr_names,
@@ -347,7 +347,7 @@ module Aws
347
347
  opts
348
348
  end
349
349
 
350
- def _add_global_secondary_index_throughput(opts, resp_gsis)
350
+ def _add_global_secondary_index_throughput(opts, resp_gsis) # rubocop:disable Naming/PredicateMethod
351
351
  gsis = resp_gsis.map(&:index_name)
352
352
  gsi_updates = []
353
353
  gsis.each do |index_name|
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.3
4
+ version: 2.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-02 00:00:00.000000000 Z
10
+ date: 2025-06-04 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-dynamodb
@@ -78,7 +77,6 @@ homepage: https://github.com/aws/aws-sdk-ruby-record
78
77
  licenses:
79
78
  - Apache 2.0
80
79
  metadata: {}
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -86,15 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
84
  requirements:
87
85
  - - ">="
88
86
  - !ruby/object:Gem::Version
89
- version: '2.3'
87
+ version: '2.7'
90
88
  required_rubygems_version: !ruby/object:Gem::Requirement
91
89
  requirements:
92
90
  - - ">="
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.5.9
97
- signing_key:
94
+ rubygems_version: 3.6.5
98
95
  specification_version: 4
99
96
  summary: AWS Record library for Amazon DynamoDB
100
97
  test_files: []