zuora_api 1.7.58 → 1.7.59

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: fb9e45899e7ed9dc05d9c9d18df9d279e296bcc7d6b5f7882df09982c3e6a15c
4
- data.tar.gz: 3f4a4ec2eb0f56177364fd4107d785e2b8209105709642da97a9d421937b90a6
3
+ metadata.gz: 266ba452074c07980d3117810776e9f5952f80f1d5857a115334335196b26b2a
4
+ data.tar.gz: b4092db3bd872fee2c3a28337dbcb7c309c9e0793905a7fd73cee0be16860e4e
5
5
  SHA512:
6
- metadata.gz: 6b0a07c385a8435988cfb41417e602a57143705e11a5c9a13b7a72a4f0852b0b6a4e15fc6a5960bfed109c0d3643ced57f6425448921649c2b36e479afa78a66
7
- data.tar.gz: e4b81e99bbac7512893e9aa617437a529f49ed0cff325c997d1cd90315b054c172254a3eb113deb0d2b47d2d5b8035a2dbc079db9fbff5cc201d1db79cea29a7
6
+ metadata.gz: f07cf3c660d6bde75b47fa7149576d602de22e32663da0fd130879a2fc1c45eb76403e0253e21179fc10b23074276c9b8857504647d04bc075bb8259a57d20fe
7
+ data.tar.gz: 2251b642b1bd6c73f929e78140da69ab0e2b7962020e7abcd936bcf565c671656814fa9c8ed34f9ebacd66fddf0b43a7c95d9348956036a4263a3dfa02cb0be9
@@ -1022,20 +1022,20 @@ module ZuoraAPI
1022
1022
  multipart: multipart,
1023
1023
  stream_body: stream_body
1024
1024
  ).perform(&block)
1025
+
1026
+ Rails.logger.debug("Response Code: #{response.code}") if debug
1027
+ begin
1028
+ output_json = JSON.parse(response.body)
1029
+ rescue JSON::ParserError => ex
1030
+ output_json = {}
1031
+ end
1032
+ Rails.logger.debug("Response JSON: #{output_json}") if debug && output_json.present?
1033
+
1034
+ raise_errors(type: :JSON, body: output_json, response: response)
1025
1035
  rescue
1026
1036
  reset_files(body) if multipart
1027
1037
  raise
1028
1038
  end
1029
-
1030
- Rails.logger.debug("Response Code: #{response.code}") if debug
1031
- begin
1032
- output_json = JSON.parse(response.body)
1033
- rescue JSON::ParserError => ex
1034
- output_json = {}
1035
- end
1036
- Rails.logger.debug("Response JSON: #{output_json}") if debug && output_json.present?
1037
-
1038
- raise_errors(type: :JSON, body: output_json, response: response)
1039
1039
  rescue ZuoraAPI::Exceptions::ZuoraAPIAuthenticationTypeError => ex
1040
1040
  if self.class.to_s == 'ZuoraAPI::Oauth' && ex.message.include?("Authentication type is not supported by this Login")
1041
1041
  session_type = :bearer
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.7.58"
2
+ VERSION = "1.7.59"
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.7.58
4
+ version: 1.7.59
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: 2020-03-26 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler