From 4053f40ca8b2ed3784ddeec5cdf37f3fbc8706a7 Mon Sep 17 00:00:00 2001 From: Norman Elton Date: Fri, 18 Sep 2026 23:30:16 -0400 Subject: [PATCH 1/3] Fix initializer for NumericSetMarshaler --- lib/aws-record/record/marshalers/numeric_set_marshaler.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/aws-record/record/marshalers/numeric_set_marshaler.rb b/lib/aws-record/record/marshalers/numeric_set_marshaler.rb index 9fe9e31..8f874fc 100644 --- a/lib/aws-record/record/marshalers/numeric_set_marshaler.rb +++ b/lib/aws-record/record/marshalers/numeric_set_marshaler.rb @@ -3,11 +3,11 @@ module Aws module Record module Marshalers - def initialize(opts = {}) - # pass - end - class NumericSetMarshaler + def initialize(opts = {}) + # pass + end + def type_cast(raw_value) case raw_value when nil, '' From 9c968d87db461751521e9e0ed3dc813f093cea25 Mon Sep 17 00:00:00 2001 From: Norman Elton Date: Mon, 28 Sep 2026 22:41:26 -0400 Subject: [PATCH 2/3] Add rspec and changelog entry --- CHANGELOG.md | 1 + .../record/marshalers/numeric_set_marshaler_spec.rb | 6 ++++++ .../record/marshalers/string_set_marshaler_spec.rb | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbacc9b..358b6d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ Unreleased Changes ------------------ +* Issue - Fix initializer for NumericSetMarshaler (#163) 2.15.2 (2026-08-17) ------------------ diff --git a/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb b/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb index f6b4647..e7567d5 100644 --- a/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb +++ b/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb @@ -57,6 +57,12 @@ module Marshalers end end end + + context 'custom settings' do + it 'builds a marshaller' do + NumericSetMarshaler.new({}) + end + end end end end diff --git a/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb b/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb index dfff002..0b0b4e8 100644 --- a/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb +++ b/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb @@ -57,6 +57,12 @@ module Marshalers end end end + + context 'custom settings' do + it 'builds a marshaller' do + StringSetMarshaler.new({}) + end + end end end end From 5026c8e4d2a197fbffc053f3d5948090348d39e4 Mon Sep 17 00:00:00 2001 From: Juli Tera Date: Thu, 1 Oct 2026 20:01:23 -0700 Subject: [PATCH 3/3] Polish NumericSetMarshaler change documentation --- CHANGELOG.md | 2 +- spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb | 2 +- spec/aws-record/record/marshalers/string_set_marshaler_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 358b6d0..c348e5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ Unreleased Changes ------------------ -* Issue - Fix initializer for NumericSetMarshaler (#163) +* Issue - Fix the initializer for `NumericSetMarshaler`. (#163) 2.15.2 (2026-08-17) ------------------ diff --git a/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb b/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb index e7567d5..91c82c1 100644 --- a/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb +++ b/spec/aws-record/record/marshalers/numeric_set_marshaler_spec.rb @@ -59,7 +59,7 @@ module Marshalers end context 'custom settings' do - it 'builds a marshaller' do + it 'builds a marshaler' do NumericSetMarshaler.new({}) end end diff --git a/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb b/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb index 0b0b4e8..2778f34 100644 --- a/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb +++ b/spec/aws-record/record/marshalers/string_set_marshaler_spec.rb @@ -59,7 +59,7 @@ module Marshalers end context 'custom settings' do - it 'builds a marshaller' do + it 'builds a marshaler' do StringSetMarshaler.new({}) end end