speakeasy_client_sdk_ruby 4.0.1 → 4.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2314fb32b4721c7e785bb127695051eed53d546fc1e3453bd91dd4730f5e6af7
|
4
|
+
data.tar.gz: e1cfc315ae20214f8ad4ea3f249d3427a28a43e0095a72cf43af5aae0e321711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 745162e2efb1105c2fe433abca93cc08abb92c0ef7994dad0098c42d32d925eea5d04e4f87a6efb0b796892bd7594e40bdd4b52ae41867ea8de3057ec5eea55a
|
7
|
+
data.tar.gz: d981a9982518e41bdaccaa69c21eb3fab314809a0c1f2f6487d1f34363c4f95f51fe1d000fb42ae0e294cb13452afe44fed26acadae5ce9119986cbd85adea98
|
@@ -41,9 +41,9 @@ module SpeakeasyClientSDK
|
|
41
41
|
@globals = globals.nil? ? {} : globals
|
42
42
|
@language = 'ruby'
|
43
43
|
@openapi_doc_version = '0.4.0'
|
44
|
-
@sdk_version = '4.0.
|
45
|
-
@gen_version = '2.250.
|
46
|
-
@user_agent = 'speakeasy-sdk/ruby 4.0.
|
44
|
+
@sdk_version = '4.0.2'
|
45
|
+
@gen_version = '2.250.22'
|
46
|
+
@user_agent = 'speakeasy-sdk/ruby 4.0.2 2.250.22 0.4.0 speakeasy_client_sdk_ruby'
|
47
47
|
end
|
48
48
|
|
49
49
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
@@ -479,7 +479,9 @@ module SpeakeasyClientSDK
|
|
479
479
|
end
|
480
480
|
|
481
481
|
data = "#{username}:#{password}".encode
|
482
|
-
|
482
|
+
# Use strict_encode, because encode adds newlines after 60 chars
|
483
|
+
# https://docs.ruby-lang.org/en/3.0/Base64.html#method-i-encode64
|
484
|
+
req.headers['Authorization'] = "Basic #{Base64.strict_encode64(data)}"
|
483
485
|
end
|
484
486
|
|
485
487
|
sig { params(optional: T::Boolean).returns(T.proc.params(s: String).returns(DateTime)) }
|
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: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|