mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge the current master branch of rubygems/rubygems.
Just started to develop RubyGems 3.2.0.
This commit is contained in:
parent
adc3031311
commit
600a715c9b
54 changed files with 1236 additions and 1207 deletions
|
@ -1,15 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
require 'rubygems/command'
|
||||
require 'rubygems/commands/query_command'
|
||||
require 'rubygems/query_utils'
|
||||
|
||||
class Gem::Commands::SearchCommand < Gem::Commands::QueryCommand
|
||||
class Gem::Commands::SearchCommand < Gem::Command
|
||||
|
||||
include Gem::QueryUtils
|
||||
|
||||
def initialize
|
||||
super 'search', 'Display remote gems whose name matches REGEXP'
|
||||
super 'search', 'Display remote gems whose name matches REGEXP',
|
||||
:name => //, :domain => :remote, :details => false, :versions => true,
|
||||
:installed => nil, :version => Gem::Requirement.default
|
||||
|
||||
remove_option '--name-matches'
|
||||
|
||||
defaults[:domain] = :remote
|
||||
add_query_options
|
||||
end
|
||||
|
||||
def arguments # :nodoc:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue