forked from jbreeden/net-snmp2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnet-snmp2.gemspec
30 lines (25 loc) · 1.14 KB
/
net-snmp2.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift lib
require 'net/snmp/version'
Gem::Specification.new do |s|
s.name = 'net-snmp2'
s.version = Net::SNMP::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Ron McClain', 'Jared Breeden']
s.email = ['[email protected]']
s.homepage = 'https://github.com/jbreeden/net-snmp2'
s.summary = 'Object oriented wrapper around C net-snmp libraries'
s.description = 'Cross platform net-snmp wrapper for Ruby, building on the original net-snmp gem'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']
# Documentation options
s.has_rdoc = true
s.extra_rdoc_files = %w[README.md]
s.rdoc_options = ['--main=README.md', '--markup=markdown', '--line-numbers', '--inline-source', "--title=#{s.name}-#{s.version} Documentation"]
s.add_dependency 'nice-ffi'
s.add_dependency 'pry'
s.add_development_dependency 'eventmachine'
s.add_development_dependency 'rspec'
end