зеркало из
https://github.com/glebtv/yookassa.git
synced 2026-08-28 15:16:18 +03:00
Use rs-httpclient gem
Этот коммит содержится в:
2
Gemfile
2
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
|
||||
|
||||
|
||||
14
Gemfile.lock
14
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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user