stigg 0.1.0.pre.beta.22 → 0.1.0.pre.beta.23

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: 1e63f50b4d9e78315538747b1878656f893a386b9c089d6bb6f6653ce39dfdbf
4
- data.tar.gz: d9c8e91732a0a8f6b0dcb934aeb4184945397d4b4237a9428d0216799f63df44
3
+ metadata.gz: fb7c6c3b56a10adc68250f15a19c7c70d82acd5aed14384f08947fe327c172c7
4
+ data.tar.gz: 2dfadfac9e3c2c33e7d33ba1e0c7dcb54ba38ec00bbcec066f5f0a17f5279235
5
5
  SHA512:
6
- metadata.gz: afc6edc6e40cbeed763d0d1eac920c1de748d909a8096df6a03a8c4a1a00f3d0c53b4956e20dd9637cd9de8b45151500eed430c71b8f2ebb36c2dac29dd65b14
7
- data.tar.gz: 7cf087c9de49acc7d4dd5e532acb4ff425c0c68b37de657c68e7771328b1eddf2bb32b8604b0b3c2811ba720bf6ec2afc46d7b5b1a42c8c0e510cd42d01f700e
6
+ metadata.gz: 3341c1bda5e285a7b85123b6c4d3d3992e3bfe089f726556dc2f886a01e119fa1fee859661459c983e0cb6c373ee041d0610d2678bdc2d1fc15bc863b5bf7437
7
+ data.tar.gz: 571bd8f219e8bff6013f6cd391e41872292129bcc570d3b0e72d1ebda93ad0349d149c3139b2370f66f9eb7495f2eafda571d06c99abe778d14eb0a6bb489641
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-beta.23 (2026-06-17)
4
+
5
+ Full Changelog: [v0.1.0-beta.22...v0.1.0-beta.23](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.22...v0.1.0-beta.23)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** send content-type header for requests with an omitted optional body ([83319e2](https://github.com/stiggio/stigg-ruby/commit/83319e269f6ebcae43f5d2bae13c24e618fcb9b2))
10
+
3
11
  ## 0.1.0-beta.22 (2026-06-11)
4
12
 
5
13
  Full Changelog: [v0.1.0-beta.21...v0.1.0-beta.22](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.21...v0.1.0-beta.22)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "stigg", "~> 0.1.0.pre.beta.22"
27
+ gem "stigg", "~> 0.1.0.pre.beta.23"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -306,7 +306,10 @@ module Stigg
306
306
  Stigg::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 = Stigg::Internal::Util.join_parsed_uri(@base_url_components, {**req, path: path, query: query})
312
315
  headers, encoded = Stigg::Internal::Util.encode_content(headers, body)
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.1.0.pre.beta.22"
4
+ VERSION = "0.1.0.pre.beta.23"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.beta.22
4
+ version: 0.1.0.pre.beta.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-11 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