terminal-shop 3.11.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a48a81debf67219ffb0a1c135d16242712cb27c9c3e941d49a6470e96557d64
4
- data.tar.gz: 0cd829443dc0afa47c79c45ae28fcecb27329e9688a0c5057f917ba22bd28079
3
+ metadata.gz: e4fe8fac8f611960416f8d55d0bf7326d2db0d3208bcd012c22e3b981b1bc699
4
+ data.tar.gz: 648c8b7157facf7dec085692c54fd58c441cd4b37760bd13e964dc97692573a8
5
5
  SHA512:
6
- metadata.gz: 919b4d5186a45dd05960c93091fe947b57874ac13902b1846a7e55b6b8f57ee8485384f22d6451643aeaff6766d74b2215526538575c39dfc378a35860a78284
7
- data.tar.gz: cc7386a24f8555e12db6c021f43296322b1b0a5e16aca7f3ce4d9b37a09f48d8d84286c71ed1ca96a0188b76d2cc0b2df9466c5a18b9bb421a45f236613e57a4
6
+ metadata.gz: 604edf21f1c17c29e9556f6003993a5fed5384e3e6b7df58c1344b3a7dcb8d4a28cd32dd3345d0ec0a823a995625ba45b9c52d4a2beccf11691c25f99c657da8
7
+ data.tar.gz: a67b73fbccfa27ea1a66a61e4750bde51eb7136b01f61706fe4671c3c4389f3ea5152d8cbe73a009c5bafc186aa0feb6fabe2eedd1788d82b94d2022a679a0e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 3.11.1 (2026-05-14)
4
12
 
5
13
  Full Changelog: [v3.11.0...v3.11.1](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.11.0...v3.11.1)
data/README.md CHANGED
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
26
26
  <!-- x-release-please-start-version -->
27
27
 
28
28
  ```ruby
29
- gem "terminal-shop", "~> 3.11.1"
29
+ gem "terminal-shop", "~> 3.11.2"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -306,7 +306,10 @@ module TerminalShop
306
306
  TerminalShop::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
307
307
  end
308
308
 
309
- headers.delete("content-type") if body.nil?
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)
310
313
 
311
314
  url = TerminalShop::Internal::Util.join_parsed_uri(
312
315
  @base_url_components,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TerminalShop
4
- VERSION = "3.11.1"
4
+ VERSION = "3.11.2"
5
5
  end
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.1
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-05-14 00:00:00.000000000 Z
11
+ date: 2026-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi