diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb90ca18..1dd24175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,8 @@ jobs: runs-on: ${{ github.repository == 'stainless-sdks/context.dev-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: |- github.repository == 'stainless-sdks/context.dev-ruby' && - (github.event_name == 'push' || github.event.pull_request.head.repo.fork) + (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && + (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') steps: - uses: actions/checkout@v6 - name: Set up Ruby diff --git a/.github/workflows/publish-gem.yml b/.github/workflows/publish-gem.yml index 7b6ed50a..9414c43b 100644 --- a/.github/workflows/publish-gem.yml +++ b/.github/workflows/publish-gem.yml @@ -1,6 +1,6 @@ # This workflow is triggered when a GitHub release is created. # It can also be run manually to re-publish to rubygems.org in case it failed for some reason. -# You can run this workflow by navigating to https://www.github.com/brand-dot-dev/context-ruby-sdk/actions/workflows/publish-gem.yml +# You can run this workflow by navigating to https://www.github.com/context-dot-dev/context-ruby-sdk/actions/workflows/publish-gem.yml name: Publish Gem on: workflow_dispatch: diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 58d65921..8c97ccfa 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -9,7 +9,7 @@ jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'brand-dot-dev/context-ruby-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'context-dot-dev/context-ruby-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - uses: actions/checkout@v6 diff --git a/.gitignore b/.gitignore index 3d26ceed..fc9eb287 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .idea/ .ignore .prism.log +.stdy.log .ruby-lsp/ .yardoc/ bin/tapioca diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 10f30916..6b7b74c5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.0" + ".": "0.3.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index c4d39225..63e1a810 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 20 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-c2e94e0c758b1aaba120c2a4231842fff0a120acc471fe24c7a81221e13a0482.yml -openapi_spec_hash: aabc231b46b1ca3375882f96c378c665 -config_hash: ab5135cc119f83ae2821f9445ed99d16 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-3a8af8deb24e840300df2b1a74edfb075287af9f38e6d343960ba75fce00ab68.yml +openapi_spec_hash: acc99bb843c5c7d630bc2a80b1b97444 +config_hash: 80cc0bee9b5635f8cd6ec09e92226d88 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3afa75a5..069d9fe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 0.3.0 (2026-03-25) + +Full Changelog: [v0.2.1...v0.3.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v0.2.1...v0.3.0) + +### Features + +* **api:** api update ([ff1db16](https://github.com/context-dot-dev/context-ruby-sdk/commit/ff1db1692a06315279532c93a05722223cb2c7ee)) +* **api:** api update ([97eac17](https://github.com/context-dot-dev/context-ruby-sdk/commit/97eac17686bff356d4d5b6ad6438beb24c05b05a)) +* **api:** manual updates ([d120a5d](https://github.com/context-dot-dev/context-ruby-sdk/commit/d120a5dde6665acced2c75394beb6910389e344e)) +* **api:** manual updates ([fe32a5e](https://github.com/context-dot-dev/context-ruby-sdk/commit/fe32a5e431bf152d8b0966f9927efcd8ebc3b5c1)) + + +### Chores + +* configure new SDK language ([8d24989](https://github.com/context-dot-dev/context-ruby-sdk/commit/8d2498986b1358432204720208f1a9b18d0f53f0)) +* **internal:** tweak CI branches ([2b124b9](https://github.com/context-dot-dev/context-ruby-sdk/commit/2b124b9fd6a5eeb81fa445afc448ce4819fc077e)) +* sync repo ([663ae2b](https://github.com/context-dot-dev/context-ruby-sdk/commit/663ae2b31199fd8a6b7e37161111d2c37a8d76df)) +* update SDK settings ([8a92059](https://github.com/context-dot-dev/context-ruby-sdk/commit/8a920591a4a5ef301d26d19ca2a985ac7c0d8efd)) +* update SDK settings ([3c49703](https://github.com/context-dot-dev/context-ruby-sdk/commit/3c49703a25e8951d07f597cc16b1abc03b248d84)) + +## 0.2.1 (2026-03-25) + +Full Changelog: [v0.2.0...v0.2.1](https://github.com/context-dot-dev/ruby-sdk/compare/v0.2.0...v0.2.1) + +### Chores + +* sync repo ([00fbb10](https://github.com/context-dot-dev/ruby-sdk/commit/00fbb10a2bf3f189e7e0da59238e1effcaf7b9eb)) +* update SDK settings ([2effe2a](https://github.com/context-dot-dev/ruby-sdk/commit/2effe2a7cd8e7f7664590f5a094c6f9598b1866e)) + +## 0.2.1 (2026-03-25) + +Full Changelog: [v0.2.0...v0.2.1](https://github.com/context-dot-dev/ruby-sdk/compare/v0.2.0...v0.2.1) + +### Chores + +* sync repo ([e3eb15b](https://github.com/context-dot-dev/ruby-sdk/commit/e3eb15bd44f41866d57904b62e4d3dc6c37772d3)) +* update SDK settings ([84a6c7d](https://github.com/context-dot-dev/ruby-sdk/commit/84a6c7d4f5752a044f911caf99c20fbb3eb45240)) + ## 0.2.0 (2026-03-18) Full Changelog: [v0.1.0...v0.2.0](https://github.com/brand-dot-dev/context-ruby-sdk/compare/v0.1.0...v0.2.0) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f3bc3540..fad4a18a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -43,13 +43,13 @@ If you’d like to use the repository from source, you can either install from g To install via git in your `Gemfile`: ```ruby -gem "context.dev", git: "https://github.com/brand-dot-dev/context-ruby-sdk" +gem "context.dev", git: "https://github.com/context-dot-dev/context-ruby-sdk" ``` Alternatively, reference local copy of the repo: ```bash -$ git clone -- 'https://github.com/brand-dot-dev/context-ruby-sdk' '' +$ git clone -- 'https://github.com/context-dot-dev/context-ruby-sdk' '' ``` ```ruby diff --git a/Gemfile.lock b/Gemfile.lock index 16c98f8d..e74882a9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - context.dev (0.2.0) + context.dev (0.3.0) cgi connection_pool diff --git a/README.md b/README.md index 2b06fc81..b7637935 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Context Dev Ruby API library -The Context Dev Ruby library provides convenient access to the Context Dev REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/brand-dot-dev/context-ruby-sdk#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem. +The Context Dev Ruby library provides convenient access to the Context Dev REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/context-dot-dev/context-ruby-sdk#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem. It is generated with [Stainless](https://www.stainless.com/). @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "context.dev", "~> 0.2.0" +gem "context.dev", "~> 0.3.0" ``` @@ -241,4 +241,4 @@ Ruby 3.2.0 or higher. ## Contributing -See [the contributing documentation](https://github.com/brand-dot-dev/context-ruby-sdk/tree/main/CONTRIBUTING.md). +See [the contributing documentation](https://github.com/context-dot-dev/context-ruby-sdk/tree/main/CONTRIBUTING.md). diff --git a/context_dev.gemspec b/context_dev.gemspec index 5dbd3e17..072559c0 100644 --- a/context_dev.gemspec +++ b/context_dev.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |s| s.email = "hello@context.dev" s.homepage = "https://gemdocs.org/gems/context.dev" s.metadata["homepage_uri"] = s.homepage - s.metadata["source_code_uri"] = "https://github.com/brand-dot-dev/context-ruby-sdk" + s.metadata["source_code_uri"] = "https://github.com/context-dot-dev/context-ruby-sdk" s.metadata["rubygems_mfa_required"] = false.to_s s.required_ruby_version = ">= 3.2.0" diff --git a/lib/context_dev/resources/ai.rb b/lib/context_dev/resources/ai.rb index e137de4a..85fe376b 100644 --- a/lib/context_dev/resources/ai.rb +++ b/lib/context_dev/resources/ai.rb @@ -65,7 +65,7 @@ def extract_product(params) ) end - # Beta feature: Extract product information from a brand's website. Brand.dev will + # Beta feature: Extract product information from a brand's website. We will # analyze the website and return a list of products with details such as name, # description, image, pricing, features, and more. # diff --git a/lib/context_dev/version.rb b/lib/context_dev/version.rb index 5eaf3802..61e3bbb6 100644 --- a/lib/context_dev/version.rb +++ b/lib/context_dev/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ContextDev - VERSION = "0.2.0" + VERSION = "0.3.0" end diff --git a/rbi/context_dev/resources/ai.rbi b/rbi/context_dev/resources/ai.rbi index 586be751..15ebef1f 100644 --- a/rbi/context_dev/resources/ai.rbi +++ b/rbi/context_dev/resources/ai.rbi @@ -51,7 +51,7 @@ module ContextDev ) end - # Beta feature: Extract product information from a brand's website. Brand.dev will + # Beta feature: Extract product information from a brand's website. We will # analyze the website and return a list of products with details such as name, # description, image, pricing, features, and more. sig do