oursprivacy-ingest 1.14.0 → 1.14.1

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: c717603bde7e819e4498b5735300c267b1a4277adbbef8813e63397456ec0335
4
- data.tar.gz: 5135d602464bfe6c356cde4fee8f8dbc3378da7a25384cd41454b9c332d08f63
3
+ metadata.gz: 20442473307915e3cbb62dacd2ac1df5c94ad4642ac0902c5bcb5149f9285b0b
4
+ data.tar.gz: 93b34250ec89186ca015e55651f66c8a6338d56c765c55291315b1ac6b6c2532
5
5
  SHA512:
6
- metadata.gz: a3f2c7429ef91b6042b47c30ed5ef3020330b0e584e0c73776fa309ef62f17f5da5cf773a551f4537fec88e14cfbddbab2a80c4ef6ae483117a37a1c03947517
7
- data.tar.gz: cc501feb9075ef546043d5d214884f7ed77d48d75d32c5dd53fa54fc8d6c33f497b06e0b641050bd9556b66bc08ed90f1e5df61e549cd93620ad45b1097b3f0d
6
+ metadata.gz: 7bf192c723ba1d15cdd4c8f98437f267c24438cc434d1fd22b64f394e8707b8e5ea1eaac311172503e7cca9b7a2fa910e276428c0fc93302e73cb735db53e743
7
+ data.tar.gz: 875cca7fb77c806a5a46527465da4f2695642a55f9d77fbfe52d1f622d5663bb94c8cc223fcf1d4ce40a69fbadaeeb4dd5ad5681760be3124739d750f97d0b43
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.14.1 (2026-06-17)
4
+
5
+ Full Changelog: [v1.14.0...v1.14.1](https://github.com/with-ours/ingest-sdk-ruby/compare/v1.14.0...v1.14.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** send content-type header for requests with an omitted optional body ([cacbd82](https://github.com/with-ours/ingest-sdk-ruby/commit/cacbd82030358c88cee8f403472df372b0151060))
10
+
3
11
  ## 1.14.0 (2026-06-12)
4
12
 
5
13
  Full Changelog: [v1.13.0...v1.14.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v1.13.0...v1.14.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "oursprivacy-ingest", "~> 1.14.0"
20
+ gem "oursprivacy-ingest", "~> 1.14.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -300,7 +300,10 @@ module OursprivacyIngest
300
300
  OursprivacyIngest::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
301
301
  end
302
302
 
303
- headers.delete("content-type") if body.nil?
303
+ # Generated methods always pass `req[:body]` for operations that define a
304
+ # request body, so only elide the content-type header when the operation
305
+ # has no body at all, not when an optional body param was omitted.
306
+ headers.delete("content-type") if body.nil? && !req.key?(:body)
304
307
 
305
308
  url = OursprivacyIngest::Internal::Util.join_parsed_uri(
306
309
  @base_url_components,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OursprivacyIngest
4
- VERSION = "1.14.0"
4
+ VERSION = "1.14.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oursprivacy-ingest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ours Privacy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-15 00:00:00.000000000 Z
11
+ date: 2026-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi