diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/pop.rb | 2 | ||||
-rw-r--r-- | lib/net/pop/net-pop.gemspec | 27 | ||||
-rw-r--r-- | lib/net/pop/version.rb | 5 |
3 files changed, 33 insertions, 1 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index e295394b5c..8712345301 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -21,7 +21,7 @@ # See Net::POP3 for documentation. # -require_relative 'protocol' +require 'net/protocol' require 'digest/md5' require 'timeout' diff --git a/lib/net/pop/net-pop.gemspec b/lib/net/pop/net-pop.gemspec new file mode 100644 index 0000000000..8166968d7d --- /dev/null +++ b/lib/net/pop/net-pop.gemspec @@ -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 diff --git a/lib/net/pop/version.rb b/lib/net/pop/version.rb new file mode 100644 index 0000000000..4857d4de62 --- /dev/null +++ b/lib/net/pop/version.rb @@ -0,0 +1,5 @@ +module Net + class POP3 + VERSION = "0.1.0" + end +end |