@@ -1,23 +0,0 @@
-Moo::Role inflation to Moose doesn't create a type constraint, so 'isa'
-fails. Email::Sender::Transport has been a role since before we started
-using it, so just use an explicit 'does' instead of 'isa'.
----
- lib/Catalyst/View/Email.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/Catalyst/View/Email.pm b/lib/Catalyst/View/Email.pm
-index d7e7c40..8c6055d 100644
---- a/lib/Catalyst/View/Email.pm
-+++ b/lib/Catalyst/View/Email.pm
-@@ -20,7 +20,7 @@ has 'mailer' => (
-
- has '_mailer_obj' => (
- is => 'rw',
-- isa => 'Email::Sender::Transport',
-+ does => 'Email::Sender::Transport',
- lazy => 1,
- builder => '_build_mailer_obj',
- );
---
-1.7.10.4
-
diff --git a/var/tmp/source/DHOSS/Catalyst-View-Email-0.34/Catalyst-View-Email-0.34/Catalyst-View-Email-0.34.tar.gz b/var/tmp/source/DHOSS/Catalyst-View-Email-0.34/Catalyst-View-Email-0.34/Catalyst-View-Email-0.34.tar.gz
new file mode 100644
index 00000000..cabf1cd1
Binary files /dev/null and b/var/tmp/source/DHOSS/Catalyst-View-Email-0.34/Catalyst-View-Email-0.34/Catalyst-View-Email-0.34.tar.gz differ
@@ -1,5 +1,13 @@
Revision history for Perl extension Catalyst::View::Email.
+0.34 2014-05-17
+ - switched from Class::MOP::load_class to Module::Runtime::require_module per
+ cf. https://rt.cpan.org/Public/Bug/Display.html?id=91013
+ - canonical repo now on github as noted in Makefile.PL
+ - typo fix per https://rt.cpan.org/Public/Bug/Display.html?id=87370
+ - packaged with /usr/bin/gnutar on OSX
+ cf. https://rt.cpan.org/Public/Bug/Display.html?id=83970
+
0.33 2013-02-13
- applied patch to fix Moo->Moose inflation that Email::Sender does per https://rt.cpan.org/Ticket/Display.html?id=83241
- removed inc/ so running perl Makefile.PL would do so in author mode
@@ -1,4 +1,4 @@
-622150.patch
+Catalyst-View-Email-0.34.tar.gz
Changes
inc/Module/AutoInstall.pm
inc/Module/Install.pm
@@ -18,6 +18,8 @@ lib/Catalyst/View/Email/Template.pm
Makefile.PL
MANIFEST This list of files
META.yml
+MYMETA.json
+MYMETA.yml
README
t/01use.t
t/02pod.t
@@ -26,8 +28,6 @@ t/05template.t
t/06config.t
t/07mason.t
t/lib/TestApp.pm
-t/lib/TestApp/cache/obj/320722168/text_html/test.m.obj
-t/lib/TestApp/cache/obj/320722168/text_plain/test.m.obj
t/lib/TestApp/Controller/Root.pm
t/lib/TestApp/View/Email.pm
t/lib/TestApp/View/Email/AppConfig.pm
@@ -11,7 +11,7 @@ configure_requires:
ExtUtils::MakeMaker: 6.36
distribution_type: module
dynamic_config: 1
-generated_by: 'Module::Install version 1.06'
+generated_by: 'Module::Install version 1.08'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,19 +21,33 @@ no_index:
directory:
- inc
- t
+provides:
+ Catalyst::Helper::View::Email:
+ file: lib/Catalyst/Helper/View/Email.pm
+ version: '0.34'
+ Catalyst::Helper::View::Email::Template:
+ file: lib/Catalyst/Helper/View/Email/Template.pm
+ version: '0.34'
+ Catalyst::View::Email:
+ file: lib/Catalyst/View/Email.pm
+ version: '0.34'
+ Catalyst::View::Email::Template:
+ file: lib/Catalyst/View/Email/Template.pm
+ version: '0.34'
requires:
- Authen::SASL: 2.13
- Catalyst: 5.7
- Email::MIME: 1.859
- Email::MIME::Creator: 1.455
- Email::Sender::Simple: 0.100110
- MIME::Base64: 3.08
- Moose: 0.93
- Test::More: 0.88
- parent: 0.223
+ Authen::SASL: '2.13'
+ Catalyst: '5.7'
+ Email::MIME: '1.859'
+ Email::MIME::Creator: '1.455'
+ Email::Sender::Simple: '0.100110'
+ MIME::Base64: '3.08'
+ Module::Runtime: '0.014'
+ Moose: '0.93'
+ Test::More: '0.88'
+ parent: '0.223'
resources:
IRC: irc://irc.perl.org/#catalyst
MailingList: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
license: http://dev.perl.org/licenses/
- repository: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-View-Email/
-version: 0.33
+ repository: http://github.com/dhoss/catalyst-view-email
+version: '0.34'
@@ -0,0 +1,81 @@
+{
+ "abstract" : "Send Email from Catalyst",
+ "author" : [
+ "J. Shirley <jshirley@gmail.com>",
+ "J. Shirley <jshirley@gmail.com>"
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Module::Install version 1.08, CPAN::Meta::Converter version 2.140640",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Catalyst-View-Email",
+ "no_index" : {
+ "directory" : [
+ "inc",
+ "t"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "6.36",
+ "Test::More" : "0",
+ "Test::Requires" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "6.36"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Authen::SASL" : "2.13",
+ "Catalyst" : "5.7",
+ "Email::MIME" : "1.859",
+ "Email::MIME::Creator" : "1.455",
+ "Email::Sender::Simple" : "0.100110",
+ "MIME::Base64" : "3.08",
+ "Module::Runtime" : "0.014",
+ "Moose" : "0.93",
+ "Test::More" : "0.88",
+ "parent" : "0.223"
+ }
+ }
+ },
+ "provides" : {
+ "Catalyst::Helper::View::Email" : {
+ "file" : "lib/Catalyst/Helper/View/Email.pm",
+ "version" : "0.34"
+ },
+ "Catalyst::Helper::View::Email::Template" : {
+ "file" : "lib/Catalyst/Helper/View/Email/Template.pm",
+ "version" : "0.34"
+ },
+ "Catalyst::View::Email" : {
+ "file" : "lib/Catalyst/View/Email.pm",
+ "version" : "0.34"
+ },
+ "Catalyst::View::Email::Template" : {
+ "file" : "lib/Catalyst/View/Email/Template.pm",
+ "version" : "0.34"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ],
+ "repository" : {
+ "url" : "http://github.com/dhoss/catalyst-view-email"
+ },
+ "x_IRC" : "irc://irc.perl.org/#catalyst",
+ "x_MailingList" : "http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst"
+ },
+ "version" : "0.34"
+}
@@ -0,0 +1,52 @@
+---
+abstract: 'Send Email from Catalyst'
+author:
+ - 'J. Shirley <jshirley@gmail.com>'
+ - 'J. Shirley <jshirley@gmail.com>'
+build_requires:
+ ExtUtils::MakeMaker: '6.36'
+ Test::More: '0'
+ Test::Requires: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '6.36'
+dynamic_config: 0
+generated_by: 'Module::Install version 1.08, CPAN::Meta::Converter version 2.140640'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Catalyst-View-Email
+no_index:
+ directory:
+ - inc
+ - t
+provides:
+ Catalyst::Helper::View::Email:
+ file: lib/Catalyst/Helper/View/Email.pm
+ version: '0.34'
+ Catalyst::Helper::View::Email::Template:
+ file: lib/Catalyst/Helper/View/Email/Template.pm
+ version: '0.34'
+ Catalyst::View::Email:
+ file: lib/Catalyst/View/Email.pm
+ version: '0.34'
+ Catalyst::View::Email::Template:
+ file: lib/Catalyst/View/Email/Template.pm
+ version: '0.34'
+requires:
+ Authen::SASL: '2.13'
+ Catalyst: '5.7'
+ Email::MIME: '1.859'
+ Email::MIME::Creator: '1.455'
+ Email::Sender::Simple: '0.100110'
+ MIME::Base64: '3.08'
+ Module::Runtime: '0.014'
+ Moose: '0.93'
+ Test::More: '0.88'
+ parent: '0.223'
+resources:
+ IRC: irc://irc.perl.org/#catalyst
+ MailingList: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
+ license: http://dev.perl.org/licenses/
+ repository: http://github.com/dhoss/catalyst-view-email
+version: '0.34'
@@ -17,6 +17,7 @@ requires 'Email::Sender::Simple' => '0.100110';
requires 'Email::MIME' => '1.859';
requires 'Email::MIME::Creator' => '1.455';
requires 'Test::More' => '0.88';
+requires 'Module::Runtime' => '0.014';
#requires 'Catalyst::View::TT' => '0.31';
#requires 'Catalyst::View::Mason' => '0.18';
@@ -30,7 +31,7 @@ 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/';
+ 'http://github.com/dhoss/catalyst-view-email';
resources 'MailingList' =>
'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst';
@@ -8,7 +8,7 @@ use ExtUtils::MakeMaker ();
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
}
# special map on pre-defined feature sets
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -4,7 +4,7 @@ package Module::Install::Base;
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
}
# Suspend handler for "redefined" warnings
@@ -8,7 +8,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.06';
+ $VERSION = '1.08';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
@@ -31,7 +31,7 @@ BEGIN {
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '1.06';
+ $VERSION = '1.08';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -1,7 +1,7 @@
package Catalyst::Helper::View::Email::Template;
use strict;
-our $VERSION = '0.33';
+our $VERSION = '0.34'
$VERSION = eval $VERSION;
=head1 NAME
@@ -1,6 +1,6 @@
package Catalyst::Helper::View::Email;
-our $VERSION = '0.33';
+our $VERSION = '0.34';
$VERSION = eval $VERSION;
use strict;
@@ -5,7 +5,7 @@ use Carp;
use Scalar::Util qw/ blessed /;
extends 'Catalyst::View::Email';
-our $VERSION = '0.33';
+our $VERSION = '0.34';
$VERSION = eval $VERSION;
=head1 NAME
@@ -6,9 +6,10 @@ use Carp;
use Encode qw(encode decode);
use Email::Sender::Simple qw/ sendmail /;
use Email::MIME::Creator;
+use Module::Runtime;
extends 'Catalyst::View';
-our $VERSION = '0.33';
+our $VERSION = '0.34';
$VERSION = eval $VERSION;
has 'mailer' => (
@@ -223,7 +224,7 @@ sub _build_mailer_obj {
$transport_class = "Email::Sender::Transport::$transport_class";
}
- Class::MOP::load_class($transport_class);
+ Module::Runtime::require_module($transport_class);
return $transport_class->new( $self->sender->{mailer_args} || {} );
}
@@ -390,7 +391,7 @@ message object.
sub generate_message {
my ( $self, $c, $attr ) = @_;
- # setup the attributes (merge with defaultis)
+ # setup the attributes (merge with defaults)
$attr->{attributes} = $self->setup_attributes( $c, $attr->{attributes} );
Email::MIME->create( %$attr );
}
@@ -1,57 +0,0 @@
-package HTML::Mason::Commands;
-use strict;
-use vars qw($m $name $c $base);
-HTML::Mason::Component::FileBased->new(
-'code' => sub {
-HTML::Mason::Exception::Params->throw
- ( error =>
- "Odd number of parameters passed to component expecting name/value pairs"
- ) if @_ % 2;
-my ( $time, $email );
-{
- my %pos;
- for ( my $x = 0; $x < @_; $x += 2 )
- {
- $pos{ $_[$x] } = $x + 1;
- }
-
- foreach my $arg ( qw( time email ) )
- {
- HTML::Mason::Exception::Params->throw
- ( error => "no value sent for required parameter '$arg'" )
- unless exists $pos{$arg};
- }
-#line 2 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
- $time = $_[ $pos{'time'} ];
-#line 3 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
- $email = $_[ $pos{'email'} ];
-}
-$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );
-
-#line 5 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
-$m->print( '<html>
- <body>
- <h1>Look at my style</h1>
- <p>I was sent to <em>' );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
-$m->print( $email->{to} );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
-$m->print( '</em> on ' );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
-$m->print( $time );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_html/test.m"
-$m->print( '</p>
- </body>
-</html>
-
-' );
-;return;
-},
-'declared_args' => {
- '$email' => { default => undef },
- '$time' => { default => undef }
-},
-'load_time' => 1358284898,
-
-)
-;
\ No newline at end of file
@@ -1,54 +0,0 @@
-package HTML::Mason::Commands;
-use strict;
-use vars qw($m $name $c $base);
-HTML::Mason::Component::FileBased->new(
-'code' => sub {
-HTML::Mason::Exception::Params->throw
- ( error =>
- "Odd number of parameters passed to component expecting name/value pairs"
- ) if @_ % 2;
-my ( $time, $email );
-{
- my %pos;
- for ( my $x = 0; $x < @_; $x += 2 )
- {
- $pos{ $_[$x] } = $x + 1;
- }
-
- foreach my $arg ( qw( time email ) )
- {
- HTML::Mason::Exception::Params->throw
- ( error => "no value sent for required parameter '$arg'" )
- unless exists $pos{$arg};
- }
-#line 2 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
- $time = $_[ $pos{'time'} ];
-#line 3 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
- $email = $_[ $pos{'email'} ];
-}
-$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );
-
-#line 5 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
-$m->print( '
-I am plain text. I have no style.
-
-I was sent to ' );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
-$m->print( $email->{to} );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
-$m->print( ' on ' );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
-$m->print( $time );
-#line 8 "/Users/daustin/web-dev/catalyst-view-email/t/root/text_plain/test.m"
-$m->print( '
-' );
-;return;
-},
-'declared_args' => {
- '$email' => { default => undef },
- '$time' => { default => undef }
-},
-'load_time' => 1358284898,
-
-)
-;
\ No newline at end of file