diff options
-rw-r--r-- | Changes | 5 | ||||
-rw-r--r-- | META.yml | 2 | ||||
-rw-r--r-- | lib/Nagios/Plugin.pm | 5 | ||||
-rw-r--r-- | lib/Nagios/Plugin/Functions.pm | 2 |
4 files changed, 10 insertions, 4 deletions
@@ -1,6 +1,9 @@ | |||
1 | Revision history for Perl module Nagios::Plugin. | 1 | Revision history for Perl module Nagios::Plugin. |
2 | 2 | ||
3 | 0.16 ?? | 3 | 0.17 23rd March 2007 |
4 | - bump version number again due to cpan indexing stupidity (Gavin) | ||
5 | |||
6 | 0.16 23rd March 2007 | ||
4 | - added support for multi-entry help output (e.g. two separate help entries for --warning) (Gavin) | 7 | - added support for multi-entry help output (e.g. two separate help entries for --warning) (Gavin) |
5 | - added automatic spec-to-help-text support to N::P::Getopt (Gavin) | 8 | - added automatic spec-to-help-text support to N::P::Getopt (Gavin) |
6 | - added initial --extra-opts support to N::P::Getopt (Gavin) | 9 | - added initial --extra-opts support to N::P::Getopt (Gavin) |
@@ -1,7 +1,7 @@ | |||
1 | # http://module-build.sourceforge.net/META-spec.html | 1 | # http://module-build.sourceforge.net/META-spec.html |
2 | #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# | 2 | #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# |
3 | name: Nagios-Plugin | 3 | name: Nagios-Plugin |
4 | version: 0.16 | 4 | version: 0.17 |
5 | version_from: lib/Nagios/Plugin/Functions.pm | 5 | version_from: lib/Nagios/Plugin/Functions.pm |
6 | installdirs: site | 6 | installdirs: site |
7 | requires: | 7 | requires: |
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); | |||
22 | our @EXPORT = (@STATUS_CODES); | 22 | our @EXPORT = (@STATUS_CODES); |
23 | our @EXPORT_OK = qw(%ERRORS); | 23 | our @EXPORT_OK = qw(%ERRORS); |
24 | 24 | ||
25 | our $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 | ||
27 | our $VERSION = 0.17; | ||
28 | # our $VERSION = $Nagios::Plugin::Functions::VERSION; | ||
26 | 29 | ||
27 | sub new { | 30 | sub 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); | |||
12 | use Math::Calc::Units; | 12 | use Math::Calc::Units; |
13 | 13 | ||
14 | # Remember to update Nagios::Plugins as well | 14 | # Remember to update Nagios::Plugins as well |
15 | our $VERSION = "0.16"; | 15 | our $VERSION = 0.17; |
16 | 16 | ||
17 | our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); | 17 | our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); |
18 | 18 | ||