summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/contents_command.rb
diff options
context:
space:
mode:
-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