Promote net-smtp to default gems
This commit is contained in:
parent
eb0b13596d
commit
223d3c460a
@ -66,8 +66,6 @@ Zachary Scott (zzak)
|
|||||||
NARUSE, Yui (naruse)
|
NARUSE, Yui (naruse)
|
||||||
[lib/net/protocol.rb]
|
[lib/net/protocol.rb]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
[lib/net/smtp.rb]
|
|
||||||
_unmaintained_
|
|
||||||
[lib/observer.rb]
|
[lib/observer.rb]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
[lib/open-uri.rb]
|
[lib/open-uri.rb]
|
||||||
@ -211,6 +209,10 @@ Zachary Scott (zzak)
|
|||||||
_unmaintained_
|
_unmaintained_
|
||||||
https://github.com/ruby/net-pop
|
https://github.com/ruby/net-pop
|
||||||
https://rubygems.org/gems/net-pop
|
https://rubygems.org/gems/net-pop
|
||||||
|
[lib/net/smtp.rb]
|
||||||
|
_unmaintained_
|
||||||
|
https://github.com/ruby/net-smtp
|
||||||
|
https://rubygems.org/gems/net-smtp
|
||||||
[lib/open3.rb]
|
[lib/open3.rb]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
https://github.com/ruby/open3
|
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::FTP:: Support for the File Transfer Protocol
|
||||||
Net::HTTP:: HTTP client api for Ruby
|
Net::HTTP:: HTTP client api for Ruby
|
||||||
Net::IMAP:: Ruby client api for Internet Message Access Protocol
|
Net::IMAP:: Ruby client api for Internet Message Access Protocol
|
||||||
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
|
||||||
OptionParser:: Ruby-oriented class for command-line option analysis
|
OptionParser:: Ruby-oriented class for command-line option analysis
|
||||||
@ -78,6 +77,7 @@ 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
|
||||||
Net::POP3:: Ruby client library for POP3
|
Net::POP3:: Ruby client library for POP3
|
||||||
|
Net::SMTP:: Simple Mail Transfer Protocol client library for Ruby
|
||||||
Open3:: Provides access to stdin, stdout and stderr when running other programs
|
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
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# See Net::SMTP for documentation.
|
# See Net::SMTP for documentation.
|
||||||
#
|
#
|
||||||
|
|
||||||
require_relative 'protocol'
|
require 'net/protocol'
|
||||||
require 'digest/md5'
|
require 'digest/md5'
|
||||||
require 'timeout'
|
require 'timeout'
|
||||||
begin
|
begin
|
||||||
|
27
lib/net/smtp/net-smtp.gemspec
Normal file
27
lib/net/smtp/net-smtp.gemspec
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
begin
|
||||||
|
require_relative "lib/net/smtp/version"
|
||||||
|
rescue LoadError # Fallback to load version file in ruby core repository
|
||||||
|
require_relative "version"
|
||||||
|
end
|
||||||
|
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "net-smtp"
|
||||||
|
spec.version = Net::SMTP::VERSION
|
||||||
|
spec.authors = ["Yukihiro Matsumoto"]
|
||||||
|
spec.email = ["matz@ruby-lang.org"]
|
||||||
|
|
||||||
|
spec.summary = %q{Simple Mail Transfer Protocol client library for Ruby.}
|
||||||
|
spec.description = %q{Simple Mail Transfer Protocol client library for Ruby.}
|
||||||
|
spec.homepage = "https://github.com/ruby/net-smtp"
|
||||||
|
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/smtp/version.rb
Normal file
5
lib/net/smtp/version.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module Net
|
||||||
|
module SMTP
|
||||||
|
VERSION = "0.1.0"
|
||||||
|
end
|
||||||
|
end
|
@ -40,6 +40,7 @@
|
|||||||
# * https://github.com/ruby/delegate
|
# * https://github.com/ruby/delegate
|
||||||
# * https://github.com/ruby/benchmark
|
# * https://github.com/ruby/benchmark
|
||||||
# * https://github.com/ruby/net-pop
|
# * https://github.com/ruby/net-pop
|
||||||
|
# * https://github.com/ruby/net-smtp
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
@ -87,6 +88,7 @@ $repositories = {
|
|||||||
delegate: "ruby/delegate",
|
delegate: "ruby/delegate",
|
||||||
benchmark: "ruby/benchmark",
|
benchmark: "ruby/benchmark",
|
||||||
netpop: "ruby/net-pop",
|
netpop: "ruby/net-pop",
|
||||||
|
netsmtp: "ruby/net-smtp",
|
||||||
}
|
}
|
||||||
|
|
||||||
def sync_default_gems(gem)
|
def sync_default_gems(gem)
|
||||||
@ -227,6 +229,9 @@ def sync_default_gems(gem)
|
|||||||
when "netpop"
|
when "netpop"
|
||||||
sync_lib "net-pop"
|
sync_lib "net-pop"
|
||||||
mv "lib/net-pop.gemspec", "lib/net/pop"
|
mv "lib/net-pop.gemspec", "lib/net/pop"
|
||||||
|
when "netsmtp"
|
||||||
|
sync_lib "net-smtp"
|
||||||
|
mv "lib/net-smtp.gemspec", "lib/net/smtp"
|
||||||
else
|
else
|
||||||
sync_lib gem
|
sync_lib gem
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user