Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.idea/
.ignore
.prism.log
.stdy.log
.ruby-lsp/
.yardoc/
bin/tapioca
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.3.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' '<path-to-repo>'
$ git clone -- 'https://github.com/context-dot-dev/context-ruby-sdk' '<path-to-repo>'
```

```ruby
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
context.dev (0.2.0)
context.dev (0.3.0)
cgi
connection_pool

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/).

Expand All @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "context.dev", "~> 0.2.0"
gem "context.dev", "~> 0.3.0"
```

<!-- x-release-please-end -->
Expand Down Expand Up @@ -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).
2 changes: 1 addition & 1 deletion context_dev.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion lib/context_dev/resources/ai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/context_dev/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ContextDev
VERSION = "0.2.0"
VERSION = "0.3.0"
end
2 changes: 1 addition & 1 deletion rbi/context_dev/resources/ai.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading