httplog 1.7.2 → 1.7.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: 87b80e693e8c8e8aaa42c54e598c3c4220dd9dc1e5a388ac3a8a8589aede352a
4
- data.tar.gz: c43ab9b88e348526f03284261f9c4c4c4d6b5a7c43d07ace19d1eba35cb85a62
3
+ metadata.gz: 3b522cba88d4a5419bbd1c324b6687bfc09861e7938c8ca9c8c5b1cf8818b860
4
+ data.tar.gz: 9145f8956d5294f88ad04165246eb8144727562f116d4cad3788b8833c12389d
5
5
  SHA512:
6
- metadata.gz: 27c10b46b5cac797142439348599b3c20745299f279cd0c0dc2e61de044e0124dcfeb677c511d838fc4eae5e3bad1c4d793aea81888f99b401b983d8e8769405
7
- data.tar.gz: b85c27bf42a99d1d7be8bc1bf2512dd5631e402d8af89e4ba4c01d8b472acd7aaf3908932b1ab01baef51593cd8fb4b448e98adb09ce5d74f58feae8c6379500
6
+ metadata.gz: c127b15b06d182cb8ce2a1ae096c109e32ea55b62bf1c69d3692286f13ae92ac018ca8d8839c12f54e3627ed9d8b4eaf913823015e69e11fa3cf6e2c5944bb7f
7
+ data.tar.gz: 1ed88fcba8d90cdb2cbbf96212389d42b40cb27284377059dfe70fa0971e9966ffd4c2bbe035bcd49297f01dc6bdd1bf1be783c7ba85470ec631e6053221b306
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.7.2 - 2024-08-07
2
+
3
+ * [#173](https://github.com/trusche/httplog/pull/173) Bugfix: Parse empty response headers correctly
4
+
1
5
  ## 1.7.2 - 2024-07-24
2
6
 
3
7
  * [#160](https://github.com/trusche/httplog/pull/160) Rename blacklist/whitelist to allowlist/denylist. Backwards compatible.
@@ -32,7 +32,7 @@ if defined?(Ethon)
32
32
  request_headers: @http_log[:headers],
33
33
  response_code: @return_code,
34
34
  response_body: @http_log[:response_body],
35
- response_headers: @http_log[:response_headers].map { |header| header.split(/:\s/) }.to_h,
35
+ response_headers: @http_log[:response_headers].map { |header| header.split(/:\s*/, 2) }.to_h,
36
36
  benchmark: bm,
37
37
  encoding: @http_log[:encoding],
38
38
  content_type: @http_log[:content_type],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpLog
4
- VERSION = '1.7.2'.freeze
4
+ VERSION = '1.7.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httplog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thilo Rusche