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: 55476ab236195b620ce501e8be1c793299a26839c4f5420d401fb2d4185cf35b
4
- data.tar.gz: edc2c9b7ad069fd3123893f4580987e257800e21756c9ea0ee6cd43640f71d95
3
+ metadata.gz: 2314fb32b4721c7e785bb127695051eed53d546fc1e3453bd91dd4730f5e6af7
4
+ data.tar.gz: e1cfc315ae20214f8ad4ea3f249d3427a28a43e0095a72cf43af5aae0e321711
5
5
  SHA512:
6
- metadata.gz: 84d9b1a2ad617d735f4079331207cedfff18667a4ef1645089ea8789a782abe19c9bcb360c6a3c4bf6dce2ca38f2d5c79a5faf0028e6104bc6f1c300efc8063d
7
- data.tar.gz: 0070dfe5b7e9c4b8276773c62f98cd0835e4be072c7b250230e2bec4be288b1af47b69db5cabb55af0af5017e8cad797302db8bd07dddaaed333bc9845793cde
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.1'
45
- @gen_version = '2.250.21'
46
- @user_agent = 'speakeasy-sdk/ruby 4.0.1 2.250.21 0.4.0 speakeasy_client_sdk_ruby'
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
- req.headers['Authorization'] = "Basic #{Base64.encode64(data)}"
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.1
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-08 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday