From fb031b2b8878040654500b9243ee1d6eff751f3d Mon Sep 17 00:00:00 2001 From: Tatsuhiko Miyagawa Date: Tue, 27 Oct 2009 14:17:27 -0700 Subject: [PATCH] remove feature() and make them all required to be less annoying --- Makefile.PL | 33 +++++---------------------------- README | 2 +- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index f0eaec219..cfe06cf8f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -24,35 +24,12 @@ requires 'Devel::StackTrace::AsHTML'; # Middleware::StackTrace requires 'Filesys::Notify::Simple'; # plackup -r -feature 'Serve static files - Middleware::Static and App::File', - 'Path::Class', - 'MIME::Types'; +# TODO: they can go away once we create Plack-Middlewares dist +# Middleware::Static and App::File +requires 'Path::Class', 'MIME::Types'; -feature 'Fast XS-based HTTP header parsing', - 'HTTP::Parser::XS', 0.04; - -feature 'Prefork HTTP server', - 'Parallel::Prefork'; - -feature 'FastCGI daemon and dispatcher', - -default => 0, - 'FCGI' => 0.67, - 'FCGI::Client' => 0.02, - 'FCGI::ProcManager'; - - -feature 'Serve static files with sendfile(2)', - -default => 0, - 'Sys::Sendfile' => 0.09; - -feature 'Stacktrace with lexical variables', - -default => 0, - 'Devel::StackTrace::WithLexicals'; - -feature 'Middleware::Deflater', - -default => 0, - 'IO::Compress::Gzip', - 'IO::Compress::Deflate'; +# Middleware::Deflater +requires 'IO::Compress::Gzip','IO::Compress::Deflate'; build_requires 'Test::More', 0.88; build_requires 'Test::TCP', 0.11; diff --git a/README b/README index 9dfa030a4..3de349e11 100644 --- a/README +++ b/README @@ -47,7 +47,7 @@ MODULES AND UTILITIES clean API, and compatibility with Plack::Builder DSL. Plack::Builder - Plack::Builder gives you a DSL that you can add "Middleware", in ".psgi" + Plack::Builder gives you a DSL that you can enable Middleware in ".psgi" files to wrap existent PSGI applications. Plack::Request, Plack::Response