-
Notifications
You must be signed in to change notification settings - Fork 43
/
sensu-plugins-postgres.gemspec
58 lines (50 loc) · 3.01 KB
/
sensu-plugins-postgres.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
55
56
57
58
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'
require_relative 'lib/sensu-plugins-postgres'
Gem::Specification.new do |s|
s.authors = ['Sensu-Plugins and contributors']
s.date = Date.today.to_s
s.description = 'This plugin provides native PostgreSQL
instrumentation for monitoring and metrics
collection, including: service health, database
connectivity, database locks, replication status,
database size, `pg_stat_bgwriter` metrics, and
more.'
s.email = '<[email protected]>'
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-postgres'
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-postgres'
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.4.0'
s.summary = 'Sensu plugins for postgres'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsPostgres::Version::VER_STRING
s.add_runtime_dependency 'sensu-plugin', '~> 4.0'
s.add_runtime_dependency 'dentaku', '3.4.2'
s.add_runtime_dependency 'pg', '1.2.3'
s.add_development_dependency 'bundler', '~> 2.1'
s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
s.add_development_dependency 'github-markup', '~> 4.0'
s.add_development_dependency 'kitchen-docker', '~> 2.6'
s.add_development_dependency 'kitchen-localhost', '~> 0.3'
s.add_development_dependency 'mixlib-shellout', '~> 2.4'
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.1'
s.add_development_dependency 'rubocop', '~> 0.79.0'
s.add_development_dependency 'serverspec', '~> 2.41.5'
s.add_development_dependency 'test-kitchen', '~> 1.25.0'
s.add_development_dependency 'yard', '~> 0.9.11'
end