r56593 - in /trunk/libplack-perl: Changes META.yml README debian/changelog debian/copyright lib/Plack.pm lib/Plack/Middleware/Lint.pm lib/Plack/Request.pm lib/Plack/Response.pm lib/Plack/Runner.pm lib/Plack/Server/ServerSimple.pm scripts/plackup

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Apr 20 17:03:39 UTC 2010


Author: jawnsy-guest
Date: Tue Apr 20 17:03:15 2010
New Revision: 56593

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56593
Log:
New upstream release

Modified:
    trunk/libplack-perl/Changes
    trunk/libplack-perl/META.yml
    trunk/libplack-perl/README
    trunk/libplack-perl/debian/changelog
    trunk/libplack-perl/debian/copyright
    trunk/libplack-perl/lib/Plack.pm
    trunk/libplack-perl/lib/Plack/Middleware/Lint.pm
    trunk/libplack-perl/lib/Plack/Request.pm
    trunk/libplack-perl/lib/Plack/Response.pm
    trunk/libplack-perl/lib/Plack/Runner.pm
    trunk/libplack-perl/lib/Plack/Server/ServerSimple.pm
    trunk/libplack-perl/scripts/plackup

Modified: trunk/libplack-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/Changes?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/Changes (original)
+++ trunk/libplack-perl/Changes Tue Apr 20 17:03:15 2010
@@ -1,6 +1,11 @@
 Revision history for Perl extension Plack
 
 Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.
+
+0.9932  Mon Apr 19 15:23:55 JST 2010
+        - Enable Lint middleware by default in the development env
+        - Lint middleware now validates $app on startup
+        - Fixed documentations on middleware and handlers
 
 0.9931  Fri Apr 16 23:52:27 PDT 2010
         - replace kyoto.jpg test image file with smaller baybridge.jpg to strip down the tarball size

Modified: trunk/libplack-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/META.yml?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/META.yml (original)
+++ trunk/libplack-perl/META.yml Tue Apr 20 17:03:15 2010
@@ -38,4 +38,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/miyagawa/Plack.git
-version: 0.9931
+version: 0.9932

Modified: trunk/libplack-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/README?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/README (original)
+++ trunk/libplack-perl/README Tue Apr 20 17:03:15 2010
@@ -12,14 +12,17 @@
 MODULES AND UTILITIES
   Plack::Handler
     Plack::Handler and its subclasses contains adapters for web servers. We
-    have adapters for Standalone, CGI, FCGI, Apache, AnyEvent, Coro,
-    Danga::Socket and many server environments that you can run PSGI
-    applications on.
+    have adapters for the built-in standalone web server HTTP::Server::PSGI,
+    CGI, FCGI, Apache1, Apache2, Net::FastCGI and HTTP::Server::Simple
+    included in the core Plack distribution.
+
+    There are also many HTTP server implementations on CPAN that has Plack
+    handlers.
 
     See Plack::Handler how to write your own adapters.
 
   Plack::Loader
-    Plack::Loader is a loader to load one of Plack::Server adapters and run
+    Plack::Loader is a loader to load one of Plack::Handler adapters and run
     PSGI application code reference with it.
 
   Plack::Util

Modified: trunk/libplack-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/debian/changelog?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/debian/changelog (original)
+++ trunk/libplack-perl/debian/changelog Tue Apr 20 17:03:15 2010
@@ -1,8 +1,8 @@
-libplack-perl (0.9931-2) UNRELEASED; urgency=low
+libplack-perl (0.9932-1) UNRELEASED; urgency=low
 
-  * Note that baybridge.jpg is CC-By-SA licensed
+  * New upstream release
 
- -- Jonathan Yu <jawnsy at cpan.org>  Mon, 19 Apr 2010 11:11:21 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Tue, 20 Apr 2010 13:36:10 -0400
 
 libplack-perl (0.9931-1) unstable; urgency=low
 

Modified: trunk/libplack-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/debian/copyright?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/debian/copyright (original)
+++ trunk/libplack-perl/debian/copyright Tue Apr 20 17:03:15 2010
@@ -6,13 +6,6 @@
 Files: *
 Copyright: 2009-2010, Tatsuhiko Miyagawa <miyagawa at bulknews.net>
 License: Artistic or GPL-1+
-
-Files: share/baybridge.jpg
-Copyright: 2010, Tatsuhiko Miyagawa <miyagawa at bulknews.net>
-License: CC-By-SA-2.0
-X-Comment: the picture is an original taken by Tatsuhiko Miyagawa,
- posted on his Flickr account under the aforementioned license
- terms. See http://www.flickr.com/photos/bulknews/4317313537/
 
 Files: inc/Module/*
 Copyright: 2002-2010, Adam Kennedy <adamk at cpan.org>
@@ -39,237 +32,3 @@
  .
  On Debian GNU/Linux systems, the complete text of the GNU General
  Public License can be found in `/usr/share/common-licenses/GPL'
-
-License: CC-By-SA-2.0
- THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
- CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS
- PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE
- WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW
- IS PROHIBITED.
- .
- BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND
- AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS
- YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE
- OF SUCH TERMS AND CONDITIONS.
- .
- 1. Definitions
- .
-    1. "Collective Work" means a work, such as a periodical issue,
-       anthology or encyclopedia, in which the Work in its entirety
-       in unmodified form, along with a number of other contributions,
-       constituting separate and independent works in themselves, are
-       assembled into a collective whole. A work that constitutes a
-       Collective Work will not be considered a Derivative Work (as
-       defined below) for the purposes of this License.
-    2. "Derivative Work" means a work based upon the Work or upon the
-       Work and other pre-existing works, such as a translation,
-       musical arrangement, dramatization, fictionalization, motion
-       picture version, sound recording, art reproduction, abridgment,
-       condensation, or any other form in which the Work may be recast,
-       transformed, or adapted, except that a work that constitutes a
-       Collective Work will not be considered a Derivative Work for
-       the purpose of this License. For the avoidance of doubt, where
-       the Work is a musical composition or sound recording, the
-       synchronization of the Work in timed-relation with a moving
-       image ("synching") will be considered a Derivative Work for
-       the purpose of this License.
-    3. "Licensor" means the individual or entity that offers the Work
-       under the terms of this License.
-    4. "Original Author" means the individual or entity who created
-       the Work.
-    5. "Work" means the copyrightable work of authorship offered under
-       the terms of this License.
-    6. "You" means an individual or entity exercising rights under this
-       License who has not previously violated the terms of this License
-       with respect to the Work, or who has received express permission
-       from the Licensor to exercise rights under this License despite
-       a previous violation.
-    7. "License Elements" means the following high-level license
-       attributes as selected by Licensor and indicated in the title
-       of this License: Attribution, ShareAlike.
- .
- 2. Fair Use Rights. Nothing in this license is intended to reduce,
-    limit, or restrict any rights arising from fair use, first sale or
-    other limitations on the exclusive rights of the copyright owner
-    under copyright law or other applicable laws.
- .
- 3. License Grant. Subject to the terms and conditions of this License,
-    Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
-    perpetual (for the duration of the applicable copyright) license
-    to exercise the rights in the Work as stated below:
- .
-    1. to reproduce the Work, to incorporate the Work into one or more
-       Collective Works, and to reproduce the Work as incorporated in
-       the Collective Works;
-    2. to create and reproduce Derivative Works;
-    3. to distribute copies or phonorecords of, display publicly,
-       perform publicly, and perform publicly by means of a digital
-       audio transmission the Work including as incorporated in
-       Collective Works;
-    4. to distribute copies or phonorecords of, display publicly,
-       perform publicly, and perform publicly by means of a digital
-       audio transmission Derivative Works.
-    5. For the avoidance of doubt, where the work is a musical
-       composition:
-       1. Performance Royalties Under Blanket Licenses. Licensor waives
-          the exclusive right to collect, whether individually or via
-          a performance rights society (e.g. ASCAP, BMI, SESAC),
-          royalties for the public performance or public digital
-          performance (e.g. webcast) of the Work.
-       2. Mechanical Rights and Statutory Royalties. Licensor waives
-          the exclusive right to collect, whether individually or via
-          a music rights society or designated agent (e.g. Harry Fox
-          Agency), royalties for any phonorecord You create from the
-          Work ("cover version") and distribute, subject to the
-          compulsory license created by 17 USC Section 115 of the US
-          Copyright Act (or the equivalent in other jurisdictions).
-    6. Webcasting Rights and Statutory Royalties. For the avoidance of
-       doubt, where the Work is a sound recording, Licensor waives the
-       exclusive right to collect, whether individually or via a
-       performance-rights society (e.g. SoundExchange), royalties for
-       the public digital performance (e.g. webcast) of the Work,
-       subject to the compulsory license created by 17 USC Section 114
-       of the US Copyright Act (or the equivalent in other
-       jurisdictions).
- .
-    The above rights may be exercised in all media and formats whether
-    now known or hereafter devised. The above rights include the right
-    to make such modifications as are technically necessary to exercise
-    the rights in other media and formats. All rights not expressly
-    granted by Licensor are hereby reserved.
- .
- 4. Restrictions.The license granted in Section 3 above is expressly
-    made subject to and limited by the following restrictions:
- .
-    1. You may distribute, publicly display, publicly perform, or
-       publicly digitally perform the Work only under the terms of this
-       License, and You must include a copy of, or the Uniform Resource
-       Identifier for, this License with every copy or phonorecord of
-       the Work You distribute, publicly display, publicly perform, or
-       publicly digitally perform. You may not offer or impose any
-       terms on the Work that alter or restrict the terms of this
-       License or the recipients' exercise of the rights granted
-       hereunder. You may not sublicense the Work. You must keep intact
-       all notices that refer to this License and to the disclaimer of
-       warranties. You may not distribute, publicly display, publicly
-       perform, or publicly digitally perform the Work with any
-       technological measures that control access or use of the Work in
-       a manner inconsistent with the terms of this License Agreement.
-       The above applies to the Work as incorporated in a Collective
-       Work, but this does not require the Collective Work apart from
-       the Work itself to be made subject to the terms of this License.
-       If You create a Collective Work, upon notice from any Licensor
-       You must, to the extent practicable, remove from the Collective
-       Work any reference to such Licensor or the Original Author, as
-       requested. If You create a Derivative Work, upon notice from
-       any Licensor You must, to the extent practicable, remove from
-       the Derivative Work any reference to such Licensor or the
-       Original Author, as requested.
-    2. You may distribute, publicly display, publicly perform, or
-       publicly digitally perform a Derivative Work only under the
-       terms of this License, a later version of this License with the
-       same License Elements as this License, or a Creative Commons
-       iCommons license that contains the same License Elements as
-       this License (e.g. Attribution-ShareAlike 2.0 Japan). You must
-       include a copy of, or the Uniform Resource Identifier for, this
-       License or other license specified in the previous sentence
-       with every copy or phonorecord of each Derivative Work You
-       distribute, publicly display, publicly perform, or publicly
-       digitally perform. You may not offer or impose any terms on the
-       Derivative Works that alter or restrict the terms of this
-       License or the recipients' exercise of the rights granted
-       hereunder, and You must keep intact all notices that refer to
-       this License and to the disclaimer of warranties. You may not
-       distribute, publicly display, publicly perform, or publicly
-       digitally perform the Derivative Work with any technological
-       measures that control access or use of the Work in a manner
-       inconsistent with the terms of this License Agreement. The
-       above applies to the Derivative Work as incorporated in a
-       Collective Work, but this does not require the Collective Work
-       apart from the Derivative Work itself to be made subject to
-       the terms of this License.
-    3. If you distribute, publicly display, publicly perform, or
-       publicly digitally perform the Work or any Derivative Works or
-       Collective Works, You must keep intact all copyright notices
-       for the Work and give the Original Author credit reasonable to
-       the medium or means You are utilizing by conveying the name (or
-       pseudonym if applicable) of the Original Author if supplied;
-       the title of the Work if supplied; to the extent reasonably
-       practicable, the Uniform Resource Identifier, if any, that
-       Licensor specifies to be associated with the Work, unless such
-       URI does not refer to the copyright notice or licensing
-       information for the Work; and in the case of a Derivative Work,
-       a credit identifying the use of the Work in the Derivative Work
-       (e.g., "French translation of the Work by Original Author," or
-       "Screenplay based on original Work by Original Author"). Such
-       credit may be implemented in any reasonable manner; provided,
-       however, that in the case of a Derivative Work or Collective
-       Work, at a minimum such credit will appear where any other
-       comparable authorship credit appears and in a manner at least
-       as prominent as such other comparable authorship credit.
- .
- 5. Representations, Warranties and Disclaimer. UNLESS OTHERWISE AGREED
-    TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND
-    MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE
-    MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING,
-    WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS
-    FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT
-    OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
-    WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE
-    EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY
-    TO YOU.
- .
- 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY
-    APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY
-    LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE
-    OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE
-    WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-    DAMAGES.
- .
- 7. Termination
- .
-    1. This License and the rights granted hereunder will terminate
-       automatically upon any breach by You of the terms of this
-       License. Individuals or entities who have received Derivative
-       Works or Collective Works from You under this License, however,
-       will not have their licenses terminated provided such
-       individuals or entities remain in full compliance with those
-       licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any
-       termination of this License.
-    2. Subject to the above terms and conditions, the license granted
-       here is perpetual (for the duration of the applicable copyright
-       in the Work). Notwithstanding the above, Licensor reserves the
-       right to release the Work under different license terms or to
-       stop distributing the Work at any time; provided, however that
-       any such election will not serve to withdraw this License (or
-       any other license that has been, or is required to be, granted
-       under the terms of this License), and this License will continue
-       in full force and effect unless terminated as stated above.
- .
- 8. Miscellaneous
- .
-    1. Each time You distribute or publicly digitally perform the Work
-       or a Collective Work, the Licensor offers to the recipient a
-       license to the Work on the same terms and conditions as the
-       license granted to You under this License.
-    2. Each time You distribute or publicly digitally perform a
-       Derivative Work, Licensor offers to the recipient a license to
-       the original Work on the same terms and conditions as the
-       license granted to You under this License.
-    3. If any provision of this License is invalid or unenforceable
-       under applicable law, it shall not affect the validity or
-       enforceability of the remainder of the terms of this License,
-       and without further action by the parties to this agreement,
-       such provision shall be reformed to the minimum extent necessary
-       to make such provision valid and enforceable.
-    4. No term or provision of this License shall be deemed waived and
-       no breach consented to unless such waiver or consent shall be
-       in writing and signed by the party to be charged with such
-       waiver or consent.
-    5. This License constitutes the entire agreement between the
-       parties with respect to the Work licensed here. There are no
-       understandings, agreements or representations with respect to
-       the Work not specified here. Licensor shall not be bound by any
-       additional provisions that may appear in any communication from
-       You. This License may not be modified without the mutual written
-       agreement of the Licensor and You.

Modified: trunk/libplack-perl/lib/Plack.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/lib/Plack.pm?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/lib/Plack.pm (original)
+++ trunk/libplack-perl/lib/Plack.pm Tue Apr 20 17:03:15 2010
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use 5.008_001;
-our $VERSION = '0.9931';
+our $VERSION = '0.9932';
 $VERSION = eval $VERSION;
 
 1;
@@ -27,16 +27,23 @@
 =head2 Plack::Handler
 
 L<Plack::Handler> and its subclasses contains adapters for web
-servers. We have adapters for Standalone, CGI, FCGI, Apache, AnyEvent,
-Coro, Danga::Socket and many server environments that you can run PSGI
-applications on.
+servers. We have adapters for the built-in standalone web server
+L<HTTP::Server::PSGI>, L<CGI|Plack::Handler::CGI>,
+L<FCGI|Plack::Handler::FCGI>, L<Apache1|Plack::Handler::Apache1>,
+L<Apache2|Plack::Handler::Apache2>,
+L<Net::FastCGI|Plack::Handler::Net::FastCGI> and
+L<HTTP::Server::Simple|Plack::Handler::HTTP::Server::Simple> included
+in the core Plack distribution.
+
+There are also many HTTP server implementations on CPAN that has Plack
+handlers.
 
 See L<Plack::Handler> how to write your own adapters.
 
 =head2 Plack::Loader
 
-L<Plack::Loader> is a loader to load one of Plack::Server adapters and
-run PSGI application code reference with it.
+L<Plack::Loader> is a loader to load one of L<Plack::Handler> adapters
+and run PSGI application code reference with it.
 
 =head2 Plack::Util
 

Modified: trunk/libplack-perl/lib/Plack/Middleware/Lint.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/lib/Plack/Middleware/Lint.pm?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/lib/Plack/Middleware/Lint.pm (original)
+++ trunk/libplack-perl/lib/Plack/Middleware/Lint.pm Tue Apr 20 17:03:15 2010
@@ -5,6 +5,16 @@
 use parent qw(Plack::Middleware);
 use Scalar::Util qw(blessed);
 use Plack::Util;
+
+sub wrap {
+    my($self, $app) = @_;
+
+    unless (ref $app eq 'CODE' or overload::Method($app, '&{}')) {
+        Carp::croak("PSGI app should be a code reference: $app");
+    }
+
+    $self->SUPER::wrap($app);
+}
 
 sub call {
     my $self = shift;
@@ -79,7 +89,7 @@
     my $croak = $streaming ? \&Carp::confess : \&Carp::croak;
 
     unless (ref($res) and ref($res) eq 'ARRAY' || ref($res) eq 'CODE') {
-        $croak->('response should be arrayref or coderef');
+        $croak->('response should be array ref or code ref');
     }
 
     if (ref $res eq 'CODE') {
@@ -137,6 +147,9 @@
 this middleware when you develop a new framework adapter or a new PSGI
 web server that implements the PSGI interface.
 
+This middleware is enabled by default when you run plackup or other
+launcher tools with the default environment I<development> value.
+
 =head1 AUTHOR
 
 Tatsuhiko Miyagawa

Modified: trunk/libplack-perl/lib/Plack/Request.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/lib/Plack/Request.pm?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/lib/Plack/Request.pm (original)
+++ trunk/libplack-perl/lib/Plack/Request.pm Tue Apr 20 17:03:15 2010
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 use 5.008_001;
-our $VERSION = '0.9931';
+our $VERSION = '0.9932';
 $VERSION = eval $VERSION;
 
 use HTTP::Headers;

Modified: trunk/libplack-perl/lib/Plack/Response.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/lib/Plack/Response.pm?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/lib/Plack/Response.pm (original)
+++ trunk/libplack-perl/lib/Plack/Response.pm Tue Apr 20 17:03:15 2010
@@ -1,7 +1,7 @@
 package Plack::Response;
 use strict;
 use warnings;
-our $VERSION = '0.9931';
+our $VERSION = '0.9932';
 $VERSION = eval $VERSION;
 
 use Plack::Util::Accessor qw(body status);

Modified: trunk/libplack-perl/lib/Plack/Runner.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/lib/Plack/Runner.pm?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/lib/Plack/Runner.pm (original)
+++ trunk/libplack-perl/lib/Plack/Runner.pm Tue Apr 20 17:03:15 2010
@@ -176,14 +176,20 @@
         if $self->{loader} eq 'Restarter';
 }
 
+sub apply_middleware {
+    my($self, $app, $class, @args) = @_;
+
+    my $mw_class = Plack::Util::load_class($class, 'Plack::Middleware');
+    build { $mw_class->wrap($_[0], @args) } $app;
+}
+
 sub prepare_devel {
     my($self, $app) = @_;
 
-    require Plack::Middleware::StackTrace;
-    require Plack::Middleware::AccessLog;
-    $app = build { Plack::Middleware::StackTrace->wrap($_[0]) } $app;
+    $app = $self->apply_middleware($app, 'Lint');
+    $app = $self->apply_middleware($app, 'StackTrace');
     unless ($ENV{GATEWAY_INTERFACE}) {
-        $app = build { Plack::Middleware::AccessLog->wrap($_[0], logger => sub { print STDERR @_ }) } $app;
+        $app = $self->apply_middleware($app, 'AccessLog', logger => sub { print STDERR @_ });
     }
 
     push @{$self->{options}}, server_ready => sub {

Modified: trunk/libplack-perl/lib/Plack/Server/ServerSimple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/lib/Plack/Server/ServerSimple.pm?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/lib/Plack/Server/ServerSimple.pm (original)
+++ trunk/libplack-perl/lib/Plack/Server/ServerSimple.pm Tue Apr 20 17:03:15 2010
@@ -1,6 +1,6 @@
 package Plack::Server::ServerSimple;
 use strict;
-our $VERSION = '0.9931';
+our $VERSION = '0.9932';
 $VERSION = eval $VERSION;
 
 use parent qw(Plack::Handler::HTTP::Server::Simple);

Modified: trunk/libplack-perl/scripts/plackup
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libplack-perl/scripts/plackup?rev=56593&op=diff
==============================================================================
--- trunk/libplack-perl/scripts/plackup (original)
+++ trunk/libplack-perl/scripts/plackup Tue Apr 20 17:03:15 2010
@@ -137,8 +137,8 @@
 The value can be anything but commonly used ones are C<development>,
 C<deployment> and C<test>.
 
-If it's set to C<development>, following middleware is enabled by
-default: L<AccessLog>, L<StackTrace>.
+If it's set to C<development>, following middleware components are
+enabled by default: I<AccessLog>, I<StackTrace> and I<Lint>.
 
 =item -r, --reload
 
@@ -158,12 +158,16 @@
 
 Specify the server loading subclass that implements how to run the
 server. Available options are I<Plack::Loader> (default), I<Restarter>
-(automatically set when C<-r> or C<-R> is used) and I<Shotgun>.
+(automatically set when C<-r> or C<-R> is used), I<Delayed> and
+I<Shotgun>.
+
+See L<Plack::Loader::Delayed> and L<Plack::Loader::Shotgun> when to
+use those loader types.
 
 =back
 
 Other options that starts with C<--> are passed through to the backend
-server. See each Plack::Server backend documentations to see which
+server. See each Plack::Handler backend documentations to see which
 options are available.
 
 =head1 SEE ALSO




More information about the Pkg-perl-cvs-commits mailing list