brand.dev 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a00f1524f31f5130cddc6248ee9013aa339c420fb8a99ee4236d89cf80969f82
4
- data.tar.gz: '09f8dec8b06ddad368899fdf113dda2429a66f032d099f52a791f41c41cbb528'
3
+ metadata.gz: 586503b2436acd1a836fdd867ebaf4258c5cb928320defd1b62b70c712439bc8
4
+ data.tar.gz: 3adcd4f046fd0a5d7ee98a6ee2367191e1925a3549a0a8a4b779d876d1c2fe72
5
5
  SHA512:
6
- metadata.gz: c96b78a973e6c4e036cd0c55870f7dfa3ea5623e38446d47ecfae9274cb801bc76fa91513add1135e120474b855dab373e046ca3849495b0a775806d3b5eb6d1
7
- data.tar.gz: 70c05ab291fd1bafe0cd434ac01f89d6e8afea599f8935dbb29bf1b242bbc3b1b1a14bfec6c49e1a424b4ccd1362492a13a02285422fca0ef8feba1aa2771170
6
+ metadata.gz: 96a199073279aa10b42f908a1fc3705290eebb271559fd8249bfdb2d8cd157dbd32fdb177381139ebed4bc2b6154f6e1b251c6e4278f6f19091c0321d3408063
7
+ data.tar.gz: cb915b6992b9ab682c0a0ebec5b11d7245f18c18e23fbf649bd19595157733f99e5d68763b37e2443572fa9911fe32d4f406d3a72e173035a7342a17aafc56ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
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
+
3
17
  ## 0.24.0 (2026-02-09)
4
18
 
5
19
  Full Changelog: [v0.23.0...v0.24.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.23.0...v0.24.0)
data/README.md CHANGED
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
26
26
  <!-- x-release-please-start-version -->
27
27
 
28
28
  ```ruby
29
- gem "brand.dev", "~> 0.24.0"
29
+ gem "brand.dev", "~> 0.25.0"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -58,6 +58,12 @@ module BrandDev
58
58
  # @return [Array<String>]
59
59
  required :features, BrandDev::Internal::Type::ArrayOf[String]
60
60
 
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
+
61
67
  # @!attribute name
62
68
  # Name of the product
63
69
  #
@@ -122,13 +128,15 @@ module BrandDev
122
128
  # @return [String, nil]
123
129
  optional :url, String, nil?: true
124
130
 
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)
126
132
  # The extracted product data, or null if not a product page
127
133
  #
128
134
  # @param description [String] Description of the product
129
135
  #
130
136
  # @param features [Array<String>] List of product features
131
137
  #
138
+ # @param images [Array<String>] URLs to product images on the page (up to 7)
139
+ #
132
140
  # @param name [String] Name of the product
133
141
  #
134
142
  # @param tags [Array<String>] Tags associated with the product
@@ -27,6 +27,12 @@ module BrandDev
27
27
  # @return [Array<String>]
28
28
  required :features, BrandDev::Internal::Type::ArrayOf[String]
29
29
 
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
+
30
36
  # @!attribute name
31
37
  # Name of the product
32
38
  #
@@ -91,11 +97,13 @@ module BrandDev
91
97
  # @return [String, nil]
92
98
  optional :url, String, nil?: true
93
99
 
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)
95
101
  # @param description [String] Description of the product
96
102
  #
97
103
  # @param features [Array<String>] List of product features
98
104
  #
105
+ # @param images [Array<String>] URLs to product images on the page (up to 7)
106
+ #
99
107
  # @param name [String] Name of the product
100
108
  #
101
109
  # @param tags [Array<String>] Tags associated with the product
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrandDev
4
- VERSION = "0.24.0"
4
+ VERSION = "0.25.0"
5
5
  end
@@ -138,6 +138,10 @@ module BrandDev
138
138
  sig { returns(T::Array[String]) }
139
139
  attr_accessor :features
140
140
 
141
+ # URLs to product images on the page (up to 7)
142
+ sig { returns(T::Array[String]) }
143
+ attr_accessor :images
144
+
141
145
  # Name of the product
142
146
  sig { returns(String) }
143
147
  attr_accessor :name
@@ -195,6 +199,7 @@ module BrandDev
195
199
  params(
196
200
  description: String,
197
201
  features: T::Array[String],
202
+ images: T::Array[String],
198
203
  name: String,
199
204
  tags: T::Array[String],
200
205
  target_audience: T::Array[String],
@@ -218,6 +223,8 @@ module BrandDev
218
223
  description:,
219
224
  # List of product features
220
225
  features:,
226
+ # URLs to product images on the page (up to 7)
227
+ images:,
221
228
  # Name of the product
222
229
  name:,
223
230
  # Tags associated with the product
@@ -246,6 +253,7 @@ module BrandDev
246
253
  {
247
254
  description: String,
248
255
  features: T::Array[String],
256
+ images: T::Array[String],
249
257
  name: String,
250
258
  tags: T::Array[String],
251
259
  target_audience: T::Array[String],
@@ -69,6 +69,10 @@ module BrandDev
69
69
  sig { returns(T::Array[String]) }
70
70
  attr_accessor :features
71
71
 
72
+ # URLs to product images on the page (up to 7)
73
+ sig { returns(T::Array[String]) }
74
+ attr_accessor :images
75
+
72
76
  # Name of the product
73
77
  sig { returns(String) }
74
78
  attr_accessor :name
@@ -125,6 +129,7 @@ module BrandDev
125
129
  params(
126
130
  description: String,
127
131
  features: T::Array[String],
132
+ images: T::Array[String],
128
133
  name: String,
129
134
  tags: T::Array[String],
130
135
  target_audience: T::Array[String],
@@ -148,6 +153,8 @@ module BrandDev
148
153
  description:,
149
154
  # List of product features
150
155
  features:,
156
+ # URLs to product images on the page (up to 7)
157
+ images:,
151
158
  # Name of the product
152
159
  name:,
153
160
  # Tags associated with the product
@@ -176,6 +183,7 @@ module BrandDev
176
183
  {
177
184
  description: String,
178
185
  features: T::Array[String],
186
+ images: T::Array[String],
179
187
  name: String,
180
188
  tags: T::Array[String],
181
189
  target_audience: T::Array[String],
@@ -45,6 +45,7 @@ module BrandDev
45
45
  {
46
46
  description: String,
47
47
  features: ::Array[String],
48
+ images: ::Array[String],
48
49
  name: String,
49
50
  tags: ::Array[String],
50
51
  target_audience: ::Array[String],
@@ -62,6 +63,8 @@ module BrandDev
62
63
 
63
64
  attr_accessor features: ::Array[String]
64
65
 
66
+ attr_accessor images: ::Array[String]
67
+
65
68
  attr_accessor name: String
66
69
 
67
70
  attr_accessor tags: ::Array[String]
@@ -85,6 +88,7 @@ module BrandDev
85
88
  def initialize: (
86
89
  description: String,
87
90
  features: ::Array[String],
91
+ images: ::Array[String],
88
92
  name: String,
89
93
  tags: ::Array[String],
90
94
  target_audience: ::Array[String],
@@ -100,6 +104,7 @@ module BrandDev
100
104
  def to_hash: -> {
101
105
  description: String,
102
106
  features: ::Array[String],
107
+ images: ::Array[String],
103
108
  name: String,
104
109
  tags: ::Array[String],
105
110
  target_audience: ::Array[String],
@@ -22,6 +22,7 @@ module BrandDev
22
22
  {
23
23
  description: String,
24
24
  features: ::Array[String],
25
+ images: ::Array[String],
25
26
  name: String,
26
27
  tags: ::Array[String],
27
28
  target_audience: ::Array[String],
@@ -39,6 +40,8 @@ module BrandDev
39
40
 
40
41
  attr_accessor features: ::Array[String]
41
42
 
43
+ attr_accessor images: ::Array[String]
44
+
42
45
  attr_accessor name: String
43
46
 
44
47
  attr_accessor tags: ::Array[String]
@@ -62,6 +65,7 @@ module BrandDev
62
65
  def initialize: (
63
66
  description: String,
64
67
  features: ::Array[String],
68
+ images: ::Array[String],
65
69
  name: String,
66
70
  tags: ::Array[String],
67
71
  target_audience: ::Array[String],
@@ -77,6 +81,7 @@ module BrandDev
77
81
  def to_hash: -> {
78
82
  description: String,
79
83
  features: ::Array[String],
84
+ images: ::Array[String],
80
85
  name: String,
81
86
  tags: ::Array[String],
82
87
  target_audience: ::Array[String],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brand.dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brand Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-09 00:00:00.000000000 Z
11
+ date: 2026-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi