brand.dev 0.30.0 → 0.32.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 +16 -0
- data/README.md +2 -2
- data/lib/brand_dev/models/brand_web_scrape_sitemap_params.rb +10 -1
- data/lib/brand_dev/resources/brand.rb +4 -2
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/models/brand_web_scrape_sitemap_params.rbi +17 -1
- data/rbi/brand_dev/resources/brand.rbi +4 -0
- data/sig/brand_dev/models/brand_web_scrape_sitemap_params.rbs +8 -1
- data/sig/brand_dev/resources/brand.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 231e73050b4bf5b28b8b6dde0138d2a99a456f06f5f7c4f1d14ef176bf8d3ba3
|
|
4
|
+
data.tar.gz: 1852c03bc8de20f23a6236a39c81eba70fec994a89e8b5e8036e8feefa2d3035
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f77e137daa87328e193805f16d716ad2de3f094a15543b98fbd747728ea783fb7a8a83d45dbc478ab0fb024db236af25e1a839d818eeb3de69dcf534dabcc48a
|
|
7
|
+
data.tar.gz: f79e1ed1dc918a14789353d5b499ec815ba5f62f1a1b4a4e8cddc853775faabbc6d3682b79fa234df2c8984006f0d7b62b5e5c6e2274d58ab67a72d275b9595d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.32.0 (2026-03-25)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.31.0...v0.32.0](https://github.com/context-dot-dev/deprecated-brand-ruby-sdk/compare/v0.31.0...v0.32.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([6d017ed](https://github.com/context-dot-dev/deprecated-brand-ruby-sdk/commit/6d017ed5df52193779f6da273984046f5fa6bfad))
|
|
10
|
+
|
|
11
|
+
## 0.31.0 (2026-03-25)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.30.0...v0.31.0](https://github.com/context-dot-dev/deprecated-brand-ruby-sdk/compare/v0.30.0...v0.31.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([aa15c1b](https://github.com/context-dot-dev/deprecated-brand-ruby-sdk/commit/aa15c1b80096f550e29ac4d66ff607f6339f9a0b))
|
|
18
|
+
|
|
3
19
|
## 0.30.0 (2026-03-25)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.29.0...v0.30.0](https://github.com/context-dot-dev/deprecated-brand-ruby-sdk/compare/v0.29.0...v0.30.0)
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Use the Brand Dev MCP Server to enable AI assistants to interact with this API,
|
|
|
17
17
|
|
|
18
18
|
Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/brand.dev).
|
|
19
19
|
|
|
20
|
-
The REST API documentation can be found on [docs.
|
|
20
|
+
The REST API documentation can be found on [docs.context.dev](https://docs.context.dev/).
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
23
23
|
|
|
@@ -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.
|
|
29
|
+
gem "brand.dev", "~> 0.32.0"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
|
@@ -14,12 +14,21 @@ module BrandDev
|
|
|
14
14
|
# @return [String]
|
|
15
15
|
required :domain, String
|
|
16
16
|
|
|
17
|
-
# @!
|
|
17
|
+
# @!attribute max_links
|
|
18
|
+
# Maximum number of links to return from the sitemap crawl. Defaults to 10,000.
|
|
19
|
+
# Minimum is 1, maximum is 100,000.
|
|
20
|
+
#
|
|
21
|
+
# @return [Integer, nil]
|
|
22
|
+
optional :max_links, Integer
|
|
23
|
+
|
|
24
|
+
# @!method initialize(domain:, max_links: nil, request_options: {})
|
|
18
25
|
# Some parameter documentations has been truncated, see
|
|
19
26
|
# {BrandDev::Models::BrandWebScrapeSitemapParams} for more details.
|
|
20
27
|
#
|
|
21
28
|
# @param domain [String] Domain name to crawl sitemaps for (e.g., 'example.com'). The domain will be auto
|
|
22
29
|
#
|
|
30
|
+
# @param max_links [Integer] Maximum number of links to return from the sitemap crawl. Defaults to 10,000. Mi
|
|
31
|
+
#
|
|
23
32
|
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
|
|
24
33
|
end
|
|
25
34
|
end
|
|
@@ -624,10 +624,12 @@ module BrandDev
|
|
|
624
624
|
# Supports sitemap index files (recursive), parallel fetching with concurrency
|
|
625
625
|
# control, deduplication, and filters out non-page resources (images, PDFs, etc.).
|
|
626
626
|
#
|
|
627
|
-
# @overload web_scrape_sitemap(domain:, request_options: {})
|
|
627
|
+
# @overload web_scrape_sitemap(domain:, max_links: nil, request_options: {})
|
|
628
628
|
#
|
|
629
629
|
# @param domain [String] Domain name to crawl sitemaps for (e.g., 'example.com'). The domain will be auto
|
|
630
630
|
#
|
|
631
|
+
# @param max_links [Integer] Maximum number of links to return from the sitemap crawl. Defaults to 10,000. Mi
|
|
632
|
+
#
|
|
631
633
|
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
632
634
|
#
|
|
633
635
|
# @return [BrandDev::Models::BrandWebScrapeSitemapResponse]
|
|
@@ -639,7 +641,7 @@ module BrandDev
|
|
|
639
641
|
@client.request(
|
|
640
642
|
method: :get,
|
|
641
643
|
path: "web/scrape/sitemap",
|
|
642
|
-
query: query,
|
|
644
|
+
query: query.transform_keys(max_links: "maxLinks"),
|
|
643
645
|
model: BrandDev::Models::BrandWebScrapeSitemapResponse,
|
|
644
646
|
options: options
|
|
645
647
|
)
|
data/lib/brand_dev/version.rb
CHANGED
|
@@ -19,9 +19,18 @@ module BrandDev
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :domain
|
|
21
21
|
|
|
22
|
+
# Maximum number of links to return from the sitemap crawl. Defaults to 10,000.
|
|
23
|
+
# Minimum is 1, maximum is 100,000.
|
|
24
|
+
sig { returns(T.nilable(Integer)) }
|
|
25
|
+
attr_reader :max_links
|
|
26
|
+
|
|
27
|
+
sig { params(max_links: Integer).void }
|
|
28
|
+
attr_writer :max_links
|
|
29
|
+
|
|
22
30
|
sig do
|
|
23
31
|
params(
|
|
24
32
|
domain: String,
|
|
33
|
+
max_links: Integer,
|
|
25
34
|
request_options: BrandDev::RequestOptions::OrHash
|
|
26
35
|
).returns(T.attached_class)
|
|
27
36
|
end
|
|
@@ -29,13 +38,20 @@ module BrandDev
|
|
|
29
38
|
# Domain name to crawl sitemaps for (e.g., 'example.com'). The domain will be
|
|
30
39
|
# automatically normalized and validated.
|
|
31
40
|
domain:,
|
|
41
|
+
# Maximum number of links to return from the sitemap crawl. Defaults to 10,000.
|
|
42
|
+
# Minimum is 1, maximum is 100,000.
|
|
43
|
+
max_links: nil,
|
|
32
44
|
request_options: {}
|
|
33
45
|
)
|
|
34
46
|
end
|
|
35
47
|
|
|
36
48
|
sig do
|
|
37
49
|
override.returns(
|
|
38
|
-
{
|
|
50
|
+
{
|
|
51
|
+
domain: String,
|
|
52
|
+
max_links: Integer,
|
|
53
|
+
request_options: BrandDev::RequestOptions
|
|
54
|
+
}
|
|
39
55
|
)
|
|
40
56
|
end
|
|
41
57
|
def to_hash
|
|
@@ -529,6 +529,7 @@ module BrandDev
|
|
|
529
529
|
sig do
|
|
530
530
|
params(
|
|
531
531
|
domain: String,
|
|
532
|
+
max_links: Integer,
|
|
532
533
|
request_options: BrandDev::RequestOptions::OrHash
|
|
533
534
|
).returns(BrandDev::Models::BrandWebScrapeSitemapResponse)
|
|
534
535
|
end
|
|
@@ -536,6 +537,9 @@ module BrandDev
|
|
|
536
537
|
# Domain name to crawl sitemaps for (e.g., 'example.com'). The domain will be
|
|
537
538
|
# automatically normalized and validated.
|
|
538
539
|
domain:,
|
|
540
|
+
# Maximum number of links to return from the sitemap crawl. Defaults to 10,000.
|
|
541
|
+
# Minimum is 1, maximum is 100,000.
|
|
542
|
+
max_links: nil,
|
|
539
543
|
request_options: {}
|
|
540
544
|
)
|
|
541
545
|
end
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module BrandDev
|
|
2
2
|
module Models
|
|
3
3
|
type brand_web_scrape_sitemap_params =
|
|
4
|
-
{ domain: String
|
|
4
|
+
{ domain: String, max_links: Integer }
|
|
5
|
+
& BrandDev::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class BrandWebScrapeSitemapParams < BrandDev::Internal::Type::BaseModel
|
|
7
8
|
extend BrandDev::Internal::Type::RequestParameters::Converter
|
|
@@ -9,13 +10,19 @@ module BrandDev
|
|
|
9
10
|
|
|
10
11
|
attr_accessor domain: String
|
|
11
12
|
|
|
13
|
+
attr_reader max_links: Integer?
|
|
14
|
+
|
|
15
|
+
def max_links=: (Integer) -> Integer
|
|
16
|
+
|
|
12
17
|
def initialize: (
|
|
13
18
|
domain: String,
|
|
19
|
+
?max_links: Integer,
|
|
14
20
|
?request_options: BrandDev::request_opts
|
|
15
21
|
) -> void
|
|
16
22
|
|
|
17
23
|
def to_hash: -> {
|
|
18
24
|
domain: String,
|
|
25
|
+
max_links: Integer,
|
|
19
26
|
request_options: BrandDev::RequestOptions
|
|
20
27
|
}
|
|
21
28
|
end
|