-
Notifications
You must be signed in to change notification settings - Fork 12
/
sensu-plugins-zfs.gemspec
52 lines (45 loc) · 2.06 KB
/
sensu-plugins-zfs.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'
require 'sensu-plugins-zfs/version'
Gem::Specification.new do |spec|
spec.authors = [
'Benjamin Nørgaard',
'Sensu-Plugins and contributors'
]
spec.date = Date.today.to_s
spec.description = 'Sensu plugin for zfs'
spec.email = [
]
spec.executables = Dir.glob('bin/**/*.rb').map { |file| File.basename(file) }
spec.files = Dir.glob('{bin,lib}/**/*') + %w[LICENSE README.md]
spec.homepage = 'https://github.com/sensu-plugins/sensu-plugins-zfs'
spec.license = 'MIT'
spec.metadata = {
'maintianer' => 'sensu-plugin',
'development_status' => 'active',
'production_status' => 'unstable - testing recommended',
'release_draft' => 'false',
'release_prerelease' => 'false'
}
spec.name = 'sensu-plugins-zfs'
spec.platform = Gem::Platform::RUBY
spec.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.3.0'
spec.summary = 'Sensu plugin for zfs'
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.version = SensuPluginsZFS::Version::VER_STRING
spec.add_runtime_dependency 'sensu-plugin', '>= 4.0', '<5.0'
spec.add_development_dependency 'bundler', '~> 2.1'
spec.add_development_dependency 'github-markup', '~> 4.0'
spec.add_development_dependency 'pry', '~> 0.10'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'redcarpet', '~> 3.2'
spec.add_development_dependency 'rspec', '~> 3.4'
spec.add_development_dependency 'rubocop', '~> 0.81.0'
spec.add_development_dependency 'yard', '~> 0.8'
end