microsoft_kiota_faraday 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8283ab45d952dd9ce09297255b84aff4d12f4c39131bde1fbac9ac51eb9d4edc
|
4
|
+
data.tar.gz: 9a4c91de3e7246d077057f46d3783f994c4d5cb80bef6d00452b3d426d27f494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ca8d5fb301de24bcb8780612961fee732a232dd6737867071598f2ef01abb54c556dc2185ca420f332e1fe6028508f7e4780b23ddb9e003b50deac6a0bbd783
|
7
|
+
data.tar.gz: 5f0e91186db4a5172033e98eea8fb0e4ede997a5025f0474e7435d106a967f8f64320949ce784deeb3d174fa7f9483f677712d789469588726e2ed01c78784db
|
data/CHANGELOG.md
CHANGED
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
11
11
|
|
12
12
|
### Changed
|
13
13
|
|
14
|
+
## [0.15.0] - 2024-02-16
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
|
18
|
+
- Ensure get_parse_node does not fail when response body is empty. [#27](https://github.com/microsoft/kiota-http-ruby/pull/28)
|
19
|
+
|
14
20
|
## [0.14.0] - 2024-02-14
|
15
21
|
|
16
22
|
### Changed
|
@@ -71,6 +71,7 @@ module MicrosoftKiotaFaraday
|
|
71
71
|
raise StandardError, 'response cannot be null' unless response
|
72
72
|
response_content_type = self.get_response_content_type(response);
|
73
73
|
raise StandardError, 'no response content type found for deserialization' unless response_content_type
|
74
|
+
return if response.body.nil? || response.body.empty?
|
74
75
|
return @parse_node_factory.get_parse_node(response_content_type, response.body)
|
75
76
|
end
|
76
77
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microsoft_kiota_faraday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: microsoft_kiota_abstractions
|