Skip to content

Commit acf21e7

Browse files
release: 0.5.1 (#10)
* chore: sync generated SDK contracts * chore: verify final public contract * release: 0.5.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent b3df908 commit acf21e7

25 files changed

Lines changed: 1929 additions & 651 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-
".": "0.5.0"
2+
".": "0.5.1"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 122
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik/x-twitter-scraper-a89d9fe0de8895b2daf847c8f3ff8bc93f43039c040d0bf093ec6dc1e734f57b.yml
3-
openapi_spec_hash: c6365ebfe4f85183f384f27865cf66ce
4-
config_hash: 9a418581d96f0820ef923bfe5ffa2541
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik/x-twitter-scraper-26de9a1d18b92c9472fcc289877ba281ae305db846b7b14065142e26c7637d72.yml
3+
openapi_spec_hash: f90f7016413291fdcbedb986385dc3ae
4+
config_hash: 17c84052d27489691ee6dd861cc56e24

CHANGELOG.md

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

3+
## 0.5.1 (2026-07-22)
4+
5+
Full Changelog: [v0.5.0...v0.5.1](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.5.0...v0.5.1)
6+
7+
### Chores
8+
9+
* sync generated SDK contracts ([855299c](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/855299c5db85833679c9377a9ba90b1c349d5a44))
10+
* verify final public contract ([b91af35](https://github.com/Xquik-dev/x-twitter-scraper-ruby/commit/b91af355fc06443c5fcacca4ad6ade560577ddf2))
11+
312
## 0.5.0 (2026-07-22)
413

514
Full Changelog: [v0.4.5...v0.5.0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.4.5...v0.5.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-
x-twitter-scraper (0.5.0)
14+
x-twitter-scraper (0.5.1)
1515
base64
1616
cgi
1717
connection_pool

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Add the gem to your `Gemfile`:
1313
<!-- x-release-please-start-version -->
1414

1515
```ruby
16-
gem "x-twitter-scraper", "~> 0.5.0"
16+
gem "x-twitter-scraper", "~> 0.5.1"
1717
```
1818

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

lib/x_twitter_scraper/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Client < XTwitterScraper::Internal::Transport::BaseClient
4646
# @return [XTwitterScraper::Resources::Radar]
4747
attr_reader :radar
4848

49-
# Real-time X account monitoring
49+
# X account monitoring with 1-second checks
5050
# @return [XTwitterScraper::Resources::Monitors]
5151
attr_reader :monitors
5252

lib/x_twitter_scraper/internal/type/union.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ module XTwitterScraper
44
module Internal
55
module Type
66
# @api private
7+
#
8+
# @example
9+
# # `compose_create_response` is a `XTwitterScraper::Models::ComposeCreateResponse`
10+
# case compose_create_response
11+
# when XTwitterScraper::Models::ComposeCreateResponse::ComposePrepareResult
12+
# puts(compose_create_response.content_rules)
13+
# when XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult
14+
# puts(compose_create_response.composition_guidance)
15+
# when XTwitterScraper::Models::ComposeCreateResponse::ComposeScoreResult
16+
# puts(compose_create_response.checklist)
17+
# else
18+
# puts(compose_create_response)
19+
# end
720
module Union
821
include XTwitterScraper::Internal::Type::Converter
922
include XTwitterScraper::Internal::Util::SorbetRuntimeSupport

lib/x_twitter_scraper/models/account_retrieve_response.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ class MonitorBilling < XTwitterScraper::Internal::Type::BaseModel
7474
required :active_hourly_burn, String, api_name: :activeHourlyBurn
7575

7676
# @!attribute credits_per_active_monitor_day
77-
# Estimated daily credits for 1 active instant monitor.
77+
# Rounded daily estimate for 1 active monitor.
7878
#
7979
# @return [String]
8080
required :credits_per_active_monitor_day, String, api_name: :creditsPerActiveMonitorDay
8181

8282
# @!attribute credits_per_active_monitor_hour
83-
# Hourly credits charged for 1 active instant monitor.
83+
# Hourly credits charged for 1 active monitor.
8484
#
8585
# @return [String]
8686
required :credits_per_active_monitor_hour, String, api_name: :creditsPerActiveMonitorHour
@@ -108,9 +108,9 @@ class MonitorBilling < XTwitterScraper::Internal::Type::BaseModel
108108
#
109109
# @param active_hourly_burn [String] Credits charged each hour for currently active monitors.
110110
#
111-
# @param credits_per_active_monitor_day [String] Estimated daily credits for 1 active instant monitor.
111+
# @param credits_per_active_monitor_day [String] Rounded daily estimate for 1 active monitor.
112112
#
113-
# @param credits_per_active_monitor_hour [String] Hourly credits charged for 1 active instant monitor.
113+
# @param credits_per_active_monitor_hour [String] Hourly credits charged for 1 active monitor.
114114
#
115115
# @param events_included [Boolean] Webhook and event deliveries are included in monitor billing.
116116
#

0 commit comments

Comments
 (0)