mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Promote net-pop to default gems
This commit is contained in:
parent
77c94e0dd8
commit
eb0b13596d
6 changed files with 43 additions and 4 deletions
|
@ -64,8 +64,6 @@ Zachary Scott (zzak)
|
|||
Shugo Maeda (shugo)
|
||||
[lib/net/http.rb, lib/net/https.rb]
|
||||
NARUSE, Yui (naruse)
|
||||
[lib/net/pop.rb]
|
||||
_unmaintained_
|
||||
[lib/net/protocol.rb]
|
||||
_unmaintained_
|
||||
[lib/net/smtp.rb]
|
||||
|
@ -209,6 +207,10 @@ Zachary Scott (zzak)
|
|||
Keiju ISHITSUKA (keiju)
|
||||
https://github.com/ruby/mutex_m
|
||||
https://rubygems.org/gems/mutex_m
|
||||
[lib/net/pop.rb]
|
||||
_unmaintained_
|
||||
https://github.com/ruby/net-pop
|
||||
https://rubygems.org/gems/net-pop
|
||||
[lib/open3.rb]
|
||||
_unmaintained_
|
||||
https://github.com/ruby/open3
|
||||
|
|
|
@ -21,7 +21,6 @@ Monitor:: Provides an object or module to use safely by more than one thread
|
|||
Net::FTP:: Support for the File Transfer Protocol
|
||||
Net::HTTP:: HTTP client api for Ruby
|
||||
Net::IMAP:: Ruby client api for Internet Message Access Protocol
|
||||
Net::POP3:: Ruby client library for POP3
|
||||
Net::SMTP:: Simple Mail Transfer Protocol client library for 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
|
||||
|
@ -78,6 +77,7 @@ IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
|
|||
Logger:: Provides a simple logging utility for outputting messages
|
||||
Matrix:: Represents a mathematical matrix.
|
||||
Mutex_m:: Mixin to extend objects to be handled like a Mutex
|
||||
Net::POP3:: Ruby client library for POP3
|
||||
Open3:: Provides access to stdin, stdout and stderr when running other programs
|
||||
OpenStruct:: Class to build custom data structures, similar to a Hash
|
||||
Prime:: Prime numbers and factorization library
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# See Net::POP3 for documentation.
|
||||
#
|
||||
|
||||
require_relative 'protocol'
|
||||
require 'net/protocol'
|
||||
require 'digest/md5'
|
||||
require 'timeout'
|
||||
|
||||
|
|
27
lib/net/pop/net-pop.gemspec
Normal file
27
lib/net/pop/net-pop.gemspec
Normal file
|
@ -0,0 +1,27 @@
|
|||
begin
|
||||
require_relative "lib/net/pop/version"
|
||||
rescue LoadError # Fallback to load version file in ruby core repository
|
||||
require_relative "version"
|
||||
end
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "net-pop"
|
||||
spec.version = Net::POP3::VERSION
|
||||
spec.authors = ["Yukihiro Matsumoto"]
|
||||
spec.email = ["matz@ruby-lang.org"]
|
||||
|
||||
spec.summary = %q{Ruby client library for POP3.}
|
||||
spec.description = %q{Ruby client library for POP3.}
|
||||
spec.homepage = "https://github.com/ruby/net-pop"
|
||||
spec.license = "BSD-2-Clause"
|
||||
|
||||
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
|
5
lib/net/pop/version.rb
Normal file
5
lib/net/pop/version.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module Net
|
||||
class POP3
|
||||
VERSION = "0.1.0"
|
||||
end
|
||||
end
|
|
@ -39,6 +39,7 @@
|
|||
# * https://github.com/ruby/pstore
|
||||
# * https://github.com/ruby/delegate
|
||||
# * https://github.com/ruby/benchmark
|
||||
# * https://github.com/ruby/net-pop
|
||||
#
|
||||
|
||||
require 'fileutils'
|
||||
|
@ -85,6 +86,7 @@ $repositories = {
|
|||
pstore: "ruby/pstore",
|
||||
delegate: "ruby/delegate",
|
||||
benchmark: "ruby/benchmark",
|
||||
netpop: "ruby/net-pop",
|
||||
}
|
||||
|
||||
def sync_default_gems(gem)
|
||||
|
@ -222,6 +224,9 @@ def sync_default_gems(gem)
|
|||
rm_rf("test/racc/lib")
|
||||
rm_rf("lib/racc/cparse-jruby.jar")
|
||||
`git checkout ext/racc/cparse/README ext/racc/cparse/depend`
|
||||
when "netpop"
|
||||
sync_lib "net-pop"
|
||||
mv "lib/net-pop.gemspec", "lib/net/pop"
|
||||
else
|
||||
sync_lib gem
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue