zuora_api 1.7.49 → 1.7.50

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: ae66e3f70b9d98bc1ad9b8d6bd08c3ac43bea36234db0af1efe428a129614fee
4
- data.tar.gz: 812c7ab8f8133b8754ff7646169e3466b907099f707d394b9d6ea54e2073db66
3
+ metadata.gz: e75a6b0ad3f4bc32fb9219d2dc532ae7398c25f86196aee3be552056c16e53d3
4
+ data.tar.gz: 2db1a25001b11c3700d5c359de840bce013a278c9c9a060498525ecf533e9ddc
5
5
  SHA512:
6
- metadata.gz: 2981b12a15b6195df7115f769ffb71ebe4a84e5af2d305ab8396b0d497088054dec8be21cb1ae7bc51f731ea6856edcaef83caa3cdc804d9d74f1a8ff1295b74
7
- data.tar.gz: 85a4af2320a8f70115b35ab322fa844c0d72ac97c603339b598086c6c2f088ceebf8276157f08a7efc1511e03a083a129df128ed1994566f03133bacd2266ef7
6
+ metadata.gz: ac0dcc310f4f701908cb28f898045634290103e4b2cf65299ea6e25bf4e45999ee2577360e6e91a1f0210717f252a493b15ae4497f906c4140d7c9855853b600
7
+ data.tar.gz: 953b7b1332b0ec5c2f735b9a9b5d6bb247a9784aa28a75a98ef620de1dd2f73c1cec684908d2e3e8bf0707525fae8f8f2642fffea03b1ea96c5e0659cfeca564
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (1.7.49)
4
+ zuora_api (1.7.50)
5
5
  httparty
6
6
  nokogiri
7
7
  railties (>= 4.1.0, < 6)
@@ -11,12 +11,12 @@ module ZuoraAPI
11
11
  @message = "The balance of all the invoice items and tax items is 0. No write-off is needed for the invoice."
12
12
  when /^Json input does not match schema. Error(s): string ".*" is too long .*/
13
13
  @message = "Json input does not match schema. Error(s): String is too long."
14
- when /^Query failed.*: (.*)$/
14
+ when /^Query failed \(#[\d\w_]*\): line [0-9]+:[0-9]+: (.*)$/
15
15
  @message = "Query failed: #{$1}"
16
- when /^Query failed .*: .*:(.*)$/
16
+ when /^Query failed \(#[\d\w_]*\): (.*)$/
17
17
  @message = "Query failed: #{$1}"
18
18
  else
19
- @message = message
19
+ @message = message
20
20
  end
21
21
  end
22
22
  end
@@ -706,7 +706,7 @@ module ZuoraAPI
706
706
  #Internal Server Error
707
707
  if codes_array.map{|code| code.to_s.slice(6,7).to_i}.include?(60)
708
708
  if messages_array.uniq.size == 1
709
- if messages_array.first.match(/^There is an invoice pending tax.*|^The Zuora GetTax call to Avalara.*|^The tax calculation call to Zuora Connect returned the following error: Status Code: 4.*/)
709
+ if messages_array.first.match(/^Transaction declined.*|^There is an invoice pending tax.*|^The Zuora GetTax call to Avalara.*|^The tax calculation call to Zuora Connect returned the following error: Status Code: 4.*/)
710
710
  raise ZuoraAPI::Exceptions::ZuoraAPIError.new(messages_array.first, response)
711
711
  end
712
712
  end
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.7.49"
2
+ VERSION = "1.7.50"
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.49
4
+ version: 1.7.50
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-02-23 00:00:00.000000000 Z
11
+ date: 2020-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler