x-twitter-scraper 0.4.0 → 0.4.2
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 +19 -0
- data/README.md +11 -3
- data/lib/x_twitter_scraper/internal/util.rb +1 -1
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/rbi/x_twitter_scraper/internal/util.rbi +2 -2
- metadata +21 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 555fec62a3933481fdd9a81c890b5b98a5057b4cb63463c758c5e080a2fca0e9
|
|
4
|
+
data.tar.gz: 5df2449756eb4b073f9be3470251ea85e31a314027598c4f4df3faf9f47a348b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70841e5323433e367cfad34d01cf3df821255dea9c5882cd7ba0f3ae256da4320be7d2f2d29b1a0a62803b43e5bd0bc163a867fbb83adf019d78a38465640140
|
|
7
|
+
data.tar.gz: b0f929e18ba74d8341e5a5dc1153a099159e55a66c11fb799646aea7182e2e42c4bc2fbefa8b8ee60940574d1f6bd1d32ebc5db265cfe530c9b76cadb4399c5c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.2 (2026-07-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.4.1...v0.4.2](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.4.1...v0.4.2)
|
|
6
|
+
|
|
7
|
+
### Security
|
|
8
|
+
|
|
9
|
+
* pin trusted publishing actions to immutable commits
|
|
10
|
+
* build before requesting OIDC credentials and protect release tags
|
|
11
|
+
* remove the legacy long-lived credential release path
|
|
12
|
+
* update audited development dependencies
|
|
13
|
+
|
|
14
|
+
## 0.4.1 (2026-05-10)
|
|
15
|
+
|
|
16
|
+
Full Changelog: [v0.4.0...v0.4.1](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.4.0...v0.4.1)
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* expose RubyGems license, issue tracker, changelog, and funding metadata
|
|
21
|
+
|
|
3
22
|
## 0.4.0 (2026-04-22)
|
|
4
23
|
|
|
5
24
|
Full Changelog: [v0.3.0...v0.4.0](https://github.com/Xquik-dev/x-twitter-scraper-ruby/compare/v0.3.0...v0.4.0)
|
data/README.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
# X Twitter Scraper Ruby
|
|
1
|
+
# X (Twitter) Scraper Ruby SDK: Tweet Search, Profile Tweets, Followers & Posting
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Xquik is an independent third-party service.** Not affiliated with X Corp.
|
|
4
|
+
> "Twitter" and "X" are trademarks of X Corp.
|
|
5
|
+
|
|
6
|
+
[](https://deepwiki.com/Xquik-dev/x-twitter-scraper-ruby)
|
|
7
|
+
[](https://skills.sh/xquik-dev/x-twitter-scraper)
|
|
8
|
+
|
|
9
|
+
The Xquik Ruby SDK is a Twitter API SDK and X API alternative for tweet search, advanced Twitter search queries, profile tweets, user lookup, follower export, media download, media upload, monitoring, webhooks, and posting automation.
|
|
10
|
+
|
|
11
|
+
Use it from Ruby 3.2.0+ applications to get tweets from profiles, search tweets by keyword or operator query, send tweets, post replies, like, repost, follow, DM, run giveaway draws, and automate X workflows. It ships with comprehensive types and docstrings in Yard, RBS, and RBI. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
|
|
4
12
|
|
|
5
13
|
It is generated with [Stainless](https://www.stainless.com/).
|
|
6
14
|
|
|
@@ -17,7 +25,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
17
25
|
<!-- x-release-please-start-version -->
|
|
18
26
|
|
|
19
27
|
```ruby
|
|
20
|
-
gem "x-twitter-scraper", "~> 0.4.
|
|
28
|
+
gem "x-twitter-scraper", "~> 0.4.2"
|
|
21
29
|
```
|
|
22
30
|
|
|
23
31
|
<!-- x-release-please-end -->
|
|
@@ -529,7 +529,7 @@ module XTwitterScraper
|
|
|
529
529
|
write_query_param_element!(collection, "#{key}[#{name}]", value)
|
|
530
530
|
end
|
|
531
531
|
in Array
|
|
532
|
-
collection[key] = element.
|
|
532
|
+
collection[key] = element.join(",")
|
|
533
533
|
else
|
|
534
534
|
collection[key] = element.to_s
|
|
535
535
|
end
|
|
@@ -13,8 +13,8 @@ module XTwitterScraper
|
|
|
13
13
|
|
|
14
14
|
# @api private
|
|
15
15
|
sig do
|
|
16
|
-
params(ns: T.any(Module, T::Class[T.anything])).returns(
|
|
17
|
-
T::Enumerable[T.any(Module, T::Class[T.anything])]
|
|
16
|
+
params(ns: T.any(T::Module[T.anything], T::Class[T.anything])).returns(
|
|
17
|
+
T::Enumerable[T.any(T::Module[T.anything], T::Class[T.anything])]
|
|
18
18
|
)
|
|
19
19
|
end
|
|
20
20
|
def self.walk_namespaces(ns)
|
metadata
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: x-twitter-scraper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- X Twitter Scraper
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
19
|
+
version: '0.5'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
26
|
+
version: '0.5'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: connection_pool
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '2.5'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
40
|
+
version: '2.5'
|
|
41
41
|
description:
|
|
42
42
|
email: support@xquik.com
|
|
43
43
|
executables: []
|
|
@@ -864,13 +864,17 @@ files:
|
|
|
864
864
|
- sig/x_twitter_scraper/resources/x/users.rbs
|
|
865
865
|
- sig/x_twitter_scraper/resources/x/users/follow.rbs
|
|
866
866
|
- sig/x_twitter_scraper/version.rbs
|
|
867
|
-
homepage: https://docs.xquik.com
|
|
868
|
-
licenses:
|
|
867
|
+
homepage: https://docs.xquik.com/sdks/ruby
|
|
868
|
+
licenses:
|
|
869
|
+
- Apache-2.0
|
|
869
870
|
metadata:
|
|
870
|
-
homepage_uri: https://docs.xquik.com
|
|
871
|
+
homepage_uri: https://docs.xquik.com/sdks/ruby
|
|
872
|
+
bug_tracker_uri: https://github.com/Xquik-dev/x-twitter-scraper-ruby/issues
|
|
873
|
+
changelog_uri: https://github.com/Xquik-dev/x-twitter-scraper-ruby/blob/main/CHANGELOG.md
|
|
871
874
|
documentation_uri: https://gemdocs.org/gems/x-twitter-scraper
|
|
875
|
+
funding_uri: https://xquik.com
|
|
872
876
|
source_code_uri: https://github.com/Xquik-dev/x-twitter-scraper-ruby
|
|
873
|
-
rubygems_mfa_required: '
|
|
877
|
+
rubygems_mfa_required: 'true'
|
|
874
878
|
post_install_message:
|
|
875
879
|
rdoc_options: []
|
|
876
880
|
require_paths:
|
|
@@ -886,8 +890,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
886
890
|
- !ruby/object:Gem::Version
|
|
887
891
|
version: '0'
|
|
888
892
|
requirements: []
|
|
889
|
-
rubygems_version: 3.4.
|
|
893
|
+
rubygems_version: 3.4.19
|
|
890
894
|
signing_key:
|
|
891
895
|
specification_version: 4
|
|
892
|
-
summary: Ruby
|
|
896
|
+
summary: Xquik Ruby SDK for tweet search, profile tweets, followers, webhooks, and
|
|
897
|
+
automation. Not affiliated with X Corp.
|
|
893
898
|
test_files: []
|