ASP4x-Router
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
--- #YAML:1.0
name: ASP4x-Router
version: 0.022
abstract: URL Routing for your ASP4 web application.
author:
- John Drago <jdrago_999@yahoo.com>
license: perl
distribution_type: module
test_requires:
Test::More: 0
requires:
Carp: 0
ASP4: 1.080
Router::Generic: 0.016
recommends:
Apache2::RequestRec: 0
no_index:
directory:
- t
- inc
Makefile.PL view on Meta::CPAN
use strict;
use warnings;
use inc::Module::Install;
use 5.008005;
name 'ASP4x-Router';
perl_version '5.008001';
license 'perl';
all_from 'lib/ASP4x/Router.pm';
test_requires 'Test::More' => '0';
requires 'ASP4' => '1.080';
requires 'Router::Generic' => '0.016';
recommends 'Apache2::RequestRec';
tests_recursive();
WriteAll();
t/010-basic/010-compile.t view on Meta::CPAN
#!/usr/bin/perl -w
use strict;
use warnings 'all';
use Test::More 'no_plan';
use_ok('ASP4x::Router');
t/010-basic/020-rest-crud.t view on Meta::CPAN
#!/usr/bin/perl -w
use strict;
use warnings 'all';
use Test::More 'no_plan';
use ASP4::API;
my $api; BEGIN { $api = ASP4::API->new }
use_ok('ASP4x::Router');
# CreatePage:
my $res = $api->ua->get("/main/truck/create/");
is( $res->content => "CreatePage truck\n", "GET '/main/truck/create/' correct");
t/010-basic/030-non-routed.t view on Meta::CPAN
#!/usr/bin/perl -w
use strict;
use warnings 'all';
use Test::More 'no_plan';
use ASP4::API;
my $api; BEGIN { $api = ASP4::API->new }
ok(
my $res = $api->ua->get("/no-routing/"),
"Got /no-routing/"
);
is( $res->content => "NOT ROUTED
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.758 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )