mustermann depends on URI::RFC2396_PARSER behavior
It's part of dependencies for Sinatra. we should fix mustermann before final release of Ruby 3.4
This commit is contained in:
parent
3222c67262
commit
e5c06005f1
Notes:
git
2024-07-19 03:41:14 +00:00
@ -12,6 +12,9 @@ RSpec.describe "gemcutter's dependency API" do
|
|||||||
|
|
||||||
require_relative "../../support/artifice/endpoint_timeout"
|
require_relative "../../support/artifice/endpoint_timeout"
|
||||||
|
|
||||||
|
# mustermann depends on URI::RFC2396_PARSER behavior
|
||||||
|
URI.parser = URI::RFC2396_PARSER if URI.respond_to?(:parser=)
|
||||||
|
|
||||||
@t = Thread.new do
|
@t = Thread.new do
|
||||||
server = Rack::Server.start(app: EndpointTimeout,
|
server = Rack::Server.start(app: EndpointTimeout,
|
||||||
Host: "0.0.0.0",
|
Host: "0.0.0.0",
|
||||||
@ -31,6 +34,8 @@ RSpec.describe "gemcutter's dependency API" do
|
|||||||
Artifice.deactivate
|
Artifice.deactivate
|
||||||
@t.kill
|
@t.kill
|
||||||
@t.join
|
@t.join
|
||||||
|
|
||||||
|
URI.parser = URI::DEFAULT_PARSER if URI.respond_to?(:parser=)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "times out and falls back on the modern index" do
|
it "times out and falls back on the modern index" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user