lib/Grimlock/Web.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Grimlock/Schema/ResultSet/User.pm ↑ Summary lib/Grimlock/Web/Model/Database.pm »
1 package Grimlock::Web;
2 {
3 4 $Grimlock::Web::VERSION = '0.11';
4 }
5 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 ▶use Catalyst::Runtime 5.90;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 # Set flags and add plugins for the application.
11 #
12 # Note that ORDERING IS IMPORTANT here as plugins are initialized in order,
13 # therefore you almost certainly want to keep ConfigLoader at the head of the
14 # list if you're using it.
15 #
16 # -Debug: activates the debug mode for very useful log messages
17 # ConfigLoader: will load the configuration from a Config::General file in the
18 # application's home directory
19 # Static::Simple: will serve static files from the application's root
20 # directory
21  
22 4 ▶use Catalyst qw/
Subroutine BEGIN: called CC=1 SCAR=0.0
23 ConfigLoader
24 Static::Simple
25 Authentication
26 Authorization::Roles
27 Session
28 Session::Store::DBIC
29 Session::State::Cookie
30 4 /;
31  
32 4 extends 'Catalyst';
33  
34  
35 # Configure the application.
36 #
37 # Note that settings in computron_web.conf (or other external
38 # configuration file that you set up manually) take precedence
39 # over this when using ConfigLoader. Thus configuration
40 # details given here can function as a default configuration,
41 # with an external configuration file acting as an override for
42 # local deployment.
43  
44 4 __PACKAGE__->config(
45 name => 'Grimlock::Web',
46 # Disable deprecated behavior needed by old applications
47 disable_component_resolution_regex_fallback => 1,
48 );
49  
50 # Start the application
51 4 __PACKAGE__->setup();
52  
53  
54 =head1 NAME
55  
56 Grimlock::Web - Catalyst based application
57  
58 =head1 SYNOPSIS
59  
60 script/computron_web_server.pl
61  
62 =head1 DESCRIPTION
63  
64 [enter your description here]
65  
66 =head1 SEE ALSO
67  
68 L<Grimlock::Web::Controller::Root>, L<Catalyst>
69  
70 =head1 AUTHOR
71  
72 Devin Austin
73  
74 =head1 LICENSE
75  
76 This library is free software. You can redistribute it and/or modify
77 it under the same terms as Perl itself.
78  
79 =cut
80  
81 4 1;
« lib/Grimlock/Schema/ResultSet/User.pm ↑ Summary lib/Grimlock/Web/Model/Database.pm »