Skip to content

Commit c881a6b

Browse files
authored
Merge pull request #57 from dubinc/speakeasy-sdk-regen-1732148856
chore: 🐝 Update SDK - Generate 0.2.2-alpha.38
2 parents 3c51898 + 9fd1eb1 commit c881a6b

File tree

9 files changed

+46
-32
lines changed

9 files changed

+46
-32
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 5a2dd83e-da98-455b-8ef9-0100a914efdf
33
management:
4-
docChecksum: 50940bc805a726aadeb489d51cfdbb1d
4+
docChecksum: 06fc65e3769b8cd8a007fecfef012439
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.441.0
7-
generationVersion: 2.460.1
8-
releaseVersion: 0.2.2-alpha.37
9-
configChecksum: af0ff621e1be34aeaaebf50054e56a5b
6+
speakeasyVersion: 1.441.1
7+
generationVersion: 2.461.2
8+
releaseVersion: 0.2.2-alpha.38
9+
configChecksum: 4519b5fdc2d1a24ef2bd77f05a9582e5
1010
repoURL: https://github.com/dubinc/dub-ruby.git
1111
installationURL: https://github.com/dubinc/dub-ruby
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
ruby:
16-
version: 0.2.2-alpha.37
16+
version: 0.2.2-alpha.38
1717
author: Dub
1818
description: Ruby Client SDK Generated by Speakeasy
1919
imports:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.441.0
1+
speakeasyVersion: 1.441.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:74b3af15b5d971ea3ac81bf0725c01f7456e4f50581844f990699af514cbc6eb
6-
sourceBlobDigest: sha256:69468c1c50b82f6168a9d4d951b070a84d02f280d4524fabec26bcf2ab2d508f
5+
sourceRevisionDigest: sha256:b5d82b5d85e3f710589f4dc334cc40e8a33c195986a3618a0769313611284957
6+
sourceBlobDigest: sha256:fc224031565db7f73fb04e29b6a07dbcc4a4d0922e068e90083f640ddf3c149e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1732062447
9+
- speakeasy-sdk-regen-1732148856
1010
targets:
1111
my-first-target:
1212
source: dub
1313
sourceNamespace: dub
14-
sourceRevisionDigest: sha256:74b3af15b5d971ea3ac81bf0725c01f7456e4f50581844f990699af514cbc6eb
15-
sourceBlobDigest: sha256:69468c1c50b82f6168a9d4d951b070a84d02f280d4524fabec26bcf2ab2d508f
14+
sourceRevisionDigest: sha256:b5d82b5d85e3f710589f4dc334cc40e8a33c195986a3618a0769313611284957
15+
sourceBlobDigest: sha256:fc224031565db7f73fb04e29b6a07dbcc4a4d0922e068e90083f640ddf3c149e
1616
codeSamplesNamespace: code-samples-ruby-my-first-target
17-
codeSamplesRevisionDigest: sha256:7b3bfd15c8a127442d49af515e74a3c41bf6a9d4e92743d1da61171495f26ec9
17+
codeSamplesRevisionDigest: sha256:41252bf093d585a563484ac39ce8aca3b0aedf244d0ad6d8ef0e72a21ce5d780
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
dub (0.2.2.pre.alpha.37)
4+
dub (0.2.2.pre.alpha.38)
55
faraday
66
faraday-multipart
77
rack

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,4 +518,14 @@ Based on:
518518
### Generated
519519
- [ruby v0.2.2-alpha.37] .
520520
### Releases
521-
- [Ruby Gems v0.2.2-alpha.37] https://rubygems.org/gems/dub/versions/0.2.2-alpha.37 - .
521+
- [Ruby Gems v0.2.2-alpha.37] https://rubygems.org/gems/dub/versions/0.2.2-alpha.37 - .
522+
523+
## 2024-11-21 00:27:32
524+
### Changes
525+
Based on:
526+
- OpenAPI Doc
527+
- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy
528+
### Generated
529+
- [ruby v0.2.2-alpha.38] .
530+
### Releases
531+
- [Ruby Gems v0.2.2-alpha.38] https://rubygems.org/gems/dub/versions/0.2.2-alpha.38 - .

docs/models/operations/getqrcoderequest.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
8-
| `url` | *::String* | :heavy_check_mark: | The URL to generate a QR code for. |
9-
| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | The logo to include in the QR code. Can only be used with a paid plan on Dub.co. |
10-
| `size` | *T.nilable(::Float)* | :heavy_minus_sign: | The size of the QR code in pixels. Defaults to `600` if not provided. |
11-
| `level` | [T.nilable(::OpenApiSDK::Operations::Level)](../../models/operations/level.md) | :heavy_minus_sign: | The level of error correction to use for the QR code. Defaults to `L` if not provided. |
12-
| `fg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. |
13-
| `bg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. |
14-
| `hide_logo` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co. |
15-
| `include_margin` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include a margin around the QR code. Defaults to `false` if not provided. |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
8+
| `url` | *::String* | :heavy_check_mark: | The URL to generate a QR code for. |
9+
| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | The logo to include in the QR code. Can only be used with a paid plan on Dub.co. |
10+
| `size` | *T.nilable(::Float)* | :heavy_minus_sign: | The size of the QR code in pixels. Defaults to `600` if not provided. |
11+
| `level` | [T.nilable(::OpenApiSDK::Operations::Level)](../../models/operations/level.md) | :heavy_minus_sign: | The level of error correction to use for the QR code. Defaults to `L` if not provided. |
12+
| `fg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. |
13+
| `bg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. |
14+
| `hide_logo` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co. |
15+
| `margin` | *T.nilable(::Float)* | :heavy_minus_sign: | The size of the margin around the QR code. Defaults to 2 if not provided. |
16+
| `include_margin` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size. |

dub.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 = 'dub'
7-
s.version = '0.2.2-alpha.37'
7+
s.version = '0.2.2-alpha.38'
88
s.platform = Gem::Platform::RUBY
99
s.licenses = ['Apache-2.0']
1010
s.summary = ''

lib/open_api_sdk/models/operations/getqrcode_request.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,28 @@ class GetQRCodeRequest < ::OpenApiSDK::Utils::FieldAugmented
1919
field :fg_color, T.nilable(::String), { 'query_param': { 'field_name': 'fgColor', 'style': 'form', 'explode': true } }
2020
# Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.
2121
field :hide_logo, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'hideLogo', 'style': 'form', 'explode': true } }
22-
# Whether to include a margin around the QR code. Defaults to `false` if not provided.
22+
# DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.
2323
field :include_margin, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeMargin', 'style': 'form', 'explode': true } }
2424
# The level of error correction to use for the QR code. Defaults to `L` if not provided.
2525
field :level, T.nilable(::OpenApiSDK::Operations::Level), { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
2626
# The logo to include in the QR code. Can only be used with a paid plan on Dub.co.
2727
field :logo, T.nilable(::String), { 'query_param': { 'field_name': 'logo', 'style': 'form', 'explode': true } }
28+
# The size of the margin around the QR code. Defaults to 2 if not provided.
29+
field :margin, T.nilable(::Float), { 'query_param': { 'field_name': 'margin', 'style': 'form', 'explode': true } }
2830
# The size of the QR code in pixels. Defaults to `600` if not provided.
2931
field :size, T.nilable(::Float), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': true } }
3032

3133

32-
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), size: T.nilable(::Float)).void }
33-
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, size: nil)
34+
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), margin: T.nilable(::Float), size: T.nilable(::Float)).void }
35+
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, margin: nil, size: nil)
3436
@url = url
3537
@bg_color = bg_color
3638
@fg_color = fg_color
3739
@hide_logo = hide_logo
3840
@include_margin = include_margin
3941
@level = level
4042
@logo = logo
43+
@margin = margin
4144
@size = size
4245
end
4346
end

lib/open_api_sdk/sdkconfiguration.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx)
3838
@security = security
3939
@language = 'ruby'
4040
@openapi_doc_version = '0.0.1'
41-
@sdk_version = '0.2.2-alpha.37'
42-
@gen_version = '2.460.1'
43-
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.37 2.460.1 0.0.1 dub'
41+
@sdk_version = '0.2.2-alpha.38'
42+
@gen_version = '2.461.2'
43+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.38 2.461.2 0.0.1 dub'
4444
end
4545

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

0 commit comments

Comments
 (0)