zuora_api 1.10.9 → 1.10.10

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: c2a845512e7b0a92e7df9140569bbd71b12db189e0b8399e3e4e7ee5b35eda16
4
- data.tar.gz: 3ddd1693bb6efb40f5e1e4c0f1e437e325163ed260c316e40ade3608aca76b8c
3
+ metadata.gz: d3d55746dfb36b13817266ec288a42fa0797502acfe5286cd467500abf80f6b7
4
+ data.tar.gz: fdc13e4da4dbf6f7a4ed75259d1713cf72055aca3d07127d009640cf1bd80205
5
5
  SHA512:
6
- metadata.gz: e2e8b020a6a0a72283eef2230d5519538c4239559fe946d54a79bbc3e21b276fce2c7701a9e6bf10472fb78460e096e16c82e48b94da39334706a6bae5c4b2dc
7
- data.tar.gz: a8787fa1982733ff473758e5b1d6a949683684cadcbf1eb516d19096dbfbaf73991b552fcd8e7e6b4a43f8d66fdf07ae5f0dbabae32c24f8dcece1eefec58510
6
+ metadata.gz: 0b6d4b06b61a73dd347c64c03b0f63d5d88bf24ab30b3cccf18fb586bedb8b3b5e15273f8ac609631d52fa07c0aefb3dba8f1ffdc52299e140aae5a5b5923870
7
+ data.tar.gz: 665cf923322a43271ecfd94bfc396efa84e6243bd570550964e972e823dc2b51e089dfec0a29fe8e328257eb44113b5355e5ef020d2fc26de75f037618452fba
@@ -7,7 +7,7 @@ module ZuoraAPI
7
7
  class Login
8
8
  ENVIRONMENTS = [TEST = 'Test', SANDBOX = 'Sandbox', PRODUCTION = 'Production', PREFORMANCE = 'Preformance', SERVICES = 'Services', UNKNOWN = 'Unknown', STAGING = 'Staging' ]
9
9
  REGIONS = [EU = 'EU', US = 'US', NA = 'NA' ]
10
- MIN_Endpoints = {'Test': '119.0', 'Sandbox': '119.0', 'Production': '118.0', 'Performance': '119.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '119.0'}.freeze
10
+ MIN_Endpoints = {'Test': '120.0', 'Sandbox': '120.0', 'Production': '120.0', 'Performance': '120.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '121.0'}.freeze
11
11
  XML_SAVE_OPTIONS = Nokogiri::XML::Node::SaveOptions::AS_XML | Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
12
12
  USER_AGENT = "Zuora#{ENV['Z_APPLICATION_NAME']&.capitalize}/#{ENV['Z_APPLICATION_VERSION']&.delete('v')}"
13
13
 
@@ -655,8 +655,15 @@ module ZuoraAPI
655
655
  error = 'UNEXPECTED_ERROR'
656
656
  if message.present?
657
657
  identifier, new_message = message.scan(/^([\w\d]{16})\: (.*)/).first
658
- error, message = ['UNEXPECTED_ERROR', new_message] if new_message.present?
659
- 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")] if new_message.include?("The query exceeded maximum processing time")
658
+ if new_message.present?
659
+ if new_message.include?("The query exceeded maximum processing time")
660
+ 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")]
661
+ else
662
+ error, message = ['UNEXPECTED_ERROR', new_message]
663
+ end
664
+ else
665
+ error, message = ['UNEXPECTED_ERROR', message]
666
+ end
660
667
  else
661
668
  message = 'Export failed due to unknown reason. Consult api logs.'
662
669
  end
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.10.9"
2
+ VERSION = "1.10.10"
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.10.9
4
+ version: 1.10.10
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: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler