diff --git a/.github/workflows/speakeasy_sdk_generation.yml b/.github/workflows/speakeasy_sdk_generation.yml index 4478b0c..56a6c4b 100644 --- a/.github/workflows/speakeasy_sdk_generation.yml +++ b/.github/workflows/speakeasy_sdk_generation.yml @@ -1,29 +1,25 @@ name: Generate permissions: - checks: write - contents: write - pull-requests: write - statuses: write + checks: write + contents: write + pull-requests: write + statuses: write "on": - workflow_dispatch: - inputs: - force: - description: Force generation of SDKs - type: boolean - default: false - schedule: - - cron: 0 0 * * * + workflow_dispatch: + inputs: + force: + description: Force generation of SDKs + type: boolean + default: false + schedule: + - cron: 0 0 * * * jobs: - generate: - uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 - with: - force: ${{ github.event.inputs.force }} - languages: | - - ruby - mode: direct - openapi_docs: | - - https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml - speakeasy_version: latest - secrets: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} + generate: + uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 + with: + force: ${{ github.event.inputs.force }} + mode: direct + speakeasy_version: latest + secrets: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 45f052e..855f894 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: aa9449e7-c19d-411d-b8e2-f9c5fe982f6f management: docChecksum: e34dac84738ebf2d447ea2b9055a6eeb docVersion: 0.0.3 - speakeasyVersion: internal - generationVersion: 2.275.4 - releaseVersion: 0.0.1 - configChecksum: 80d9f7d28312e98a1830c7afce39831f + speakeasyVersion: 1.210.0 + generationVersion: 2.281.2 + releaseVersion: 0.0.2 + configChecksum: 4cede5e59af7b59748b57ba4cf05f03f repoURL: https://github.com/LukeHagar/plexruby.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexruby diff --git a/gen.yaml b/.speakeasy/gen.yaml similarity index 82% rename from gen.yaml rename to .speakeasy/gen.yaml index d657566..ddd9b4b 100644 --- a/gen.yaml +++ b/.speakeasy/gen.yaml @@ -6,13 +6,13 @@ generation: optionalPropertyRendering: withExample useClassNamesForArrayFields: true fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true auth: oAuth2ClientCredentialsEnabled: false ruby: - version: 0.0.1 + version: 0.0.2 author: LukeHagar description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml new file mode 100644 index 0000000..90b7701 --- /dev/null +++ b/.speakeasy/workflow.yaml @@ -0,0 +1,9 @@ +workflowVersion: 1.0.0 +sources: + my-source: + inputs: + - location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml +targets: + plexruby: + target: ruby + source: my-source diff --git a/Gemfile.lock b/Gemfile.lock index b8acd91..8b92650 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - plexruby (0.0.1) + plexruby (0.0.2) faraday faraday-multipart rack @@ -55,13 +55,13 @@ GEM rubocop-ast (1.30.0) parser (>= 3.2.1.0) ruby-progressbar (1.13.0) - sorbet (0.5.11237) - sorbet-static (= 0.5.11237) - sorbet-runtime (0.5.11237) - sorbet-static (0.5.11237-x86_64-linux) - sorbet-static-and-runtime (0.5.11237) - sorbet (= 0.5.11237) - sorbet-runtime (= 0.5.11237) + sorbet (0.5.11287) + sorbet-static (= 0.5.11287) + sorbet-runtime (0.5.11287) + sorbet-static (0.5.11287-x86_64-linux) + sorbet-static-and-runtime (0.5.11287) + sorbet (= 0.5.11287) + sorbet-runtime (= 0.5.11287) spoom (1.2.4) erubi (>= 1.10.0) sorbet-static-and-runtime (>= 0.5.10187) diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index 8900f6f..14bb142 100644 --- a/lib/open_api_sdk/sdkconfiguration.rb +++ b/lib/open_api_sdk/sdkconfiguration.rb @@ -40,9 +40,9 @@ module OpenApiSDK @security = security @language = 'ruby' @openapi_doc_version = '0.0.3' - @sdk_version = '0.0.1' - @gen_version = '2.275.4' - @user_agent = 'speakeasy-sdk/ruby 0.0.1 2.275.4 0.0.3 plexruby' + @sdk_version = '0.0.2' + @gen_version = '2.281.2' + @user_agent = 'speakeasy-sdk/ruby 0.0.2 2.281.2 0.0.3 plexruby' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/plexruby.gemspec b/plexruby.gemspec index 7115f6d..2e2263c 100644 --- a/plexruby.gemspec +++ b/plexruby.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'plexruby' - s.version = '0.0.1' + s.version = '0.0.2' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = ''