Catalyst-Plugin-ExternalURI
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
---
abstract: 'Rewrite URLs generated with uri_for'
author:
- 'Jose Luis Martinez Torres <jlmartin@cpan.org>'
build_requires:
Catalyst::Plugin::ConfigLoader: 0
Catalyst::Plugin::Static::Simple: 0
Catalyst::Test: 0
Test::More: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.133380'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Makefile.PL view on Meta::CPAN
},
"DISTNAME" => "Catalyst-Plugin-ExternalURI",
"EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Catalyst::Plugin::ExternalURI",
"PREREQ_PM" => {
"Catalyst::Runtime" => "5.8",
"Regexp::Common" => 0
},
"TEST_REQUIRES" => {
"Catalyst::Plugin::ConfigLoader" => 0,
"Catalyst::Plugin::Static::Simple" => 0,
"Catalyst::Test" => 0,
"Test::More" => 0
},
"VERSION" => "0.02",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Catalyst::Plugin::ConfigLoader" => 0,
"Catalyst::Plugin::Static::Simple" => 0,
"Catalyst::Runtime" => "5.8",
"Catalyst::Test" => 0,
"Regexp::Common" => 0,
"Test::More" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
-bundle = @Basic
-remove = README
[Prereqs]
Catalyst::Runtime = 5.8
Regexp::Common = 0
[Prereqs / TestRequires ]
Test::More = 0
Catalyst::Test = 0
Catalyst::Plugin::ConfigLoader = 0
Catalyst::Plugin::Static::Simple = 0
t/lib/TestURIs.pm view on Meta::CPAN
package TestURIs;
use Moose;
use namespace::autoclean;
use Catalyst::Runtime 5.80;
# Set flags and add plugins for the application.
#
# Note that ORDERING IS IMPORTANT here as plugins are initialized in order,
# therefore you almost certainly want to keep ConfigLoader at the head of the
# list if you're using it.
#
# -Debug: activates the debug mode for very useful log messages
# ConfigLoader: will load the configuration from a Config::General file in the
# application's home directory
# Static::Simple: will serve static files from the application's root
# directory
use Catalyst qw/
-Debug
ConfigLoader
Static::Simple
ExternalURI
/;
extends 'Catalyst';
our $VERSION = '0.01';
# Configure the application.
#
# Note that settings in testuris.conf (or other external
# configuration file that you set up manually) take precedence
# over this when using ConfigLoader. Thus configuration
# details given here can function as a default configuration,
# with an external configuration file acting as an override for
# local deployment.
__PACKAGE__->config(
name => 'TestURIs',
# Disable deprecated behavior needed by old applications
disable_component_resolution_regex_fallback => 1,
enable_catalyst_header => 1, # Send X-Catalyst header
externaluri => [
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.910 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )