Skip to content

Commit 187eb36

Browse files
authored
Merge pull request #46 from brand-dot-dev/release-please--branches--main--changes--next
release: 0.25.0
2 parents 3cab6d8 + 0b0de6b commit 187eb36

File tree

16 files changed

+80
-117
lines changed

16 files changed

+80
-117
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.24.0"
2+
".": "0.25.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 16
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-f6fec0ae4fa4572aefa111e660f98f6acfb6149c22cbd413bd3defad6c100478.yml
3-
openapi_spec_hash: a82bf07982eae3814e8a60eb368e0ce5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-98ef96cef5b06ad7a29dadba48258da7d9ea0a2b3938dc9e714ae06eb9afa1a3.yml
3+
openapi_spec_hash: 9e957a30999dff7d4ada925e437bd202
44
config_hash: c3aaaa9794dba44d524c06591ab17894

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 0.25.0 (2026-02-22)
4+
5+
Full Changelog: [v0.24.0...v0.25.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.24.0...v0.25.0)
6+
7+
### Features
8+
9+
* **api:** api update ([a8001da](https://github.com/brand-dot-dev/ruby-sdk/commit/a8001da388a5bf764a6fe19b7df7bc3572ae3dce))
10+
11+
12+
### Chores
13+
14+
* **internal:** remove mock server code ([106d37c](https://github.com/brand-dot-dev/ruby-sdk/commit/106d37c53f7459910a897b4f675b97a003b73f7c))
15+
* update mock server docs ([e60e130](https://github.com/brand-dot-dev/ruby-sdk/commit/e60e13027cec2ae0282f1ca4c4785d3586efe304))
16+
317
## 0.24.0 (2026-02-09)
418

519
Full Changelog: [v0.23.0...v0.24.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.23.0...v0.24.0)

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ $ bundle exec rake
6666

6767
## Running tests
6868

69-
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
70-
71-
```bash
72-
$ npx prism mock path/to/your/openapi.yml
73-
```
74-
7569
```bash
7670
$ bundle exec rake test
7771
```

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
brand.dev (0.24.0)
14+
brand.dev (0.25.0)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
2626
<!-- x-release-please-start-version -->
2727

2828
```ruby
29-
gem "brand.dev", "~> 0.24.0"
29+
gem "brand.dev", "~> 0.25.0"
3030
```
3131

3232
<!-- x-release-please-end -->

lib/brand_dev/models/brand_ai_product_response.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ class Product < BrandDev::Internal::Type::BaseModel
5858
# @return [Array<String>]
5959
required :features, BrandDev::Internal::Type::ArrayOf[String]
6060

61+
# @!attribute images
62+
# URLs to product images on the page (up to 7)
63+
#
64+
# @return [Array<String>]
65+
required :images, BrandDev::Internal::Type::ArrayOf[String]
66+
6167
# @!attribute name
6268
# Name of the product
6369
#
@@ -122,13 +128,15 @@ class Product < BrandDev::Internal::Type::BaseModel
122128
# @return [String, nil]
123129
optional :url, String, nil?: true
124130

125-
# @!method initialize(description:, features:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
131+
# @!method initialize(description:, features:, images:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
126132
# The extracted product data, or null if not a product page
127133
#
128134
# @param description [String] Description of the product
129135
#
130136
# @param features [Array<String>] List of product features
131137
#
138+
# @param images [Array<String>] URLs to product images on the page (up to 7)
139+
#
132140
# @param name [String] Name of the product
133141
#
134142
# @param tags [Array<String>] Tags associated with the product

lib/brand_dev/models/brand_ai_products_response.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ class Product < BrandDev::Internal::Type::BaseModel
2727
# @return [Array<String>]
2828
required :features, BrandDev::Internal::Type::ArrayOf[String]
2929

30+
# @!attribute images
31+
# URLs to product images on the page (up to 7)
32+
#
33+
# @return [Array<String>]
34+
required :images, BrandDev::Internal::Type::ArrayOf[String]
35+
3036
# @!attribute name
3137
# Name of the product
3238
#
@@ -91,11 +97,13 @@ class Product < BrandDev::Internal::Type::BaseModel
9197
# @return [String, nil]
9298
optional :url, String, nil?: true
9399

94-
# @!method initialize(description:, features:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
100+
# @!method initialize(description:, features:, images:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
95101
# @param description [String] Description of the product
96102
#
97103
# @param features [Array<String>] List of product features
98104
#
105+
# @param images [Array<String>] URLs to product images on the page (up to 7)
106+
#
99107
# @param name [String] Name of the product
100108
#
101109
# @param tags [Array<String>] Tags associated with the product

lib/brand_dev/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module BrandDev
4-
VERSION = "0.24.0"
4+
VERSION = "0.25.0"
55
end

rbi/brand_dev/models/brand_ai_product_response.rbi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ module BrandDev
138138
sig { returns(T::Array[String]) }
139139
attr_accessor :features
140140

141+
# URLs to product images on the page (up to 7)
142+
sig { returns(T::Array[String]) }
143+
attr_accessor :images
144+
141145
# Name of the product
142146
sig { returns(String) }
143147
attr_accessor :name
@@ -195,6 +199,7 @@ module BrandDev
195199
params(
196200
description: String,
197201
features: T::Array[String],
202+
images: T::Array[String],
198203
name: String,
199204
tags: T::Array[String],
200205
target_audience: T::Array[String],
@@ -218,6 +223,8 @@ module BrandDev
218223
description:,
219224
# List of product features
220225
features:,
226+
# URLs to product images on the page (up to 7)
227+
images:,
221228
# Name of the product
222229
name:,
223230
# Tags associated with the product
@@ -246,6 +253,7 @@ module BrandDev
246253
{
247254
description: String,
248255
features: T::Array[String],
256+
images: T::Array[String],
249257
name: String,
250258
tags: T::Array[String],
251259
target_audience: T::Array[String],

0 commit comments

Comments
 (0)