diff options
Diffstat (limited to 'lib/rubygems/commands/search_command.rb')
-rw-r--r-- | lib/rubygems/commands/search_command.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/rubygems/commands/search_command.rb b/lib/rubygems/commands/search_command.rb index 488d777939..50e161ac9b 100644 --- a/lib/rubygems/commands/search_command.rb +++ b/lib/rubygems/commands/search_command.rb @@ -1,14 +1,15 @@ # frozen_string_literal: true -require_relative '../command' -require_relative '../query_utils' + +require_relative "../command" +require_relative "../query_utils" class Gem::Commands::SearchCommand < Gem::Command include Gem::QueryUtils def initialize - super 'search', 'Display remote gems whose name matches REGEXP', - :name => //, :domain => :remote, :details => false, :versions => true, - :installed => nil, :version => Gem::Requirement.default + super "search", "Display remote gems whose name matches REGEXP", + domain: :remote, details: false, versions: true, + installed: nil, version: Gem::Requirement.default add_query_options end |