Sha256: 2119c9b8f682c3bbb336691395c623e3352cf3e03916d5f0c044933caf11cd08

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true

name = File.basename(__FILE__, ".gemspec")
version = ["lib", Array.new(name.count("-"), "..").join("/")].find do |dir|
  break File.foreach(File.join(__dir__, dir, "#{name.tr('-', '/')}.rb")) do |line|
    /^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
  end rescue nil
end

Gem::Specification.new do |spec|
  spec.name          = name
  spec.version       = 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.licenses       = ["Ruby", "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 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(bin|test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency "net-protocol"
end

Version data entries

7 entries across 7 versions & 5 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/net-pop-0.1.2/net-pop.gemspec
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/net-pop-0.1.2/net-pop.gemspec
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/net-pop-0.1.2/net-pop.gemspec
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/net-pop-0.1.2/net-pop.gemspec
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/net-pop-0.1.2/net-pop.gemspec
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/net-pop-0.1.2/net-pop.gemspec
net-pop-0.1.2 net-pop.gemspec