# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rex/socket/version'

Gem::Specification.new do |spec|
  spec.name          = "rex-socket"
  spec.version       = Rex::Socket::VERSION
  spec.authors       = ['Metasploit Hackers']
  spec.email         = ['msfdev@metasploit.com']

  spec.summary       = %q{The Ruby Exploitation (Rex) Socket Abstraction Library.}
  spec.description   = %q{The Ruby Exploitation (Rex) Socket Abstraction Library. This library
                          includes all of the code needed to turn sockets into Rex::Sockets with the functionality
                          for things like L3 pivoting used by Metasploit. }
  spec.homepage      = "https://github.com/rapid7/rex-socket"



  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.required_ruby_version = '>= 2.2.0'

  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec"

  spec.add_runtime_dependency "rex-core"
  spec.add_runtime_dependency "dnsruby"
end
