From: Vincent Pit Date: Sun, 29 Jun 2008 16:41:30 +0000 (+0200) Subject: Importing Linux-SysInfo-0.07.tar.gz X-Git-Tag: v0.07^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=01cae1ae25699e5619d0daa4670f0c8930b433bf;p=perl%2Fmodules%2FLinux-SysInfo.git Importing Linux-SysInfo-0.07.tar.gz --- diff --git a/Changes b/Changes index 72f2a57..7939405 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Linux-SysInfo +0.07 2007-08-28 12:30 UTC + + Chg : s/require (XSLoader)/use $1/. + + Fix : Tests are now strict. + 0.06 2007-08-14 18:40 UTC + Fix : Building for perl-5.6.x and perl-5.9.{3,4}. diff --git a/META.yml b/META.yml index d73e14e..22e761f 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Linux-SysInfo -version: 0.06 +version: 0.07 abstract: Perl interface to the sysinfo(2) Linux system call. license: perl generated_by: ExtUtils::MakeMaker version 6.36 diff --git a/README b/README index a2a3f55..1095de6 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call. VERSION - Version 0.06 + Version 0.07 SYNOPSIS use Linux::SysInfo qw/sysinfo/; diff --git a/lib/Linux/SysInfo.pm b/lib/Linux/SysInfo.pm index e11d26b..98f991d 100644 --- a/lib/Linux/SysInfo.pm +++ b/lib/Linux/SysInfo.pm @@ -9,11 +9,11 @@ Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 SYNOPSIS @@ -38,9 +38,9 @@ our @EXPORT_OK = qw/sysinfo LS_HAS_EXTENDED/; our %EXPORT_TAGS = ( 'all' => [ @EXPORT_OK ] ); -require XSLoader; +use XSLoader; -XSLoader::load('Linux::SysInfo', $VERSION); +XSLoader::load 'Linux::SysInfo', $VERSION; =head1 FUNCTIONS 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/10-standard.t b/t/10-standard.t index 9952ac2..1642ed4 100644 --- a/t/10-standard.t +++ b/t/10-standard.t @@ -1,5 +1,8 @@ #!perl -T +use strict; +use warnings; + use Test::More tests => 12 * 5; use Linux::SysInfo qw/sysinfo/; diff --git a/t/20-extended.t b/t/20-extended.t index 892a596..c8a270e 100644 --- a/t/20-extended.t +++ b/t/20-extended.t @@ -1,5 +1,8 @@ #!perl -T +use strict; +use warnings; + use Test::More; use Linux::SysInfo qw/sysinfo LS_HAS_EXTENDED/; diff --git a/t/boilerplate.t b/t/boilerplate.t index b80a670..10185bb 100644 --- a/t/boilerplate.t +++ b/t/boilerplate.t @@ -2,6 +2,7 @@ use strict; use warnings; + use Test::More tests => 3; sub not_in_file_ok { diff --git a/t/kwalitee.t b/t/kwalitee.t index 1e95c3d..7775e60 100644 --- a/t/kwalitee.t +++ b/t/kwalitee.t @@ -1,5 +1,8 @@ #!perl +use strict; +use warnings; + use Test::More; eval { require Test::Kwalitee; Test::Kwalitee->import() }; diff --git a/t/pod-coverage.t b/t/pod-coverage.t index 703f91d..5cc37aa 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -1,6 +1,10 @@ #!perl -T +use strict; +use warnings; + use Test::More; + eval "use Test::Pod::Coverage 1.04"; plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; all_pod_coverage_ok(); diff --git a/t/pod.t b/t/pod.t index 976d7cd..f1e1d3e 100644 --- a/t/pod.t +++ b/t/pod.t @@ -1,6 +1,10 @@ #!perl -T +use strict; +use warnings; + use Test::More; + eval "use Test::Pod 1.14"; plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; all_pod_files_ok();