updated: Added docs for 2 missing functions
Marcus Ramberg [Mon, 18 Apr 2005 18:28:45 +0000 (18:28 +0000)]
META.yml
lib/Catalyst/Engine.pm
lib/Catalyst/Request/Upload.pm

index c61b3e9..5b1e4cb 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Catalyst
-version:      4.26
+version:      5.01
 version_from: lib/Catalyst.pm
 installdirs:  site
 requires:
@@ -9,9 +9,18 @@ requires:
     Class::Accessor::Fast:         0
     Class::Data::Inheritable:      0
     HTML::Entities:                0
+    HTTP::Daemon:                  0
     HTTP::Headers:                 0
+    HTTP::Request:                 0
+    HTTP::Response:                0
+    LWP::UserAgent:                0
     Module::Pluggable::Fast:       0
+    Template:                      0
+    Text::ASCIITable:              0
+    Tree::Simple:                  0
+    Tree::Simple::Visitor::FindByPath: 0
     UNIVERSAL::require:            0
+    URI:                           0
 
 distribution_type: module
 generated_by: ExtUtils::MakeMaker version 6.17
index dfab421..e25b205 100644 (file)
@@ -193,6 +193,10 @@ sub finalize {
     return $status;
 }
 
+=item $c->finalize_output
+
+alias to finalize_body
+
 =item $c->finalize_body
 
 Finalize body.
index 5df78ee..5891332 100644 (file)
@@ -8,7 +8,6 @@ use IO::File   ();
 
 __PACKAGE__->mk_accessors(qw/filename size tempname type/);
 
-sub new { shift->SUPER::new( ref( $_[0] ) ? $_[0] : {@_} ) }
 
 =head1 NAME
 
@@ -35,6 +34,14 @@ to the upload data.
 
 =over 4
 
+=item $upload->new
+
+Constructor. Normally only for engine use.
+
+=cut 
+
+sub new { shift->SUPER::new( ref( $_[0] ) ? $_[0] : {@_} ) }
+
 =item $upload->copy_to
 
 Copies tempname using C<File::Copy>. Returns true for success, false otherwise.