e-invoice-api 0.16.0 → 0.16.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: 5af56e53a9b358f32da6e9b575e4fb4a8216f03e7b2fdd864235ce89c4f4cda0
4
- data.tar.gz: 40126def6f910f37fe3fc030ccd09f017872af2eb6a5829aab35e6cfed26a596
3
+ metadata.gz: 2ffe13f56327881976bc84702f3ef295e0bfb69448b55830f5456c0bc96a08cd
4
+ data.tar.gz: 1c8e291c0a59be982ef4b710136a8d3c665e4bae2712ca52e705ac79cc3352ec
5
5
  SHA512:
6
- metadata.gz: 87d9cdad0155e4c5c83a25f4288f09f3edc9c1e93794c079a510da56f632cb91a2e72035055030a12ae03b12229cbb388aa285984b21ac804c9da841cece19c5
7
- data.tar.gz: a470900caa8fd75e54a3afe520db69fdd3bfdeeb28727f3fc7ada2292c1fe3fc87d311c8877705b36c3c79f4004d42dac0d4fa067cc6c61c4e2da49fc6cf65f7
6
+ metadata.gz: 77e4501f640d05c577072df968df337a9c15787c126447550300cb3d4fa66eeec9a2b4259d4087c6a76d8e25da18e5c973833ae1988a1297495730377444b9ce
7
+ data.tar.gz: 70e3b8fdf20a4f64c8ac1a9073d6ebb7c4fcd3a35e3d68150602c12e3629b363451f41a58007479c391a9e5e8662cbc93c5bc77613e750ad96fbb595e4f833d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.1 (2025-12-17)
4
+
5
+ Full Changelog: [v0.16.0...v0.16.1](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.16.0...v0.16.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * calling `break` out of streams should be instantaneous ([5b43b59](https://github.com/e-invoice-be/e-invoice-rb/commit/5b43b592fb1a63697ca274ba89b25c12d67083d5))
10
+
3
11
  ## 0.16.0 (2025-12-11)
4
12
 
5
13
  Full Changelog: [v0.15.0...v0.16.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.15.0...v0.16.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 "e-invoice-api", "~> 0.16.0"
20
+ gem "e-invoice-api", "~> 0.16.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -153,17 +153,19 @@ module EInvoiceAPI
153
153
  end
154
154
 
155
155
  self.class.calibrate_socket_timeout(conn, deadline)
156
- conn.request(req) do |rsp|
157
- y << [req, rsp]
158
- break if finished
159
-
160
- rsp.read_body do |bytes|
161
- y << bytes.force_encoding(Encoding::BINARY)
162
- break if finished
163
-
164
- self.class.calibrate_socket_timeout(conn, deadline)
156
+ ::Kernel.catch(:jump) do
157
+ conn.request(req) do |rsp|
158
+ y << [req, rsp]
159
+ ::Kernel.throw(:jump) if finished
160
+
161
+ rsp.read_body do |bytes|
162
+ y << bytes.force_encoding(Encoding::BINARY)
163
+ ::Kernel.throw(:jump) if finished
164
+
165
+ self.class.calibrate_socket_timeout(conn, deadline)
166
+ end
167
+ eof = true
165
168
  end
166
- eof = true
167
169
  end
168
170
  end
169
171
  ensure
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EInvoiceAPI
4
- VERSION = "0.16.0"
4
+ VERSION = "0.16.1"
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.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - e-invoice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-11 00:00:00.000000000 Z
11
+ date: 2025-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool