brand.dev 0.20.0 → 0.21.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 +4 -4
- data/CHANGELOG.md +24 -0
- data/README.md +10 -1
- data/lib/brand_dev/models/brand_retrieve_params.rb +3 -3
- data/lib/brand_dev/resources/brand.rb +2 -2
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/models/brand_retrieve_params.rbi +3 -6
- data/rbi/brand_dev/resources/brand.rbi +1 -1
- data/sig/brand_dev/models/brand_retrieve_params.rbs +2 -4
- data/sig/brand_dev/resources/brand.rbs +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11f1f35e06b0194753dff02bf2e8575c1546c118f385b5c0c3c697fdaaa1a3f6
|
|
4
|
+
data.tar.gz: 1507ba4818bb1bc5c6ddbc75ceaabc9552a4e22422d768d23a13ea3e1717726e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd0e28af31b9db038d2552ada9c70740ccc1ed201a87a18c1d078e1cb2429deb2992fdfaeeb3a1dcbe235291338bba960b0e7673147abfdb1eceed0c68dc3629
|
|
7
|
+
data.tar.gz: 79fbd2becf76b76a4039cdcab3f39a4475fda8c8abf03ab8f4e0e9beea85031a66d18c4a621cfe5d902cb414d62a2b9f61265c5812766707d74d5704a24b725b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.0 (2026-02-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.20.0...v0.21.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.20.0...v0.21.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a423b3c](https://github.com/brand-dot-dev/ruby-sdk/commit/a423b3c7bb3672541395e056cc611df45597d188))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **docs:** fix mcp installation instructions for remote servers ([a6ec5ef](https://github.com/brand-dot-dev/ruby-sdk/commit/a6ec5efbad9664835ade1580fe9433adda3b495b))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Chores
|
|
18
|
+
|
|
19
|
+
* **internal:** update `actions/checkout` version ([06ba397](https://github.com/brand-dot-dev/ruby-sdk/commit/06ba3972227f9850264787f04bb0d49cf786ee74))
|
|
20
|
+
* move `cgi` into dependencies for ruby 4 ([0e2e7df](https://github.com/brand-dot-dev/ruby-sdk/commit/0e2e7df7deebaa4950ff7813f52ad00fc033b74a))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
* prominently feature MCP server setup in root SDK readmes ([328c136](https://github.com/brand-dot-dev/ruby-sdk/commit/328c136767a0b5ae60cc7cdfd23681e50f2569b5))
|
|
26
|
+
|
|
3
27
|
## 0.20.0 (2026-01-05)
|
|
4
28
|
|
|
5
29
|
Full Changelog: [v0.19.0...v0.20.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.19.0...v0.20.0)
|
data/README.md
CHANGED
|
@@ -4,6 +4,15 @@ The Brand Dev Ruby library provides convenient access to the Brand Dev REST API
|
|
|
4
4
|
|
|
5
5
|
It is generated with [Stainless](https://www.stainless.com/).
|
|
6
6
|
|
|
7
|
+
## MCP Server
|
|
8
|
+
|
|
9
|
+
Use the Brand Dev MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
|
|
10
|
+
|
|
11
|
+
[](https://cursor.com/en-US/install-mcp?name=brand.dev-mcp&config=eyJuYW1lIjoiYnJhbmQuZGV2LW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2JyYW5kLWRldi5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LWJyYW5kLWRldi1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)
|
|
12
|
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22brand.dev-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fbrand-dev.stlmcp.com%22%2C%22headers%22%3A%7B%22x-brand-dev-api-key%22%3A%22My%20API%20Key%22%7D%7D)
|
|
13
|
+
|
|
14
|
+
> Note: You may need to set environment variables in your MCP client.
|
|
15
|
+
|
|
7
16
|
## Documentation
|
|
8
17
|
|
|
9
18
|
Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/brand.dev).
|
|
@@ -17,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
17
26
|
<!-- x-release-please-start-version -->
|
|
18
27
|
|
|
19
28
|
```ruby
|
|
20
|
-
gem "brand.dev", "~> 0.
|
|
29
|
+
gem "brand.dev", "~> 0.21.0"
|
|
21
30
|
```
|
|
22
31
|
|
|
23
32
|
<!-- x-release-please-end -->
|
|
@@ -11,8 +11,8 @@ module BrandDev
|
|
|
11
11
|
# Domain name to retrieve brand data for (e.g., 'example.com', 'google.com').
|
|
12
12
|
# Cannot be used with name or ticker parameters.
|
|
13
13
|
#
|
|
14
|
-
# @return [String
|
|
15
|
-
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :domain, String
|
|
16
16
|
|
|
17
17
|
# @!attribute force_language
|
|
18
18
|
# Optional parameter to force the language of the retrieved brand data. Works with
|
|
@@ -37,7 +37,7 @@ module BrandDev
|
|
|
37
37
|
# @return [Integer, nil]
|
|
38
38
|
optional :timeout_ms, Integer
|
|
39
39
|
|
|
40
|
-
# @!method initialize(domain
|
|
40
|
+
# @!method initialize(domain:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
|
|
41
41
|
# Some parameter documentations has been truncated, see
|
|
42
42
|
# {BrandDev::Models::BrandRetrieveParams} for more details.
|
|
43
43
|
#
|
|
@@ -9,7 +9,7 @@ module BrandDev
|
|
|
9
9
|
# Retrieve logos, backdrops, colors, industry, description, and more from any
|
|
10
10
|
# domain
|
|
11
11
|
#
|
|
12
|
-
# @overload retrieve(domain
|
|
12
|
+
# @overload retrieve(domain:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
|
|
13
13
|
#
|
|
14
14
|
# @param domain [String] Domain name to retrieve brand data for (e.g., 'example.com', 'google.com'). Cann
|
|
15
15
|
#
|
|
@@ -24,7 +24,7 @@ module BrandDev
|
|
|
24
24
|
# @return [BrandDev::Models::BrandRetrieveResponse]
|
|
25
25
|
#
|
|
26
26
|
# @see BrandDev::Models::BrandRetrieveParams
|
|
27
|
-
def retrieve(params
|
|
27
|
+
def retrieve(params)
|
|
28
28
|
parsed, options = BrandDev::BrandRetrieveParams.dump_request(params)
|
|
29
29
|
@client.request(
|
|
30
30
|
method: :get,
|
data/lib/brand_dev/version.rb
CHANGED
|
@@ -13,11 +13,8 @@ module BrandDev
|
|
|
13
13
|
|
|
14
14
|
# Domain name to retrieve brand data for (e.g., 'example.com', 'google.com').
|
|
15
15
|
# Cannot be used with name or ticker parameters.
|
|
16
|
-
sig { returns(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
sig { params(domain: String).void }
|
|
20
|
-
attr_writer :domain
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :domain
|
|
21
18
|
|
|
22
19
|
# Optional parameter to force the language of the retrieved brand data. Works with
|
|
23
20
|
# all three lookup methods.
|
|
@@ -66,7 +63,7 @@ module BrandDev
|
|
|
66
63
|
def self.new(
|
|
67
64
|
# Domain name to retrieve brand data for (e.g., 'example.com', 'google.com').
|
|
68
65
|
# Cannot be used with name or ticker parameters.
|
|
69
|
-
domain
|
|
66
|
+
domain:,
|
|
70
67
|
# Optional parameter to force the language of the retrieved brand data. Works with
|
|
71
68
|
# all three lookup methods.
|
|
72
69
|
force_language: nil,
|
|
@@ -18,7 +18,7 @@ module BrandDev
|
|
|
18
18
|
def retrieve(
|
|
19
19
|
# Domain name to retrieve brand data for (e.g., 'example.com', 'google.com').
|
|
20
20
|
# Cannot be used with name or ticker parameters.
|
|
21
|
-
domain
|
|
21
|
+
domain:,
|
|
22
22
|
# Optional parameter to force the language of the retrieved brand data. Works with
|
|
23
23
|
# all three lookup methods.
|
|
24
24
|
force_language: nil,
|
|
@@ -13,9 +13,7 @@ module BrandDev
|
|
|
13
13
|
extend BrandDev::Internal::Type::RequestParameters::Converter
|
|
14
14
|
include BrandDev::Internal::Type::RequestParameters
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def domain=: (String) -> String
|
|
16
|
+
attr_accessor domain: String
|
|
19
17
|
|
|
20
18
|
attr_reader force_language: BrandDev::Models::BrandRetrieveParams::force_language?
|
|
21
19
|
|
|
@@ -32,7 +30,7 @@ module BrandDev
|
|
|
32
30
|
def timeout_ms=: (Integer) -> Integer
|
|
33
31
|
|
|
34
32
|
def initialize: (
|
|
35
|
-
|
|
33
|
+
domain: String,
|
|
36
34
|
?force_language: BrandDev::Models::BrandRetrieveParams::force_language,
|
|
37
35
|
?max_speed: bool,
|
|
38
36
|
?timeout_ms: Integer,
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brand.dev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.21.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-
|
|
11
|
+
date: 2026-02-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: cgi
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: connection_pool
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|