wreq 1.3.2-x86_64-linux → 1.3.2.2-x86_64-linux

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d446d7d4df719ac2177ca9f71f68caa98185ab8b9de371fae6ce76c2dc4a9fb7
4
- data.tar.gz: cdd5d9681ca82f0f7834e8eda65879bb7c989c45f594bd8928eb3d169a757896
3
+ metadata.gz: ba25cc7ca82ec6e3d3cdf06868d0489e0b67c0c05fc4e1c7789cc2e634c2a941
4
+ data.tar.gz: 0b9f3b0000415e9033ef8fe90552afc7b107eb19fcce951d57d72e545ed000a4
5
5
  SHA512:
6
- metadata.gz: 20e41bdf84dbfafc80048deac87771b6dd1e97ddb37733f2e6b8f7eb4ae9607e402a44c127cc347cbe7308487c2c8ab388d90d6d2ceac89eb2e2b59811ffbc88
7
- data.tar.gz: 6856edc7843260d7fdb1c8bf1fd6b3502a36db92c7d4a47c84294d4e38b2970dbea04b827e1574aeac8149a5ffca99b33c91658aa18c122a68e425c51ad3e77a
6
+ metadata.gz: 54f330da229ec49badf943ac2cf8217b66115b2fa4a9ebb9617f8eb162fc84ff124bdf63b0784c87c2f1b6cf112cc92f5ccc0f217ad48b477100ce7ed9cea1e1
7
+ data.tar.gz: a64f6733932b627bb2bfb8436bbb75dd2e64cea75233cd64c8dca25544a70dfd8896087329107ba3984c940fa070d5320134033e9779884dbb79035a7fcbcd20
data/README.md CHANGED
@@ -91,7 +91,7 @@ Most browser device models share identical TLS and HTTP/2 configurations, differ
91
91
 
92
92
  | **Browser** | **Versions** |
93
93
  | ----------- | ------------ |
94
- | **Chrome** | `Chrome100`, `Chrome101`, `Chrome104`, `Chrome105`, `Chrome106`, `Chrome107`, `Chrome108`, `Chrome109`, `Chrome110`, `Chrome114`, `Chrome116`, `Chrome117`, `Chrome118`, `Chrome119`, `Chrome120`, `Chrome123`, `Chrome124`, `Chrome126`, `Chrome127`, `Chrome128`, `Chrome129`, `Chrome130`, `Chrome131`, `Chrome132`, `Chrome133`, `Chrome134`, `Chrome135`, `Chrome136`, `Chrome137`, `Chrome138`, `Chrome139`, `Chrome140`, `Chrome141`, `Chrome142`, `Chrome143`, `Chrome144`, `Chrome145`, `Chrome146`, `Chrome147`, `Chrome148`, `Chrome149`, `Chrome150`, `Chrome151`, `Chrome152`, `Chrome153`, `Chrome154`, `Chrome155`, `Chrome156` |
94
+ | **Chrome** | `Chrome100`, `Chrome101`, `Chrome104`, `Chrome105`, `Chrome106`, `Chrome107`, `Chrome108`, `Chrome109`, `Chrome110`, `Chrome114`, `Chrome116`, `Chrome117`, `Chrome118`, `Chrome119`, `Chrome120`, `Chrome123`, `Chrome124`, `Chrome126`, `Chrome127`, `Chrome128`, `Chrome129`, `Chrome130`, `Chrome131`, `Chrome132`, `Chrome133`, `Chrome134`, `Chrome135`, `Chrome136`, `Chrome137`, `Chrome138`, `Chrome139`, `Chrome140`, `Chrome141`, `Chrome142`, `Chrome143`, `Chrome144`, `Chrome145`, `Chrome146`, `Chrome147`, `Chrome148`, `Chrome149`, `Chrome150`, `Chrome151`, `Chrome152`, `Chrome153`, `Chrome154`, `Chrome155`, `Chrome156`, `Chrome157`, `Chrome158` |
95
95
  | **Edge** | `Edge101`, `Edge122`, `Edge127`, `Edge131`, `Edge134`, `Edge135`, `Edge136`, `Edge137`, `Edge138`, `Edge139`, `Edge140`, `Edge141`, `Edge142`, `Edge143`, `Edge144`, `Edge145`, `Edge146`, `Edge147`, `Edge148` |
96
96
  | **Firefox** | `Firefox109`, `Firefox117`, `Firefox128`, `Firefox133`, `Firefox135`, `FirefoxPrivate135`, `FirefoxAndroid135`, `Firefox136`, `FirefoxPrivate136`, `Firefox139`, `Firefox142`, `Firefox143`, `Firefox144`, `Firefox145`, `Firefox146`, `Firefox147`, `Firefox148`, `Firefox149`, `Firefox150`, `Firefox151`, `Firefox152` |
97
97
  | **Safari** | `Safari15_3`, `Safari15_5`, `Safari15_6_1`, `Safari16`, `Safari16_5`, `Safari17_0`, `Safari17_2_1`, `Safari17_4_1`, `Safari17_5`, `Safari17_6`, `Safari18`, `Safari18_2`, `Safari18_3`, `Safari18_3_1`, `Safari18_5`, `Safari26`, `Safari26_1`, `Safari26_2`, `SafariIos16_5`, `SafariIos17_2`, `SafariIos17_4_1`, `SafariIos18_1_1`, `SafariIos26`, `SafariIos26_2`, `SafariIPad18`, `SafariIPad26`, `SafariIpad26_2` |
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.3.2.2
data/crates/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # Local Rust dependencies
2
+
3
+ - [`wreq-util`](wreq-util/) is a local copy of [0x676e67/wreq-util](https://github.com/0x676e67/wreq-util). The root [`Cargo.toml`](../Cargo.toml) resolves it from `crates/wreq-util` through `[patch.crates-io]`.
4
+
5
+ When building or testing `wreq-util` on its own, use the Git dependency patches from the root manifest of the same branch. Cargo does not inherit those patches from the parent package.
Binary file
Binary file
Binary file
@@ -68,6 +68,8 @@ module Wreq
68
68
  Chrome154 = nil
69
69
  Chrome155 = nil
70
70
  Chrome156 = nil
71
+ Chrome157 = nil
72
+ Chrome158 = nil
71
73
 
72
74
  Edge101 = nil
73
75
  Edge122 = nil
@@ -268,7 +270,7 @@ module Wreq
268
270
  #
269
271
  # Construction generates the native configuration once. For Chrome 152/153,
270
272
  # the TLS trust_anchors extension's ID order is randomized at construction;
271
- # Chrome 154–156 sort those IDs by their raw bytes instead. Reusing this object
273
+ # Chrome 154 and later sort those IDs by their raw bytes instead. Reusing this object
272
274
  # across clients or requests retains that order. Creating a new object generates
273
275
  # a new configuration, including a fresh shuffle for Chrome 152/153.
274
276
  # This does not freeze other per-handshake randomness or force a new handshake
@@ -7,7 +7,7 @@ require "timeout"
7
7
 
8
8
  class EmulationTest < Minitest::Test
9
9
  def test_reused_emulation_retains_trust_anchors_across_clients_and_requests
10
- [Wreq::Profile::Chrome152, Wreq::Profile::Chrome153, Wreq::Profile::Chrome154, Wreq::Profile::Chrome155, Wreq::Profile::Chrome156].each do |profile|
10
+ [Wreq::Profile::Chrome152, Wreq::Profile::Chrome153, Wreq::Profile::Chrome154, Wreq::Profile::Chrome155, Wreq::Profile::Chrome156, Wreq::Profile::Chrome157].each do |profile|
11
11
  emulation = Wreq::Emulation.new(profile: profile)
12
12
  client = Wreq::Client.new(emulation: emulation, no_proxy: true)
13
13
  expected = capture_trust_anchors { |url| client.get(url, timeout: 5) }
@@ -45,6 +45,8 @@ class EmulationTest < Minitest::Test
45
45
  Wreq::Profile::Chrome154 => "Chrome154",
46
46
  Wreq::Profile::Chrome155 => "Chrome155",
47
47
  Wreq::Profile::Chrome156 => "Chrome156",
48
+ Wreq::Profile::Chrome157 => "Chrome157",
49
+ Wreq::Profile::Chrome158 => "Chrome158",
48
50
  Wreq::Profile::Firefox152 => "Firefox152"
49
51
  }.each do |profile, name|
50
52
  assert_equal name, profile.to_s
data/wreq.gemspec CHANGED
@@ -1,25 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "json"
4
-
5
3
  Gem::Specification.new do |spec|
6
4
  spec.name = "wreq"
7
5
  # RubyGems integrates and expects `cargo`.
8
6
  # Read more about
9
7
  # [Gem::Ext::CargoBuilder](https://github.com/rubygems/rubygems/blob/v3.5.23/lib/rubygems/ext/cargo_builder.rb)
10
8
  #
11
- # wreq relies on "version" in `Cargo.toml` for the release process. You can read this gem spec with:
12
- # `bundle exec ruby -e 'puts Gem::Specification.load("wreq.gemspec")'`
13
- #
14
- # keep in sync the key "wreq-ruby" with `Rakefile`.
15
- #
16
- # uses `cargo` to extract the version.
17
- cargo_output = `cargo metadata --format-version 1`
18
- cargo_output.force_encoding("UTF-8")
19
- spec.version = JSON.parse(cargo_output.strip)
20
- .fetch("packages")
21
- .find { |p| p["name"] == "wreq-ruby" }
22
- .fetch("version")
9
+ # RubyGems accepts a fourth version segment, which Cargo does not.
10
+ spec.version = File.read(File.join(__dir__, "VERSION")).strip
23
11
  spec.authors = ["SearchApi"]
24
12
  spec.email = ["support@searchapi.io"]
25
13
  spec.summary = "Ruby bindings for wreq, an HTTP client with TLS/HTTP2 browser fingerprinting"
@@ -56,7 +44,7 @@ Gem::Specification.new do |spec|
56
44
  # Exclude non-Ruby files from RDoc to prevent parsing errors
57
45
  spec.rdoc_options = ["--exclude", "Cargo\\..*", "--exclude", "\\.rs$"]
58
46
 
59
- spec.requirements = ["Rust >= 1.98"]
47
+ spec.requirements = ["Rust >= 1.100"]
60
48
  # use a Ruby version which:
61
49
  # - supports Rubygems with the ability of compilation of Rust gem
62
50
  # - not end of life
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wreq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.2.2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - SearchApi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-03 00:00:00.000000000 Z
11
+ date: 2026-11-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An easy and powerful Ruby HTTP client with advanced browser fingerprinting
14
14
  that accurately emulates Chrome, Edge, Firefox, Safari, Opera, and OkHttp with precise
@@ -24,6 +24,8 @@ files:
24
24
  - LICENSE
25
25
  - README.md
26
26
  - Rakefile
27
+ - VERSION
28
+ - crates/README.md
27
29
  - crates/wreq-util/.github/FUNDING.yml
28
30
  - crates/wreq-util/.github/ISSUE_TEMPLATE/bug_report.md
29
31
  - crates/wreq-util/.github/ISSUE_TEMPLATE/custom.md
@@ -121,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
123
  - !ruby/object:Gem::Version
122
124
  version: '0'
123
125
  requirements:
124
- - Rust >= 1.98
126
+ - Rust >= 1.100
125
127
  rubygems_version: 3.5.23
126
128
  signing_key:
127
129
  specification_version: 4