Skip to content

Commit 4697c4b

Browse files
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.176.0 (#18)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 6268918 commit 4697c4b

File tree

8 files changed

+26
-12
lines changed

8 files changed

+26
-12
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 482384cc-3b98-4ced-bd0b-14aa8b3e0053
33
management:
4-
docChecksum: 9e65ddbeac643c0d6f2b3cbdbe1b6533
4+
docChecksum: 109053be47a997ebf9d0f1faabd8207a
55
docVersion: 1.0.0
66
speakeasyVersion: internal
7-
generationVersion: 2.250.16
8-
releaseVersion: 0.2.0
9-
configChecksum: add25e556f59e6e207f8aef4a920c2b5
7+
generationVersion: 2.250.22
8+
releaseVersion: 0.2.1
9+
configChecksum: d7dd0d30d86f3a04cffe38fb6eb61ffe
1010
repoURL: https://github.com/StackOneHQ/stackone-client-ruby.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-ruby
1313
published: true
1414
features:
1515
ruby:
16-
core: 3.2.5
16+
core: 3.2.6
1717
deprecations: 2.81.1
1818
examples: 2.81.3
1919
flattening: 2.81.1

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ Based on:
5858
### Generated
5959
- [ruby v0.2.0] .
6060
### Releases
61-
- [Ruby Gems v0.2.0] https://rubygems.org/gems/stackone_client/versions/0.2.0 - .
61+
- [Ruby Gems v0.2.0] https://rubygems.org/gems/stackone_client/versions/0.2.0 - .
62+
63+
## 2024-02-09 09:41:46
64+
### Changes
65+
Based on:
66+
- OpenAPI Doc 1.0.0
67+
- Speakeasy CLI 1.176.0 (2.250.22) https://github.com/speakeasy-api/speakeasy
68+
### Generated
69+
- [ruby v0.2.1] .
70+
### Releases
71+
- [Ruby Gems v0.2.1] https://rubygems.org/gems/stackone_client/versions/0.2.1 - .

docs/models/shared/documentapimodelvalue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
| `VISA` | visa |
1313
| `PASSPORT` | passport |
1414
| `DRIVER_LICENSE` | driver_license |
15+
| `PAYSLIP` | payslip |
1516
| `PAYROLL` | payroll |
1617
| `APPRAISAL` | appraisal |
1718
| `RESUME` | resume |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ generation:
99
parameterOrderingFeb2024: false
1010
requestResponseComponentNamesFeb2024: false
1111
ruby:
12-
version: 0.2.0
12+
version: 0.2.1
1313
author: StackOne
1414
description: Ruby Client SDK Generated by Speakeasy
1515
imports:

lib/stack_one/models/shared/documentapimodel_value.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class DocumentApiModelValue < T::Enum
1717
VISA = new('visa')
1818
PASSPORT = new('passport')
1919
DRIVER_LICENSE = new('driver_license')
20+
PAYSLIP = new('payslip')
2021
PAYROLL = new('payroll')
2122
APPRAISAL = new('appraisal')
2223
RESUME = new('resume')

lib/stack_one/sdkconfiguration.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def initialize(client, security, server_url, server_idx)
3636
@server_idx = server_idx.nil? ? 0 : server_idx
3737
@language = 'ruby'
3838
@openapi_doc_version = '1.0.0'
39-
@sdk_version = '0.2.0'
40-
@gen_version = '2.250.16'
41-
@user_agent = 'speakeasy-sdk/ruby 0.2.0 2.250.16 1.0.0 stackone_client'
39+
@sdk_version = '0.2.1'
40+
@gen_version = '2.250.22'
41+
@user_agent = 'speakeasy-sdk/ruby 0.2.1 2.250.22 1.0.0 stackone_client'
4242
end
4343

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

lib/stack_one/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)) }

stackone_client.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 = 'stackone_client'
7-
s.version = '0.2.0'
7+
s.version = '0.2.1'
88
s.platform = Gem::Platform::RUBY
99
s.licenses = ['Apache-2.0']
1010
s.summary = ''

0 commit comments

Comments
 (0)