Skip to content

Commit

Permalink
added passreports to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed Apr 17, 2015
1 parent 366f6d1 commit 52fec1e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,6 +1,7 @@
Revision history for CPAN-Testers-Data-Generator
================================================

1.18 2015-04-17
- added insertion of PASS report data into passreports table.
- added build-pass-reports.pl script to examples, for emergencies :)
- maintain history of Bucket changes.
Expand Down
4 changes: 2 additions & 2 deletions META.json
@@ -1,6 +1,6 @@
{
"name": "CPAN-Testers-Data-Generator",
"version": "1.17",
"version": "1.18",
"abstract": "CPAN Testers cpanstats Database Generator",
"author": [
"Barbie (BARBIE) <barbie@cpan.org>"
Expand Down Expand Up @@ -68,7 +68,7 @@
"provides": {
"CPAN::Testers::Data::Generator": {
"file": "lib/CPAN/Testers/Data/Generator.pm",
"version": "1.17"
"version": "1.18"
}
},
"no_index": {
Expand Down
4 changes: 2 additions & 2 deletions META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: CPAN-Testers-Data-Generator
version: 1.17
version: 1.18
abstract: CPAN Testers cpanstats Database Generator
author:
- Barbie <barbie@cpan.org>
Expand Down Expand Up @@ -48,7 +48,7 @@ build_requires:
provides:
CPAN::Testers::Data::Generator:
file: lib/CPAN/Testers/Data/Generator.pm
version: 1.17
version: 1.18

no_index:
directory:
Expand Down
2 changes: 1 addition & 1 deletion lib/CPAN/Testers/Data/Generator.pm
Expand Up @@ -4,7 +4,7 @@ use warnings;
use strict;

use vars qw($VERSION);
$VERSION = '1.17';
$VERSION = '1.18';

#----------------------------------------------------------------------------
# Library Modules
Expand Down
15 changes: 14 additions & 1 deletion t/05create-db.t
Expand Up @@ -246,7 +246,20 @@ sub create_mysql_databases {
"INSERT INTO perl_version VALUES ('5.10.0','5.10.0',0,0)",
"INSERT INTO perl_version VALUES ('5.11.0','5.11.0',0,1)",
"INSERT INTO perl_version VALUES ('v5.10.0','5.10.0',0,0)",
"INSERT INTO perl_version VALUES ('5.12.0 RC1','5.12.0',1,0)"
"INSERT INTO perl_version VALUES ('5.12.0 RC1','5.12.0',1,0)",

'DROP TABLE IF EXISTS passreports',
'CREATE TABLE passreports (
platform varchar(255),
osname varchar(255),
perl varchar(255),
postdate varchar(8),
dist varchar(255),
KEY PLATFORMIX (platform),
KEY OSNAMEIX (osname),
KEY PERLIX (perl),
KEY DATEIX (postdate)
)',
);

my @create_meta_mysql = (
Expand Down

0 comments on commit 52fec1e

Please sign in to comment.