diff options
author | David Rodriguez <deivid.rodriguez@riseup.net> | 2021-10-11 12:43:07 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-10-25 20:48:52 +0900 |
commit | a959342abf3c77fc5f08a91107f5f27cfe1766a7 (patch) | |
tree | 4d0a21868407cb34a114dac6a4bfcdea942811e2 /lib | |
parent | 9fbf3a1f6fbe75fb971692469fb708c9b6ae6c2e (diff) | |
download | ruby-a959342abf3c77fc5f08a91107f5f27cfe1766a7.tar.gz |
[rubygems/rubygems] Remove comment that seems no longer accurate
We require things inline or autoload them for efficiency and to avoid as
much as possible conflicting with user's choice of gems.
But I removed the require and observed no deadlocks when activating
gems.
https://github.com/rubygems/rubygems/commit/7d6333e842
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/source/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/source/git.rb b/lib/rubygems/source/git.rb index 9876adc24e..95dee9b883 100644 --- a/lib/rubygems/source/git.rb +++ b/lib/rubygems/source/git.rb @@ -225,7 +225,7 @@ class Gem::Source::Git < Gem::Source # A hash for the git gem based on the git repository URI. def uri_hash # :nodoc: - require 'digest' # required here to avoid deadlocking in Gem.activate_bin_path (because digest is a gem on 2.5+) + require 'digest' normalized = if @repository =~ %r{^\w+://(\w+@)?} |