auto/share/dist/Dist-Zilla-MintingProfile-AppKitX/profiles/default/AppKitX.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package {{ $name }};
2  
3 use Moose::Role;
4 use CatalystX::InjectComponent;
5 use namespace::autoclean;
6  
7 with 'OpusVL::AppKit::RolesFor::Plugin';
8  
9 our $VERSION = '0.01';
10 {{
11 ($controller) = ($name =~ /::([^:]+)$/); ''
12 }}
13 after 'setup_components' => sub {
14 my $class = shift;
15
16 $class->add_paths(__PACKAGE__);
17
18 # .. inject your components here ..
19 CatalystX::InjectComponent->inject(
20 into => $class,
21 component => '{{ $name }}::Controller::{{ $controller }}',
22 as => 'Controller::{{ $controller }}'
23 );
24 };
25  
26 1;
27  
28 =head1 NAME
29  
30 {{ $name }} - A brand new AppKitX component
31  
32 =head1 DESCRIPTION
33  
34 Frobnicates the whirligigs in a modular and reusable pattern
35  
36 =head1 COPYRIGHT and LICENSE
37  
38 Copyright (C) 2015 OpusVL
39  
40 This software is licensed according to the "IP Assignment Schedule" provided with the development project.