From 212383801883c6f343be4079684926c5ce0c37c5 Mon Sep 17 00:00:00 2001 From: Gleb Tv Date: Thu, 2 Jul 2026 23:11:12 +0300 Subject: [PATCH] Use rs-httpclient gem --- Gemfile | 2 +- Gemfile.lock | 14 ++++---------- README.md | 2 +- yookassa.gemspec | 2 +- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/Gemfile b/Gemfile index 8165ad3..99e73be 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ source "https://rubygems.org" git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } # Specify your gem's dependencies in yookassa.gemspec -gem "httpclient", github: "glebtv/httpclient", branch: "master" +gem "rs-httpclient", "= 3.0.0.beta1" gemspec diff --git a/Gemfile.lock b/Gemfile.lock index 55179d1..e4cd5de 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,18 +1,10 @@ -GIT - remote: https://github.com/glebtv/httpclient - revision: 28d3d1d4fb428e98cc52f04294fe21717db9b28f - branch: master - specs: - httpclient (2.9.0) - mutex_m - PATH remote: . specs: yookassa (0.2.0) dry-struct dry-validation - httpclient (>= 2.9) + rs-httpclient (= 3.0.0.beta1) GEM remote: https://rubygems.org/ @@ -100,6 +92,8 @@ GEM reline (0.6.3) io-console (~> 0.5) rexml (3.4.4) + rs-httpclient (3.0.0.beta1) + mutex_m rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -164,11 +158,11 @@ PLATFORMS ruby DEPENDENCIES - httpclient! pry (~> 0.16) pry-byebug (~> 3.8) rack (~> 3.2) rake (~> 13.4) + rs-httpclient (= 3.0.0.beta1) rspec (~> 3.13) rubocop (~> 1.88) rubocop-rake (~> 0.6.0) diff --git a/README.md b/README.md index b850c65..b9360b8 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Everyone is encouraged to help improve this project. Here are a few ways you can ## Development -This gem uses the `glebtv/httpclient` fork for local development to avoid the `http` gem's `llhttp-ffi` dependency chain. +This gem uses `rs-httpclient` to avoid the `http` gem's `llhttp-ffi` dependency chain. ```sh bin/setup diff --git a/yookassa.gemspec b/yookassa.gemspec index 30b365a..53065fa 100644 --- a/yookassa.gemspec +++ b/yookassa.gemspec @@ -24,5 +24,5 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "dry-struct" spec.add_runtime_dependency "dry-validation" - spec.add_runtime_dependency "httpclient", ">= 2.9" + spec.add_runtime_dependency "rs-httpclient", "= 3.0.0.beta1" end