microsoft_kiota_faraday 0.24.0 → 0.24.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a68a845f0887c47484b1e228b72cd33f3cfc8fcffdcfb6f7e3594deba1030ed
|
|
4
|
+
data.tar.gz: '03395094f438a7bfc4f4711c65b1dafc73587eac817395677ea2e3dc4f9db2bf'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dac37551824aa2f994cd6e2fff4c3cf0cc07c1e461f6204eb62c807c96e00413da6200271e926536fa92e86ee919496d71f5e47cfa93bc2e58b287bc14901aa8
|
|
7
|
+
data.tar.gz: 4063ca45152405abccb8fa823f4fbc2173bd4950ab33bc164521ce0110df4b67fd9cb0bfbfc1046f1fc92591fe07baf0e165b623d556477adde53a54034e5fc0
|
|
@@ -141,11 +141,11 @@ module MicrosoftKiotaFaraday
|
|
|
141
141
|
return if status_code < 400
|
|
142
142
|
|
|
143
143
|
error_factory = errors_mapping[status_code.to_s] unless errors_mapping.nil?
|
|
144
|
-
error_factory = errors_mapping['4XX'] unless !error_factory.nil? || errors_mapping.nil? || status_code
|
|
145
|
-
unless !error_factory.nil? || errors_mapping.nil? || status_code < 500 || status_code
|
|
144
|
+
error_factory = errors_mapping['4XX'] unless !error_factory.nil? || errors_mapping.nil? || status_code >= 500
|
|
145
|
+
unless !error_factory.nil? || errors_mapping.nil? || status_code < 500 || status_code >= 600
|
|
146
146
|
error_factory = errors_mapping['5XX']
|
|
147
147
|
end
|
|
148
|
-
unless !error_factory.nil? || errors_mapping.nil? || status_code < 400 || status_code
|
|
148
|
+
unless !error_factory.nil? || errors_mapping.nil? || status_code < 400 || status_code >= 600
|
|
149
149
|
error_factory = errors_mapping['XXX']
|
|
150
150
|
end
|
|
151
151
|
if error_factory.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: microsoft_kiota_faraday
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.24.
|
|
4
|
+
version: 0.24.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
@@ -35,14 +35,14 @@ dependencies:
|
|
|
35
35
|
requirements:
|
|
36
36
|
- - '='
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: 0.24.
|
|
38
|
+
version: 0.24.1
|
|
39
39
|
type: :runtime
|
|
40
40
|
prerelease: false
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
43
|
- - '='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: 0.24.
|
|
45
|
+
version: 0.24.1
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: rake
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|