summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-12-06 16:34:44 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-12-08 14:16:08 +0100
commit0490f161c6b027c700b5e15f80aa4ad7b7e5cc0a (patch)
tree86d8e554d3133efbdb95a15c4d6c51c9819d2449
parentbfa3d1e3966f497e916e90bd2f2f946662c77bf4 (diff)
downloadbundler-0490f161c6b027c700b5e15f80aa4ad7b7e5cc0a.tar.gz
This `require` seems unneeded
-rw-r--r--lib/bundler/source/git.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index 04b0d98445..54d3c20a69 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -282,7 +282,6 @@ module Bundler
def uri_hash
if uri =~ %r{^\w+://(\w+@)?}
- require "uri"
# Downcase the domain component of the URI
# and strip off a trailing slash, if one is present
input = URI.parse(uri).normalize.to_s.sub(%r{/$}, "")