speakeasy_client_sdk_ruby 2.2.2 → 2.2.3

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
  SHA256:
3
- metadata.gz: 92571bb9069190e2aed3473e394915e74272734a3e3adc727b0c9ee3bd0f3313
4
- data.tar.gz: c13ce09ebca94c8d691eff296603b539baaac1b746db9aa9a64b104e73fb75d0
3
+ metadata.gz: e29b19047ef027ff4f9c4668dae723d973fc991446638c66176488fa366ffefc
4
+ data.tar.gz: b5c2e7dd9962f292ef75ed7391250b5a10b783102c308f5b1e2dc5b2b8723ea5
5
5
  SHA512:
6
- metadata.gz: 731ccdce62f39426e6322cef592b0cf7159de3ad1da2b6b4c6483a41e9183c8cc21986983f4b305a6118496c6bb840a99ec7ca3c0f64fdf07469267f4d7d27e9
7
- data.tar.gz: 16670fff4637bd9b0891fa712dcc4d0fed50e0657f3ae541e1c9c413f4cde14d3cc164d02fe2cf0486e242960093f28d6bb6101437a59c787c3126eb46895d05
6
+ metadata.gz: 202690f014baa7bef72e383f7a13fc0c7576b33d9cac7d9215820d2c1689673368969dec675e6cf3a10c9373faf98ee7b5f22070df85e0e4ad638ab7a0bf428f
7
+ data.tar.gz: b06ff2375733ac12753ee4012e32f4761b43043b330db3d1f07734ce90fd370250b3f5245c13e8f91220698a49162af626b9db901c9c967bd47ed869810adb02
@@ -38,9 +38,9 @@ module SpeakeasyClientSDK
38
38
  @server = server_url.nil? ? '' : server_url
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '0.3.0'
41
- @sdk_version = '2.2.2'
42
- @gen_version = '2.234.3'
43
- @user_agent = 'speakeasy-sdk/ruby 2.2.2 2.234.3 0.3.0 speakeasy_client_sdk_ruby'
41
+ @sdk_version = '2.2.3'
42
+ @gen_version = '2.237.2'
43
+ @user_agent = 'speakeasy-sdk/ruby 2.2.3 2.237.2 0.3.0 speakeasy_client_sdk_ruby'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -448,9 +448,9 @@ module SpeakeasyClientSDK
448
448
  raise StandardError, 'not supported'
449
449
  end
450
450
  when 'openIdConnect'
451
- req.headers[header_name] = value
451
+ req.headers[header_name] = value.downcase.start_with?('bearer ') ? value : "Bearer #{value}"
452
452
  when 'oauth2'
453
- req.headers[header_name] = value
453
+ req.headers[header_name] = value.downcase.start_with?('bearer ') ? value : "Bearer #{value}"
454
454
  when 'http'
455
455
  if sub_type == 'bearer'
456
456
  req.headers[header_name] = value.downcase.start_with?('bearer ') ? value : "Bearer #{value}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speakeasy_client_sdk_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-17 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday