Sha256: 04b9467d0ad17837f1828406eb9099e669bbfff7e2df9f88c5a3f993ce389161
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/gempackagetask' require 'rake/rdoctask' # test target Rake::TestTask.new do |test| test.libs << "lib" end # package target PKG_VERSION = '0.5.0' PKG_FILES = FileList[ 'Rakefile', 'README', 'setup.rb', 'lib/**/*.rb', 'test/**/test*.rb', 'examples/*.rb', 'data/**/*.yaml'] spec = Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.summary = "A Ruby implementation of SNMP (the Simple Network Management Protocol)." s.name = 'snmp' s.version = PKG_VERSION s.autorequire = 'snmp' s.files = PKG_FILES.to_a s.has_rdoc = true s.extra_rdoc_files = ['README'] s.rdoc_options << '--main' << 'README' << '--title' << 'SNMP Library for Ruby' s.description = "A Ruby implementation of SNMP (the Simple Network Management Protocol)." s.author = 'Dave Halliday' s.email = 'snmp@halliday.ca' s.rubyforge_project = 'snmplib' s.homepage = 'http://snmplib.rubyforge.org' end Rake::GemPackageTask.new(spec) do |package| package.need_zip = true package.need_tar = true end # rdoc, clobber_rdoc, rerdoc targets Rake::RDocTask.new do |doc| doc.rdoc_dir = "doc" doc.main = "README" doc.rdoc_files.include('README', 'lib/**/*.rb') doc.title = "SNMP Library for Ruby" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snmp-0.5.0 | Rakefile |