cerca 0.2.0 → 0.2.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: ae67561fdcf585399edfd6d08ffa7fe50da0397ace860d689127c2c011dcedde
4
- data.tar.gz: 2841db8fd1be916786257f520cf1bc29463612b6e77b3994bab6130203c2caa9
3
+ metadata.gz: f414e32c961b634f9277f2fcc4d10ed92b75c970eace8539cf3e278299c71c1e
4
+ data.tar.gz: c2fe1f657f17c413764d0e3b5118994f69a6d173077e55b6bac28807bcb435a8
5
5
  SHA512:
6
- metadata.gz: ad22af0e4917d74a3be488dcbc666b25225b43318bf9ce45233b90ae21f5ba3a09b45114e95742ab305d14175db6d7eecedbd385a4d99ff3d135da47d9b916f9
7
- data.tar.gz: 8a82636af422680b0a5c5c422cf7fe57a52c8304b542ddbc6f86195d697d993583e7735ae0fdebbaba69459c6e1af898fa83d547daa29d901c7ee90673601e7f
6
+ metadata.gz: ab7b80c1da8ad37de792cf70647c0cdeb0939ea68d01688d2d8552d547c5037a45d12c8ab27d38f580b4c5d2cbdfe0f0646e769af5757bcfd96a7667fea4e287
7
+ data.tar.gz: f2209449db5ac774c18b06f1edd147fa6b2dc8eac41e7228bd1db54c1194958c9c22cd9f9b55cd087e7abeec736441df729374928275960d7b86d515aa946d91
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 (2026-05-14)
4
+
5
+ Full Changelog: [v0.2.0...v0.2.1](https://github.com/matrices/cerca-ruby/compare/v0.2.0...v0.2.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** elide content type header on requests without body ([fe8b287](https://github.com/matrices/cerca-ruby/commit/fe8b28723a6ee431607002a794ba6874adb1f688))
10
+
3
11
  ## 0.2.0 (2026-05-07)
4
12
 
5
13
  Full Changelog: [v0.1.0...v0.2.0](https://github.com/matrices/cerca-ruby/compare/v0.1.0...v0.2.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 "cerca", "~> 0.2.0"
20
+ gem "cerca", "~> 0.2.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -306,6 +306,8 @@ module Cerca
306
306
  Cerca::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
307
307
  end
308
308
 
309
+ headers.delete("content-type") if body.nil?
310
+
309
311
  url = Cerca::Internal::Util.join_parsed_uri(@base_url_components, {**req, path: path, query: query})
310
312
  headers, encoded = Cerca::Internal::Util.encode_content(headers, body)
311
313
  {
data/lib/cerca/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cerca
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cerca
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cerca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-07 00:00:00.000000000 Z
11
+ date: 2026-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi