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 +4 -4
- data/lib/sdk/sdkconfiguration.rb +3 -3
- data/lib/sdk/utils/utils.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29b19047ef027ff4f9c4668dae723d973fc991446638c66176488fa366ffefc
|
4
|
+
data.tar.gz: b5c2e7dd9962f292ef75ed7391250b5a10b783102c308f5b1e2dc5b2b8723ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 202690f014baa7bef72e383f7a13fc0c7576b33d9cac7d9215820d2c1689673368969dec675e6cf3a10c9373faf98ee7b5f22070df85e0e4ad638ab7a0bf428f
|
7
|
+
data.tar.gz: b06ff2375733ac12753ee4012e32f4761b43043b330db3d1f07734ce90fd370250b3f5245c13e8f91220698a49162af626b9db901c9c967bd47ed869810adb02
|
data/lib/sdk/sdkconfiguration.rb
CHANGED
@@ -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.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 2.2.
|
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]]) }
|
data/lib/sdk/utils/utils.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|