Rakefile
changeset 8 4f397a05dcdf
parent 0 d99e1dffbc72
equal deleted inserted replaced
7:919f139d2931 8:4f397a05dcdf
    26 require 'rubygems'
    26 require 'rubygems'
    27 require 'rubygems/package_task'
    27 require 'rubygems/package_task'
    28 spec = Gem::Specification.new do |s|
    28 spec = Gem::Specification.new do |s|
    29 	s.email        = 'mahlon@martini.nu'
    29 	s.email        = 'mahlon@martini.nu'
    30 	s.homepage     = 'http://bitbucket.org/mahlon/Arborist-fping'
    30 	s.homepage     = 'http://bitbucket.org/mahlon/Arborist-fping'
    31 	s.authors      = [ 'Mahlon E. Smith <mahlon@martini.nu>', 'Michael Granger <ged@faeriemud.org>' ]
    31 	s.authors      = [ 'Mahlon E. Smith', 'Michael Granger' ]
       
    32 	s.email        = [ 'mahlon@martini.nu', 'ged@faeriemud.org' ]
    32 	s.platform     = Gem::Platform::RUBY
    33 	s.platform     = Gem::Platform::RUBY
    33 	s.summary      = "Efficient ping strobing for Arborist"
    34 	s.summary      = "Efficient ping strobing for Arborist"
    34 	s.name         = 'arborist-' + PROJECT
    35 	s.name         = 'arborist-' + PROJECT
    35 	s.version      = $version
    36 	s.version      = $version
    36 	s.license      = 'BSD-3-Clause'
    37 	s.license      = 'BSD-3-Clause'
    42 	s.description  = <<-EOF
    43 	s.description  = <<-EOF
    43 	This library adds fping output parsing support to Arborist monitors.
    44 	This library adds fping output parsing support to Arborist monitors.
    44 	EOF
    45 	EOF
    45 	s.required_ruby_version = '>= 2'
    46 	s.required_ruby_version = '>= 2'
    46 
    47 
    47 	s.add_dependency 'arborist', "~> 1.0"
    48 	s.add_dependency 'arborist', "~> 0.1"
    48 end
    49 end
    49 
    50 
    50 Gem::PackageTask.new( spec ) do |pkg|
    51 Gem::PackageTask.new( spec ) do |pkg|
    51 	pkg.need_zip = true
    52 	pkg.need_zip = true
    52 	pkg.need_tar = true
    53 	pkg.need_tar = true