zuora_api 1.12.5 → 1.12.6

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: 6886834d4630fbee87c486296e50b5739f3b851b20b908a474ab333f17306c66
4
- data.tar.gz: 9a983123ce8cd9df54732f8dbab3215107ce907a5225584cde210712f37dadb4
3
+ metadata.gz: 19b10b38c84978bd1a152b389ccf6aa474497c62f43a6ebe6fac4b448a059b74
4
+ data.tar.gz: e613cd08566392bc61a5ebda38369154560690e9892ac0f0752ecd2492dc72f7
5
5
  SHA512:
6
- metadata.gz: 68af7589ab085db9fb04eed622e8526613c5623f5ab782881c03a055d8daea68035ec5c53f30024e0470da64bd0e72dc2c2e3fd5d9a4f766a13fc7a94616da6d
7
- data.tar.gz: b1eafafd9f0f6298a7f1a04cb5627134540068a27067e5a4fdc508ea028155a219839218530364e23a93ada0caa8e7518e4a9465bc87cbab64e8b2b88f4e7a57
6
+ metadata.gz: abbb97a9414ad98ff37a46a51e442c0b06a5fbc3a181ebddf0653925635a5385b521e37ff09c75cba36dc3bacaba4f38b81800470ca37904397d5fe55965ec6f
7
+ data.tar.gz: 0d16261092ebdb9acbf2804388a564f4afae5a7cd2ae64672e15ffe537fa97f90db3e266cbfa42c21c92687b704bf22ab182abd624552a86a66eca1eb3ba13af
@@ -51,8 +51,6 @@ module ZuoraAPI
51
51
  def initialize(url: nil, entity_id: nil, entity_identifier: nil, session: nil, status: nil, bearer_token: nil, oauth_session_expires_at: nil, **keyword_args)
52
52
  raise "URL is nil or empty, but URL is required" if url.nil? || url.empty?
53
53
  # raise "URL is improper. URL must contain zuora.com, zuora.eu, or zuora.na" if /zuora.com|zuora.eu|zuora.na/ === url
54
- Rails.logger.error("Zuora URL: #{url}")
55
-
56
54
  self.hostname = /(?<=https:\/\/|http:\/\/)(.*?)(?=\/|$)/.match(url)[0] if !/(?<=https:\/\/|http:\/\/)(.*?)(?=\/|$)/.match(url).nil?
57
55
  self.update_environment
58
56
  min_endpoint = MIN_Endpoints[self.environment.to_sym]
@@ -155,9 +153,10 @@ module ZuoraAPI
155
153
  "NA" => {"Sandbox" => "https://zconnect.sandbox.na.zuora.com/api/rest/v1/",
156
154
  "Production" => "https://zconnect.na.zuora.com/api/rest/v1/",
157
155
  "Services"=> ""},
158
- "JP" => {"Sandbox" => "https://zconnect.sandbox.ap.zuora.com/api/rest/v1/",
159
- "Production" => "https://zconnect.ap.zuora.com/api/rest/v1/",
160
- "Services"=> ""}
156
+ "JP" => {
157
+ "Production" => "https://zconnect-prod05.ap.zuora.com/api/rest/v1/",
158
+ "Test" => "https://zconnect-services0003.test.ap.zuora.com/api/rest/v1/"
159
+ }
161
160
  }
162
161
  return map[self.region][self.environment].insert(-1, path)
163
162
  end
@@ -284,8 +283,6 @@ module ZuoraAPI
284
283
 
285
284
  def update_environment
286
285
  if !self.hostname.blank?
287
- Rails.logger.error("Zuora Host - #{self.hostname} - #{caller.to_s}")
288
-
289
286
  case self.hostname
290
287
  when /(?<=\.|\/|-|^)(apisandbox|sandbox)(?=\.|\/|-|$)/
291
288
  self.environment = 'Sandbox'
@@ -392,8 +389,6 @@ module ZuoraAPI
392
389
  end
393
390
 
394
391
  def new_session(auth_type: :basic, debug: false, zuora_track_id: nil)
395
- Rails.logger.error("Login host - #{self.hostname} - #{self.inspect}")
396
-
397
392
  retries ||= 2
398
393
  yield
399
394
 
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.12.5"
2
+ VERSION = "1.12.6"
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.12.5
4
+ version: 1.12.6
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: 2025-01-24 00:00:00.000000000 Z
11
+ date: 2025-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler