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:
parent
478f6e2b34
commit
6797c3e371
4 changed files with 37 additions and 3 deletions
|
@ -58,8 +58,6 @@ Zachary Scott (zzak)
|
||||||
Masatoshi SEKI (seki), Takashi Kokubun (k0kubun)
|
Masatoshi SEKI (seki), Takashi Kokubun (k0kubun)
|
||||||
[lib/find.rb]
|
[lib/find.rb]
|
||||||
Kazuki Tsujimoto (ktsj)
|
Kazuki Tsujimoto (ktsj)
|
||||||
[lib/getoptlong.rb]
|
|
||||||
_unmaintained_
|
|
||||||
[lib/mkmf.rb]
|
[lib/mkmf.rb]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
[lib/monitor.rb]
|
[lib/monitor.rb]
|
||||||
|
@ -185,6 +183,10 @@ Zachary Scott (zzak)
|
||||||
Keiju ISHITSUKA (keiju)
|
Keiju ISHITSUKA (keiju)
|
||||||
https://github.com/ruby/forwardable
|
https://github.com/ruby/forwardable
|
||||||
https://rubygems.org/gems/forwardable
|
https://rubygems.org/gems/forwardable
|
||||||
|
[lib/getoptlong.rb]
|
||||||
|
_unmaintained_
|
||||||
|
https://github.com/ruby/getoptlong
|
||||||
|
https://rubygems.org/gems/getoptlong
|
||||||
[lib/ipaddr.rb]
|
[lib/ipaddr.rb]
|
||||||
Akinori MUSHA (knu)
|
Akinori MUSHA (knu)
|
||||||
https://github.com/ruby/ipaddr
|
https://github.com/ruby/ipaddr
|
||||||
|
|
|
@ -18,7 +18,6 @@ DRb:: Distributed object system for Ruby
|
||||||
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
|
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
|
||||||
ERB:: An easy to use but powerful templating system for Ruby
|
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
|
||||||
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
|
|
||||||
MakeMakefile:: Module used to generate a Makefile for C extensions
|
MakeMakefile:: Module used to generate a Makefile for C extensions
|
||||||
Monitor:: Provides an object or module to use safely by more than one thread
|
Monitor:: Provides an object or module to use safely by more than one thread
|
||||||
Net::FTP:: Support for the File Transfer Protocol
|
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
|
E2MM:: Module for defining custom exceptions with specific messages
|
||||||
FileUtils:: Several file utility methods for copying, moving, removing, etc
|
FileUtils:: Several file utility methods for copying, moving, removing, etc
|
||||||
Forwardable:: Provides delegation of specified methods to a designated object
|
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
|
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)
|
||||||
Logger:: Provides a simple logging utility for outputting messages
|
Logger:: Provides a simple logging utility for outputting messages
|
||||||
|
|
29
lib/getoptlong/getoptlong.gemspec
Normal file
29
lib/getoptlong/getoptlong.gemspec
Normal 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
|
3
lib/getoptlong/version.rb
Normal file
3
lib/getoptlong/version.rb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
class GetoptLong
|
||||||
|
VERSION = "0.1.0"
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue