Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

package file updates - see CHANGES

  • Loading branch information...
commit 56c7f86eed00b336fec3525342ce19244e6829f5 1 parent 0325a29
@barbie authored
View
7 CHANGES
@@ -1,5 +1,12 @@
Revision history for Perl distribution CPAN-Testers-Data-Uploads-Mailer
+0.04 24/06/2012
+ - spelling fixes. (thanks to Florian Schlichting & Gregor Herrmann).
+ - META tests no longer require specific versions.
+ - added minimum perl version (5.006).
+ - reworked Makefile.PL for clarity.
+ - slimmed down sample file.
+
0.03 12/08/2010
- added META.json to the package files.
- fix to headers in mail template.
View
15 META.json
@@ -1,6 +1,6 @@
{
"name": "CPAN-Testers-Data-Uploads-Mailer",
- "version": "0.03",
+ "version": "0.04",
"abstract": "Verify CPAN uploads and mails reports",
"author": ["Barbie <barbie@cpan.org>"],
@@ -21,6 +21,7 @@
"prereqs" : {
"runtime" : {
"requires" : {
+ "perl": "5.006",
"Email::Simple": "0",
"File::Basename": "0",
"File::Path": "0",
@@ -34,14 +35,14 @@
},
"test" : {
"requires": {
- "Test::More": "0.45"
+ "IO::File": "0",
+ "Test::More": "0.70"
},
"recommends": {
- "Test::More": "0.70",
"Test::Pod": "1.00",
"Test::Pod::Coverage": "0.08",
- "Test::CPAN::Meta": "0.13",
- "Test::JSON::Meta": "0.08"
+ "Test::CPAN::Meta": "0",
+ "Test::CPAN::Meta::JSON": "0"
}
}
},
@@ -49,11 +50,11 @@
"provides": {
"CPAN::Testers::Data::Uploads::Mailer": {
"file": "lib/CPAN/Testers/Data/Uploads/Mailer.pm",
- "version": "0.03"
+ "version": "0.04"
}
},
"no_index": {
- "directory": ["t","examples"]
+ "directory": ["t"]
},
"resources": {
View
33 META.yml
@@ -1,29 +1,38 @@
--- #YAML:1.0
name: CPAN-Testers-Data-Uploads-Mailer
-version: 0.03
+version: 0.04
abstract: Verify CPAN uploads and mails reports
author:
- Barbie <barbie@cpan.org>
-license: perl
+license: artistic_2
distribution_type: module
installdirs: site
requires:
- Email::Simple: 0
- File::Basename: 0
- File::Path: 0
- File::Slurp: 0
- Getopt::ArgvFile: 0
- Getopt::Long: 0
- IO::File: 0
- Template: 0
- Time::Piece: 0
+ perl: 5.006
+ Email::Simple: 0
+ File::Basename: 0
+ File::Path: 0
+ File::Slurp: 0
+ Getopt::ArgvFile: 0
+ Getopt::Long: 0
+ IO::File: 0
+ Template: 0
+ Time::Piece: 0
+recommends:
+ 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
provides:
CPAN::Testers::Data::Uploads::Mailer:
file: lib/CPAN/Testers/Data/Uploads/Mailer.pm
- version: 0.03
+ version: 0.04
no_index:
directory:
View
44 Makefile.PL
@@ -1,24 +1,32 @@
-use ExtUtils::MakeMaker;
-WriteMakefile(
- 'NAME' => 'CPAN-Testers-Data-Uploads-Mailer',
- 'VERSION_FROM' => 'lib/CPAN/Testers/Data/Uploads/Mailer.pm',
- 'PREREQ_PM' => {
+#!/usr/bin/perl
- 'Email::Simple' => 0,
- 'File::Basename' => 0,
- 'File::Path' => 0,
- 'File::Slurp' => 0,
- 'Getopt::ArgvFile' => 0,
- 'Getopt::Long' => 0,
- 'IO::File' => 0,
- 'Template' => 0,
- 'Time::Piece' => 0,
+use strict;
+use warnings;
+use 5.006;
- },
+use ExtUtils::MakeMaker;
+WriteMakefile(
+ AUTHOR => 'Barbie <barbie@cpan.org>',
+ NAME => 'CPAN-Testers-Data-Uploads-Mailer',
+ VERSION_FROM => 'lib/CPAN/Testers/Data/Uploads/Mailer.pm',
+ ABSTRACT => 'Verify CPAN uploads and mails reports',
NO_META => 1,
+ PREREQ_PM => {
+
+ # prereqs
+ 'Email::Simple' => 0,
+ 'File::Basename' => 0,
+ 'File::Path' => 0,
+ 'File::Slurp' => 0,
+ 'Getopt::ArgvFile' => 0,
+ 'Getopt::Long' => 0,
+ 'IO::File' => 0,
+ 'Template' => 0,
+ 'Time::Piece' => 0,
+
+ # build/test prereqs
+ 'Test::More' => '0.70',
- ($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT => 'Verify CPAN uploads and mails reports',
- AUTHOR => 'Barbie <barbie@cpan.org>') : ()),
+ }
);
View
117 README
@@ -1,62 +1,103 @@
-CPAN::Testers::Data::Uploads::Mailer(3)
+CPAN-Testers-Data-Uploads-Mailer
+================================
+This distribution is part of the CPAN Testers tools that provides verification
+of CPAN uploads and mails reports to authors where uploads would fail to be
+tested by CPAN Testers, and thus don't typically conform to the standard
+package format that most modern CPAN distributions use.
+INSTALLATION
-NAME
- CPAN::Testers::Data::Uploads::Mailer - Verify CPAN uploads and mails
- reports
+To install this module type the following:
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+DEPENDENCIES
+
+This module requires these modules:
+
+ Email::Simple
+ File::Basename
+ File::Path
+ File::Slurp
+ Getopt::ArgvFile
+ Getopt::Long
+ IO::File
+ Template
+ Time::Piece
+
+For testing the module requires these modules:
+
+ IO::File
+ Test::More
+
+For optional testing the module would like these modules:
+
+ Test::Pod
+ Test::Pod::Coverage
+ Test::CPAN::Meta
+ Test::CPAN::Meta::JSON
SYNOPSIS
- my $mailer = CPAN::Testers::Data::Uploads::Mailer->new();
- $mailer->process();
-DESCRIPTION
- Reads the uploads log, then generates and emails the bad uploads report
- to the appropriate authors.
+ my $mailer = CPAN::Testers::Data::Uploads::Mailer->new();
+ $mailer->process();
+
+ For further information please read the POD documentation.
+
+CPAN TESTERS FUND
-INTERFACE
- The Constructor
- � new
+ CPAN Testers wouldn't exist without the help and support of the Perl
+ community. However, since 2008 CPAN Testers has grown far beyond the
+ expectations of it's original creators. As a consequence it now requires
+ considerable funding to help support the infrastructure.
- Instatiates the CPAN::Testers::Data::Uploads::Mailer object.
+ In early 2012 the Enlightened Perl Organisation very kindly set-up a
+ CPAN Testers Fund within their donatation structure, to help the project
+ cover the costs of servers and services.
- my $obj = CPAN::Testers::Data::Uploads::Mailer->new();
- $obj->process();
+ If you would like to donate to the CPAN Testers Fund, please follow the link
+ below to the Enlightened Perl Organisation's donation site.
- Public Methods
- � process
+ https://members.enlightenedperl.org/drupal/donate-cpan-testers
- Based on accessor settings will run the appropriate methods for the
- current execution.
+ If your company would like to support us, you can donate financially via the
+ fund link above, or if you have servers or services that we might use, please
+ send an email to admin@cpantesters.org with details.
+
+ Our full list of current sponsors can be found at our I <3 CPAN Testers site.
+
+ http://iheart.cpantesters.org
BUGS, PATCHES & FIXES
- There are no known bugs at the time of this release. However, if you
- spot a bug or are experiencing difficulties, that is not explained
- within the POD documentation, please send an email to barbie@cpan.org.
- However, it would help greatly if you are able to pinpoint problems or
- even supply a patch.
+ There are no known bugs at the time of this release. However, if you spot a
+ bug or are experiencing difficulties, that is not explained within the POD
+ documentation, please send an email to barbie@cpan.org. However, it would
+ help greatly if you are able to pinpoint problems or even supply a patch.
- Fixes are dependant upon their severity and my availablity. Should a
- fix not be forthcoming, please feel free to (politely) remind me.
+ Fixes are dependent upon their severity and my availability. Should a fix not
+ be forthcoming, please feel free to (politely) remind me.
SEE ALSO
- CPAN::Testers::Data::Uploads
+ CPAN::Testers::Data::Uploads
- http://www.cpantesters.org/ (Reports),
- http://stats.cpantesters.org/ (Statistics),
- http://wiki.cpantesters.org/ (Wiki),
- http://devel.cpantesters.org/ (Development)
+ http://www.cpantesters.org/ (Reports),
+ http://stats.cpantesters.org/ (Statistics),
+ http://wiki.cpantesters.org/ (Wiki),
+ http://devel.cpantesters.org/ (Development)
+ http://blog.cpantesters.org/ (Blog)
AUTHOR
- Barbie, <barbie@cpan.org>
- for Miss Barbell Productions <http://www.missbarbell.co.uk>.
+ Barbie, <barbie@cpan.org>
+ for Miss Barbell Productions <http://www.missbarbell.co.uk>.
COPYRIGHT AND LICENSE
- Copyright (C) 2010 Barbie for Miss Barbell Productions.
-
- This module is free software; you can redistribute it and/or
- modify it under the same terms as Perl itself.
+ Copyright (C) 2010-2012 Barbie for Miss Barbell Productions
+ This module is free software; you can redistribute it and/or
+ modify it under the Artistic Licence v2.
-perl v5.10.0 2010-CPAN::Testers::Data::Uploads::Mailer(3)
View
8 bin/uploads-mailer.pl
@@ -2,7 +2,7 @@
use strict;
$|++;
-my $VERSION = '0.02';
+my $VERSION = '0.04';
#----------------------------------------------------------------------------
@@ -34,8 +34,6 @@ =head1 DESCRIPTION
__END__
-=back
-
=head1 BUGS, PATCHES & FIXES
There are no known bugs at the time of this release. However, if you spot a
@@ -43,7 +41,7 @@ =head1 BUGS, PATCHES & FIXES
documentation, please send an email to barbie@cpan.org. However, it would help
greatly if you are able to pinpoint problems or even supply a patch.
-Fixes are dependant upon their severity and my availablity. Should a fix not
+Fixes are dependent upon their severity and my availability. Should a fix not
be forthcoming, please feel free to (politely) remind me.
=head1 SEE ALSO
@@ -57,7 +55,7 @@ =head1 AUTHOR
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2010 Barbie for Miss Barbell Productions.
+ Copyright (C) 2010-2012 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
View
32 lib/CPAN/Testers/Data/Uploads/Mailer.pm
@@ -4,7 +4,7 @@ use warnings;
use strict;
$|++;
-our $VERSION = '0.03';
+our $VERSION = '0.04';
#----------------------------------------------------------------------------
@@ -302,6 +302,30 @@ execution.
=back
+=head1 CPAN TESTERS FUND
+
+CPAN Testers wouldn't exist without the help and support of the Perl
+community. However, since 2008 CPAN Testers has grown far beyond the
+expectations of it's original creators. As a consequence it now requires
+considerable funding to help support the infrastructure.
+
+In early 2012 the Enlightened Perl Organisation very kindly set-up a
+CPAN Testers Fund within their donatation structure, to help the project
+cover the costs of servers and services.
+
+If you would like to donate to the CPAN Testers Fund, please follow the link
+below to the Enlightened Perl Organisation's donation site.
+
+F<https://members.enlightenedperl.org/drupal/donate-cpan-testers>
+
+If your company would like to support us, you can donate financially via the
+fund link above, or if you have servers or services that we might use, please
+send an email to admin@cpantesters.org with details.
+
+Our full list of current sponsors can be found at our I <3 CPAN Testers site.
+
+F<http://iheart.cpantesters.org>
+
=head1 BUGS, PATCHES & FIXES
There are no known bugs at the time of this release. However, if you spot a
@@ -309,7 +333,7 @@ bug or are experiencing difficulties, that is not explained within the POD
documentation, please send an email to barbie@cpan.org. However, it would help
greatly if you are able to pinpoint problems or even supply a patch.
-Fixes are dependant upon their severity and my availablity. Should a fix not
+Fixes are dependent upon their severity and my availability. Should a fix not
be forthcoming, please feel free to (politely) remind me.
=head1 SEE ALSO
@@ -328,10 +352,10 @@ F<http://devel.cpantesters.org/> (Development)
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2010 Barbie for Miss Barbell Productions.
+ Copyright (C) 2010-2012 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
- modify it under the same terms as Perl itself.
+ modify it under the Artistic Licence v2.
=cut
View
4 t/94metatest.t
@@ -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.12";
-plan skip_all => "Test::CPAN::Meta 0.12 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 t/96metatest.t
@@ -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;
View
154,927 t/samples/uploads-big.log
0 additions, 154,927 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.