forked from sensu-plugins/sensu-plugins-process-checks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sensu-plugins-process-checks.gemspec
46 lines (41 loc) · 1.99 KB
/
sensu-plugins-process-checks.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
40
41
42
43
44
45
46
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'
if RUBY_VERSION < '2.0.0'
require 'sensu-plugins-process-checks'
else
require_relative 'lib/sensu-plugins-process-checks'
end
pvt_key = '~/.ssh/gem-private_key.pem'
Gem::Specification.new do |s|
s.name = 'sensu-plugins-process-checks'
s.version = SensuPluginsProcessChecks::VERSION
s.summary = 'Sensu process checks'
s.description = 'Sensu process checks'
s.authors = ["Yieldbot, Inc. and contributors"]
s.email = '<[email protected]>'
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-process-checks'
s.license = 'MIT'
s.date = Date.today.to_s
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md)
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']
s.cert_chain = ['certs/sensu-plugins.pem']
s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 1.9.3'
s.add_runtime_dependency 'english', '0.6.3'
s.add_runtime_dependency 'sensu-plugin', '1.1.0'
s.add_runtime_dependency 'json', '1.8.2'
s.add_runtime_dependency 'sys-proctable', '0.9.6'
s.add_development_dependency 'codeclimate-test-reporter'
s.add_development_dependency 'rubocop', '~> 0.17.0'
s.add_development_dependency 'rspec', '~> 3.1'
s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'github-markup'
s.add_development_dependency 'redcarpet'
s.add_development_dependency 'yard'
s.add_development_dependency 'pry'
end