0.0022 2008-07-04 02:52:52
Fixed test shell script portability and missing dep on Class::C3
+
+0.0024 2008-11-19 16:00:54
+ Fixed for Catalyst 5.8
+
+0.0025 2009-01-09 14:59:20
+ Tell Static::Simple to ignore root/cgi-bin for C::C::CGIBin
author:
- 'Matt S. Trout <mst@shadowcat.co.uk>'
build_requires:
+ Catalyst::Plugin::Static::Simple: 0
Test::More: 0
distribution_type: module
generated_by: 'Module::Install version 0.77'
parent: 0
resources:
license: http://dev.perl.org/licenses/
-version: 0.0024
+version: 0.0025
name 'Catalyst-Controller-WrapCGI';
all_from 'lib/Catalyst/Controller/WrapCGI.pm';
author 'Matt S. Trout <mst@shadowcat.co.uk>';
+include 'Module::AutoInstall';
requires 'Catalyst' => '5.7007';
requires 'Class::C3';
requires 'List::MoreUtils';
requires 'File::Slurp';
+test_requires 'Catalyst::Plugin::Static::Simple';
+
build_requires 'Test::More';
auto_install;
use warnings;
use Class::C3;
-use URI::Escape;
use File::Slurp 'slurp';
use File::Find::Rule ();
use Catalyst::Exception ();
use Symbol 'gensym';
use List::MoreUtils 'any';
use IO::File ();
+use namespace::clean -except => 'meta';
use parent 'Catalyst::Controller::WrapCGI';
=head1 VERSION
-Version 0.003
+Version 0.004
=cut
-our $VERSION = '0.003';
+our $VERSION = '0.004';
=head1 SYNOPSIS
}
$self->next::method($app, @_);
+
+# Tell Static::Simple to ignore the cgi-bin dir.
+ if (!any{ $_ eq 'cgi-bin' } @{ $app->config->{static}{ignore_dirs}||[] }) {
+ push @{ $app->config->{static}{ignore_dirs} }, 'cgi-bin';
+ }
}
=head1 METHODS
=head1 VERSION
-Version 0.0024
+Version 0.0025
=cut
-our $VERSION = '0.0024';
+our $VERSION = '0.0025';
=head1 SYNOPSIS
use Catalyst::Runtime '5.70';
use parent 'Catalyst';
-__PACKAGE__->setup;
+__PACKAGE__->setup(qw/Static::Simple/);
1;