summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/contents_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-03-24 07:39:24 +0100
committer<[email protected]>2020-03-24 15:39:24 +0900
commit96064e6f1ce100a37680dc8f9509f06b3350e9c8 ()
tree798b59f015cb82ee3cd0427f80584032175829ba /lib/rubygems/commands/contents_command.rb
parent930b012ad96bfb0bd12446b89407120744ef92eb (diff)
Sync rubygems with current master (#2889)
Notes: Merged-By: hsbt <[email protected]>
-rw-r--r--lib/rubygems/commands/contents_command.rb2
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ prefix or only the files that are requireable.
end
def spec_for(name)
- spec = Gem::Specification.find_all_by_name(name, @version).last
return spec if spec