Catalyst-Plugin-Static-File
view release on metacpan or search on metacpan
},
"runtime" : {
"requires" : {
"Catalyst" : "5",
"File::Spec" : "0",
"File::stat" : "0",
"IO::File" : "0",
"Moose::Role" : "0",
"Plack::MIME" : "0",
"Plack::Util" : "0",
"Try::Tiny" : "0",
"namespace::autoclean" : "0",
"perl" : "v5.14.0"
}
},
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900",
"Plack::Middleware::ETag" : "0"
},
"requires" : {
file: lib/Catalyst/Plugin/Static/File.pm
version: v0.2.3
requires:
Catalyst: '5'
File::Spec: '0'
File::stat: '0'
IO::File: '0'
Moose::Role: '0'
Plack::MIME: '0'
Plack::Util: '0'
Try::Tiny: '0'
namespace::autoclean: '0'
perl: v5.14.0
resources:
bugtracker: https://github.com/robrwo/Catalyst-Plugin-Static-File/issues
repository: git://github.com/robrwo/Catalyst-Plugin-Static-File.git
version: v0.2.3
x_authority: cpan:RRWO
x_generated_by_perl: v5.34.3
x_serialization_backend: 'YAML::Tiny version 1.76'
x_spdx_expression: Artistic-2.0
Makefile.PL view on Meta::CPAN
"MIN_PERL_VERSION" => "5.014000",
"NAME" => "Catalyst::Plugin::Static::File",
"PREREQ_PM" => {
"Catalyst" => 5,
"File::Spec" => 0,
"File::stat" => 0,
"IO::File" => 0,
"Moose::Role" => 0,
"Plack::MIME" => 0,
"Plack::Util" => 0,
"Try::Tiny" => 0,
"namespace::autoclean" => 0
},
"TEST_REQUIRES" => {
"Catalyst" => 5,
"Catalyst::Controller" => 0,
"Catalyst::Test" => 0,
"File::Spec" => 0,
"FindBin" => 0,
"HTTP::Request::Common" => 0,
"HTTP::Status" => 0,
Makefile.PL view on Meta::CPAN
"Plack::Builder" => 0,
"Plack::MIME" => 0,
"Plack::Middleware::ConditionalGET" => 0,
"Plack::Middleware::MethodOverride" => 0,
"Plack::Middleware::XSendfile" => 0,
"Plack::Util" => 0,
"Test::Log::Dispatch" => 0,
"Test::More" => 0,
"Test::Most" => 0,
"Test::WWW::Mechanize::PSGI" => 0,
"Try::Tiny" => 0,
"lib" => 0,
"namespace::autoclean" => 0,
"strict" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.032
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "Catalyst" => "5";
requires "File::Spec" => "0";
requires "File::stat" => "0";
requires "IO::File" => "0";
requires "Moose::Role" => "0";
requires "Plack::MIME" => "0";
requires "Plack::Util" => "0";
requires "Try::Tiny" => "0";
requires "namespace::autoclean" => "0";
requires "perl" => "v5.14.0";
on 'build' => sub {
requires "ExtUtils::MakeMaker" => "7.22";
requires "Module::Metadata" => "1.000015";
};
on 'test' => sub {
requires "Catalyst" => "5";
lib/Catalyst/Plugin/Static/File.pm view on Meta::CPAN
# ABSTRACT: Serve a specific static file
use Moose::Role;
use File::Spec;
use File::stat;
use IO::File;
use Plack::MIME;
use Plack::Util;
use Try::Tiny;
use namespace::autoclean;
our $VERSION = 'v0.2.3';
sub serve_static_file {
my ( $c, $path, $type ) = @_;
my $res = $c->res;
t/00-report-prereqs.dd view on Meta::CPAN
},
'runtime' => {
'requires' => {
'Catalyst' => '5',
'File::Spec' => '0',
'File::stat' => '0',
'IO::File' => '0',
'Moose::Role' => '0',
'Plack::MIME' => '0',
'Plack::Util' => '0',
'Try::Tiny' => '0',
'namespace::autoclean' => '0',
'perl' => 'v5.14.0'
}
},
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900',
'Plack::Middleware::ETag' => '0'
},
'requires' => {
( run in 0.590 second using v1.01-cache-2.11-cpan-05444aca049 )