Plack-Middleware-Text-Minify
view release on metacpan or search on metacpan
"Test::Pod::LinkCheck" : "0",
"Test::Portability::Files" : "0",
"Test::Spelling" : "0.17",
"Test::TrailingSpace" : "0.0203",
"Test::Vars" : "0.015",
"strict" : "0"
}
},
"runtime" : {
"recommends" : {
"Ref::Util::XS" : "0"
},
"requires" : {
"Plack::Middleware" : "0",
"Ref::Util" : "0",
"Text::Minify::XS" : "v0.7.8",
"parent" : "0",
"perl" : "v5.14.0",
"warnings" : "0"
}
},
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900"
},
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Plack-Middleware-Text-Minify
provides:
Plack::Middleware::Text::Minify:
file: lib/Plack/Middleware/Text/Minify.pm
version: v0.4.2
recommends:
Ref::Util::XS: '0'
requires:
Plack::Middleware: '0'
Ref::Util: '0'
Text::Minify::XS: v0.7.8
parent: '0'
perl: v5.14.0
warnings: '0'
resources:
bugtracker: https://github.com/robrwo/Plack-Middleware-Text-Minify/issues
repository: git://github.com/robrwo/Plack-Middleware-Text-Minify.git
version: v0.4.2
x_authority: cpan:RRWO
x_generated_by_perl: v5.42.1
Makefile.PL view on Meta::CPAN
},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Plack-Middleware-Text-Minify",
"LICENSE" => "artistic_2",
"MIN_PERL_VERSION" => "5.014000",
"NAME" => "Plack::Middleware::Text::Minify",
"PREREQ_PM" => {
"Plack::Middleware" => 0,
"Ref::Util" => 0,
"Text::Minify::XS" => "0.7.8",
"parent" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"File::Spec" => 0,
"File::Temp" => 0,
"HTTP::Request::Common" => 0,
"IO::File" => 0,
"Module::Metadata" => "1.000015",
Makefile.PL view on Meta::CPAN
"File::Spec" => 0,
"File::Temp" => 0,
"HTTP::Request::Common" => 0,
"IO::File" => 0,
"Module::Metadata" => "1.000015",
"Plack::Builder" => 0,
"Plack::MIME" => 0,
"Plack::Middleware" => 0,
"Plack::Middleware::ContentLength" => 0,
"Plack::Test" => 0,
"Ref::Util" => 0,
"Test2::V0" => 0,
"Test::Differences" => 0,
"Test::More" => 0,
"Text::Minify::XS" => "0.7.8",
"parent" => 0,
"strict" => 0,
"utf8" => 0,
"warnings" => 0
);
- Other
- Added doap.xml to the repo.
See the `Changes` file for more details.
# REQUIREMENTS
This module lists the following modules as runtime dependencies:
- [Plack::Middleware](https://metacpan.org/pod/Plack%3A%3AMiddleware)
- [Ref::Util](https://metacpan.org/pod/Ref%3A%3AUtil)
- [Text::Minify::XS](https://metacpan.org/pod/Text%3A%3AMinify%3A%3AXS) version v0.7.8 or later
- [parent](https://metacpan.org/pod/parent)
- [perl](https://metacpan.org/pod/perl) version v5.14.0 or later
- [warnings](https://metacpan.org/pod/warnings)
See the `cpanfile` file for the full list of prerequisites.
# INSTALLATION
The latest version of this module (along with any dependencies) can be installed from [CPAN](https://www.cpan.org) with the `cpan` tool that is included with Perl:
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.037
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "Plack::Middleware" => "0";
requires "Ref::Util" => "0";
requires "Text::Minify::XS" => "v0.7.8";
requires "parent" => "0";
requires "perl" => "v5.14.0";
requires "warnings" => "0";
recommends "Ref::Util::XS" => "0";
on 'build' => sub {
requires "ExtUtils::MakeMaker" => "7.22";
requires "Module::Metadata" => "1.000015";
};
on 'test' => sub {
requires "File::Spec" => "0";
requires "File::Temp" => "0";
requires "HTTP::Request::Common" => "0";
lib/Plack/Middleware/Text/Minify.pm view on Meta::CPAN
# ABSTRACT: remove HTML indentation on the fly
use v5.14;
use warnings;
use parent qw/ Plack::Middleware /;
use Plack::Util;
use Plack::Util::Accessor qw/ path type /;
use Ref::Util qw/ is_arrayref is_coderef /;
use Text::Minify::XS v0.7.8 ();
# RECOMMEND PREREQ: Ref::Util::XS
our $VERSION = 'v0.4.2';
sub call {
my ($self, $env) = @_;
my $res = $self->app->($env);
return $res if $env->{'psgix.no-minify'};
t/00-report-prereqs.dd view on Meta::CPAN
'Test::Pod::LinkCheck' => '0',
'Test::Portability::Files' => '0',
'Test::Spelling' => '0.17',
'Test::TrailingSpace' => '0.0203',
'Test::Vars' => '0.015',
'strict' => '0'
}
},
'runtime' => {
'recommends' => {
'Ref::Util::XS' => '0'
},
'requires' => {
'Plack::Middleware' => '0',
'Ref::Util' => '0',
'Text::Minify::XS' => 'v0.7.8',
'parent' => '0',
'perl' => 'v5.14.0',
'warnings' => '0'
}
},
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900'
},
( run in 1.974 second using v1.01-cache-2.11-cpan-fe3c2283af0 )