zuora_api 0.2.5.4 → 0.2.5.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: 169f2f90fba53110b85acf5f0503e10e109fedd6
4
- data.tar.gz: 5aa69c3fd166a6ef685ba969830bd6ad7d3ffa41
3
+ metadata.gz: f1e3ea9eac80a9c454882a7a2467ec7c5442fb52
4
+ data.tar.gz: 8c7fbcd2b2d11700591720e2c739feb078b40a45
5
5
  SHA512:
6
- metadata.gz: 411afcba59e39519b7742812c7e5847969ce77ce717f36c1b630358f096b706cdf8d1d9b72b9f4493845866f90a57ef484882db622d33431f4e8ba1a59e21d0e
7
- data.tar.gz: 9abd148c972ac5fa24f31f3ed431e0ba212a55b56fce6e77a331d0350970242e2c576ceaf108d11813ff8a633f158b5fd1cb32988285178e61511cc3ec0b3ebf
6
+ metadata.gz: d8384924caf45de0001d7a7e319590195876bba345015796e5ae6a9c03b78c73f34d6006126ad7fe98cac3fc95f4bc87dd14fd3871acda66334a323346a5b49e
7
+ data.tar.gz: b53a3610db8ea384a83a9198b7188d48f087e78b7ba5d16d88000f94f9aaeaefde05a18aadbc8117cdb0946fb49f80692d5b60eda480f6fed62b08060e5b6c36
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (0.2.5.4)
4
+ zuora_api (0.2.5.5)
5
5
  httparty
6
6
  nokogiri (~> 1.6.8)
7
7
  railties (>= 4.1.0, < 5.1)
@@ -197,10 +197,8 @@ module ZuoraAPI
197
197
  response = HTTParty.post(self.url,:body => xml.doc.to_xml, :headers => {'Content-Type' => "text/xml; charset=utf-8"}, :timeout => 10)
198
198
  output_xml = Nokogiri::XML(response.body)
199
199
  Rails.logger.debug('Connect') {"Response SOAP XML: #{output_xml.to_xml(:save_with => Nokogiri::XML::Node::SaveOptions::AS_XML | Nokogiri::XML::Node::SaveOptions::NO_DECLARATION).strip}"}
200
- if !debug
201
- raise "#{output_xml.xpath('//fns:FaultCode', 'fns' =>'http://fault.api.zuora.com/').text}::#{output_xml.xpath('//fns:FaultMessage', 'fns' =>'http://fault.api.zuora.com/').text}" if !output_xml.xpath('//fns:FaultCode', 'fns' =>'http://fault.api.zuora.com/').text.blank?
202
- raise "#{output_xml.xpath('//faultcode').text}::#{output_xml.xpath('//faultstring').text}" if !output_xml.xpath('//faultcode').text.blank?
203
- end
200
+ raise "#{output_xml.xpath('//fns:FaultCode', 'fns' =>'http://fault.api.zuora.com/').text}::#{output_xml.xpath('//fns:FaultMessage', 'fns' =>'http://fault.api.zuora.com/').text}" if !output_xml.xpath('//fns:FaultCode', 'fns' =>'http://fault.api.zuora.com/').text.blank? && !debug
201
+ raise "#{output_xml.xpath('//faultcode').text}::#{output_xml.xpath('//faultstring').text}" if !output_xml.xpath('//faultcode').text.blank? && !debug
204
202
  rescue => ex
205
203
  if !(tries -= 1).zero?
206
204
  case ex.to_s.split("::")[0]
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "0.2.5.4"
2
+ VERSION = "0.2.5.5"
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: 0.2.5.4
4
+ version: 0.2.5.5
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: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler