mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Promote io-nonblock to the default gems.
This commit is contained in:
parent
d75b42a70a
commit
2bd1f827f1
4 changed files with 33 additions and 5 deletions
|
@ -92,8 +92,6 @@ Zachary Scott (zzak)
|
||||||
Akinori MUSHA (knu)
|
Akinori MUSHA (knu)
|
||||||
[ext/fiber]
|
[ext/fiber]
|
||||||
Koichi Sasada (ko1)
|
Koichi Sasada (ko1)
|
||||||
[ext/io/nonblock]
|
|
||||||
Nobuyuki Nakada (nobu)
|
|
||||||
[ext/monitor]
|
[ext/monitor]
|
||||||
Koichi Sasada (ko1)
|
Koichi Sasada (ko1)
|
||||||
[ext/nkf]
|
[ext/nkf]
|
||||||
|
@ -307,6 +305,9 @@ Zachary Scott (zzak)
|
||||||
Nobuyuki Nakada (nobu)
|
Nobuyuki Nakada (nobu)
|
||||||
https://github.com/ruby/io-console
|
https://github.com/ruby/io-console
|
||||||
https://rubygems.org/gems/io-console
|
https://rubygems.org/gems/io-console
|
||||||
|
[ext/io/nonblock]
|
||||||
|
Nobuyuki Nakada (nobu)
|
||||||
|
https://github.com/ruby/io-nonblock
|
||||||
[ext/io/wait]
|
[ext/io/wait]
|
||||||
Nobuyuki Nakada (nobu)
|
Nobuyuki Nakada (nobu)
|
||||||
https://github.com/ruby/io-wait
|
https://github.com/ruby/io-wait
|
||||||
|
|
|
@ -34,7 +34,6 @@ un.rb:: Utilities to replace common UNIX commands
|
||||||
|
|
||||||
Coverage:: Provides coverage measurement for Ruby
|
Coverage:: Provides coverage measurement for Ruby
|
||||||
Digest:: Provides a framework for message digest libraries
|
Digest:: Provides a framework for message digest libraries
|
||||||
IO:: Extensions for Ruby IO class, including #wait and ::console
|
|
||||||
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
|
||||||
NKF:: Ruby extension for Network Kanji Filter
|
NKF:: Ruby extension for Network Kanji Filter
|
||||||
objspace:: Extends ObjectSpace module to add methods for internal statistics
|
objspace:: Extends ObjectSpace module to add methods for internal statistics
|
||||||
|
@ -97,8 +96,7 @@ Etc:: Provides access to information typically stored in UNIX /etc directory
|
||||||
Fcntl:: Loads constants defined in the OS fcntl.h C header file
|
Fcntl:: Loads constants defined in the OS fcntl.h C header file
|
||||||
Fiddle:: A libffi wrapper for Ruby
|
Fiddle:: A libffi wrapper for Ruby
|
||||||
GDBM:: Ruby extension for the GNU dbm (gdbm) library
|
GDBM:: Ruby extension for the GNU dbm (gdbm) library
|
||||||
IO::console:: Console interface
|
IO:: Extensions for Ruby IO class, including #wait, #nonblock and ::console
|
||||||
IO::wait::
|
|
||||||
JSON:: Implements Javascript Object Notation for Ruby
|
JSON:: Implements Javascript Object Notation for Ruby
|
||||||
OpenSSL:: Provides SSL, TLS and general purpose cryptography for Ruby
|
OpenSSL:: Provides SSL, TLS and general purpose cryptography for Ruby
|
||||||
Psych:: A YAML parser and emitter for Ruby
|
Psych:: A YAML parser and emitter for Ruby
|
||||||
|
|
22
ext/io/nonblock/io-nonblock.gemspec
Normal file
22
ext/io/nonblock/io-nonblock.gemspec
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "io-nonblock"
|
||||||
|
spec.version = "0.1.0"
|
||||||
|
spec.authors = ["Nobu Nakada"]
|
||||||
|
spec.email = ["nobu@ruby-lang.org"]
|
||||||
|
|
||||||
|
spec.summary = %q{Enables non-blocking mode with IO class}
|
||||||
|
spec.description = %q{Enables non-blocking mode with IO class}
|
||||||
|
spec.homepage = "https://github.com/ruby/io-nonblock"
|
||||||
|
spec.license = ["Ruby", "BSD-2-Clause"]
|
||||||
|
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
|
|
@ -14,6 +14,7 @@ $repositories = {
|
||||||
fiddle: 'ruby/fiddle',
|
fiddle: 'ruby/fiddle',
|
||||||
stringio: 'ruby/stringio',
|
stringio: 'ruby/stringio',
|
||||||
"io-console": 'ruby/io-console',
|
"io-console": 'ruby/io-console',
|
||||||
|
"io-nonblock": 'ruby/io-nonblock',
|
||||||
"io-wait": 'ruby/io-wait',
|
"io-wait": 'ruby/io-wait',
|
||||||
csv: 'ruby/csv',
|
csv: 'ruby/csv',
|
||||||
webrick: 'ruby/webrick',
|
webrick: 'ruby/webrick',
|
||||||
|
@ -135,6 +136,12 @@ def sync_default_gems(gem)
|
||||||
cp_r("#{upstream}/lib/io/console", "ext/io/console/lib")
|
cp_r("#{upstream}/lib/io/console", "ext/io/console/lib")
|
||||||
cp_r("#{upstream}/io-console.gemspec", "ext/io/console")
|
cp_r("#{upstream}/io-console.gemspec", "ext/io/console")
|
||||||
`git checkout ext/io/console/depend`
|
`git checkout ext/io/console/depend`
|
||||||
|
when "io-nonblock"
|
||||||
|
rm_rf(%w[ext/io/nonblock test/io/nonblock])
|
||||||
|
cp_r("#{upstream}/ext/io/nonblock", "ext/io")
|
||||||
|
cp_r("#{upstream}/test/io/nonblock", "test/io")
|
||||||
|
cp_r("#{upstream}/io-nonblock.gemspec", "ext/io/nonblock")
|
||||||
|
`git checkout ext/io/nonblock/depend`
|
||||||
when "io-wait"
|
when "io-wait"
|
||||||
rm_rf(%w[ext/io/wait test/io/wait])
|
rm_rf(%w[ext/io/wait test/io/wait])
|
||||||
cp_r("#{upstream}/ext/io/wait", "ext/io")
|
cp_r("#{upstream}/ext/io/wait", "ext/io")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue