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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be4fa887e23eb9143aaf2472d22397b99b414cb4ff93540d2ea3da5fbae0cfa3
4
- data.tar.gz: 1c923c23ca8386e90fefe684df20b6ece1cc9455bcc9fec14d1f7cdb221cb100
3
+ metadata.gz: 11f1f35e06b0194753dff02bf2e8575c1546c118f385b5c0c3c697fdaaa1a3f6
4
+ data.tar.gz: 1507ba4818bb1bc5c6ddbc75ceaabc9552a4e22422d768d23a13ea3e1717726e
5
5
  SHA512:
6
- metadata.gz: ac2de9483c9ed519557f9fcff0e2ea5041c938d8fd313a934332321d79133d25081c648bad90e320ed22a09a53faada008b3dae7cf023713350382cf8289ec28
7
- data.tar.gz: f82183b8ff1d77f93834c0b4cbcb100ffd3ec1fcfa2ae08f5a3d6f2fc37b8f86933c423e2b5130a1f9319313404a336ac3cc7c4855b3f788e91d971fd3fb669f
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
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=brand.dev-mcp&config=eyJuYW1lIjoiYnJhbmQuZGV2LW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2JyYW5kLWRldi5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LWJyYW5kLWRldi1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)
12
+ [![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](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.20.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, nil]
15
- optional :domain, String
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: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
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: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrandDev
4
- VERSION = "0.20.0"
4
+ VERSION = "0.21.0"
5
5
  end
@@ -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(T.nilable(String)) }
17
- attr_reader :domain
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: nil,
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: nil,
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
- attr_reader domain: String?
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
- ?domain: String,
33
+ domain: String,
36
34
  ?force_language: BrandDev::Models::BrandRetrieveParams::force_language,
37
35
  ?max_speed: bool,
38
36
  ?timeout_ms: Integer,
@@ -2,7 +2,7 @@ module BrandDev
2
2
  module Resources
3
3
  class Brand
4
4
  def retrieve: (
5
- ?domain: String,
5
+ domain: String,
6
6
  ?force_language: BrandDev::Models::BrandRetrieveParams::force_language,
7
7
  ?max_speed: bool,
8
8
  ?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.20.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-01-05 00:00:00.000000000 Z
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