zuora_api 1.11.12 → 1.11.14
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 +2 -3
- 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: a245ab4729db00da074e3908465e3edab08684851f50b2d5b96e9c42ae1ef433
|
|
4
|
+
data.tar.gz: 1e7cb5946e79410336c3c46dee7044682e7d5d9077819441858463aba7ea995f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51b06cd5e7600c5ad2559ee28e9b4175ebc0c6aad7d8270cc559428cd8bc732fbdb07fc2fa72bc235f44f5a57e696a78233dbf5ff97fd967dfb2423f758bf4c4
|
|
7
|
+
data.tar.gz: 6b0b2f9d94c3568270b7699c12c7a28034b770259d1db3422718eb7756d38e3dda6cc5d1d8e86039851c34dec687c13c42573b830de94aa8fc33ea198161dbe9
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -282,7 +282,7 @@ module ZuoraAPI
|
|
|
282
282
|
when /(?<=\.|\/|^)(www|api)(?=\.|\/|$)/, /(^|tls10\.|origin-www\.|zforsf\.|eu\.|na\.|ap\.)(zuora\.com)/
|
|
283
283
|
self.environment = 'Production'
|
|
284
284
|
when /(?<=\.|\/|-|^)(preprod|preprod)(?=\.|\/|-|$)/
|
|
285
|
-
self.environment = '
|
|
285
|
+
self.environment = 'Preprod'
|
|
286
286
|
else
|
|
287
287
|
self.environment = 'Unknown'
|
|
288
288
|
end
|
|
@@ -294,7 +294,7 @@ module ZuoraAPI
|
|
|
294
294
|
def update_zconnect_provider
|
|
295
295
|
update_region if self.region.blank?
|
|
296
296
|
update_environment if self.environment.blank?
|
|
297
|
-
mappings = {"US" => {"Sandbox" => "ZConnectSbx", "Services" => "ZConnectSvcUS", "Production" => "ZConnectProd", "Performance" => "ZConnectPT1", "
|
|
297
|
+
mappings = {"US" => {"Sandbox" => "ZConnectSbx", "Services" => "ZConnectSvcUS", "Production" => "ZConnectProd", "Performance" => "ZConnectPT1", "Preprod" => "ZConnectPreprod", "Test" => "ZConnectTest", "Staging" => "ZConnectQA", "KubeSTG" => "ZConnectDev", "KubeDEV" => "ZConnectDev", "KubePROD" => "ZConnectDev"},
|
|
298
298
|
"NA" => {"Sandbox" => "ZConnectSbxNA", "Services" => "ZConnectSvcNA", "Production" => "ZConnectProdNA", "Performance" => "ZConnectPT1NA"},
|
|
299
299
|
"EU" => {"Sandbox" => "ZConnectSbxEU", "Services" => "ZConnectSvcEU", "Production" => "ZConnectProdEU", "Performance" => "ZConnectPT1EU", "Test" => "ZConnectTest"},
|
|
300
300
|
"JP" => {"Sandbox" => "ZConnectSbxAP", "Services" => "ZConnectSvcAP", "Production" => "ZConnectProdAP", "Performance" => "ZConnectPT1AP", "Test" => "ZConnectTest"},
|
|
@@ -1380,7 +1380,6 @@ module ZuoraAPI
|
|
|
1380
1380
|
status_code = response.code if response
|
|
1381
1381
|
case response
|
|
1382
1382
|
when Net::HTTPOK
|
|
1383
|
-
Rails.logger.warn("Headers: #{response.to_hash.to_s}")
|
|
1384
1383
|
if output_file_name.present?
|
|
1385
1384
|
file_ending ||= output_file_name.end_with?(".csv.zip") ? ".csv.zip" : File.extname(output_file_name)
|
|
1386
1385
|
filename ||= File.basename(output_file_name, file_ending)
|
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.14
|
|
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: 2024-
|
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|