terminal-shop 3.11.0 → 3.11.2
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 +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/terminal_shop/internal/transport/base_client.rb +5 -0
- data/lib/terminal_shop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e4fe8fac8f611960416f8d55d0bf7326d2db0d3208bcd012c22e3b981b1bc699
|
|
4
|
+
data.tar.gz: 648c8b7157facf7dec085692c54fd58c441cd4b37760bd13e964dc97692573a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 604edf21f1c17c29e9556f6003993a5fed5384e3e6b7df58c1344b3a7dcb8d4a28cd32dd3345d0ec0a823a995625ba45b9c52d4a2beccf11691c25f99c657da8
|
|
7
|
+
data.tar.gz: a67b73fbccfa27ea1a66a61e4750bde51eb7136b01f61706fe4671c3c4389f3ea5152d8cbe73a009c5bafc186aa0feb6fabe2eedd1788d82b94d2022a679a0e9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.11.2 (2026-06-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.11.1...v3.11.2](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.11.1...v3.11.2)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **client:** send content-type header for requests with an omitted optional body ([f09d9c7](https://github.com/terminaldotshop/terminal-sdk-ruby/commit/f09d9c7feb395eec8c8690b7881a6d1876a382c0))
|
|
10
|
+
|
|
11
|
+
## 3.11.1 (2026-05-14)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v3.11.0...v3.11.1](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.11.0...v3.11.1)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **client:** elide content type header on requests without body ([452a7c0](https://github.com/terminaldotshop/terminal-sdk-ruby/commit/452a7c0ed097f8eb20a43b5655dfcfd19da07dec))
|
|
18
|
+
|
|
3
19
|
## 3.11.0 (2026-04-28)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v3.10.10...v3.11.0](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.10.10...v3.11.0)
|
data/README.md
CHANGED
|
@@ -306,6 +306,11 @@ module TerminalShop
|
|
|
306
306
|
TerminalShop::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
|
|
307
307
|
end
|
|
308
308
|
|
|
309
|
+
# Generated methods always pass `req[:body]` for operations that define a
|
|
310
|
+
# request body, so only elide the content-type header when the operation
|
|
311
|
+
# has no body at all, not when an optional body param was omitted.
|
|
312
|
+
headers.delete("content-type") if body.nil? && !req.key?(:body)
|
|
313
|
+
|
|
309
314
|
url = TerminalShop::Internal::Util.join_parsed_uri(
|
|
310
315
|
@base_url_components,
|
|
311
316
|
{**req, path: path, query: query}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: terminal-shop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.11.
|
|
4
|
+
version: 3.11.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Terminal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|