Dancer2-Plugin-DataTransposeValidator

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      ]
   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "Email::Valid" : "0",
            "HTTP::Request::Common" : "0",
            "JSON::MaybeXS" : "0",
            "Plack" : "1.0035",
            "Test::Deep" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0",
            "aliased" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {

META.yml  view on Meta::CPAN

---
abstract: 'Data::Transpose::Validator plugin for Dancer2'
author:
  - 'Peter Mottram <peter@sysnix.com>'
build_requires:
  Email::Valid: '0'
  HTTP::Request::Common: '0'
  JSON::MaybeXS: '0'
  Plack: '1.0035'
  Test::Deep: '0'
  Test::Fatal: '0'
  Test::More: '0'
  aliased: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'

Makefile.PL  view on Meta::CPAN

        ? ( 'LICENSE' => 'perl' )
        : () ),
    MIN_PERL_VERSION => '5.010000',
    BUILD_REQUIRES   => {
        'aliased'               => 0,
        'Email::Valid'          => 0,
        'HTTP::Request::Common' => 0,
        'JSON::MaybeXS'         => 0,
        'Plack'                 => '1.0035',
        'Test::Deep'            => 0,
        'Test::Fatal'           => 0,
        'Test::More'            => 0,
    },
    PREREQ_PM => {
        'Carp'                       => 0,
        'Dancer2::Plugin'            => '0.205000',
        'Dancer2::Core::Types'       => 0,
        'Data::Transpose'            => '0.0020',
        'Data::Transpose::Validator' => 0,
        'Module::Runtime'            => 0,
        'Moo'                        => '2.000000',

t/plugin.t  view on Meta::CPAN

#!perl
use strict;
use warnings;

BEGIN {
    $ENV{DANCER_CONFDIR} = 't';
}

use Test::More import => ['!pass'];
use Test::Deep;
use Test::Fatal;
use lib 't/lib';

use HTTP::Request::Common;
use JSON::MaybeXS;
use Plack::Builder;
use Plack::Test;

{

    package TestAppNoConfig;

t/validator.t  view on Meta::CPAN

#!perl
use strict;
use warnings;

use Test::More;
use Test::Deep;
use Test::Fatal;
use aliased 'Dancer2::Plugin::DataTransposeValidator::Validator';

subtest test_required_constructor_args => sub {
    my %args = (
        params => { a       => 1 },
        rules  => { options => {}, prepare => {} },
        css_error_class => 'foo',
        errors_hash     => 'joined',
    );



( run in 1.700 second using v1.01-cache-2.11-cpan-54e63673c56 )