zuora_api 1.6.02 → 1.6.3a
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 +4 -4
- data/.gitlab-ci.yml +10 -1
- data/Gemfile.lock +25 -21
- data/lib/zuora_api/logins/oauth.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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c292b68d4516c064e818be8fab8dede9b4991f2a
|
|
4
|
+
data.tar.gz: 766d2919def5cc16c08ffd787ac5e02efc2102cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be8d9fb020d087c989174466c52a0f9bd7c9188896a9a2f5dd6df84faba550c45950bdd9f1ad0179e5ae4fde8020b1aa6ea7f2aa7232820aecdc344cf0da0c24
|
|
7
|
+
data.tar.gz: 7987debce7355e853c3979b334ee83c27e8a5ccac83b9f2d3985fa703748759e36a6686967771d434bda6d006fd57222af197a846168a35af13cd12b72a0bcc1
|
data/.gitlab-ci.yml
CHANGED
|
@@ -41,10 +41,19 @@ rubygems-deploy:
|
|
|
41
41
|
stage: deploy
|
|
42
42
|
allow_failure: false
|
|
43
43
|
script:
|
|
44
|
+
- 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
|
|
45
|
+
- if [[ "master" == $CI_BUILD_REF_SLUG ]];then export VERSION=`git describe --match "[0-9]*\.[0-9]*\.[0-9]*" --abbrev=0 --tags HEAD`; fi
|
|
46
|
+
- sed -i "s/0.0.1/$VERSION/" /Connect/zuora-gem/lib/zuora_api/version.rb
|
|
47
|
+
- git add /Connect/zuora-gem/lib/zuora_api/version.rb
|
|
48
|
+
- git config --global user.email "connect@zuora.com"
|
|
49
|
+
- git config --global user.name "Connect Automation"
|
|
50
|
+
- git commit -m "Automated Version Update $VERSION"
|
|
44
51
|
- bundle install
|
|
45
52
|
- gem install rake
|
|
46
53
|
- version=$(rake install | grep -o 'pkg/zuora_api-.*gem')
|
|
47
54
|
- curl -u $USERNAME:$PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
|
|
48
55
|
- gem push $version
|
|
56
|
+
- dpl --provider=rubygems --api-key=$API_KEY --gem=zuora_connect
|
|
49
57
|
only:
|
|
50
|
-
|
|
58
|
+
- master
|
|
59
|
+
- staging
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
zuora_api (1.6.
|
|
4
|
+
zuora_api (1.6.3a)
|
|
5
5
|
httparty
|
|
6
6
|
nokogiri
|
|
7
7
|
railties (>= 4.1.0, < 5.2)
|
|
@@ -10,20 +10,20 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
actionpack (5.1.6)
|
|
14
|
-
actionview (= 5.1.6)
|
|
15
|
-
activesupport (= 5.1.6)
|
|
13
|
+
actionpack (5.1.6.2)
|
|
14
|
+
actionview (= 5.1.6.2)
|
|
15
|
+
activesupport (= 5.1.6.2)
|
|
16
16
|
rack (~> 2.0)
|
|
17
17
|
rack-test (>= 0.6.3)
|
|
18
18
|
rails-dom-testing (~> 2.0)
|
|
19
19
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
20
|
-
actionview (5.1.6)
|
|
21
|
-
activesupport (= 5.1.6)
|
|
20
|
+
actionview (5.1.6.2)
|
|
21
|
+
activesupport (= 5.1.6.2)
|
|
22
22
|
builder (~> 3.1)
|
|
23
23
|
erubi (~> 1.4)
|
|
24
24
|
rails-dom-testing (~> 2.0)
|
|
25
25
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
26
|
-
activesupport (5.1.6)
|
|
26
|
+
activesupport (5.1.6.2)
|
|
27
27
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
28
28
|
i18n (>= 0.7, < 2)
|
|
29
29
|
minitest (~> 5.1)
|
|
@@ -31,30 +31,34 @@ GEM
|
|
|
31
31
|
addressable (2.5.2)
|
|
32
32
|
public_suffix (>= 2.0.2, < 4.0)
|
|
33
33
|
builder (3.2.3)
|
|
34
|
-
concurrent-ruby (1.
|
|
34
|
+
concurrent-ruby (1.1.5)
|
|
35
35
|
crack (0.4.3)
|
|
36
36
|
safe_yaml (~> 1.0.0)
|
|
37
37
|
crass (1.0.4)
|
|
38
38
|
diff-lcs (1.3)
|
|
39
39
|
docile (1.3.1)
|
|
40
|
-
erubi (1.
|
|
40
|
+
erubi (1.8.0)
|
|
41
41
|
hashdiff (0.3.7)
|
|
42
|
-
httparty (0.16.
|
|
42
|
+
httparty (0.16.4)
|
|
43
|
+
mime-types (~> 3.0)
|
|
43
44
|
multi_xml (>= 0.5.2)
|
|
44
|
-
i18n (1.
|
|
45
|
+
i18n (1.6.0)
|
|
45
46
|
concurrent-ruby (~> 1.0)
|
|
46
47
|
json (2.1.0)
|
|
47
|
-
loofah (2.2.
|
|
48
|
+
loofah (2.2.3)
|
|
48
49
|
crass (~> 1.0.2)
|
|
49
50
|
nokogiri (>= 1.5.9)
|
|
50
|
-
method_source (0.9.
|
|
51
|
-
|
|
51
|
+
method_source (0.9.2)
|
|
52
|
+
mime-types (3.2.2)
|
|
53
|
+
mime-types-data (~> 3.2015)
|
|
54
|
+
mime-types-data (3.2018.0812)
|
|
55
|
+
mini_portile2 (2.4.0)
|
|
52
56
|
minitest (5.11.3)
|
|
53
57
|
multi_xml (0.6.0)
|
|
54
|
-
nokogiri (1.
|
|
55
|
-
mini_portile2 (~> 2.
|
|
58
|
+
nokogiri (1.10.1)
|
|
59
|
+
mini_portile2 (~> 2.4.0)
|
|
56
60
|
public_suffix (3.0.3)
|
|
57
|
-
rack (2.0.
|
|
61
|
+
rack (2.0.6)
|
|
58
62
|
rack-test (1.1.0)
|
|
59
63
|
rack (>= 1.0, < 3)
|
|
60
64
|
rails-dom-testing (2.0.3)
|
|
@@ -62,9 +66,9 @@ GEM
|
|
|
62
66
|
nokogiri (>= 1.6)
|
|
63
67
|
rails-html-sanitizer (1.0.4)
|
|
64
68
|
loofah (~> 2.2, >= 2.2.2)
|
|
65
|
-
railties (5.1.6)
|
|
66
|
-
actionpack (= 5.1.6)
|
|
67
|
-
activesupport (= 5.1.6)
|
|
69
|
+
railties (5.1.6.2)
|
|
70
|
+
actionpack (= 5.1.6.2)
|
|
71
|
+
activesupport (= 5.1.6.2)
|
|
68
72
|
method_source
|
|
69
73
|
rake (>= 0.8.7)
|
|
70
74
|
thor (>= 0.18.1, < 2.0)
|
|
@@ -89,7 +93,7 @@ GEM
|
|
|
89
93
|
json (>= 1.8, < 3)
|
|
90
94
|
simplecov-html (~> 0.10.0)
|
|
91
95
|
simplecov-html (0.10.2)
|
|
92
|
-
thor (0.20.
|
|
96
|
+
thor (0.20.3)
|
|
93
97
|
thread_safe (0.3.6)
|
|
94
98
|
tzinfo (1.2.5)
|
|
95
99
|
thread_safe (~> 0.1)
|
|
@@ -65,7 +65,7 @@ module ZuoraAPI
|
|
|
65
65
|
:url => self.rest_endpoint.chomp('v1/').concat("oauth/token"),
|
|
66
66
|
:z_session => false,
|
|
67
67
|
:session_type => :bearer,
|
|
68
|
-
:headers => {"
|
|
68
|
+
:headers => {"content-type" => "application/x-www-form-urlencoded"},
|
|
69
69
|
:body => {"client_id"=> self.oauth_client_id, "client_secret"=>self.oauth_secret, "grant_type" =>"client_credentials"}
|
|
70
70
|
)
|
|
71
71
|
|
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.6.
|
|
4
|
+
version: 1.6.3a
|
|
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:
|
|
11
|
+
date: 2019-03-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -181,9 +181,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
181
181
|
version: '0'
|
|
182
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
requirements:
|
|
184
|
-
- - "
|
|
184
|
+
- - ">"
|
|
185
185
|
- !ruby/object:Gem::Version
|
|
186
|
-
version:
|
|
186
|
+
version: 1.3.1
|
|
187
187
|
requirements: []
|
|
188
188
|
rubyforge_project:
|
|
189
189
|
rubygems_version: 2.6.8
|