From: Vincent Pit Date: Sun, 29 Jun 2008 16:41:34 +0000 (+0200) Subject: Importing Linux-SysInfo-0.10.tar.gz X-Git-Tag: v0.10^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=16cf6511b8bf77f46158bde5a232dbc1163ba9ec;p=perl%2Fmodules%2FLinux-SysInfo.git Importing Linux-SysInfo-0.10.tar.gz --- diff --git a/Changes b/Changes index 64567c9..7ecc441 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for Linux-SysInfo +0.10 2008-03-10 15:40 UTC + + Doc : The usual set of POD typos. + + Fix : Ensure that we're on linux with $^O, as some smokers don't seem + to apply anymore the rule of "if it's in the Linux:: namespace, + then errors should be reported as FAILures only if we actually + are on linux". + + Tst : Tiny refinements. + 0.09 2008-03-09 13:00 UTC + Add : ':funcs' and ':consts' export tags. + Doc : Copyright update. diff --git a/META.yml b/META.yml index b043869..35759fe 100644 --- a/META.yml +++ b/META.yml @@ -1,11 +1,11 @@ --- #YAML:1.0 name: Linux-SysInfo -version: 0.09 +version: 0.10 abstract: Perl interface to the sysinfo(2) Linux system call. license: perl author: - Vincent Pit -generated_by: ExtUtils::MakeMaker version 6.42 +generated_by: ExtUtils::MakeMaker version 6.44 distribution_type: module requires: Exporter: 0 diff --git a/Makefile.PL b/Makefile.PL index a300844..69df46f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,6 +2,8 @@ use strict; use warnings; use ExtUtils::MakeMaker; +die 'OS unsupported' unless $^O && $^O eq 'linux'; + my $BUILD_REQUIRES = { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, diff --git a/README b/README index d7b75e1..1ecb696 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call. VERSION - Version 0.09 + Version 0.10 SYNOPSIS use Linux::SysInfo qw/sysinfo/; @@ -49,7 +49,7 @@ FUNCTIONS Total swap space size. "freeswap" - Swap space stil available. + Swap space still available. "procs" Number of current processes. diff --git a/lib/Linux/SysInfo.pm b/lib/Linux/SysInfo.pm index fcd299e..94a5aff 100644 --- a/lib/Linux/SysInfo.pm +++ b/lib/Linux/SysInfo.pm @@ -9,13 +9,13 @@ Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call. =head1 VERSION -Version 0.09 +Version 0.10 =cut our $VERSION; BEGIN { - $VERSION = '0.09'; + $VERSION = '0.10'; } =head1 SYNOPSIS @@ -80,7 +80,7 @@ Total swap space size. =item C -Swap space stil available. +Swap space still available. =item C diff --git a/t/00-load.t b/t/00-load.t index 3ba29b7..6c48691 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -1,5 +1,8 @@ #!perl -T +use strict; +use warnings; + use Test::More tests => 1; BEGIN { diff --git a/t/92-pod-coverage.t b/t/92-pod-coverage.t index fc40a57..b19fa54 100644 --- a/t/92-pod-coverage.t +++ b/t/92-pod-coverage.t @@ -5,14 +5,12 @@ use Test::More; # Ensure a recent version of Test::Pod::Coverage my $min_tpc = 1.08; eval "use Test::Pod::Coverage $min_tpc"; -plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" - if $@; +plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" if $@; # Test::Pod::Coverage doesn't require a minimum Pod::Coverage version, # but older versions don't recognize some common documentation styles my $min_pc = 0.18; eval "use Pod::Coverage $min_pc"; -plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" - if $@; +plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" if $@; all_pod_coverage_ok();