terminal-shop 3.10.3 → 3.10.4

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: d61df2e114756dbbfb93ea2cdec70392ee37c74f696c443d47c34cd63c48f89c
4
- data.tar.gz: 3c9fa59e02708b4bc15a1910b6da524afa26b0343af1d2d3205f7fbace177b4b
3
+ metadata.gz: e578fe71c4daf95a8a747c70410c630a9c8c4b929530fbc6cb06449c29192116
4
+ data.tar.gz: b35cef81023cd5aa1c3e7fbbaf97ccdf72d2a221436baf39e04c1dddbf9ef499
5
5
  SHA512:
6
- metadata.gz: 85722eaa616b05214c7bef5e4b3eceb52ea7e0e72b44384651e1cc0d30e6505a30446e56e0ada319150e9b67d701870185ef765b907b0bcfdf91794302188a9c
7
- data.tar.gz: 9a5c73c0fbfa4b3a6f913b2cb99898e6f4079020f0918af2b88e835f7ecfee0bc999fe288f41ec0e7243df9c6dae0bbf969a683c522a21d7e2e47e4880043c4d
6
+ metadata.gz: 4f72df5578a7ef8d2d3ac8fead28f592dd32d7ffdbaa7b3186342ed4c39ffdfe43145aefe6404a98ba8c269ad2621ee8999a39a9e882579332dfe656ae6d1078
7
+ data.tar.gz: 0ff957ad64d7635c5391f415eeb09975010ea30bda630b5784a9e046b9352de382ebfe8442e5cb12534e76e3fafd922c28df7b369b5f5a25bbf12a0a0d8e1458
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.10.4 (2026-02-03)
4
+
5
+ Full Changelog: [v3.10.3...v3.10.4](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.10.3...v3.10.4)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** always add content-length to post body, even when empty ([5500cc9](https://github.com/terminaldotshop/terminal-sdk-ruby/commit/5500cc9f84dda30b0a86050ae382c0939861d297))
10
+
3
11
  ## 3.10.3 (2026-01-29)
4
12
 
5
13
  Full Changelog: [v3.10.2...v3.10.3](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.10.2...v3.10.3)
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.10.3"
29
+ gem "terminal-shop", "~> 3.10.4"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -75,7 +75,7 @@ module TerminalShop
75
75
 
76
76
  case body
77
77
  in nil
78
- nil
78
+ req["content-length"] ||= 0 unless req["transfer-encoding"]
79
79
  in String
80
80
  req["content-length"] ||= body.bytesize.to_s unless req["transfer-encoding"]
81
81
  req.body_stream = TerminalShop::Internal::Util::ReadIOAdapter.new(body, &blk)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TerminalShop
4
- VERSION = "3.10.3"
4
+ VERSION = "3.10.4"
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.10.3
4
+ version: 3.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terminal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-30 00:00:00.000000000 Z
11
+ date: 2026-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi