e-invoice-api 0.20.1 → 0.20.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: d7ece856cc974ca7c63cf19036343c9b2bde6d7f725790e049bc85e2f882becb
4
- data.tar.gz: 4b297a770b4b770d8b82983d5438a5b012e41e3707f391b8b82eef91ef71b7c4
3
+ metadata.gz: '08e80f1abd6c6e93651f9dedc1b3fa3c2c9255d302e90ab8a722ee1d918d3f76'
4
+ data.tar.gz: 6866e0a14798654bd48e8d3366fa84ab9138854c3095945a00d354e490ffb3b9
5
5
  SHA512:
6
- metadata.gz: 9d08088088e8f9fa0106b8281eaf3aca1b52cf1e7607b2de680c7eee2f46eb0487bb509a9e27a39761420cbab65cf5bb01aa2fab6d2fc38420973ac630bee9c6
7
- data.tar.gz: bc7bbf295918aae8c4ba8ca91997566160ee55a5bbbdacf2c99807b03b53ba9ab2749ff827a61213c13ee5ef5d4000b84022af2bb1d9ab2b7752fc573e36837a
6
+ metadata.gz: 8059685ff994d8bca3b1cb0250b004a994604b51b42618e7ea9aa0c4217a5ea2efd34b6313dc803c2cf091eb36463c1fa1b834071a45c21e30211c5d774b528b
7
+ data.tar.gz: cf6a727005fd3f49a6326e86b35d5d82f5b0b5effea058ef67d8c4df57540748dfb26fad93a565b1555ea75e145f05a2c1f70bb27edd8fdafc28a9b39730e10a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.20.2 (2026-02-03)
4
+
5
+ Full Changelog: [v0.20.1...v0.20.2](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.20.1...v0.20.2)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** always add content-length to post body, even when empty ([1d87da9](https://github.com/e-invoice-be/e-invoice-rb/commit/1d87da9a9c84714770b15a7da19d9ad058b91bcd))
10
+
3
11
  ## 0.20.1 (2026-01-29)
4
12
 
5
13
  Full Changelog: [v0.20.0...v0.20.1](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.20.0...v0.20.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 "e-invoice-api", "~> 0.20.1"
29
+ gem "e-invoice-api", "~> 0.20.2"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -75,7 +75,7 @@ module EInvoiceAPI
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 = EInvoiceAPI::Internal::Util::ReadIOAdapter.new(body, &blk)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EInvoiceAPI
4
- VERSION = "0.20.1"
4
+ VERSION = "0.20.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e-invoice-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - e-invoice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-29 00:00:00.000000000 Z
11
+ date: 2026-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi