summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/query_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-01-17 14:10:27 +0100
committergit <svn-admin@ruby-lang.org>2022-01-19 15:56:35 +0900
commit0350c179ea8c303b6f0087b96478b757052321c2 (patch)
treefc3b46c2ab4b6e7e8289bcc4e5fd21ee99fdaff1 /lib/rubygems/commands/query_command.rb
parent8b6a02de2f99bc9670f91757db9bf86edf61f615 (diff)
[rubygems/rubygems] Don't pass regexp to `Gem::Dependeny.new` from list, search, and query commands
It's deprecated functionality. https://github.com/rubygems/rubygems/commit/13d3eb6cb0
Diffstat (limited to 'lib/rubygems/commands/query_command.rb')
-rw-r--r--lib/rubygems/commands/query_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/query_command.rb b/lib/rubygems/commands/query_command.rb
index 5896bec44e..442c4b19bb 100644
--- a/lib/rubygems/commands/query_command.rb
+++ b/lib/rubygems/commands/query_command.rb
@@ -20,7 +20,7 @@ class Gem::Commands::QueryCommand < Gem::Command
def initialize(name = 'query',
summary = 'Query gem information in local or remote repositories')
super name, summary,
- :name => //, :domain => :local, :details => false, :versions => true,
+ :domain => :local, :details => false, :versions => true,
:installed => nil, :version => Gem::Requirement.default
add_option('-n', '--name-matches REGEXP',