Dancer2-Plugin-ParamTypes
view release on metacpan or search on metacpan
0.006 2019-04-22 16:47:51+03:00 Asia/Jerusalem
* Add minimum Perl version. (Mohammad S Anwar)
0.005 2019-02-24 23:01:26+02:00 Asia/Jerusalem
* Fix failed reports for usage of "package BLOCK". (Mohammad S Anwar)
0.004 2017-12-17 18:54:32+01:00 Europe/Amsterdam
* Use Ref::Util to speed up.
* Clean up some stuff.
0.003 2017-02-07 22:23:17+01:00 Europe/Amsterdam
* Fix typo in docs. (Thanks, Jason Gwartz!)
0.002 2016-12-18 10:31:16+01:00 Europe/Amsterdam
* Fix dependencies. Sorry.
"requires" : {
"Test::CPAN::Meta" : "0",
"Test::More" : "0.88",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41"
}
},
"runtime" : {
"requires" : {
"Dancer2" : "0",
"Ref::Util" : "0",
"constant" : "0",
"perl" : "5.008"
}
},
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Dancer2-Plugin-ParamTypes
provides:
Dancer2::Plugin::ParamTypes:
file: lib/Dancer2/Plugin/ParamTypes.pm
version: '0.006'
requires:
Dancer2: '0'
Ref::Util: '0'
constant: '0'
perl: '5.008'
resources:
bugtracker: https://github.com/xsawyerx/dancer2-plugin-paramtypes/issues
repository: git://github.com/xsawyerx/dancer2-plugin-paramtypes.git
version: '0.006'
x_serialization_backend: 'YAML::Tiny version 1.73'
Makefile.PL view on Meta::CPAN
"AUTHOR" => "Sawyer X",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "7.1101"
},
"DISTNAME" => "Dancer2-Plugin-ParamTypes",
"LICENSE" => "mit",
"MIN_PERL_VERSION" => "5.008",
"NAME" => "Dancer2::Plugin::ParamTypes",
"PREREQ_PM" => {
"Dancer2" => 0,
"Ref::Util" => 0,
"constant" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"HTTP::Request::Common" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Plack::Test" => 0,
"Test::Memory::Cycle" => 0,
Makefile.PL view on Meta::CPAN
my %FallbackPrereqs = (
"Dancer2" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"HTTP::Request::Common" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Plack::Test" => 0,
"Ref::Util" => 0,
"Test::Memory::Cycle" => 0,
"Test::More" => 0,
"constant" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
requires 'Dancer2';
requires 'Ref::Util';
requires 'constant';
on 'test' => sub {
requires 'Test::More';
requires 'Plack::Test';
requires 'HTTP::Request::Common';
requires 'Test::Memory::Cycle';
suggests 'MooX::Types::MooseLike::Base';
};
lib/Dancer2/Plugin/ParamTypes.pm view on Meta::CPAN
use warnings;
use constant {
'ARGS_NUM_BASIC' => 3,
'ARGS_NUM_OPTIONAL' => 4,
'HTTP_BAD_REQUEST' => 400,
};
use Carp ();
use Dancer2::Plugin;
use Scalar::Util ();
use Ref::Util qw< is_ref is_arrayref >;
plugin_keywords(qw<register_type_check register_type_action with_types>);
has 'type_checks' => (
'is' => 'ro',
'default' => sub { +{} },
);
has 'type_actions' => (
'is' => 'ro',
t/00-report-prereqs.dd view on Meta::CPAN
'requires' => {
'Test::CPAN::Meta' => '0',
'Test::More' => '0.88',
'Test::NoTabs' => '0',
'Test::Pod' => '1.41'
}
},
'runtime' => {
'requires' => {
'Dancer2' => '0',
'Ref::Util' => '0',
'constant' => '0',
'perl' => '5.008'
}
},
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900'
},
'requires' => {
'ExtUtils::MakeMaker' => '0',
( run in 3.325 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )