aws-record 2.15.2 → 2.15.3

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: 79b77aa93444e5d23e28583c3ed6cb34adb6f066ad71d0be1794a00e4e34c91e
4
- data.tar.gz: 4884e17a7efb87e16ea3e297a2ca93b258cb43e5e09208096595f73314cf2608
3
+ metadata.gz: 487f7478713924d33f06ae0789f03a9c2d6f0ed37d1441494c42ec372bc1c7f4
4
+ data.tar.gz: d1c8cafe36f82586612b6c51da4212078b4e0333dabf9a4cb35ca5fbc841c155
5
5
  SHA512:
6
- metadata.gz: a911f8b6cc2c63c7cff4045da03fc632728a66c68ae3595fe276b1724bebc023b1c1b64d4c68c346e344fef60861ce3413082e161c018c35aab735a7827cee3d
7
- data.tar.gz: 605f484e4e0bcced298bdab9d18964f9a378448d8b12114e0d39cf0ba3e1f712e4d4f15abf8c3bef1e627212d70edde4a02ad668a3086069297c9d8416a01434
6
+ metadata.gz: 905c269fe38e4e5040dedcfe1bbcaf17f0fe67f1ab976f51935c563df5f957e49f1e2005545166018631cb9a73447c7e4dd69b7c789132cbf6fde63ca7708db6
7
+ data.tar.gz: 815436c7dadaa583a583e1d1539c57182a3cdf5ad7807f213c8c8c4d32babe043b883d73f734bcab5c02a2758f114a154d3e16c8b05ad40752b8bd8deca85284
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 2.15.3 (2026-10-02)
2
+ ------------------
3
+ * Issue - Fix the initializer for `NumericSetMarshaler`. (#163)
4
+
1
5
  2.15.2 (2026-08-17)
2
6
  ------------------
3
7
  * Issue - Ensure a mutable `Numeric` subclass used as a `default_value` is not shared across record instances.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.15.2
1
+ 2.15.3
@@ -25,14 +25,12 @@ module Aws
25
25
  # @option opts [Aws::DynamoDB::Client] :client allows you to pass in your
26
26
  # own pre-configured client.
27
27
  def configure_client(opts = {})
28
- # rubocop:disable Style/RedundantSelf
29
28
  @dynamodb_client = if self.class != Module && Aws::Record.extends_record?(self) && opts.empty? &&
30
- self.superclass.instance_variable_get('@dynamodb_client')
31
- self.superclass.instance_variable_get('@dynamodb_client')
29
+ superclass.instance_variable_get('@dynamodb_client')
30
+ superclass.instance_variable_get('@dynamodb_client')
32
31
  else
33
32
  _build_client(opts)
34
33
  end
35
- # rubocop:enable Style/RedundantSelf
36
34
  end
37
35
 
38
36
  # Gets the
@@ -3,11 +3,11 @@
3
3
  module Aws
4
4
  module Record
5
5
  module Marshalers
6
- def initialize(opts = {})
7
- # pass
8
- end
9
-
10
6
  class NumericSetMarshaler
7
+ def initialize(opts = {})
8
+ # pass
9
+ end
10
+
11
11
  def type_cast(raw_value)
12
12
  case raw_value
13
13
  when nil, ''
@@ -258,8 +258,8 @@ module Aws
258
258
  'currently supported. You should rewrite this case to use ' \
259
259
  'a :put transaction, adding the existence check to your ' \
260
260
  "own condition expression if desired.\n" \
261
- "\tItem: #{JSON.pretty_unparse(save_record.to_h)}\n" \
262
- "\tExtra Options: #{JSON.pretty_unparse(opts)}"
261
+ "\tItem: #{JSON.pretty_generate(save_record.to_h)}\n" \
262
+ "\tExtra Options: #{JSON.pretty_generate(opts)}"
263
263
  else
264
264
  opts = opts.merge(safety_expression)
265
265
  _transform_put_record(save_record, opts)
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.2
4
+ version: 2.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-10-02 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: ostruct
@@ -91,6 +92,7 @@ homepage: https://github.com/aws/aws-sdk-ruby-record
91
92
  licenses:
92
93
  - Apache-2.0
93
94
  metadata: {}
95
+ post_install_message:
94
96
  rdoc_options: []
95
97
  require_paths:
96
98
  - lib
@@ -105,7 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
107
  - !ruby/object:Gem::Version
106
108
  version: '0'
107
109
  requirements: []
108
- rubygems_version: 4.0.16
110
+ rubygems_version: 3.4.19
111
+ signing_key:
109
112
  specification_version: 4
110
113
  summary: AWS Record library for Amazon DynamoDB
111
114
  test_files: []