zuora_api 0.2.7.6 → 0.2.7.6.1

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
  SHA1:
3
- metadata.gz: 84fd5941e62ad3400ccd60635898aff35990d673
4
- data.tar.gz: 364f7c84655db5beb5753d90d92bf438650109c1
3
+ metadata.gz: 99f900d3caf4900838d810ac4a7d55a38c0707de
4
+ data.tar.gz: f45d5f85192d5f60ed0a4a5ad1d18536dbb4c2c5
5
5
  SHA512:
6
- metadata.gz: 1a667d217f5a8f408a57ce06f11114c019722a1d91b5bb108e1dba121623c973ed1409e7205e74ce334bc0b7152e775785e5f95c25237149f9f06e5702dc37bd
7
- data.tar.gz: 259382e10bcd9fb3bd14ae971c89f52315588b90df06ac6fb78a6f071554b77594ead5239f2f947db1afd3a5d9161b26a6c179334adf1b35b90cbcbf16314c46
6
+ metadata.gz: 9cd4786d2dff761a41d5ffc3079bffa2b5086a531319139c7213f17f172157285ef7ee8750e8782efaa94762330c12540004d1a66b39e9534568230bc51a336d
7
+ data.tar.gz: 51a2569aa0417c4e09c6fafd6bc1e953544f6cf4637a68dca19233b33905e17b0947cd0c82aa6c3da62829352d947106d2eb00b41195d7e015a0e3e4a6cb4d64
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (0.2.7.6)
4
+ zuora_api (0.2.7.6.1)
5
5
  httparty
6
6
  nokogiri (~> 1.6.8)
7
7
  railties (>= 4.1.0, < 5.1)
@@ -269,7 +269,7 @@ module ZuoraAPI
269
269
  output_json = JSON.parse(response.body)
270
270
  Rails.logger.debug('Connect') {"Response JSON: #{output_json}"} if debug
271
271
  raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("#{output_json["reasons"][0]["message"]}") if !output_json["success"] && response.code != 200 && output_json["reasons"][0]["code"] == 90000011
272
- raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if !output_json["success"] || !output_json["done"] || response.code != 200
272
+ raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if (!output_json["success"] && !output_json["done"]) || response.code != 200
273
273
  rescue ZuoraAPI::Exceptions::ZuoraAPISessionError => ex
274
274
  if !(tries -= 1).zero?
275
275
  Rails.logger.debug {"Session Invalid"}
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "0.2.7.6"
2
+ VERSION = "0.2.7.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.6
4
+ version: 0.2.7.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group