summaryrefslogtreecommitdiff
path: root/lib/bundler/source/git
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2022-12-12 09:09:23 +0900
committerHiroshi SHIBATA <[email protected]>2022-12-12 10:49:43 +0900
commitbbe56a643734025aef6a3cbeb07c5306505040f6 ()
treec6980a39ce6571c032695702bd974431eee4d516 /lib/bundler/source/git
parentf1cdc129d4d6440168b840fa852fa6c3e28d46a9 (diff)
Merge RubyGems/Bundler master
from https://.com/rubygems/rubygems/commit/bfb0ae69776069155d2092702bfbb5a12617d85a
Notes: Merged: https://.com/ruby/ruby/pull/6906
-rw-r--r--lib/bundler/source/git/git_proxy.rb2
1 files changed, 1 insertions, 1 deletions
@@ -250,7 +250,7 @@ module Bundler
# Adds credentials to the URI
def configured_uri
- if /https?:/ =~ uri
remote = Bundler::URI(uri)
config_auth = Bundler.settings[remote.to_s] || Bundler.settings[remote.host]
remote.userinfo ||= config_auth