mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
typhoeus: fix https://github.com/pentoo/pentoo-overlay/issues/2604
This commit is contained in:
parent
8b8088cae2
commit
8bf01a8c63
1 changed files with 7 additions and 7 deletions
|
|
@ -33,13 +33,13 @@ ruby_add_bdepend "test? (
|
||||||
>=dev-ruby/dalli-2.7.9
|
>=dev-ruby/dalli-2.7.9
|
||||||
)"
|
)"
|
||||||
|
|
||||||
all_ruby_prepare() {
|
#all_ruby_prepare() {
|
||||||
sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die
|
# sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die
|
||||||
sed -i -e '3igem "rack", "~> 2.2.0"; gem "faraday", "<2"; require "timeout"' spec/spec_helper.rb || die
|
# sed -i -e '3igem "rack", "~> 2.2.0"; gem "faraday", "<2"; require "timeout"' spec/spec_helper.rb || die
|
||||||
sed -i -e '/Rack::Handler::WEBrick/ s/options/\*\*options/' spec/support/localhost_server.rb || die
|
# sed -i -e '/Rack::Handler::WEBrick/ s/options/\*\*options/' spec/support/localhost_server.rb || die
|
||||||
|
|
||||||
# Avoid specs failing because default headers are provided or
|
# Avoid specs failing because default headers are provided or
|
||||||
# checked now, probably due to changes in either rack or webrick.
|
# checked now, probably due to changes in either rack or webrick.
|
||||||
sed -e '/calls on_headers and on_\(body\|complete\)/ s/it/xit/' \
|
# sed -e '/calls on_headers and on_\(body\|complete\)/ s/it/xit/' \
|
||||||
-i spec/typhoeus/request/operations_spec.rb || die
|
# -i spec/typhoeus/request/operations_spec.rb || die
|
||||||
}
|
#}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue