microsoft_kiota_faraday 0.14.0 → 0.15.0

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: f578ca1ba0645ad59b24a6487c383b351eb016ec9d39c860ae4e04bdde229fdd
4
- data.tar.gz: 791230af8f46ce2bb510ad00a973580f97073c4a9aa2f0a95943d4b97a492a7a
3
+ metadata.gz: 8283ab45d952dd9ce09297255b84aff4d12f4c39131bde1fbac9ac51eb9d4edc
4
+ data.tar.gz: 9a4c91de3e7246d077057f46d3783f994c4d5cb80bef6d00452b3d426d27f494
5
5
  SHA512:
6
- metadata.gz: 17e3764eff9ceade43ab88d8011651803587ce3352ba8cf7538ed8b0636c59c2a9b7736ae731f13e4426be1553f33180ba50f5bca67053035c8d91b8aa2a65e0
7
- data.tar.gz: 5e0adce35b9732ee8e45c0c5cf21109c0b9c48c1ba8bd58251fcd57d5627c168e7eecc7e376b39d20bcfdece9ba2836b9a2fbcc58fd6db148d56a6dfcfbd76e3
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MicrosoftKiotaFaraday
4
- VERSION = '0.14.0'
4
+ VERSION = '0.15.0'
5
5
  end
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.14.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-15 00:00:00.000000000 Z
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