sendmux-mailbox 1.1.0 → 1.2.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: b8ee1ffecb7d9119d8bef0ed5e91e790941357cb92e929aa3e1e9bc340d1e5cd
4
- data.tar.gz: f96c06177f3a46b62cc6f3c8dc40f594d1a3e8bbe252a7662b86d653ee64298e
3
+ metadata.gz: 185a1cf244f03c241ad489815c5775df280176f155933b4a7993d6e10a6b21e0
4
+ data.tar.gz: ac65eea0e636acb0c16ecf60a2e986dfcceff9fea7d6d8419438625932c13500
5
5
  SHA512:
6
- metadata.gz: 80c51ef314d80a71a3ca0c0dd0f21dafe660ba47c1a823c604f5044788b9f98e9c71bad8f44d4bd3d7e0825cc93aac2de25ef25abb8e1ed0568654782efb7345
7
- data.tar.gz: 2ece2ab37fb008c6bd166b15852377a387c0f64521e56b3292125dbcb669914a9fc27e78cb9bf4900e4e615bdb054b14c32703be5b7c739c020ddf047bca0022
6
+ metadata.gz: c6c951a2c866d039d5553f3c4d97c8ee895d93422c252168912cb418a0e71092fcbcda468f8348cefb1fc2b9ce092a107c1eaab860ffb59d216817f1bb9b65f6
7
+ data.tar.gz: b97ee7501cc9ef8f72d09d7453036855e1a511d2dc77f421c4a9f1db895077e44142eff7853b1fa0ad165ad15a554fe88d2255681069c7492ce63015bd707326
data/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@
6
6
 
7
7
  * regenerate mailbox models for short-lived attachment download URLs and upload intents
8
8
 
9
+ ## [1.2.0](https://github.com/Sendmux/sendmux-sdk/compare/ruby-mailbox/v1.1.0...ruby-mailbox/v1.2.0) (2026-07-08)
10
+
11
+
12
+ ### Features
13
+
14
+ * **sdk:** add sending attachment upload surfaces ([#96](https://github.com/Sendmux/sendmux-sdk/issues/96)) ([b8f9d5f](https://github.com/Sendmux/sendmux-sdk/commit/b8f9d5fe3c1ae510db82ce05c55cbcad92b43b44))
15
+
9
16
  ## [1.1.0](https://github.com/Sendmux/sendmux-sdk/compare/ruby-mailbox/v1.0.0...ruby-mailbox/v1.1.0) (2026-07-03)
10
17
 
11
18
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sendmux
4
4
  module Mailbox
5
- VERSION = '1.1.0'
5
+ VERSION = '1.2.0'
6
6
  end
7
7
  end
@@ -114,7 +114,7 @@ module Sendmux::Mailbox::Generated
114
114
  config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
115
115
  end
116
116
  end
117
- request.headers = header_params
117
+ request.headers = stringify_header_params(header_params)
118
118
  request.body = req_body
119
119
 
120
120
  # Overload default options only if provided
@@ -126,6 +126,12 @@ module Sendmux::Mailbox::Generated
126
126
  request
127
127
  end
128
128
 
129
+ def stringify_header_params(header_params)
130
+ header_params.each_with_object({}) do |(key, value), result|
131
+ result[key] = value.nil? ? value : value.to_s
132
+ end
133
+ end
134
+
129
135
  # Builds the HTTP request body
130
136
  #
131
137
  # @param [Hash] header_params Header parameters
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendmux-mailbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sendmux
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-07-03 00:00:00.000000000 Z
10
+ date: 2026-07-08 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday