Skip to content

Commit 87542d4

Browse files
authored
Merge pull request #21 from sentdm/release-please--branches--main--changes--next
release: 0.13.1
2 parents a5f9135 + 178158e commit 87542d4

7 files changed

Lines changed: 17 additions & 7 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.13.0"
2+
".": "0.13.1"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-a9080c0de1cdfd5f5b355e5267265eba790649d0b002cc98347b6b76e3e8f075.yml
3-
openapi_spec_hash: ea95e4b3ebf37227b1b556f208968f62
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-2fa77c5563df4353049c27f275600e30487ea3fd617770a059a8e8579bedcedb.yml
3+
openapi_spec_hash: 3ae742e1990418d2c01ecac606187887
44
config_hash: 405ade725d72d542c60de821a127411b

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.13.1 (2026-04-10)
4+
5+
Full Changelog: [v0.13.0...v0.13.1](https://github.com/sentdm/sent-dm-ruby/compare/v0.13.0...v0.13.1)
6+
7+
### Bug Fixes
8+
9+
* multipart encoding for file arrays ([3bf860f](https://github.com/sentdm/sent-dm-ruby/commit/3bf860f577ef213e769f932545dfe961183ccee9))
10+
311
## 0.13.0 (2026-04-07)
412

513
Full Changelog: [v0.12.1...v0.13.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.12.1...v0.13.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
sentdm (0.13.0)
14+
sentdm (0.13.1)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
2626
<!-- x-release-please-start-version -->
2727

2828
```ruby
29-
gem "sentdm", "~> 0.13.0"
29+
gem "sentdm", "~> 0.13.1"
3030
```
3131

3232
<!-- x-release-please-end -->

lib/sentdm/internal/util.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ def encode_query_params(query)
610610
#
611611
# @return [Array(String, Enumerable<String>)]
612612
private def encode_multipart_streaming(body)
613+
# rubocop:disable Style/CaseEquality
613614
# RFC 1521 Section 7.2.1 says we should have 70 char maximum for boundary length
614615
boundary = SecureRandom.urlsafe_base64(46)
615616

@@ -619,7 +620,7 @@ def encode_query_params(query)
619620
in Hash
620621
body.each do |key, val|
621622
case val
622-
in Array if val.all? { primitive?(_1) }
623+
in Array if val.all? { primitive?(_1) || Sentdm::Internal::Type::FileInput === _1 }
623624
val.each do |v|
624625
write_multipart_chunk(y, boundary: boundary, key: key, val: v, closing: closing)
625626
end
@@ -635,6 +636,7 @@ def encode_query_params(query)
635636

636637
fused_io = fused_enum(strio) { closing.each(&:call) }
637638
[boundary, fused_io]
639+
# rubocop:enable Style/CaseEquality
638640
end
639641

640642
# @api private

lib/sentdm/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Sentdm
4-
VERSION = "0.13.0"
4+
VERSION = "0.13.1"
55
end

0 commit comments

Comments
 (0)