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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbfa87e1d769f23011adcba219693a3275183a2d8fa69d5e3b7c60df0d4d1c5d
4
- data.tar.gz: 6a5b18c174109167cc4cc733252a467f8f9fe5a258b0af1179338ab77627ad35
3
+ metadata.gz: 96d51c04ec6e65ee390a9f143f069966d12e5d3204159946a1bf2c295105153d
4
+ data.tar.gz: 9c13b7d6715eaaa6f9c1c2ca18129ebec8bf8df638928d8370b219af6864317c
5
5
  SHA512:
6
- metadata.gz: c6be558343d40f15f478f3ce1f854a6a43fd8ebf5767c86396b32bb5b906016e022fe9dc0a34db107a50f082be683d4453d22a2bbd086f139a5649f32430b1b1
7
- data.tar.gz: 85feb31d98bdd983b75645d42df6ca12b2aeebb105ca7a4b55c386794d64d2fcbc1c4bdd5d0db5d75b7f41c8c9268da63c30aba6a2dd4cb37d735d69d2e38949
6
+ metadata.gz: ee14b715f13a7e6c428b962cd0626d8f04f516a5a917e47e720088d0ccf7b9843bc8836f6fc4a4bba518af0871e52979e65c0447983b0cb5edf6af25241fa768
7
+ data.tar.gz: 48a58a517294070a1c8ef0175c578d83a107bc765faddfdd85233b93e15909d3e6ad63ee39bf08ac4874fa843f301d9e20c739c2628882f56374f270ddb8a03e
@@ -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
- Errno::EHOSTUNREACH,
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
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.11.6"
2
+ VERSION = "1.11.7"
3
3
  end
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.6
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-08-25 00:00:00.000000000 Z
11
+ date: 2023-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler