-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdeadman_check.gemspec
43 lines (37 loc) · 1.71 KB
/
deadman_check.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'deadman_check/version'
Gem::Specification.new do |spec|
spec.name = "deadman_check"
spec.version = DeadmanCheck::VERSION
spec.authors = ["zane"]
spec.email = ["[email protected]"]
spec.summary = %q{Monitor a Consul key that contains an EPOCH time entry.
Send email if EPOCH age hits given threshold}
spec.description = %q{A script to check a given Consul key EPOCH for
freshness. Good for monitoring cron jobs or batch jobs. Have the last step
of the job post the EPOCH time to target Consul key. This script will monitor
it for a given freshness value (difference in time now to posted EPOCH)}
spec.homepage = "https://github.com/sepulworld/deadman-check"
spec.license = "MIT"
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "https://rubygems.org"
spec.metadata['optional_gems'] = "keyring"
end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "bin"
spec.executables = "deadman-check"
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 2.1"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "webmock", "~> 3.0"
spec.add_dependency 'commander', '~> 4.4', '>= 4.4.3'
spec.add_dependency 'diplomat', '~> 2.2.5', '>= 2.0.0'
spec.add_dependency 'slack-ruby-client', '~> 0.8.0'
spec.add_dependency 'daemons', '~> 1.2.4', '>=1.2.4'
spec.add_dependency 'aws-sdk-sns', '~> 1'
end