-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsensu-plugins-filesize.gemspec
38 lines (30 loc) · 1.6 KB
/
sensu-plugins-filesize.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
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "sensu/plugins/filesize/version"
Gem::Specification.new do |spec|
spec.name = "sensu-plugins-filesize"
spec.version = Sensu::Plugins::Filesize::VERSION
spec.authors = ["Sensu-Plugins and contributors"]
spec.email = ["[email protected]"]
spec.summary = "Sensu plugin to search files based on size"
spec.description = "Sensu plugin to search files based on size"
spec.homepage = "https://github.com/thomis/sensu-plugins-filesize"
spec.license = "MIT"
spec.executables = Dir.glob("bin/**/*.rb").map { |file| File.basename(file) }
spec.files = Dir.glob("{bin,lib}/**/*") + %w[LICENSE README.md CHANGELOG.md]
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.6"
spec.metadata = {"maintainer" => "thomis",
"development_status" => "active",
"production_status" => "unstable - testing recommended",
"release_draft" => "false",
"release_prerelease" => "false"}
spec.add_runtime_dependency "sensu-plugin", "~> 4.0"
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.12"
spec.add_development_dependency "standard", "~> 1.23"
spec.add_development_dependency "simplecov", "~> 0.21"
end