1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Promote getoptlong to default gems

This commit is contained in:
Hiroshi SHIBATA 2019-11-07 08:48:45 +09:00
parent 478f6e2b34
commit 6797c3e371
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
4 changed files with 37 additions and 3 deletions

View file

@ -58,8 +58,6 @@ Zachary Scott (zzak)
Masatoshi SEKI (seki), Takashi Kokubun (k0kubun)
[lib/find.rb]
Kazuki Tsujimoto (ktsj)
[lib/getoptlong.rb]
_unmaintained_
[lib/mkmf.rb]
_unmaintained_
[lib/monitor.rb]
@ -185,6 +183,10 @@ Zachary Scott (zzak)
Keiju ISHITSUKA (keiju)
https://github.com/ruby/forwardable
https://rubygems.org/gems/forwardable
[lib/getoptlong.rb]
_unmaintained_
https://github.com/ruby/getoptlong
https://rubygems.org/gems/getoptlong
[lib/ipaddr.rb]
Akinori MUSHA (knu)
https://github.com/ruby/ipaddr

View file

@ -18,7 +18,6 @@ DRb:: Distributed object system for Ruby
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
ERB:: An easy to use but powerful templating system for Ruby
Find:: This module supports top-down traversal of a set of file paths
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
MakeMakefile:: Module used to generate a Makefile for C extensions
Monitor:: Provides an object or module to use safely by more than one thread
Net::FTP:: Support for the File Transfer Protocol
@ -74,6 +73,7 @@ CSV:: Provides an interface to read and write CSV files and data
E2MM:: Module for defining custom exceptions with specific messages
FileUtils:: Several file utility methods for copying, moving, removing, etc
Forwardable:: Provides delegation of specified methods to a designated object
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
Logger:: Provides a simple logging utility for outputting messages

View file

@ -0,0 +1,29 @@
begin
require_relative "lib/getoptlong/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "getoptlong"
spec.version = GetoptLong::VERSION
spec.authors = ["Yukihiro Matsumoto"]
spec.email = ["matz@ruby-lang.org"]
spec.summary = %q{GetoptLong for Ruby}
spec.description = spec.summary
spec.homepage = "https://github.com/ruby/getoptlong"
spec.license = "BSD-2-Clause"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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

View file

@ -0,0 +1,3 @@
class GetoptLong
VERSION = "0.1.0"
end