From 090d799c2496f4c0e1f25c9970f4015fc693ff0e Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Fri, 25 Jun 2021 13:24:56 +0200 Subject: [ruby/uri] Revert "Fix to support Ruby 3.0 Ractor" * This reverts commit 1faa4fdc161d7aeebdb5de0c407b923beaecf898. * It has too many problems, see https://github.com/ruby/uri/pull/22 for discussion. https://github.com/ruby/uri/commit/b959da2dc9 --- lib/uri/http.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/uri/http.rb') diff --git a/lib/uri/http.rb b/lib/uri/http.rb index ccd09ddd0c..70cfb2a1bf 100644 --- a/lib/uri/http.rb +++ b/lib/uri/http.rb @@ -81,4 +81,7 @@ module URI url.start_with?(?/.freeze) ? url : ?/ + url end end + + @@schemes['HTTP'] = HTTP + end -- cgit v1.2.3