Permalink
Browse files

requires and prerequisites

  • Loading branch information...
1 parent 0b0cd1e commit 675a6845f9fafd4c90708571b1f1016e552cc87d @barbie committed Oct 3, 2012
View
@@ -1,6 +1,11 @@
Revision history for Perl library Devel-Platform-Info
=====================================================
+0.11 current
+ - fixed require
+ - added Test::MockObject::Extends prerequisite.
+ - added Colin's PAUSE id.
+
0.10 05/06/2012
- updated BSD derivative list.
- fixed OpenSolaris/Solaris oslabel/osvers elements.
View
@@ -1,11 +1,11 @@
{
"name": "Devel-Platform-Info",
- "version": "0.10",
+ "version": "0.11",
"abstract": "Unified framework for obtaining common platform metadata.",
"author": [
"Barbie (BARBIE) <barbie@cpan.org>",
"Brian McCauley (NOBULL) <nobull67@gmail.com>",
- "Colin Newell http://colinnewell.wordpress.com/",
+ "Colin Newell (NEWELL) <newellc@cpan.org>",
"Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>"
],
@@ -50,6 +50,7 @@
"Test::Builder::Tester": "0"
},
"recommends": {
+ "Test::MockObject::Extends": "0",
"Test::Pod": "1.00",
"Test::Pod::Coverage": "0.08",
"Test::CPAN::Meta": "0",
@@ -61,35 +62,35 @@
"provides": {
"Devel::Platform::Info": {
"file": "lib/Devel/Platform/Info.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::BSD": {
"file": "lib/Devel/Platform/Info/BSD.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::Irix": {
"file": "lib/Devel/Platform/Info/Irix.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::Linux": {
"file": "lib/Devel/Platform/Info/Linux.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::Mac": {
"file": "lib/Devel/Platform/Info/Mac.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::SCO": {
"file": "lib/Devel/Platform/Info/SCO.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::Solaris": {
"file": "lib/Devel/Platform/Info/Solaris.pm",
- "version": "0.10"
+ "version": "0.11"
},
"Devel::Platform::Info::Win32": {
"file": "lib/Devel/Platform/Info/Win32.pm",
- "version": "0.10"
+ "version": "0.11"
}
},
"no_index": {
View
@@ -1,56 +1,57 @@
--- #YAML:1.0
name: Devel-Platform-Info
-version: 0.10
+version: 0.11
abstract: Unified framework for obtaining common platform metadata
author:
- Barbie (BARBIE) <barbie@cpan.org>
- Brian McCauley (NOBULL) <nobull67@gmail.com>
- - Colin Newell http://colinnewell.wordpress.com/
+ - Colin Newell (NEWELL) <newellc@cpan.org>
- Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
license: artistic_2
distribution_type: module
installdirs: site
requires:
- perl: 5.006
+ perl: 5.006
recommends:
- Win32: 0
- POSIX: 0
- Test::More: 0.70
- Test::Pod: 1.00
- Test::Pod::Coverage: 0.08
- Test::CPAN::Meta: 0
- Test::CPAN::Meta::JSON: 0
+ Win32: 0
+ POSIX: 0
+ Test::MockObject::Extends: 0
+ Test::More: 0.70
+ Test::Pod: 1.00
+ Test::Pod::Coverage: 0.08
+ Test::CPAN::Meta: 0
+ Test::CPAN::Meta::JSON: 0
build_requires:
- IO::File: 0
- Test::More: 0.70
+ IO::File: 0
+ Test::More: 0.70
provides:
Devel::Platform::Info:
file: lib/Devel/Platform/Info.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::BSD:
file: lib/Devel/Platform/Info/BSD.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::Irix:
file: lib/Devel/Platform/Info/Irix.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::Linux:
file: lib/Devel/Platform/Info/Linux.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::Mac:
file: lib/Devel/Platform/Info/Mac.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::SCO:
file: lib/Devel/Platform/Info/SCO.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::Solaris:
file: lib/Devel/Platform/Info/Solaris.pm
- version: 0.10
+ version: 0.11
Devel::Platform::Info::Win32:
file: lib/Devel/Platform/Info/Win32.pm
- version: 0.10
+ version: 0.11
no_index:
directory:
@@ -4,7 +4,7 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#----------------------------------------------------------------------------
@@ -78,11 +78,11 @@ sub get_info {
my $plugin = $map{ lc $^O } || 'Linux';
my $driver = 'Devel::Platform::Info::' . $plugin;
- my $require = $driver;
+ my $require = "$driver.pm";
$require =~ s!::!/!g;
eval {
- require "$require.pm";
+ require $require;
$self->{driver} = $driver->new();
$data = $self->{driver}->get_info();
};
@@ -175,7 +175,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -4,7 +4,7 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#----------------------------------------------------------------------------
@@ -134,7 +134,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -4,7 +4,7 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#----------------------------------------------------------------------------
@@ -128,7 +128,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -4,7 +4,15 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
+
+=encoding utf8
+
+=head1 NAME
+
+Devel::Platform::Info::Linux - Retrieve Linux platform metadata
+
+=cut
#----------------------------------------------------------------------------
@@ -422,10 +430,6 @@ sub _release_version {
__END__
-=head1 NAME
-
-Devel::Platform::Info::Linux - Retrieve Linux platform metadata
-
=head1 SYNOPSIS
use Devel::Platform::Info::Linux;
@@ -496,7 +500,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -4,7 +4,7 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#-------------------------------------------------------------------------------
@@ -153,7 +153,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -4,7 +4,7 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#----------------------------------------------------------------------------
@@ -137,7 +137,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -4,7 +4,7 @@ use strict;
use warnings;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#----------------------------------------------------------------------------
@@ -138,7 +138,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE
@@ -5,7 +5,7 @@ use warnings;
use POSIX;
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
#----------------------------------------------------------------------------
@@ -209,7 +209,7 @@ RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org>
Brian McCauley (NOBULL) <nobull67@gmail.com>
- Colin Newell http://colinnewell.wordpress.com/
+ Colin Newell (NEWELL) <newellc@cpan.org>
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
=head1 COPYRIGHT & LICENSE

0 comments on commit 675a684

Please sign in to comment.