Catalyst-Plugin-CheckFileUploadTypes

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

abstract: 'Check uploaded files are expected and of the correct type'
author:
  - 'David Precious <davidp@preshweb.co.uk>'
build_requires:
  Catalyst: '0'
  Catalyst::Controller: '0'
  Catalyst::Plugin::ConfigLoader: '0'
  Catalyst::Runtime: '5.80'
  Catalyst::Test: '0'
  FindBin: '0'
  HTTP::Request::Common: '0'
  HTTP::Status: '0'
  Test::More: '0'
  lib: '0'
  strict: '0'
  warnings: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010'
license: perl

Makefile.PL  view on Meta::CPAN

    "Moose" => 0,
    "namespace::autoclean" => 0
  },
  "TEST_REQUIRES" => {
    "Catalyst" => 0,
    "Catalyst::Controller" => 0,
    "Catalyst::Plugin::ConfigLoader" => 0,
    "Catalyst::Runtime" => "5.80",
    "Catalyst::Test" => 0,
    "FindBin" => 0,
    "HTTP::Request::Common" => 0,
    "HTTP::Status" => 0,
    "Test::More" => 0,
    "lib" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "VERSION" => "0.20",
  "test" => {
    "TESTS" => "t/*.t"
  }

Makefile.PL  view on Meta::CPAN

  "Catalyst" => 0,
  "Catalyst::ClassData" => 0,
  "Catalyst::Controller" => 0,
  "Catalyst::Plugin::ConfigLoader" => 0,
  "Catalyst::Runtime" => "5.80",
  "Catalyst::Test" => 0,
  "Data::Dumper" => 0,
  "Data::Printer" => 0,
  "File::LibMagic" => 0,
  "FindBin" => 0,
  "HTTP::Request::Common" => 0,
  "HTTP::Status" => 0,
  "MRO::Compat" => 0,
  "Moose" => 0,
  "Test::More" => 0,
  "lib" => 0,
  "namespace::autoclean" => 0,
  "strict" => 0,
  "warnings" => 0
);

t/01app.t  view on Meta::CPAN

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;

use HTTP::Request::Common;
use HTTP::Status;

use FindBin qw($Bin);
use lib "$Bin/lib";

use Catalyst::Test 'TestApp';


ok( request('/')->is_success, 'Request with no uploads is fine' );



( run in 2.944 seconds using v1.01-cache-2.11-cpan-140bd7fdf52 )