mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Promote open3 to default gems
This commit is contained in:
parent
fb7fe7f16c
commit
d1630d41ad
5 changed files with 40 additions and 4 deletions
|
@ -80,8 +80,6 @@ Zachary Scott (zzak)
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
[lib/open-uri.rb]
|
[lib/open-uri.rb]
|
||||||
Tanaka Akira (akr)
|
Tanaka Akira (akr)
|
||||||
[lib/open3.rb]
|
|
||||||
_unmaintained_
|
|
||||||
[lib/optparse.rb, lib/optparse/*]
|
[lib/optparse.rb, lib/optparse/*]
|
||||||
Nobuyuki Nakada (nobu)
|
Nobuyuki Nakada (nobu)
|
||||||
[lib/pp.rb]
|
[lib/pp.rb]
|
||||||
|
@ -207,6 +205,10 @@ Zachary Scott (zzak)
|
||||||
Keiju ISHITSUKA (keiju)
|
Keiju ISHITSUKA (keiju)
|
||||||
https://github.com/ruby/mutex_m
|
https://github.com/ruby/mutex_m
|
||||||
https://rubygems.org/gems/mutex_m
|
https://rubygems.org/gems/mutex_m
|
||||||
|
[lib/open3.rb]
|
||||||
|
_unmaintained_
|
||||||
|
https://github.com/ruby/open3
|
||||||
|
https://rubygems.org/gems/open3
|
||||||
[lib/ostruct.rb]
|
[lib/ostruct.rb]
|
||||||
Marc-Andre Lafortune (marcandre)
|
Marc-Andre Lafortune (marcandre)
|
||||||
https://github.com/ruby/ostruct
|
https://github.com/ruby/ostruct
|
||||||
|
|
|
@ -28,7 +28,6 @@ Net::POP3:: Ruby client library for POP3
|
||||||
Net::SMTP:: Simple Mail Transfer Protocol client library for Ruby
|
Net::SMTP:: Simple Mail Transfer Protocol client library for Ruby
|
||||||
Observable:: Provides a mechanism for publish/subscribe pattern in Ruby
|
Observable:: Provides a mechanism for publish/subscribe pattern in Ruby
|
||||||
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
|
||||||
Open3:: Provides access to stdin, stdout and stderr when running other programs
|
|
||||||
OptionParser:: Ruby-oriented class for command-line option analysis
|
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
|
||||||
|
@ -80,6 +79,7 @@ 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
|
||||||
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
|
||||||
|
Open3:: Provides access to stdin, stdout and stderr when running other programs
|
||||||
OpenStruct:: Class to build custom data structures, similar to a Hash
|
OpenStruct:: Class to build custom data structures, similar to a Hash
|
||||||
Prime:: Prime numbers and factorization library
|
Prime:: Prime numbers and factorization library
|
||||||
Racc:: A LALR(1) parser generator written in Ruby.
|
Racc:: A LALR(1) parser generator written in Ruby.
|
||||||
|
|
29
lib/open3/open3.gemspec
Normal file
29
lib/open3/open3.gemspec
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
begin
|
||||||
|
require_relative "lib/open3/version"
|
||||||
|
rescue LoadError # Fallback to load version file in ruby core repository
|
||||||
|
require_relative "version"
|
||||||
|
end
|
||||||
|
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "open3"
|
||||||
|
spec.version = Open3::VERSION
|
||||||
|
spec.authors = ["Yukihiro Matsumoto"]
|
||||||
|
spec.email = ["matz@ruby-lang.org"]
|
||||||
|
|
||||||
|
spec.summary = %q{Popen, but with stderr, too}
|
||||||
|
spec.description = spec.summary
|
||||||
|
spec.homepage = "https://github.com/ruby/open3"
|
||||||
|
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/open3/version.rb
Normal file
3
lib/open3/version.rb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module Open3
|
||||||
|
VERSION = "0.1.0"
|
||||||
|
end
|
|
@ -34,6 +34,7 @@
|
||||||
# * https://github.com/ruby/mutex_m
|
# * https://github.com/ruby/mutex_m
|
||||||
# * https://github.com/ruby/racc
|
# * https://github.com/ruby/racc
|
||||||
# * https://github.com/ruby/singleton
|
# * https://github.com/ruby/singleton
|
||||||
|
# * https://github.com/ruby/open3
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
@ -74,7 +75,8 @@ $repositories = {
|
||||||
e2mmap: "ruby/e2mmap",
|
e2mmap: "ruby/e2mmap",
|
||||||
mutex_m: "ruby/mutex_m",
|
mutex_m: "ruby/mutex_m",
|
||||||
racc: "ruby/racc",
|
racc: "ruby/racc",
|
||||||
singleton: "ruby/singleton"
|
singleton: "ruby/singleton",
|
||||||
|
open3: "ruby/open3",
|
||||||
}
|
}
|
||||||
|
|
||||||
def sync_default_gems(gem)
|
def sync_default_gems(gem)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue