summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/search_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2022-01-17 14:10:27 +0100
committergit <[email protected]>2022-01-19 15:56:35 +0900
commit0350c179ea8c303b6f0087b96478b757052321c2 ()
treefc3b46c2ab4b6e7e8289bcc4e5fd21ee99fdaff1 /lib/rubygems/commands/search_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://.com/rubygems/rubygems/commit/13d3eb6cb0
-rw-r--r--lib/rubygems/commands/search_command.rb2
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ class Gem::Commands::SearchCommand < Gem::Command
def initialize
super 'search', 'Display remote gems whose name matches REGEXP',
- :name => //, :domain => :remote, :details => false, :versions => true,
:installed => nil, :version => Gem::Requirement.default
add_query_options