zuora_api 1.11.6 → 1.11.7
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 +4 -4
- data/lib/zuora_api/login.rb +7 -4
- data/lib/zuora_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96d51c04ec6e65ee390a9f143f069966d12e5d3204159946a1bf2c295105153d
|
|
4
|
+
data.tar.gz: 9c13b7d6715eaaa6f9c1c2ca18129ebec8bf8df638928d8370b219af6864317c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee14b715f13a7e6c428b962cd0626d8f04f516a5a917e47e720088d0ccf7b9843bc8836f6fc4a4bba518af0871e52979e65c0447983b0cb5edf6af25241fa768
|
|
7
|
+
data.tar.gz: 48a58a517294070a1c8ef0175c578d83a107bc765faddfdd85233b93e15909d3e6ad63ee39bf08ac4874fa843f301d9e20c739c2628882f56374f270ddb8a03e
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -13,12 +13,13 @@ module ZuoraAPI
|
|
|
13
13
|
|
|
14
14
|
CONNECTION_EXCEPTIONS = [
|
|
15
15
|
Net::OpenTimeout,
|
|
16
|
-
OpenSSL::SSL::SSLError,
|
|
17
|
-
Errno::ECONNREFUSED,
|
|
18
16
|
SocketError,
|
|
19
|
-
|
|
17
|
+
OpenSSL::SSL::SSLError,
|
|
18
|
+
Errno::ECONNREFUSED, #A remote host refused to allow the network connection
|
|
19
|
+
Errno::EINVAL, #Invalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function.
|
|
20
|
+
Errno::EHOSTUNREACH, #The remote host for a requested network connection is not reachable.
|
|
20
21
|
Errno::EADDRNOTAVAIL,
|
|
21
|
-
Errno::ETIMEDOUT,
|
|
22
|
+
Errno::ETIMEDOUT, #ETIMEDOUT A socket operation with a specified timeout received no response during the timeout period.
|
|
22
23
|
].freeze
|
|
23
24
|
|
|
24
25
|
CONNECTION_READ_EXCEPTIONS = [
|
|
@@ -668,6 +669,8 @@ module ZuoraAPI
|
|
|
668
669
|
if new_message.present?
|
|
669
670
|
if new_message.include?("The query exceeded maximum processing time")
|
|
670
671
|
error, message = ['TRANSACTION_FAILED', new_message.concat(" Please see KC for the Max Timeout Specification https://community.zuora.com/t5/Release-Notifications/Upcoming-Change-for-AQuA-and-Data-Source-Export-January-2021/ba-p/35024")]
|
|
672
|
+
elsif new_message.include?("There is no field named")
|
|
673
|
+
error, message = ['TRANSACTION_FAILED', new_message]
|
|
671
674
|
else
|
|
672
675
|
error, message = ['UNEXPECTED_ERROR', new_message]
|
|
673
676
|
end
|
data/lib/zuora_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zuora Strategic Solutions Group
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|