zuora_api 0.2.6.4 → 0.2.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 373ec490542a3dc52e573672a02c86afac305097
4
- data.tar.gz: d3c3590ffc01986842faf9bed98384571c6d2f53
3
+ metadata.gz: a9c1f8874502663f7cdee03e9070150a4a4a00f8
4
+ data.tar.gz: 25aad3a7dcb1641458d3c2534b7d5fa70dcc8d49
5
5
  SHA512:
6
- metadata.gz: 2de0ead7dab62081da4c1648e669007b444749c462c9a4d3e6b25ec3049304ca404e06d5784abc4d5e197258303aa39954aaf44248cad263d6f532a73251cc03
7
- data.tar.gz: 017e97a756cf0ea9506ec032ed1986557324af941cf0f789c512421ae68623100509d22063d1e89cbf910a5aa41dcaf18741d0de849e81ef2d16d25b84b90e21
6
+ metadata.gz: f42b415b8c7fdddb15c28c5473e8697246af6b31fbe29021dc0ee3621c63a792b561211ffa6b035ceb6015a38740256d87ca680716e930754bd84d6583217bac
7
+ data.tar.gz: f644c667eb2585a42523985fea64c50164b5a0731524af4473f6dede562324049208c8eaf3153884859ce8342643a4ef86109f8b03a7e3a6927c4043ac82c666
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (0.2.6.4)
4
+ zuora_api (0.2.6.5)
5
5
  httparty
6
6
  nokogiri (~> 1.6.8)
7
7
  railties (>= 4.1.0, < 5.1)
@@ -264,26 +264,25 @@ module ZuoraAPI
264
264
  Rails.logger.debug('Connect') {"Response JSON: #{output_json}"} if debug
265
265
  raise "#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}" if !output_json["success"] || response.code != 200
266
266
  rescue => ex
267
- if !(tries -= 1).zero
268
- case ex.to_s.split("::")[0]
269
- when "90000011"
270
- Rails.logger.debug {"Session Invalid"}
271
- self.new_session
272
- retry
267
+ if !(tries -= 1).zero
268
+ case ex.to_s.split("::")[0]
269
+ when "90000011"
270
+ Rails.logger.debug {"Session Invalid"}
271
+ self.new_session
272
+ retry
273
+ else
274
+ if debug
275
+ raise ex
273
276
  else
274
- if debug
275
- raise ex
276
- else
277
- return output_json
278
- end
277
+ return output_json
279
278
  end
280
- elsif debug
281
- return output_json
282
- else
283
- raise ex
284
279
  end
280
+ elsif debug
281
+ return output_json
282
+ else
283
+ raise ex
285
284
  end
286
- else
285
+ else
287
286
  return output_json
288
287
  end
289
288
 
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "0.2.6.4"
2
+ VERSION = "0.2.6.5"
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.6.4
4
+ version: 0.2.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group