Promote optparse to default gems

This commit is contained in:
Hiroshi SHIBATA 2020-07-22 18:38:51 +09:00
Родитель a50750c8a9
Коммит 7befc0cdfc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
4 изменённых файлов: 26 добавлений и 3 удалений

Просмотреть файл

@ -54,8 +54,6 @@ Zachary Scott (zzak)
_unmaintained_ _unmaintained_
[lib/open-uri.rb] [lib/open-uri.rb]
Tanaka Akira (akr) Tanaka Akira (akr)
[lib/optparse.rb, lib/optparse/*]
Nobuyuki Nakada (nobu)
[lib/pp.rb] [lib/pp.rb]
Tanaka Akira (akr) Tanaka Akira (akr)
[lib/prettyprint.rb] [lib/prettyprint.rb]
@ -170,6 +168,9 @@ Zachary Scott (zzak)
Keiju ISHITSUKA (keiju) Keiju ISHITSUKA (keiju)
https://github.com/ruby/irb https://github.com/ruby/irb
https://rubygems.org/gems/irb https://rubygems.org/gems/irb
[lib/optparse.rb, lib/optparse/*]
Nobuyuki Nakada (nobu)
https://github.com/ruby/optparse
[lib/logger.rb] [lib/logger.rb]
Naotoshi Seo (sonots) Naotoshi Seo (sonots)
https://github.com/ruby/logger https://github.com/ruby/logger

Просмотреть файл

@ -16,7 +16,6 @@ ERB:: An easy to use but powerful templating system for Ruby
Find:: This module supports top-down traversal of a set of file paths Find:: This module supports top-down traversal of a set of file paths
MakeMakefile:: Module used to generate a Makefile for C extensions MakeMakefile:: Module used to generate a Makefile for C extensions
OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP
OptionParser:: Ruby-oriented class for command-line option analysis
PP:: Provides a PrettyPrinter for Ruby objects PP:: Provides a PrettyPrinter for Ruby objects
PrettyPrinter:: Implements a pretty printing algorithm for readable structure PrettyPrinter:: Implements a pretty printing algorithm for readable structure
RbConfig:: Information of your configure and build of Ruby RbConfig:: Information of your configure and build of Ruby
@ -62,6 +61,7 @@ Forwardable:: Provides delegation of specified methods to a designated object
GetoptLong:: Parse command line options similar to the GNU C getopt_long() GetoptLong:: Parse command line options similar to the GNU C getopt_long()
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop) IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
OptionParser:: Ruby-oriented class for command-line option analysis
Logger:: Provides a simple logging utility for outputting messages Logger:: Provides a simple logging utility for outputting messages
Matrix:: Represents a mathematical matrix. Matrix:: Represents a mathematical matrix.
Mutex_m:: Mixin to extend objects to be handled like a Mutex Mutex_m:: Mixin to extend objects to be handled like a Mutex

Просмотреть файл

@ -0,0 +1,21 @@
Gem::Specification.new do |spec|
spec.name = "optparse"
spec.version = "0.1.0"
spec.authors = ["Nobu Nakada"]
spec.email = ["nobu@ruby-lang.org"]
spec.summary = %q{OptionParser is a class for command-line option analysis.}
spec.description = %q{OptionParser is a class for command-line option analysis.}
spec.homepage = "https://github.com/ruby/optparse"
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
end

Просмотреть файл

@ -59,6 +59,7 @@ $repositories = {
"net-ftp": "ruby/net-ftp", "net-ftp": "ruby/net-ftp",
"net-http": "ruby/net-http", "net-http": "ruby/net-http",
bigdecimal: "ruby/bigdecimal", bigdecimal: "ruby/bigdecimal",
optparse: "ruby/optparse",
} }
def sync_default_gems(gem) def sync_default_gems(gem)