spinnaker-gate-ruby-client 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/swagger_client/api/project_controller_api.rb +1 -0
- data/lib/swagger_client/api_client.rb +2 -1
- data/lib/swagger_client/configuration.rb +8 -5
- data/lib/swagger_client/version.rb +1 -1
- data/spinnaker-gate-ruby-client-1.0.0.gem +0 -0
- data/spinnaker-gate-ruby-client-1.0.1.gem +0 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c321fca7ff96648606830a89fc53261ae884c073
|
4
|
+
data.tar.gz: b3c17a60486d21d0c458484d5ab309b129b25c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7635140e2ad197bc4a143edcd08c5cbb57f8510fa801fb550b9c0f4955dedfdaebd2add4b4c3e98003c52165cbeb6f34fa571c720e2650bb2595c0ecdacf739e
|
7
|
+
data.tar.gz: f592e195e313887515052af9ba5bec9a32fb26e378e2ac46a17f0e826de6247a71995ca28e24871fc4e93a0ed73dd3cd747ec07faa6cecaaa9c00e78bedf5e9b
|
@@ -104,6 +104,7 @@ module SwaggerClient
|
|
104
104
|
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
105
105
|
# HTTP header 'Content-Type'
|
106
106
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
107
|
+
header_params['Authorization'] ='Bearer ya29.GlxVB5lA5AJlwIUipnEz7gX9dNGyh4ebnROxQXl1jalz9TDvBxSQHuBVYis-LY7UkLm5futbUKNTLtyKVTR3fCyeUbYZFByEygJ7n2L2x73jTN40tgfdJ6HShFjCvg'
|
107
108
|
|
108
109
|
# form parameters
|
109
110
|
form_params = {}
|
@@ -108,7 +108,8 @@ module SwaggerClient
|
|
108
108
|
:ssl_verifyhost => _verify_ssl_host,
|
109
109
|
:sslcert => @config.cert_file,
|
110
110
|
:sslkey => @config.key_file,
|
111
|
-
:verbose => @config.debugging
|
111
|
+
:verbose => @config.debugging,
|
112
|
+
followlocation: true
|
112
113
|
}
|
113
114
|
|
114
115
|
# set custom cert, if provided
|
@@ -127,6 +127,8 @@ module SwaggerClient
|
|
127
127
|
|
128
128
|
attr_accessor :force_ending_format
|
129
129
|
|
130
|
+
attr_accessor :auth_settings
|
131
|
+
|
130
132
|
def initialize
|
131
133
|
@scheme = 'https'
|
132
134
|
@host = 'gate-spinnaker.devint.gcp.openx.org'
|
@@ -144,6 +146,7 @@ module SwaggerClient
|
|
144
146
|
@inject_format = false
|
145
147
|
@force_ending_format = false
|
146
148
|
@logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
|
149
|
+
@auth_settings = {}
|
147
150
|
|
148
151
|
yield(self) if block_given?
|
149
152
|
end
|
@@ -193,10 +196,10 @@ module SwaggerClient
|
|
193
196
|
'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
|
194
197
|
end
|
195
198
|
|
196
|
-
# Returns Auth Settings hash for api client.
|
197
|
-
def auth_settings
|
198
|
-
|
199
|
-
|
200
|
-
end
|
199
|
+
# # Returns Auth Settings hash for api client.
|
200
|
+
# def auth_settings
|
201
|
+
# {
|
202
|
+
# }
|
203
|
+
# end
|
201
204
|
end
|
202
205
|
end
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spinnaker-gate-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- will@containerlabs.io
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -349,6 +349,8 @@ files:
|
|
349
349
|
- spec/models/user_spec.rb
|
350
350
|
- spec/models/version_spec.rb
|
351
351
|
- spec/spec_helper.rb
|
352
|
+
- spinnaker-gate-ruby-client-1.0.0.gem
|
353
|
+
- spinnaker-gate-ruby-client-1.0.1.gem
|
352
354
|
- spinnaker_gate_ruby_client-1.0.0.gem
|
353
355
|
- spinnaker_gate_ruby_client.gemspec
|
354
356
|
homepage: https://github.com/swagger-api/swagger-codegen
|