summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/query_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/query_command.rb2
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ is too hard to use.
if options[:domain] == :remote || specs.all? { |spec| spec.is_a? Gem::Source }
version
else
- spec = specs.select { |spec| spec.version == version }
if spec.first.default_gem?
"default: #{version}"
else