forked from packetfu/packetfu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packetfu.gemspec
39 lines (33 loc) · 1.4 KB
/
packetfu.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require 'rake'
require './lib/packetfu/version'
Gem::Specification.new do |s|
s.name = 'packetfu'
s.version = PacketFu::VERSION
s.authors = ['Tod Beardsley', 'Jonathan Claudius']
s.email = ['[email protected]', '[email protected]']
s.summary = 'PacketFu is a mid-level packet manipulation library.'
s.homepage = 'https://github.com/packetfu/packetfu'
s.description = %q{
PacketFu is a mid-level packet manipulation library for Ruby. With
it, users can read, parse, and write network packets with the level of
ease and fun they expect from Ruby.
}
s.files = `git ls-files`.split($/)
s.license = 'BSD-3-Clause'
s.required_ruby_version = '>= 2.1.0'
s.add_dependency('pcaprub', '~> 0.12')
s.add_development_dependency('rake', '~> 12.0')
s.add_development_dependency('rspec', '~> 3.0')
s.add_development_dependency('rspec-its', '~> 1.2')
s.add_development_dependency('sdoc', '~> 0.4')
s.add_development_dependency('pry', '~> 0.10')
s.add_development_dependency('coveralls', '~> 0.8')
s.extra_rdoc_files = %w[.document README.md]
s.test_files = (s.files & (Dir['spec/**/*_spec.rb'] + Dir['test/test_*.rb']) )
s.rubyforge_project = 'packetfu'
cert = File.expand_path("~/.ssh/gem-private_key_todb.pem")
if File.exist?(cert) and File.readable?(cert)
s.signing_key = cert
s.cert_chain = ['gem-public_cert.pem']
end
end