Skip to content

Commit 17c6328

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.176.0
1 parent 0861162 commit 17c6328

File tree

6 files changed

+23
-11
lines changed

6 files changed

+23
-11
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ management:
44
docChecksum: 557634d4bb5964b949ae70f79f40d856
55
docVersion: 0.4.0
66
speakeasyVersion: internal
7-
generationVersion: 2.250.21
8-
releaseVersion: 4.0.1
9-
configChecksum: 019d51f52f98131e4ae8f1d1f9f14e0f
7+
generationVersion: 2.250.22
8+
releaseVersion: 4.0.2
9+
configChecksum: 011196bc4129bc5258aa517cfb2e27c1
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby
1313
published: true
1414
features:
1515
ruby:
16-
core: 3.2.5
16+
core: 3.2.6
1717
examples: 2.81.3
1818
globalSecurity: 2.81.3
1919
globalServerURLs: 2.82.1

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,4 +568,14 @@ Based on:
568568
### Generated
569569
- [ruby v4.0.1] .
570570
### Releases
571-
- [Ruby Gems v4.0.1] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.1 - .
571+
- [Ruby Gems v4.0.1] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.1 - .
572+
573+
## 2024-02-09 00:02:51
574+
### Changes
575+
Based on:
576+
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
577+
- Speakeasy CLI 1.176.0 (2.250.22) https://github.com/speakeasy-api/speakeasy
578+
### Generated
579+
- [ruby v4.0.2] .
580+
### Releases
581+
- [Ruby Gems v4.0.2] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.2 - .

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ generation:
88
parameterOrderingFeb2024: false
99
requestResponseComponentNamesFeb2024: false
1010
ruby:
11-
version: 4.0.1
11+
version: 4.0.2
1212
author: Speakeasy
1313
description: Ruby Client SDK Generated by Speakeasy
1414
imports:

lib/speakeasy_client_sdk/sdkconfiguration.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ def initialize(client, security, server_url, server_idx, globals)
4141
@globals = globals.nil? ? {} : globals
4242
@language = 'ruby'
4343
@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'
4747
end
4848

4949
sig { returns([String, T::Hash[Symbol, String]]) }

lib/speakeasy_client_sdk/utils/utils.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,9 @@ def self._parse_basic_auth_scheme(req, scheme)
479479
end
480480

481481
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)}"
483485
end
484486

485487
sig { params(optional: T::Boolean).returns(T.proc.params(s: String).returns(DateTime)) }

speakeasy_client_sdk_ruby.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
44

55
Gem::Specification.new do |s|
66
s.name = 'speakeasy_client_sdk_ruby'
7-
s.version = '4.0.1'
7+
s.version = '4.0.2'
88
s.platform = Gem::Platform::RUBY
99
s.licenses = ['Apache-2.0']
1010
s.summary = ''

0 commit comments

Comments
 (0)