zuora_api 1.7.57a → 1.7.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +2 -2
- data/lib/zuora_api/exceptions.rb +0 -2
- data/lib/zuora_api/login.rb +1 -1
- data/lib/zuora_api/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71246b168a4b1c8f86cafc4fddbe7fe2c4c1358745520e89197c7158b3c6576d
|
4
|
+
data.tar.gz: 54cdc8fd039ffe3717fe135af7b02431a5c7147ceb188c07ddccaab4dd9082b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ca79d425ef8bfa1836300286b4ebb035a385066b4eef757cce7b490eab8fa6b9bdb6de53d13ea53fab5101f315faff5a8f4c5a938930cf59aef5ccf1067fbbc
|
7
|
+
data.tar.gz: c98379b9b2e200659c14403e2af816827e58a226fb4b218bcf252af1a944562cee2688f21c643213f618e28e09fb53ace851adec322d455e650b8ba82d7dab54
|
data/.gitlab-ci.yml
CHANGED
@@ -45,8 +45,8 @@ rubygems-deploy:
|
|
45
45
|
- apt-get install -y git
|
46
46
|
- apt-get clean all
|
47
47
|
- gem install dpl
|
48
|
-
- if [[ "staging"
|
49
|
-
- if [[ "master"
|
48
|
+
- if [[ "staging" == $CI_BUILD_REF_SLUG ]];then export VERSION=`git describe --exclude "[0-9]*\.[0-9]*\.[0-9]*[a-z]" --abbrev=0 --tags HEAD`; fi
|
49
|
+
- if [[ "master" == $CI_BUILD_REF_SLUG ]];then export VERSION=`git describe --exclude "[0-9]*\.[0-9]*\.[0-9]*[a-z]" --abbrev=0 --tags HEAD`; fi
|
50
50
|
- echo $VERSION
|
51
51
|
- sed -i "s/0.0.1/$VERSION/" lib/zuora_api/version.rb
|
52
52
|
- git add lib/zuora_api/version.rb
|
data/lib/zuora_api/exceptions.rb
CHANGED
@@ -17,8 +17,6 @@ module ZuoraAPI
|
|
17
17
|
@message = "Query failed: #{$1}"
|
18
18
|
when /^Could not find [\w\d]{32}.$/
|
19
19
|
@message = "Could not find object."
|
20
|
-
when /^Subscription [\w\d]{32} is in expired status. It is not supported to generate billing documents for expired subscriptions./
|
21
|
-
@message = "Subscription is in expired status. It is not supported to generate billing documents for expired subscriptions."
|
22
20
|
else
|
23
21
|
@message = message
|
24
22
|
end
|
data/lib/zuora_api/login.rb
CHANGED
@@ -613,7 +613,7 @@ module ZuoraAPI
|
|
613
613
|
reason = body.xpath('//ns2:StatusReason', 'ns2' => 'http://object.api.zuora.com/').text
|
614
614
|
if reason.present?
|
615
615
|
message = body.xpath('//ns2:StatusReason', 'ns2' => 'http://object.api.zuora.com/').text
|
616
|
-
error = message.
|
616
|
+
error = message.include?('Unexpected error') ? 'UNEXPECTED_ERROR' : 'FATAL_ERROR'
|
617
617
|
else
|
618
618
|
error = 'FATAL_ERROR'
|
619
619
|
message = 'Export failed due to unknown reason. Consult api logs.'
|
data/lib/zuora_api/version.rb
CHANGED
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.
|
4
|
+
version: 1.7.57
|
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-
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -182,9 +182,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: '0'
|
183
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: '0'
|
188
188
|
requirements: []
|
189
189
|
rubygems_version: 3.0.3
|
190
190
|
signing_key:
|