Permalink
Browse files

fixed META tests and pre-requisites

  • Loading branch information...
1 parent f0c0e03 commit b0e3e606a1e6f80ad85c4460a3477a69654e0a33 @barbie barbie committed Apr 22, 2012
View
@@ -1,5 +1,9 @@
Revision history for CPAN-Testers-WWW-Statistics
+0.99 22/04/2012
+ - META tests no longer require specific versions.
+ - fixed pre-requisite lists.
+
0.98 22/04/2012
- SEE ALSO package name fixes.
- reworded index and failure pages.
View
@@ -1,6 +1,6 @@
{
"name": "CPAN-Testers-WWW-Statistics",
- "version": "0.98",
+ "version": "0.99",
"abstract": "Scripts to create the CPAN Testers Statistics website",
"author": [
"Barbie (BARBIE) <barbie@cpan.org>"
@@ -28,6 +28,7 @@
"Class::Accessor::Fast": "0",
"Config::IniFiles": "0",
"CPAN::Testers::Common::DBUtils": "0.03",
+ "Data::Dumper": "0",
"DBI": "0",
"DBD::mysql": "0",
"DBD::SQLite": "1.07",
@@ -53,14 +54,15 @@
"requires": {
"Archive::Extract": "0",
"Archive::Zip": "0",
+ "Cwd": "0",
"File::Spec": "0",
"IO::File": "0",
"Test::Differences": "0",
"Test::More": "0.70"
},
"recommends": {
- "Test::CPAN::Meta": "0.13",
- "Test::CPAN::Meta::JSON": "0.10",
+ "Test::CPAN::Meta": "0",
+ "Test::CPAN::Meta::JSON": "0",
"Test::MockObject": "0",
"Test::Pod": "1.00",
"Test::Pod::Coverage": "0.08"
@@ -71,15 +73,15 @@
"provides": {
"CPAN::Testers::WWW::Statistics": {
"file": "lib/CPAN/Testers/WWW/Statistics.pm",
- "version": "0.98"
+ "version": "0.99"
},
"CPAN::Testers::WWW::Statistics::Page": {
"file": "lib/CPAN/Testers/WWW/Statistics/Page.pm",
- "version": "0.98"
+ "version": "0.99"
},
"CPAN::Testers::WWW::Statistics::Graphs": {
"file": "lib/CPAN/Testers/WWW/Statistics/Graphs.pm",
- "version": "0.98"
+ "version": "0.99"
}
},
"no_index": {
View
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: CPAN::Testers::WWW::Statistics
-version: 0.98
+version: 0.99
abstract: Scripts to create the CPAN Testers Statistics website
author:
- Barbie <barbie@cpan.org>
@@ -15,6 +15,7 @@ requires:
Class::Accessor::Fast: 0
Config::IniFiles: 0
CPAN::Testers::Common::DBUtils: 0.03
+ Data::Dumper: 0
DBI: 0
DBD::mysql: 0
DBD::SQLite: 0
@@ -35,15 +36,16 @@ requires:
Template: 0
Time::Piece: 0
recommends:
- Test::CPAN::Meta: 0.13
- Test::CPAN::Meta::JSON: 0.10
+ Test::CPAN::Meta: 0
+ Test::CPAN::Meta::JSON: 0
Test::More: 0.70
Test::MockObject: 0
Test::Pod: 1.00
Test::Pod::Coverage: 0.08
build_requires:
Archive::Extract: 0
Archive::Zip: 0
+ Cwd: 0
File::Spec: 0
IO::File: 0
Test::Differences: 0
@@ -52,15 +54,22 @@ build_requires:
provides:
CPAN::Testers::WWW::Statistics:
file: lib/CPAN/Testers/WWW/Statistics.pm
- version: 0.98
+ version: 0.99
CPAN::Testers::WWW::Statistics::Graphs:
file: lib/CPAN/Testers/WWW/Statistics/Graphs.pm
- version: 0.98
+ version: 0.99
CPAN::Testers::WWW::Statistics::Pages:
file: lib/CPAN/Testers/WWW/Statistics/Pages.pm
- version: 0.98
+ version: 0.99
+
+no_index:
+ directory:
+ - t
+ - examples
resources:
+ license: http://dev.perl.org/licenses/
+ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-WWW-Statistics
repository: http://github.com/barbie/cpan-testers-www-statistics
meta-spec:
View
@@ -17,6 +17,7 @@ WriteMakefile(
# prereqs
'Class::Accessor::Fast' => 0,
'Config::IniFiles' => 0,
+ 'Data::Dumper' => 0, # for debugging purposes
'GD::Graph::lines' => 0,
'File::Basename' => 0,
'File::Copy' => 0,
@@ -47,12 +48,13 @@ WriteMakefile(
'DBD::SQLite' => 0,
# for testing
- 'Archive::Zip' => 0, # for testing
- 'Archive::Extract' => 0, # for testing
- 'File::Spec' => 0, # for testing
+ 'Archive::Zip' => 0, # for testing
+ 'Archive::Extract' => 0, # for testing
+ 'Cwd' => 0, # for testing
+ 'File::Spec' => 0, # for testing
'IO::File' => 0,
- 'Test::Differences' => 0, # for testing
- 'Test::More' => 0.70
+ 'Test::Differences' => 0, # for testing
+ 'Test::More' => 0.70 # for testing
},
);
@@ -5,7 +5,7 @@ use warnings;
use strict;
use vars qw($VERSION);
-$VERSION = '0.98';
+$VERSION = '0.99';
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@ use warnings;
use strict;
use vars qw($VERSION);
-$VERSION = '0.98';
+$VERSION = '0.99';
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@ use warnings;
use strict;
use vars qw($VERSION);
-$VERSION = '0.98';
+$VERSION = '0.99';
#----------------------------------------------------------------------------
@@ -360,7 +360,6 @@ sub build_data {
$self->{xlast} = { posters => [], entries => [], reports => [] },
}
-#use Data::Dumper;
#$self->{parent}->_log("build:1.".Dumper($self->{build}));
# reports builder performance stats
@@ -466,7 +465,6 @@ $self->{parent}->_log("checkpoint: count=$self->{count}{$type}, lastid=$lastid")
$self->{xlast}{$type} = \@row;
}
}
-#use Data::Dumper;
#$self->{parent}->_log("build:3.".Dumper($self->{build}));
#$self->{parent}->_log("build:4.".Dumper($testers));
@@ -1779,7 +1777,6 @@ sub _writepage {
$vars->{$_} = $self->{dates}{$_} for(keys %{ $self->{dates} });
# if($page =~ /^(p|os)matrix/) {
-# use Data::Dumper;
# print STDERR "$page:" . Dumper($vars);
# }
View
@@ -4,8 +4,8 @@ use Test::More;
plan skip_all => "Author tests not required for installation"
unless ( $ENV{AUTOMATED_TESTING} );
-eval "use Test::CPAN::Meta 0.13";
-plan skip_all => "Test::CPAN::Meta 0.13 required for testing META.yml" if $@;
+eval "use Test::CPAN::Meta";
+plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
plan no_plan;
View
@@ -4,8 +4,8 @@ use Test::More;
plan skip_all => "Author tests not required for installation"
unless ( $ENV{AUTOMATED_TESTING} );
-eval "use Test::JSON::Meta 0.08";
-plan skip_all => "Test::JSON::Meta 0.08 required for testing META.json files" if $@;
+eval "use Test::CPAN::Meta::JSON";
+plan skip_all => "Test::CPAN::Meta::JSON required for testing META.json files" if $@;
plan no_plan;

0 comments on commit b0e3e60

Please sign in to comment.