From 4e53f3ad72d16ec251ba92233ce4757a3bc13618 Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 28 Apr 2016 00:33:08 +0000 Subject: * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.4. Please see entries of 2.6.4 on https://github.com/rubygems/rubygems/blob/master/History.txt git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems/commands/query_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rubygems/commands/query_command.rb') diff --git a/lib/rubygems/commands/query_command.rb b/lib/rubygems/commands/query_command.rb index fb2d6a53c8..f25d120b88 100644 --- a/lib/rubygems/commands/query_command.rb +++ b/lib/rubygems/commands/query_command.rb @@ -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 } + spec = specs.select { |s| s.version == version } if spec.first.default_gem? "default: #{version}" else -- cgit v1.2.3