[Catalyst-commits] r13074 - in Catalyst-View-Email/trunk: .
lib/Catalyst/View lib/Catalyst/View/Email t
dhoss at dev.catalyst.perl.org
dhoss at dev.catalyst.perl.org
Tue Mar 23 22:41:30 GMT 2010
Author: dhoss
Date: 2010-03-23 22:41:30 +0000 (Tue, 23 Mar 2010)
New Revision: 13074
Modified:
Catalyst-View-Email/trunk/Changes
Catalyst-View-Email/trunk/Makefile.PL
Catalyst-View-Email/trunk/lib/Catalyst/View/Email.pm
Catalyst-View-Email/trunk/lib/Catalyst/View/Email/Template.pm
Catalyst-View-Email/trunk/t/05template.t
Log:
made ::View::TT and ::Mason hard deps. patches welcome if you no likey.
Modified: Catalyst-View-Email/trunk/Changes
===================================================================
--- Catalyst-View-Email/trunk/Changes 2010-03-23 21:55:56 UTC (rev 13073)
+++ Catalyst-View-Email/trunk/Changes 2010-03-23 22:41:30 UTC (rev 13074)
@@ -1,5 +1,10 @@
Revision history for Perl extension Catalyst::View::Email.
+0.26 2010-03-23
+ - made ::View::TT and ::View::Mason hard deps
+ - adjusted tests to reflect the aforementioned
+ - patches welcome
+
0.25_02 2010-02-21
- cleaned up tests
- made Test::More 0.88 a prereq
Modified: Catalyst-View-Email/trunk/Makefile.PL
===================================================================
--- Catalyst-View-Email/trunk/Makefile.PL 2010-03-23 21:55:56 UTC (rev 13073)
+++ Catalyst-View-Email/trunk/Makefile.PL 2010-03-23 22:41:30 UTC (rev 13074)
@@ -1,9 +1,9 @@
use inc::Module::Install 0.91;
-name 'Catalyst-View-Email';
+name 'Catalyst-View-Email';
all_from 'lib/Catalyst/View/Email.pm';
-author 'J. Shirley <jshirley at gmail.com>';
-license 'perl';
+author 'J. Shirley <jshirley at gmail.com>';
+license 'perl';
test_requires 'Test::More';
@@ -16,15 +16,10 @@
requires 'Email::MIME' => '1.859';
requires 'Email::MIME::Creator' => '1.455';
requires 'Test::More' => '0.88';
+## patches welcome if you don't want these installed. I'm not maintaining a dist with optional deps.
+requires 'Catalyst::View::TT' => '0.31';
+requires 'Catalyst::View::Mason' => '0.18';
-feature 'Template Toolkit support',
- -default => 0,
- 'Catalyst::View::TT' => '0.31';
-
-feature 'HTML::Mason support',
- -default => 0,
- 'Catalyst::View::Mason' => '0.18';
-
# Rebuild README for maintainers
if ($Module::Install::AUTHOR) {
system("pod2text lib/Catalyst/View/Email.pm > README");
@@ -32,10 +27,12 @@
realclean_files 'README';
-resources 'IRC' => 'irc://irc.perl.org/#catalyst';
-resources 'license' => 'http://dev.perl.org/licenses/';
-resources 'repository' => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-View-Email/';
-resources 'MailingList' => 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst';
+resources 'IRC' => 'irc://irc.perl.org/#catalyst';
+resources 'license' => 'http://dev.perl.org/licenses/';
+resources 'repository' =>
+ 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-View-Email/';
+resources 'MailingList' =>
+ 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst';
auto_provides;
auto_install;
Modified: Catalyst-View-Email/trunk/lib/Catalyst/View/Email/Template.pm
===================================================================
--- Catalyst-View-Email/trunk/lib/Catalyst/View/Email/Template.pm 2010-03-23 21:55:56 UTC (rev 13073)
+++ Catalyst-View-Email/trunk/lib/Catalyst/View/Email/Template.pm 2010-03-23 22:41:30 UTC (rev 13074)
@@ -5,7 +5,7 @@
use Scalar::Util qw/ blessed /;
extends 'Catalyst::View::Email';
-our $VERSION = '0.26_01';
+our $VERSION = '0.26';
$VERSION = eval $VERSION;
=head1 NAME
Modified: Catalyst-View-Email/trunk/lib/Catalyst/View/Email.pm
===================================================================
--- Catalyst-View-Email/trunk/lib/Catalyst/View/Email.pm 2010-03-23 21:55:56 UTC (rev 13073)
+++ Catalyst-View-Email/trunk/lib/Catalyst/View/Email.pm 2010-03-23 22:41:30 UTC (rev 13074)
@@ -8,7 +8,7 @@
use Email::MIME::Creator;
extends 'Catalyst::View';
-our $VERSION = '0.26_01';
+our $VERSION = '0.26';
$VERSION = eval $VERSION;
has 'mailer' => (
Modified: Catalyst-View-Email/trunk/t/05template.t
===================================================================
--- Catalyst-View-Email/trunk/t/05template.t 2010-03-23 21:55:56 UTC (rev 13073)
+++ Catalyst-View-Email/trunk/t/05template.t 2010-03-23 22:41:30 UTC (rev 13074)
@@ -8,11 +8,6 @@
use FindBin;
use lib "$FindBin::Bin/lib";
-eval "use Catalyst::View::TT";
-if ( $@ ) {
- plan skip_all => 'Catalyst::View::TT required for Template tests';
-}
-
use_ok('Catalyst::Test', 'TestApp');
my $response;
More information about the Catalyst-commits
mailing list