From a1098b42b02789ab4e6e84142481f514b7daf2b9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 30 May 2024 16:35:12 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.299.3 --- .speakeasy/gen.lock | 13 ++++++++----- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 19 ++++++++++++------- .speakeasy/workflow.yaml | 3 ++- Gemfile.lock | 4 ++-- README.md | 11 +++++++---- RELEASES.md | 11 +++++++++++ USAGE.md | 8 ++++++-- docs/sdks/domains/README.md | 8 ++++++++ docs/sdks/links/README.md | 19 ++++++++++++++++--- dub.gemspec | 8 +++++++- lib/open_api_sdk/sdkconfiguration.rb | 6 +++--- 12 files changed, 83 insertions(+), 29 deletions(-) create mode 100644 RELEASES.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3f943b9..86696f8 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,13 +3,16 @@ id: 5a2dd83e-da98-455b-8ef9-0100a914efdf management: docChecksum: 69dc05faa844a9e17f9180677089eb25 docVersion: 0.0.1 - speakeasyVersion: 1.272.0 - generationVersion: 2.312.1 - releaseVersion: 0.0.1 - configChecksum: 32333f7ef936e0fd9683e79873e8d15e + speakeasyVersion: 1.299.3 + generationVersion: 2.338.7 + releaseVersion: 0.0.2 + configChecksum: 44ad03d0fe9744395542b8d01423cacb + repoURL: https://github.com/dubinc/dub-ruby.git + installationURL: https://github.com/dubinc/dub-ruby + published: true features: ruby: - core: 3.2.11 + core: 3.2.12 deprecations: 2.81.1 examples: 2.81.3 flattening: 2.81.1 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index fddb923..f6fe1f3 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true ruby: - version: 0.0.1 + version: 0.0.2 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 4ba5c54..541f93a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,27 +1,32 @@ -speakeasyVersion: 1.272.0 +speakeasyVersion: 1.299.3 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:482980395d6303ebfad22767f38f557fe3f7de25a1feb8041a390f273f07fac9 - sourceBlobDigest: sha256:4244ae7b26b184378f573916c8c4db664978ced4ef26e973a6ee5e7eaff6db65 + sourceRevisionDigest: sha256:9b6484c1c9903e46da9a8d25779c4024082df7360e6c42d8271471b050bb1cfc + sourceBlobDigest: sha256:5ea9b643e3a56b8375603bbda15eb82e1291c200f09c96dc02eb70c1532d2c97 tags: - latest + - main targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:482980395d6303ebfad22767f38f557fe3f7de25a1feb8041a390f273f07fac9 - sourceBlobDigest: sha256:4244ae7b26b184378f573916c8c4db664978ced4ef26e973a6ee5e7eaff6db65 - outLocation: /Users/kiran/Desktop/dub-ruby + sourceRevisionDigest: sha256:9b6484c1c9903e46da9a8d25779c4024082df7360e6c42d8271471b050bb1cfc + sourceBlobDigest: sha256:5ea9b643e3a56b8375603bbda15eb82e1291c200f09c96dc02eb70c1532d2c97 + outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 + speakeasyVersion: latest sources: dub: inputs: - location: https://api.dub.co - publish: + registry: location: registry.speakeasyapi.dev/dub/dub/dub targets: my-first-target: target: ruby source: dub + publish: + rubygems: + token: $rubygems_auth_token diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index ebfebd9..a627702 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,9 +1,10 @@ workflowVersion: 1.0.0 +speakeasyVersion: latest sources: dub: inputs: - location: https://api.dub.co - publish: + registry: location: registry.speakeasyapi.dev/dub/dub/dub targets: my-first-target: diff --git a/Gemfile.lock b/Gemfile.lock index 1c5e7d2..b3d0620 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.0.1) + dub (0.0.2) faraday faraday-multipart rack @@ -92,8 +92,8 @@ PLATFORMS x86_64-linux DEPENDENCIES - minitest dub! + minitest rubocop sorbet-runtime tapioca diff --git a/README.md b/README.md index ab8b63d..fa56e92 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,7 @@ It has been generated successfully based on your OpenAPI spec. However, it is no ## SDK Installation ```bash -gem install specific_install -gem specific_install +gem install dub ``` @@ -47,7 +46,9 @@ s.config_security( res = s.links.create(workspace_id="", project_slug="", request_body=::OpenApiSDK::Operations::CreateLinkRequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], )) if ! res.link_schema.nil? @@ -75,7 +76,9 @@ s.config_security( res = s.links.upsert(workspace_id="", project_slug="", request_body=::OpenApiSDK::Operations::UpsertLinkRequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], )) if ! res.link_schema.nil? diff --git a/RELEASES.md b/RELEASES.md new file mode 100644 index 0000000..d9ad2ed --- /dev/null +++ b/RELEASES.md @@ -0,0 +1,11 @@ + + +## 2024-05-30 16:34:00 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.299.3 (2.338.7) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.0.2] . +### Releases +- [Ruby Gems v0.0.2] https://rubygems.org/gems/dub/versions/0.0.2 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 58f072d..ae1c12a 100644 --- a/USAGE.md +++ b/USAGE.md @@ -16,7 +16,9 @@ s.config_security( res = s.links.create(workspace_id="", project_slug="", request_body=::OpenApiSDK::Operations::CreateLinkRequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], )) if ! res.link_schema.nil? @@ -42,7 +44,9 @@ s.config_security( res = s.links.upsert(workspace_id="", project_slug="", request_body=::OpenApiSDK::Operations::UpsertLinkRequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], )) if ! res.link_schema.nil? diff --git a/docs/sdks/domains/README.md b/docs/sdks/domains/README.md index c819936..5af879b 100644 --- a/docs/sdks/domains/README.md +++ b/docs/sdks/domains/README.md @@ -166,6 +166,14 @@ s.config_security( req = ::OpenApiSDK::Operations::UpdateDomainRequest.new( slug: "acme.com", + request_body: ::OpenApiSDK::Operations::UpdateDomainRequestBody.new( + slug: "acme.com", + type: ::OpenApiSDK::Operations::UpdateDomainType::REDIRECT, + target: "https://acme.com/landing", + expired_url: "https://acme.com/expired", + archived: false, + placeholder: "https://dub.co/help/article/what-is-dub", + ), ) res = s.domains.update(req) diff --git a/docs/sdks/links/README.md b/docs/sdks/links/README.md index 9cd1a5b..d5e3424 100644 --- a/docs/sdks/links/README.md +++ b/docs/sdks/links/README.md @@ -77,7 +77,9 @@ s.config_security( res = s.links.create(workspace_id="", project_slug="", request_body=::OpenApiSDK::Operations::CreateLinkRequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], )) if ! res.link_schema.nil? @@ -253,6 +255,13 @@ s.config_security( req = ::OpenApiSDK::Operations::UpdateLinkRequest.new( link_id: "", + request_body: ::OpenApiSDK::Operations::UpdateLinkRequestBody.new( + url: "https://google/com", + external_id: "123456", + tag_ids: [ + "", + ], + ), ) res = s.links.update(req) @@ -299,7 +308,9 @@ res = s.links.create_many(workspace_id="", project_slug="", reques ::OpenApiSDK::Operations::RequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], ), ]) @@ -346,7 +357,9 @@ s.config_security( res = s.links.upsert(workspace_id="", project_slug="", request_body=::OpenApiSDK::Operations::UpsertLinkRequestBody.new( url: "https://google/com", external_id: "123456", - tag_ids: "", + tag_ids: [ + "", + ], )) if ! res.link_schema.nil? diff --git a/dub.gemspec b/dub.gemspec index 1a52b30..c44d783 100644 --- a/dub.gemspec +++ b/dub.gemspec @@ -4,12 +4,18 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'dub' - s.version = '0.0.1' + s.version = '0.0.2' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' + s.homepage = 'https://github.com/dubinc/dub-ruby.git' s.description = 'Ruby Client SDK Generated by Speakeasy' s.authors = ['Dub'] + s.metadata = { + 'homepage_uri' => 'https://github.com/dubinc/dub-ruby.git', + 'documentation_uri' => 'https://github.com/dubinc/dub-ruby.git', + 'source_code_uri' => 'https://github.com/dubinc/dub-ruby.git' + } s.files = Dir['{lib,test}/**/*'] s.require_paths = ['lib'] diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index 20b6b2e..510a9db 100644 --- a/lib/open_api_sdk/sdkconfiguration.rb +++ b/lib/open_api_sdk/sdkconfiguration.rb @@ -40,9 +40,9 @@ def initialize(client, security, server_url, server_idx, globals) @globals = globals.nil? ? {} : globals @language = 'ruby' @openapi_doc_version = '0.0.1' - @sdk_version = '0.0.1' - @gen_version = '2.312.1' - @user_agent = 'speakeasy-sdk/ruby 0.0.1 2.312.1 0.0.1 dub' + @sdk_version = '0.0.2' + @gen_version = '2.338.7' + @user_agent = 'speakeasy-sdk/ruby 0.0.2 2.338.7 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) }