mint_http 1.1.2 → 1.1.3

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: aa830b46ebe311e90ff571e7d713b50e7fc742a222750cd59695ca4bee8361cc
4
- data.tar.gz: d334bf77edf4eecd8882d05002b719374f64ba46311000d5322d899a57758728
3
+ metadata.gz: 0147cc41ad3d34f0000ac43dd351a26f2f949e9c0eab686c5bb1cbf1e65cbaea
4
+ data.tar.gz: b678ea32b9401824ae5dc1e1253138cb10412fc5e5dcbd25c9a0da78c5352793
5
5
  SHA512:
6
- metadata.gz: 9e7fae9a7e8836b7a5798d8b4232b40965e5acf6930589c6887389cf89c03e914bfa6cd47243d555206a40713549409c8783c0b90ed15e04874eac9c670334cc
7
- data.tar.gz: 6065f172e8157e7cf76c0d2b8a549c571660588201ebc832eae685e5fff92dbc91142555a5f6ab3bd44ef2ca0561f0c23f8b52977b6bc59a03eaf50f485763e7
6
+ metadata.gz: 8ccfb8182257cd4b95dea622e0b41a90ee1f050ffe2557f34503a3adf61b149d1c4a8b0d71ffa5f95a53598a0316006258d0d040cc31cd86b34bcb3686dcc106
7
+ data.tar.gz: 252f0c7a85c8b7f95d71db86b47f0c43c86262fe31b6fa64f14d2dc4385ca9cfad02a621674e9a960d1e31d72e692a1ddb4135159628b48022170274020b6831
@@ -110,7 +110,7 @@ module MintHttp
110
110
  buffer << <<~TXT
111
111
  <- Response: HTTP/#{@response.version} #{@response.status_code} #{@response.status_text}
112
112
  #{masked_headers(@response.headers, '<- ')}
113
- <- Length: #{@response.body.bytesize} Body: #{masked_body(@response.body, @response.headers['content-type'])}
113
+ <- Length: #{@response.body&.bytesize || 0} Body: #{masked_body(@response.body, @response.headers['content-type'])}
114
114
  TXT
115
115
  end
116
116
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MintHttp
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mint_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Alhoshaiyan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-27 00:00:00.000000000 Z
11
+ date: 2025-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http