-
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.
- Loading branch information
Matt Jones
committed
Jun 4, 2015
1 parent
e107f03
commit fecf671
Showing
3 changed files
with
9 additions
and
33 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 |
---|---|---|
@@ -1,14 +1 @@ | ||
require 'sensu-plugins-raid-checks/version' | ||
|
||
# Load the defaults | ||
|
||
# | ||
# Default class | ||
# | ||
module SensuPluginsRaidChecks | ||
class << self | ||
end | ||
|
||
class << self | ||
end | ||
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,28 +1,9 @@ | ||
require 'json' | ||
|
||
# encoding: utf-8 | ||
module SensuPluginsRaidChecks | ||
# This defines the version of the gem | ||
module Version | ||
MAJOR = 0 | ||
MINOR = 0 | ||
PATCH = 1 | ||
PATCH = 2 | ||
|
||
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.') | ||
|
||
NAME = 'sensu-plugins-raid-checks' | ||
BANNER = "#{NAME} v%s" | ||
|
||
module_function | ||
|
||
def version | ||
format(BANNER, VER_STRING) | ||
end | ||
|
||
def json_version | ||
{ | ||
'version' => VER_STRING | ||
}.to_json | ||
end | ||
end | ||
end |