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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 816bb7b552f1fe5afd03b0a5b8fdd22116353d0a
4
- data.tar.gz: bb1092641a8ae8250d2fc0dfd6c9b521148c0035
3
+ metadata.gz: c321fca7ff96648606830a89fc53261ae884c073
4
+ data.tar.gz: b3c17a60486d21d0c458484d5ab309b129b25c3e
5
5
  SHA512:
6
- metadata.gz: 8a96ba3d48db24e757e572b354346a540365e85c89c51fa66836ae13e038076c3349c6b9c03798eaa17dbb5ec25bd799a737f8688c6cf5a9cd561b2b92c121f7
7
- data.tar.gz: e5d8b6ea2a84015ecdb8c7f9b9edd0cc38350cc7ca18e422fad53e960e5bf42bc4dcae157e2d5162e53ccc5a512b2c6c761b99977a03f28cd03876c423bf6b2a
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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.7
11
11
  =end
12
12
 
13
13
  module SwaggerClient
14
- VERSION = '1.0.0'
14
+ VERSION = '1.0.2'
15
15
  end
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.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-29 00:00:00.000000000 Z
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