-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressed CVEs: - CVE-2017-8418 - CVE-2017-17042 Breaking Changes: - use `sensu-plugin` 2.x - removed support for ruby < 2.3 Misc Changes: - appeased the cops Signed-off-by: Ben Abrams <[email protected]>
- Loading branch information
1 parent
bdfe039
commit 69c55e4
Showing
7 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,13 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |
require 'date' | ||
require_relative 'lib/sensu-plugins-kubernetes' | ||
|
||
Gem::Specification.new do |s| | ||
Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength | ||
s.authors = ['Sensu-Plugins and contributors'] | ||
s.date = Date.today.to_s | ||
s.description = 'Provides monitoring for Kubernetes via Sensu' | ||
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.files = Dir.glob('{bin,lib}/**/*') + %w[LICENSE README.md CHANGELOG.md] | ||
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-kubernetes' | ||
s.license = 'MIT' | ||
s.metadata = { 'maintainer' => 'sensu-plugin', | ||
|
@@ -22,22 +22,23 @@ Gem::Specification.new do |s| | |
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.1.0' | ||
s.required_ruby_version = '>= 2.3.0' | ||
s.summary = 'Sensu plugins for kubernetes' | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.version = SensuPluginsKubernetes::Version::VER_STRING | ||
|
||
s.add_runtime_dependency 'sensu-plugin', '~> 1.2' | ||
s.add_runtime_dependency 'kubeclient', '~> 2.3' | ||
s.add_runtime_dependency 'sensu-plugin', '~> 2.7' | ||
|
||
s.add_runtime_dependency 'activesupport', '< 5.0.0' | ||
s.add_runtime_dependency 'kubeclient', '~> 2.3' | ||
|
||
s.add_development_dependency 'bundler', '~> 1.7' | ||
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4' | ||
s.add_development_dependency 'github-markup', '~> 1.3' | ||
s.add_development_dependency 'pry', '~> 0.10' | ||
s.add_development_dependency 'rake', '~> 10.5' | ||
s.add_development_dependency 'redcarpet', '~> 3.2' | ||
s.add_development_dependency 'rubocop', '~> 0.40.0' | ||
s.add_development_dependency 'rspec', '~> 3.4' | ||
s.add_development_dependency 'rubocop', '~> 0.51.0' | ||
s.add_development_dependency 'yard', '~> 0.8' | ||
end |
Empty file.