-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from sensu-plugins/fix/CVE-2017-8418
[CVE-2017-8418] - updating rubocop dependency.
- Loading branch information
Showing
10 changed files
with
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ before_install: | |
install: | ||
- bundle install | ||
rvm: | ||
- 2.0 | ||
- 2.1 | ||
- 2.2 | ||
- 2.3.0 | ||
|
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ require 'date' | |
require_relative 'lib/sensu-plugins-elasticsearch' | ||
|
||
# pvt_key = '~/.ssh/gem-private_key.pem' | ||
Gem::Specification.new do |s| | ||
Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength | ||
s.authors = ['Sensu Plugins and contributors'] | ||
# s.cert_chain = ['certs/sensu-plugins.pem'] | ||
s.date = Date.today.to_s | ||
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s| | |
service health and metrics for cluster, node, 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.files = Dir.glob('{bin,lib}/**/*') + %w[LICENSE README.md CHANGELOG.md] | ||
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-elasticsearch' | ||
s.license = 'MIT' | ||
s.metadata = { 'maintainer' => 'sensu-plugin', | ||
|
@@ -26,7 +26,7 @@ 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.0.0' | ||
s.required_ruby_version = '>= 2.1.0' | ||
# s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/ | ||
s.summary = 'Sensu plugins for elasticsearch' | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
|
@@ -42,11 +42,14 @@ Gem::Specification.new do |s| | |
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4' | ||
s.add_development_dependency 'github-markup', '~> 1.3' | ||
s.add_development_dependency 'kitchen-docker', '~> 2.6' | ||
# locked to keep ruby 2.1 support, this is pulled in by test-kitchen | ||
s.add_development_dependency 'mixlib-shellout', ['< 2.3.0', '~> 2.2'] | ||
s.add_development_dependency 'pry', '~> 0.10' | ||
s.add_development_dependency 'rake', '~> 10.0' | ||
s.add_development_dependency 'redcarpet', '~> 3.2' | ||
s.add_development_dependency 'rspec', '~> 3.1' | ||
s.add_development_dependency 'rubocop', '~> 0.40.0' | ||
s.add_development_dependency 'rubocop', '~> 0.51.0' | ||
# 0.17 requires ruby 2.3+ | ||
s.add_development_dependency 'test-kitchen', '~> 1.16.0' | ||
s.add_development_dependency 'yard', '~> 0.8' | ||
end |