brand.dev 1.0.0 → 1.2.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.
@@ -57,7 +57,16 @@ module BrandDev
57
57
  type: BrandDev::Models::BrandWebScrapeImagesResponse::Image::type_
58
58
  }
59
59
 
60
- type element = :img | :svg | :link | :source | :video
60
+ type element =
61
+ :img
62
+ | :svg
63
+ | :link
64
+ | :source
65
+ | :video
66
+ | :css
67
+ | :object
68
+ | :meta
69
+ | :background
61
70
 
62
71
  module Element
63
72
  extend BrandDev::Internal::Type::Enum
@@ -67,6 +76,10 @@ module BrandDev
67
76
  LINK: :link
68
77
  SOURCE: :source
69
78
  VIDEO: :video
79
+ CSS: :css
80
+ OBJECT: :object
81
+ META: :meta
82
+ BACKGROUND: :background
70
83
 
71
84
  def self?.values: -> ::Array[BrandDev::Models::BrandWebScrapeImagesResponse::Image::element]
72
85
  end
@@ -5,7 +5,8 @@ module BrandDev
5
5
  url: String,
6
6
  include_images: bool,
7
7
  include_links: bool,
8
- :shorten_base64_images => bool
8
+ :shorten_base64_images => bool,
9
+ use_main_content_only: bool
9
10
  }
10
11
  & BrandDev::Internal::Type::request_parameters
11
12
 
@@ -27,11 +28,16 @@ module BrandDev
27
28
 
28
29
  def shorten_base64_images=: (bool) -> bool
29
30
 
31
+ attr_reader use_main_content_only: bool?
32
+
33
+ def use_main_content_only=: (bool) -> bool
34
+
30
35
  def initialize: (
31
36
  url: String,
32
37
  ?include_images: bool,
33
38
  ?include_links: bool,
34
39
  ?shorten_base64_images: bool,
40
+ ?use_main_content_only: bool,
35
41
  ?request_options: BrandDev::request_opts
36
42
  ) -> void
37
43
 
@@ -40,6 +46,7 @@ module BrandDev
40
46
  include_images: bool,
41
47
  include_links: bool,
42
48
  :shorten_base64_images => bool,
49
+ use_main_content_only: bool,
43
50
  request_options: BrandDev::RequestOptions
44
51
  }
45
52
  end
@@ -118,7 +118,6 @@ module BrandDev
118
118
  def styleguide: (
119
119
  ?direct_url: String,
120
120
  ?domain: String,
121
- ?prioritize: BrandDev::Models::BrandStyleguideParams::prioritize,
122
121
  ?timeout_ms: Integer,
123
122
  ?request_options: BrandDev::request_opts
124
123
  ) -> BrandDev::Models::BrandStyleguideResponse
@@ -138,6 +137,7 @@ module BrandDev
138
137
  ?include_images: bool,
139
138
  ?include_links: bool,
140
139
  ?shorten_base64_images: bool,
140
+ ?use_main_content_only: bool,
141
141
  ?request_options: BrandDev::request_opts
142
142
  ) -> BrandDev::Models::BrandWebScrapeMdResponse
143
143
 
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: 1.0.0
4
+ version: 1.2.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-03-25 00:00:00.000000000 Z
11
+ date: 2026-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi