-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removed ruby `< 2.3` support - updated yard dependency to `~> 0.9.11` [per](https://nvd.nist.gov/vuln/detail/CVE-2017-17042) - updated rubocop dependency to `~> 0.51.0`[per](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418) - bumped dependency of `sensu-plugin` to `~> 2.5` you can read about it [here](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v145---2017-03-07) - appeased the cops - removed gemnasium badge - added slack badge Signed-off-by: Ben Abrams <[email protected]>
- Loading branch information
1 parent
d93ff32
commit 997e2f4
Showing
12 changed files
with
56 additions
and
31 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/gem_tasks' | ||
require 'github/markup' | ||
require 'redcarpet' | ||
|
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'sensu-plugins-lvm/version' |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module SensuPluginsLvm | ||
module Version | ||
MAJOR = 1 | ||
|
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 |
---|---|---|
@@ -1,45 +1,47 @@ | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
|
||
require 'date' | ||
require_relative 'lib/sensu-plugins-lvm' | ||
|
||
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 = 'Sensu plugins for LVM' | ||
s.email = '<[email protected]>' | ||
s.executables = Dir.glob('bin/**/*').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-lvm' | ||
s.license = 'MIT' | ||
s.metadata = { | ||
'maintainer' => 'sensu-plugin', | ||
'development_status' => 'active', | ||
'production_status' => 'unstable - testing recommended', | ||
'release_draft' => 'false', | ||
'release_prerelease' => 'false' | ||
} | ||
'maintainer' => 'sensu-plugin', | ||
'development_status' => 'active', | ||
'production_status' => 'unstable - testing recommended', | ||
'release_draft' => 'false', | ||
'release_prerelease' => 'false' | ||
} | ||
s.name = 'sensu-plugins-lvm' | ||
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.3.0' | ||
s.summary = 'Sensu plugins for lvm' | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.version = SensuPluginsLvm::Version::VER_STRING | ||
|
||
s.add_runtime_dependency 'sensu-plugin', '~> 1.2' | ||
s.add_runtime_dependency 'chef-ruby-lvm', '~> 0.3.0' | ||
s.add_runtime_dependency 'chef-ruby-lvm-attrib', '~> 0.2.1' | ||
s.add_runtime_dependency 'sensu-plugin', '~> 2.5' | ||
|
||
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.37' | ||
s.add_development_dependency 'rspec', '~> 3.4' | ||
s.add_development_dependency 'yard', '~> 0.8' | ||
s.add_development_dependency 'rubocop', '~> 0.51.0' | ||
s.add_development_dependency 'yard', '~> 0.9.11' | ||
end |