summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGavin Carr <gonzai@users.sourceforge.net>2007-03-23 05:28:33 +0000
committerGavin Carr <gonzai@users.sourceforge.net>2007-03-23 05:28:33 +0000
commit4421aa3c2a695335cad006f32ece6c9c5da11165 (patch)
tree1e3586aa05d6799545a003612c83eb39990e6707 /lib
parent99e7dd69f33a6cd9bfafa6b3cdd7ad4395973876 (diff)
downloadmonitoring-plugin-perl-4421aa3c2a695335cad006f32ece6c9c5da11165.tar.gz
Bump to version 0.17 to workaround cpan indexing stupidity.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1648 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib')
-rw-r--r--lib/Nagios/Plugin.pm5
-rw-r--r--lib/Nagios/Plugin/Functions.pm2
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm
index b063e4c..459e6bb 100644
--- a/lib/Nagios/Plugin.pm
+++ b/lib/Nagios/Plugin.pm
@@ -22,7 +22,10 @@ our @ISA = qw(Exporter);
22our @EXPORT = (@STATUS_CODES); 22our @EXPORT = (@STATUS_CODES);
23our @EXPORT_OK = qw(%ERRORS); 23our @EXPORT_OK = qw(%ERRORS);
24 24
25our $VERSION = $Nagios::Plugin::Functions::VERSION; 25# CPAN stupidly won't index this module without a literal $VERSION here,
26# so we're forced to duplicate it explicitly
27our $VERSION = 0.17;
28# our $VERSION = $Nagios::Plugin::Functions::VERSION;
26 29
27sub new { 30sub new {
28 my $class = shift; 31 my $class = shift;
diff --git a/lib/Nagios/Plugin/Functions.pm b/lib/Nagios/Plugin/Functions.pm
index eb44976..f750968 100644
--- a/lib/Nagios/Plugin/Functions.pm
+++ b/lib/Nagios/Plugin/Functions.pm
@@ -12,7 +12,7 @@ use Params::Validate qw(validate :types);
12use Math::Calc::Units; 12use Math::Calc::Units;
13 13
14# Remember to update Nagios::Plugins as well 14# Remember to update Nagios::Plugins as well
15our $VERSION = "0.16"; 15our $VERSION = 0.17;
16 16
17our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); 17our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT);
18 18