nsca-client/nsca-client.gemspec

23 lines
948 B
Ruby
Raw Normal View History

2012-12-07 18:02:45 +01:00
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "nsca/client/version"
Gem::Specification.new do |gem|
gem.authors = `git log --raw | grep Author: | awk -F ': | <|>' '{ print $2 }' | sort | uniq`.split("\n")
gem.email = `git log --raw | grep Author: | awk -F ': | <|>' '{ print $3 }' | sort | uniq`.split("\n")
gem.description = %q{Send passive notifications to Nagios Service Check Acceptor (NSCA).}
gem.summary = %q{NSCA Client}
2012-12-07 19:35:04 +01:00
gem.homepage = "https://github.com/felipecvo/nsca-client"
2012-12-07 18:02:45 +01:00
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^spec/})
gem.name = "nsca-client"
gem.require_paths = ["lib"]
gem.version = NSCA::Client::VERSION
gem.add_dependency "send_nsca"
gem.add_development_dependency "rspec"
end