httpsensible 0.3.1 → 0.3.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: eaab93832d76ac7f345f53f99f47ba2f28e8e0ac1c10ba6a143e69c89b7a1239
4
- data.tar.gz: a14917d3daad16506ef16d1e2f1d1d1ceb26b6768fb67782d832a4e58ca6e993
3
+ metadata.gz: 670b31ebe9dde46558e2933c63fa7af35851ae366f5c288513ae782265cbb503
4
+ data.tar.gz: d9eb93fda962e639270e61fbded943b8434ccb9a4e223958557594b2d067fbcc
5
5
  SHA512:
6
- metadata.gz: 9301245ec555554b412ead1d78cf5deca8489a154f460827ee75fee0bc8812132efa9e240290d42957f39aba843ca3f85be1b02c0b36d7adc83f807215d02e75
7
- data.tar.gz: a7605c629282f4a5e6931cc3501b036fd60783f9e6c8013f03c86a58d4f4f45cee3401ada498a795069f84521db66b2b685bac47f8b5153a3ff00f02cdf384d8
6
+ metadata.gz: 6120b908a4d41606fa69d1dbbbbc06f4e8a5dc29bdb70e5a48c686a72dca53cdb17c4f9d3474881b2afadef9b6b2beaba59be81dd9cec00c45fdf09654a249ba
7
+ data.tar.gz: 1393765cadaf9449369bbebf5171a203d99a24be1621f860a07755a02de60102362738f452ce19364211fc9379aff227ab06c159a804dcaae028abff3d9c2161
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # [v0.3.2] - 28-03-2025
2
+ ## What's Changed
3
+ * default to empty string by @gjtorikian in https://github.com/yettoapp/httpsensible/pull/10
4
+
5
+
6
+ **Full Changelog**: https://github.com/yettoapp/httpsensible/compare/v0.3.1...v0.3.2
1
7
  # [v0.3.1] - 22-05-2024
2
8
  **Full Changelog**: https://github.com/yettoapp/httpsensible/compare/v0.3.0...v0.3.1
3
9
  # [v0.3.0] - 19-05-2024
@@ -24,7 +24,7 @@ module Httpsensible
24
24
 
25
25
  # sig { params(response: T.any(HTTPX::Response, HTTPX::ErrorResponse)).returns(T::Boolean) }
26
26
  def parsed_json_body
27
- JSON.parse(raw_body)
27
+ JSON.parse(raw_body || "")
28
28
  rescue JSON::ParserError
29
29
  {}
30
30
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Httpsensible
5
- VERSION = "0.3.1"
5
+ VERSION = "0.3.2"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpsensible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2025-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpx
@@ -88,7 +88,7 @@ dependencies:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '3.8'
91
- description:
91
+ description:
92
92
  email:
93
93
  - gjtorikian@users.noreply.github.com
94
94
  executables: []
@@ -173,7 +173,7 @@ licenses:
173
173
  metadata:
174
174
  homepage_uri: https://github.com/yettoapp/httpsensible
175
175
  source_code_uri: https://github.com/yettoapp/httpsensible
176
- post_install_message:
176
+ post_install_message:
177
177
  rdoc_options: []
178
178
  require_paths:
179
179
  - lib
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubygems_version: 3.4.6
195
- signing_key:
195
+ signing_key:
196
196
  specification_version: 4
197
197
  summary: An HTTP client with sensible defaults.
198
198
  test_files: []