summaryrefslogtreecommitdiff
path: root/lib/rubygems/basic_specification.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2020-02-01 11:14:04 +0900
committerHiroshi SHIBATA <[email protected]>2020-02-01 11:14:57 +0900
commit600a715c9bde99fe2e9a669465d78833445273e8 ()
tree8244622e8cc02b40dd0dad29d30fc60a11342396 /lib/rubygems/basic_specification.rb
parentadc303131187654d8ce83f3db17eefa3d5bae26c (diff)
Merge the current master branch of rubygems/rubygems.
Just started to develop RubyGems 3.2.0.
-rw-r--r--lib/rubygems/basic_specification.rb8
1 files changed, 7 insertions, 1 deletions
@@ -274,13 +274,19 @@ class Gem::BasicSpecification
# Return all files in this gem that match for +glob+.
def matches_for_glob(glob) # TODO: rename?
- # TODO: do we need these?? Kill it
glob = File.join(self.lib_dirs_glob, glob)
Dir[glob].map { |f| f.tap(&Gem::UNTAINT) } # FIX our tests are broken, run w/ SAFE=1
end
##
# Returns a string usable in Dir.glob to match all requirable paths
# for this spec.