-
Notifications
You must be signed in to change notification settings - Fork 143
/
sensu-plugins-aws.gemspec
54 lines (49 loc) · 2.99 KB
/
sensu-plugins-aws.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
47
48
49
50
51
52
53
54
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'
require_relative 'lib/sensu-plugins-aws'
Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength
s.authors = ['Sensu-Plugins and contributors']
s.date = Date.today.to_s
s.description = 'This plugin provides native AWS instrumentation
for monitoring and metrics collection, including:
health and metrics for various AWS services, such
as EC2, RDS, ELB, and more, as well as handlers
for EC2, SES, and SNS.'
s.email = '<sensu-users@googlegroups.com>'
s.executables = Dir.glob('bin/**/*.rb').map { |file| File.basename(file) }
s.files = Dir.glob('{bin,lib}/**/*') + %w[LICENSE README.md CHANGELOG.md]
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-aws'
s.license = 'MIT'
s.metadata = { 'maintainer' => 'sensu-plugin',
'development_status' => 'active',
'production_status' => 'unstable - testing recommended',
'release_draft' => 'false',
'release_prerelease' => 'false' }
s.name = 'sensu-plugins-aws'
s.platform = Gem::Platform::RUBY
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.3.0'
s.summary = 'Sensu plugins for working with an AWS environment'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsAWS::Version::VER_STRING
s.add_runtime_dependency 'sensu-plugin', '~> 4.0'
s.add_runtime_dependency 'aws-sdk', '~> 3.0'
s.add_runtime_dependency 'erubis', '2.7.0'
s.add_runtime_dependency 'fog', '2.1.0'
# 1.44 requires xmlrpc which only supports >= ruby 2.3
# https://github.com/fog/fog-core/issues/206
s.add_runtime_dependency 'fog-core', '1.45.0'
s.add_runtime_dependency 'nokogiri', ['>= 1.10.4', '< 2.0']
s.add_runtime_dependency 'rest-client', '2.1.0'
s.add_runtime_dependency 'right_aws', '3.1.0'
s.add_development_dependency 'bundler', '~> 2.1'
s.add_development_dependency 'github-markup', '~> 4.0'
s.add_development_dependency 'pry', '~> 0.10'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'redcarpet', '~> 3.2'
s.add_development_dependency 'rspec', '~> 3.4'
s.add_development_dependency 'rubocop', '~> 0.51.0'
s.add_development_dependency 'yard', '~> 0.9.11'
end