mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems/commands/cleanup_command.rb: Skip default gems when
cleaning up. * test/rubygems/test_gem_commands_cleanup_command.rb: Test for above. * lib/rubygems/commands/query_command.rb: Fixed listing remote gems. * lib/rubygems/dependency_installer.rb: Ignore non-files when looking for local gems. * test/rubygems/test_gem_dependency_installer.rb: Test for above. * lib/rubygems/uninstaller.rb: The user must confirm uninstalling gems that have dependencies. * test/rubygems/test_gem_uninstaller.rb: Test for above. * lib/rubygems.rb (module Gem): Updated version. * test/rubygems/*.pem: Updated to run in FIPS mode. * test/rubygems/test_gem_security.rb: ditto. * test/rubygems/test_gem_security_signer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee68f78c24
commit
75894547f5
37 changed files with 592 additions and 201 deletions
|
@ -132,8 +132,8 @@ class Gem::Commands::QueryCommand < Gem::Command
|
|||
if options[:name].source.empty?
|
||||
spec_tuples = fetcher.detect(type) { true }
|
||||
else
|
||||
spec_tuples = fetcher.detect(type) do |gem_name, ver, plat|
|
||||
options[:name] === gem_name
|
||||
spec_tuples = fetcher.detect(type) do |name_tuple|
|
||||
options[:name] === name_tuple.name
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue