-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CVE-2017-8418] - updating rubocop dependency.
Misc: - appeasing the cops Signed-off-by: Ben Abrams <[email protected]>
- Loading branch information
1 parent
2a0cc28
commit d7f53f6
Showing
12 changed files
with
97 additions
and
74 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,4 +1,6 @@ | ||
#! /usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
# | ||
# check-raid | ||
# | ||
|
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-raid-checks/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 SensuPluginsRaidChecks | ||
module Version | ||
MAJOR = 2 | ||
|
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,10 +1,12 @@ | ||
# 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-raid-checks' | ||
|
||
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 | ||
|
@@ -13,7 +15,7 @@ Gem::Specification.new do |s| | |
controller/array health' | ||
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-raid-checks' | ||
s.license = 'MIT' | ||
s.metadata = { 'maintainer' => 'sensu-plugin', | ||
|
@@ -41,6 +43,6 @@ Gem::Specification.new do |s| | |
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' | ||
s.add_development_dependency 'yard', '~> 0.8' | ||
end |
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,2 +1,4 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'codeclimate-test-reporter' | ||
CodeClimate::TestReporter.start |