[Catalyst-commits] r12749 - in
trunk/Catalyst-Plugin-UploadProgress: . lib/Catalyst/Plugin
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Jan 28 00:04:29 GMT 2010
Author: t0m
Date: 2010-01-28 00:04:29 +0000 (Thu, 28 Jan 2010)
New Revision: 12749
Modified:
trunk/Catalyst-Plugin-UploadProgress/Makefile.PL
trunk/Catalyst-Plugin-UploadProgress/lib/Catalyst/Plugin/UploadProgress.pm
Log:
Fix deps and tidy up code, also I meant Moose::Role rather than Moose - that bit conflicted
Modified: trunk/Catalyst-Plugin-UploadProgress/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-UploadProgress/Makefile.PL 2010-01-28 00:01:02 UTC (rev 12748)
+++ trunk/Catalyst-Plugin-UploadProgress/Makefile.PL 2010-01-28 00:04:29 UTC (rev 12749)
@@ -1,9 +1,13 @@
-use inc::Module::Install 0.87;
+use strict;
+use warnings;
+use inc::Module::Install 0.91;
name 'Catalyst-Plugin-UploadProgress';
all_from 'lib/Catalyst/Plugin/UploadProgress.pm';
-requires 'Catalyst::Runtime' => '5.50';
+requires 'Catalyst::Runtime' => '5.80004';
+requires 'Moose';
+requires 'namespace::autoclean';
tests 't/*.t';
Modified: trunk/Catalyst-Plugin-UploadProgress/lib/Catalyst/Plugin/UploadProgress.pm
===================================================================
--- trunk/Catalyst-Plugin-UploadProgress/lib/Catalyst/Plugin/UploadProgress.pm 2010-01-28 00:01:02 UTC (rev 12748)
+++ trunk/Catalyst-Plugin-UploadProgress/lib/Catalyst/Plugin/UploadProgress.pm 2010-01-28 00:04:29 UTC (rev 12749)
@@ -1,13 +1,11 @@
package Catalyst::Plugin::UploadProgress;
+use Moose::Role;
+use namespace::autoclean;
-use strict;
-use warnings;
-use Moose;
-
our $VERSION = '0.05';
# I'm concerned that this doesn't call super() at all..
- override 'prepare_body_chunk' => sub {
+override 'prepare_body_chunk' => sub {
my ( $c, $chunk ) = @_;
my $body = $c->request->{_body};
More information about the Catalyst-commits
mailing list