Skip to content

Commit 9bd4e93

Browse files
authored
Merge pull request #62 from context-dot-dev/release-please--branches--main--changes--next
release: 2.11.0
2 parents f143d25 + 6cf3251 commit 9bd4e93

20 files changed

Lines changed: 490 additions & 48 deletions

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.10.0"
2+
".": "2.11.0"
33
}

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-5dbe631ce516ca688273053ddcb58870561bd6dc76fa75df354c954d7af65a3c.yml
3-
openapi_spec_hash: 53a74c4cccbdec8590db38183840a446
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-b0c72d2fe5911c9ce155275b954198bf2152e915a7e5b9f719aad50e222b9ef8.yml
3+
openapi_spec_hash: 5cf943ea5718059b7975417b012cee28
44
config_hash: 0fb0ceca5946298c416cec0cca5260c7

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 2.11.0 (2026-08-18)
4+
5+
Full Changelog: [v2.10.0...v2.11.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.10.0...v2.11.0)
6+
7+
### Features
8+
9+
* **api:** api update ([9bff49f](https://github.com/context-dot-dev/context-ruby-sdk/commit/9bff49f9a966fd40691f2cd7a41ba96ec7679243))
10+
* **api:** api update ([5b19e0c](https://github.com/context-dot-dev/context-ruby-sdk/commit/5b19e0ce1f7ad615a92e28440bec6ab3703ffe02))
11+
* **api:** api update ([f4ccf22](https://github.com/context-dot-dev/context-ruby-sdk/commit/f4ccf220f130672950d3231a6b9952c166168ef9))
12+
313
## 2.10.0 (2026-08-17)
414

515
Full Changelog: [v2.9.0...v2.10.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.9.0...v2.10.0)

‎Gemfile.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
context.dev (2.10.0)
14+
context.dev (2.11.0)
1515
cgi
1616
connection_pool
1717

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
2626
<!-- x-release-please-start-version -->
2727

2828
```ruby
29-
gem "context.dev", "~> 2.10.0"
29+
gem "context.dev", "~> 2.11.0"
3030
```
3131

3232
<!-- x-release-please-end -->

‎lib/context_dev/models/brand_retrieve_response.rb‎

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,38 @@ class Color < ContextDev::Internal::Type::BaseModel
344344
# @return [String, nil]
345345
optional :name, String
346346

347-
# @!method initialize(hex: nil, name: nil)
347+
# @!attribute source
348+
# Where the color was observed: 'site' colors come from the website's own theme
349+
# signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
350+
# logo image pixels.
351+
#
352+
# @return [Symbol, ContextDev::Models::BrandRetrieveResponse::Brand::Color::Source, nil]
353+
optional :source, enum: -> { ContextDev::Models::BrandRetrieveResponse::Brand::Color::Source }
354+
355+
# @!method initialize(hex: nil, name: nil, source: nil)
356+
# Some parameter documentations has been truncated, see
357+
# {ContextDev::Models::BrandRetrieveResponse::Brand::Color} for more details.
358+
#
348359
# @param hex [String] Color in hexadecimal format
349360
#
350361
# @param name [String] Name of the color
362+
#
363+
# @param source [Symbol, ContextDev::Models::BrandRetrieveResponse::Brand::Color::Source] Where the color was observed: 'site' colors come from the website's own theme si
364+
365+
# Where the color was observed: 'site' colors come from the website's own theme
366+
# signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
367+
# logo image pixels.
368+
#
369+
# @see ContextDev::Models::BrandRetrieveResponse::Brand::Color#source
370+
module Source
371+
extend ContextDev::Internal::Type::Enum
372+
373+
SITE = :site
374+
LOGO = :logo
375+
376+
# @!method self.values
377+
# @return [Array<Symbol>]
378+
end
351379
end
352380

353381
# @see ContextDev::Models::BrandRetrieveResponse::Brand#employees

‎lib/context_dev/models/brand_retrieve_simplified_response.rb‎

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,39 @@ class Color < ContextDev::Internal::Type::BaseModel
180180
# @return [String, nil]
181181
optional :name, String
182182

183-
# @!method initialize(hex: nil, name: nil)
183+
# @!attribute source
184+
# Where the color was observed: 'site' colors come from the website's own theme
185+
# signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
186+
# logo image pixels.
187+
#
188+
# @return [Symbol, ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Color::Source, nil]
189+
optional :source, enum: -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Color::Source }
190+
191+
# @!method initialize(hex: nil, name: nil, source: nil)
192+
# Some parameter documentations has been truncated, see
193+
# {ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Color} for more
194+
# details.
195+
#
184196
# @param hex [String] Color in hexadecimal format
185197
#
186198
# @param name [String] Name of the color
199+
#
200+
# @param source [Symbol, ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Color::Source] Where the color was observed: 'site' colors come from the website's own theme si
201+
202+
# Where the color was observed: 'site' colors come from the website's own theme
203+
# signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
204+
# logo image pixels.
205+
#
206+
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Color#source
207+
module Source
208+
extend ContextDev::Internal::Type::Enum
209+
210+
SITE = :site
211+
LOGO = :logo
212+
213+
# @!method self.values
214+
# @return [Array<Symbol>]
215+
end
187216
end
188217

189218
class Logo < ContextDev::Internal::Type::BaseModel

‎lib/context_dev/models/news_search_response.rb‎

Lines changed: 68 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,26 @@ module Models
55
# @see ContextDev::Resources::News#search
66
class NewsSearchResponse < ContextDev::Internal::Type::BaseModel
77
# @!attribute data
8+
# Articles matching the search, in the requested order.
89
#
910
# @return [Array<ContextDev::Models::NewsSearchResponse::Data>]
1011
required :data, -> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::NewsSearchResponse::Data] }
1112

1213
# @!attribute has_more
14+
# True when more results are available beyond this page.
1315
#
1416
# @return [Boolean]
1517
required :has_more, ContextDev::Internal::Type::Boolean
1618

1719
# @!attribute meta
20+
# Summary information about this response.
1821
#
1922
# @return [ContextDev::Models::NewsSearchResponse::Meta]
2023
required :meta, -> { ContextDev::Models::NewsSearchResponse::Meta }
2124

2225
# @!attribute next_cursor
26+
# Pass as cursor in the next request to fetch the following page. Null when there
27+
# are no more results.
2328
#
2429
# @return [String, nil]
2530
required :next_cursor, String, nil?: true
@@ -35,119 +40,150 @@ class NewsSearchResponse < ContextDev::Internal::Type::BaseModel
3540
# Some parameter documentations has been truncated, see
3641
# {ContextDev::Models::NewsSearchResponse} for more details.
3742
#
38-
# @param data [Array<ContextDev::Models::NewsSearchResponse::Data>]
43+
# @param data [Array<ContextDev::Models::NewsSearchResponse::Data>] Articles matching the search, in the requested order.
3944
#
40-
# @param has_more [Boolean]
45+
# @param has_more [Boolean] True when more results are available beyond this page.
4146
#
42-
# @param meta [ContextDev::Models::NewsSearchResponse::Meta]
47+
# @param meta [ContextDev::Models::NewsSearchResponse::Meta] Summary information about this response.
4348
#
44-
# @param next_cursor [String, nil]
49+
# @param next_cursor [String, nil] Pass as cursor in the next request to fetch the following page. Null when there
4550
#
4651
# @param key_metadata [ContextDev::Models::NewsSearchResponse::KeyMetadata] Metadata about the API key used for the request. Included in every response when
4752

4853
class Data < ContextDev::Internal::Type::BaseModel
4954
# @!attribute id
55+
# Stable unique identifier for this article. Use it to deduplicate or reference an
56+
# article across requests.
5057
#
5158
# @return [String]
5259
required :id, String
5360

5461
# @!attribute authors
62+
# Bylined authors. Empty when no byline is available.
5563
#
5664
# @return [Array<String>]
5765
required :authors, ContextDev::Internal::Type::ArrayOf[String]
5866

5967
# @!attribute description
68+
# Short summary or excerpt of the article, when the publisher provides one.
6069
#
6170
# @return [String, nil]
6271
required :description, String, nil?: true
6372

6473
# @!attribute image_url
74+
# Lead image for the article, when one is available.
6575
#
6676
# @return [String, nil]
6777
required :image_url, String, nil?: true
6878

6979
# @!attribute language
80+
# Language the article is written in, as a lowercase ISO 639-1 code such as en.
81+
# Null when unknown.
7082
#
7183
# @return [String, nil]
7284
required :language, String, nil?: true
7385

7486
# @!attribute match
87+
# How the article relates to the company you searched for.
7588
#
7689
# @return [ContextDev::Models::NewsSearchResponse::Data::Match]
7790
required :match, -> { ContextDev::Models::NewsSearchResponse::Data::Match }
7891

7992
# @!attribute published_at
93+
# When the article was published, as an ISO 8601 timestamp. Null when the
94+
# publisher does not state a reliable date.
8095
#
8196
# @return [Time, nil]
8297
required :published_at, Time, nil?: true
8398

8499
# @!attribute source
100+
# The publication that published the article.
85101
#
86102
# @return [ContextDev::Models::NewsSearchResponse::Data::Source]
87103
required :source, -> { ContextDev::Models::NewsSearchResponse::Data::Source }
88104

89105
# @!attribute story_id
90-
# Groups matching normalized headlines published on the same UTC day.
106+
# Shared by articles covering the same story on the same day. Use it to group or
107+
# collapse syndicated copies of one announcement across outlets.
91108
#
92109
# @return [String]
93110
required :story_id, String
94111

95112
# @!attribute title
113+
# Article headline.
96114
#
97115
# @return [String]
98116
required :title, String
99117

100118
# @!attribute type
119+
# Kind of coverage. Use it to separate independent reporting (editorial) from
120+
# company-issued content (press_release, regulatory_filing, advisory).
101121
#
102122
# @return [Symbol, ContextDev::Models::NewsSearchResponse::Data::Type]
103123
required :type, enum: -> { ContextDev::Models::NewsSearchResponse::Data::Type }
104124

105125
# @!attribute url
126+
# Link to the article on the publisher site.
106127
#
107128
# @return [String]
108129
required :url, String
109130

110131
# @!method initialize(id:, authors:, description:, image_url:, language:, match:, published_at:, source:, story_id:, title:, type:, url:)
111-
# @param id [String]
132+
# Some parameter documentations has been truncated, see
133+
# {ContextDev::Models::NewsSearchResponse::Data} for more details.
112134
#
113-
# @param authors [Array<String>]
135+
# @param id [String] Stable unique identifier for this article. Use it to deduplicate or reference an
114136
#
115-
# @param description [String, nil]
137+
# @param authors [Array<String>] Bylined authors. Empty when no byline is available.
116138
#
117-
# @param image_url [String, nil]
139+
# @param description [String, nil] Short summary or excerpt of the article, when the publisher provides one.
118140
#
119-
# @param language [String, nil]
141+
# @param image_url [String, nil] Lead image for the article, when one is available.
120142
#
121-
# @param match [ContextDev::Models::NewsSearchResponse::Data::Match]
143+
# @param language [String, nil] Language the article is written in, as a lowercase ISO 639-1 code such as en. Nu
122144
#
123-
# @param published_at [Time, nil]
145+
# @param match [ContextDev::Models::NewsSearchResponse::Data::Match] How the article relates to the company you searched for.
124146
#
125-
# @param source [ContextDev::Models::NewsSearchResponse::Data::Source]
147+
# @param published_at [Time, nil] When the article was published, as an ISO 8601 timestamp. Null when the publishe
126148
#
127-
# @param story_id [String] Groups matching normalized headlines published on the same UTC day.
149+
# @param source [ContextDev::Models::NewsSearchResponse::Data::Source] The publication that published the article.
128150
#
129-
# @param title [String]
151+
# @param story_id [String] Shared by articles covering the same story on the same day. Use it to group or c
130152
#
131-
# @param type [Symbol, ContextDev::Models::NewsSearchResponse::Data::Type]
153+
# @param title [String] Article headline.
132154
#
133-
# @param url [String]
155+
# @param type [Symbol, ContextDev::Models::NewsSearchResponse::Data::Type] Kind of coverage. Use it to separate independent reporting (editorial) from comp
156+
#
157+
# @param url [String] Link to the article on the publisher site.
134158

135159
# @see ContextDev::Models::NewsSearchResponse::Data#match
136160
class Match < ContextDev::Internal::Type::BaseModel
137161
# @!attribute confidence
162+
# How confident the match is, from 0 to 1. Null when a score is unavailable.
138163
#
139164
# @return [Float, nil]
140165
required :confidence, Float, nil?: true
141166

142167
# @!attribute level
168+
# primary when the article is mainly about the company, secondary when the company
169+
# is mentioned but is not the main subject.
143170
#
144171
# @return [Symbol, ContextDev::Models::NewsSearchResponse::Data::Match::Level]
145172
required :level, enum: -> { ContextDev::Models::NewsSearchResponse::Data::Match::Level }
146173

147174
# @!method initialize(confidence:, level:)
148-
# @param confidence [Float, nil]
149-
# @param level [Symbol, ContextDev::Models::NewsSearchResponse::Data::Match::Level]
175+
# Some parameter documentations has been truncated, see
176+
# {ContextDev::Models::NewsSearchResponse::Data::Match} for more details.
177+
#
178+
# How the article relates to the company you searched for.
179+
#
180+
# @param confidence [Float, nil] How confident the match is, from 0 to 1. Null when a score is unavailable.
181+
#
182+
# @param level [Symbol, ContextDev::Models::NewsSearchResponse::Data::Match::Level] primary when the article is mainly about the company, secondary when the company
150183

184+
# primary when the article is mainly about the company, secondary when the company
185+
# is mentioned but is not the main subject.
186+
#
151187
# @see ContextDev::Models::NewsSearchResponse::Data::Match#level
152188
module Level
153189
extend ContextDev::Internal::Type::Enum
@@ -169,23 +205,30 @@ class Source < ContextDev::Internal::Type::BaseModel
169205
required :direct, ContextDev::Internal::Type::Boolean
170206

171207
# @!attribute domain
208+
# Website domain of the publication.
172209
#
173210
# @return [String]
174211
required :domain, String
175212

176213
# @!attribute name
214+
# Name of the publication, such as Reuters.
177215
#
178216
# @return [String]
179217
required :name, String
180218

181219
# @!method initialize(direct:, domain:, name:)
220+
# The publication that published the article.
221+
#
182222
# @param direct [Boolean] True when Context observed this article in the publisher-owned feed.
183223
#
184-
# @param domain [String]
224+
# @param domain [String] Website domain of the publication.
185225
#
186-
# @param name [String]
226+
# @param name [String] Name of the publication, such as Reuters.
187227
end
188228

229+
# Kind of coverage. Use it to separate independent reporting (editorial) from
230+
# company-issued content (press_release, regulatory_filing, advisory).
231+
#
189232
# @see ContextDev::Models::NewsSearchResponse::Data#type
190233
module Type
191234
extend ContextDev::Internal::Type::Enum
@@ -203,12 +246,15 @@ module Type
203246
# @see ContextDev::Models::NewsSearchResponse#meta
204247
class Meta < ContextDev::Internal::Type::BaseModel
205248
# @!attribute count
249+
# Number of articles in this page.
206250
#
207251
# @return [Integer]
208252
required :count, Integer
209253

210254
# @!method initialize(count:)
211-
# @param count [Integer]
255+
# Summary information about this response.
256+
#
257+
# @param count [Integer] Number of articles in this page.
212258
end
213259

214260
# @see ContextDev::Models::NewsSearchResponse#key_metadata

0 commit comments

Comments
 (0)