zuora_api 1.7.57a → 1.7.57

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: f48a15a88a6eafff9e1055ed2d908f522b662f5660f6f49622ad71d7a717d724
4
- data.tar.gz: 0a0cf9ff9a972445dee9ba38c4cb42dce4a13aafebe92b9dd5549d0fba2a5173
3
+ metadata.gz: 71246b168a4b1c8f86cafc4fddbe7fe2c4c1358745520e89197c7158b3c6576d
4
+ data.tar.gz: 54cdc8fd039ffe3717fe135af7b02431a5c7147ceb188c07ddccaab4dd9082b6
5
5
  SHA512:
6
- metadata.gz: f7312bf51c1de67b263cd637807eff552e64d66996801972eb8b57ca2aeca85399b5a3db18fc6be9461ff5d89436f09f8700cb7ca9ec468cea8166902f0760cc
7
- data.tar.gz: ba510f3a1376d545f59623d92505617e1467f59840a16ad15d4244e2ba96cc1059cd3f05a6491864ef00d715202e7a91a69be9b92557fd29510fa8ec468618fb
6
+ metadata.gz: 6ca79d425ef8bfa1836300286b4ebb035a385066b4eef757cce7b490eab8fa6b9bdb6de53d13ea53fab5101f315faff5a8f4c5a938930cf59aef5ccf1067fbbc
7
+ data.tar.gz: c98379b9b2e200659c14403e2af816827e58a226fb4b218bcf252af1a944562cee2688f21c643213f618e28e09fb53ace851adec322d455e650b8ba82d7dab54
@@ -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" == $CI_BUILD_REF_SLUG ]];then export VERSION=`git describe --match "[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
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
@@ -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
@@ -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.match(/^[\w\d]{16}\: (Unexpected error.|No HTTP Response)/).present? ? 'UNEXPECTED_ERROR' : 'FATAL_ERROR'
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.'
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.7.57a"
2
+ VERSION = "1.7.57"
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.57a
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-24 00:00:00.000000000 Z
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: 1.3.1
187
+ version: '0'
188
188
  requirements: []
189
189
  rubygems_version: 3.0.3
190
190
  signing_key: