summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_resolver_api_specification.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-01-15 20:51:02 +0100
committerHiroshi SHIBATA <[email protected]>2024-01-29 12:14:21 +0900
commitd64d0b54231208c7bec899a7fe8c3b98ec2e9a1b (patch)
tree9d18dbdda185bda6ccaf1f5a710f678dddbc907f /test/rubygems/test_gem_resolver_api_specification.rb
parent6bbbfb4629a4fdb336d5ac4f625e97ce30c15a01 (diff)
Vendor uri gem in RubyGems
Diffstat (limited to 'test/rubygems/test_gem_resolver_api_specification.rb')
-rw-r--r--test/rubygems/test_gem_resolver_api_specification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_resolver_api_specification.rb b/test/rubygems/test_gem_resolver_api_specification.rb
index 49f3cc81d0..2119d73478 100644
--- a/test/rubygems/test_gem_resolver_api_specification.rb
+++ b/test/rubygems/test_gem_resolver_api_specification.rb
@@ -124,7 +124,7 @@ class TestGemResolverAPISpecification < Gem::TestCase
fetcher.spec "a", 1
end
- dep_uri = URI(@gem_repo) + "info"
+ dep_uri = Gem::URI(@gem_repo) + "info"
set = Gem::Resolver::APISet.new dep_uri
data = {
name: "a",
@@ -148,7 +148,7 @@ class TestGemResolverAPISpecification < Gem::TestCase
end
end
- dep_uri = URI(@gem_repo) + "info"
+ dep_uri = Gem::URI(@gem_repo) + "info"
set = Gem::Resolver::APISet.new dep_uri
data = {
name: "j",