Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed inc

  • Loading branch information...
commit fac02388fbd906da6cfddfd96f3199284d34b236 1 parent affc2e8
Dann authored March 15, 2009
2  angelos-core/Makefile.PL
@@ -80,7 +80,7 @@ requires(
80 80
 
81 81
     # Components (remove from core)
82 82
     'Template'                 => '2.20',
83  
-    'DBIx::Class::Schema'      => '0.08012',
  83
+    'DBIx::Class'              => '0.08012',
84 84
     'DBIx::Class::AsFdat'      => 0,
85 85
     'DBIx::Class::UTF8Columns' => 0,
86 86
 
7  angelos-core/lib/Angelos.pm
... ...
@@ -1,5 +1,6 @@
1 1
 package Angelos;
2 2
 use 5.008_001;
  3
+use strict;
3 4
 our $VERSION = '0.01';
4 5
 use Angelos::Class;
5 6
 use Angelos::MIMETypes;
@@ -294,7 +295,7 @@ __END__
294 295
 
295 296
 =head1 NAME
296 297
 
297  
-Angelos -
  298
+Angelos - MVC Web Application Framework
298 299
 
299 300
 =head1 SYNOPSIS
300 301
 
@@ -309,7 +310,7 @@ Angelos -
309 310
   $app->run;
310 311
   1;
311 312
 
312  
-Edit conf/routes.yaml to make dispatch rules and create an application class like below.
  313
+Edit conf/routes.pl to make dispatch rules and create an application class like below.
313 314
 
314 315
 =head1 DESCRIPTION
315 316
 
@@ -325,7 +326,7 @@ Many people have contributed ideas, inspiration, fixes and features to
325 326
 the Angelos.  Their efforts continue to be very much appreciated.
326 327
 Please let me know if you think anyone is missing from this list.
327 328
 
328  
-Lyo Kato, Tomyhero Teranishi, vkgtaro, hideden, bonnu
  329
+Lyo Kato, vkgtaro, hideden, bonnu, Tomyhero Teranishi
329 330
 
330 331
 =head1 SEE ALSO
331 332
 
2  angelos-core/lib/Angelos/CLI.pm
... ...
@@ -1,4 +1,6 @@
1 1
 package Angelos::CLI;
  2
+use strict;
  3
+use warnings;
2 4
 use base qw(App::Cmd);
3 5
 
4 6
 =head1 NAME
2  angelos-core/lib/Angelos/Config/Schema.pm
... ...
@@ -1,4 +1,6 @@
1 1
 package Angelos::Config::Schema;
  2
+use strict;
  3
+use warnings;
2 4
 
3 5
 sub config {
4 6
     my $schema = {
2  angelos-core/lib/Angelos/Config/Validator.pm
... ...
@@ -1,4 +1,6 @@
1 1
 package Angelos::Config::Validator;
  2
+use strict;
  3
+use warnings;
2 4
 
3 5
 our $HasKwalify;
4 6
 eval {
8  angelos-core/lib/Angelos/Controller/Mixin/Responder.pm
... ...
@@ -1,4 +1,5 @@
1 1
 package Angelos::Controller::Mixin::Responder;
  2
+use strict;
2 3
 use Mouse::Role;
3 4
 
4 5
 has '__contenttype_to_view_mappings' => (
@@ -7,7 +8,7 @@ has '__contenttype_to_view_mappings' => (
7 8
         {   'text/html'        => 'TT',
8 9
             'application/json' => 'JSON',
9 10
         },
10  
-        ;
  11
+            ;
11 12
     }
12 13
 );
13 14
 
@@ -22,8 +23,9 @@ sub __content_type {
22 23
 sub __content_type_from_format {
23 24
     my $self   = shift;
24 25
     my $format = $self->context->_match->{format};
25  
-    my $content_type
26  
-        = $self->context->available_mimetypes->mime_type_of($format)
  26
+    my $content_type;
  27
+    $content_type
  28
+        ||= $self->context->available_mimetypes->mime_type_of($format)
27 29
         if $format;
28 30
     $content_type;
29 31
 }
2  angelos-core/lib/Angelos/Dispatcher/Routes/Builder.pm
@@ -17,7 +17,7 @@ sub build_from_config {
17 17
 sub build {
18 18
     my ( $self, $conf ) = @_;
19 19
     my $content = $conf->slurp;
20  
-    my $router  = eval $content;
  20
+    my $router  = eval $content; ##no critic
21 21
     if ( my $e = $@ ) {
22 22
         Angelos::Exception->throw(
23 23
             message => "Can't load routes.pl: $conf. error: $e" );
1  angelos-core/lib/Angelos/Logger/Dispatch.pm
@@ -38,6 +38,7 @@ sub _generate_logger_class {
38 38
     # Log::Dispatch::Config is Singleton class,
39 39
     # This causes trobule under mod_perl enviroment,
40 40
     # So, we generate application specific logger class
  41
+    ## no critic
41 42
     eval <<"";
42 43
         package $logger;
43 44
         use base qw/Log\::Dispatch\::Config/;
2  angelos-core/lib/Angelos/Manual.pm
... ...
@@ -1,4 +1,6 @@
1 1
 package Angelos::Manual;
  2
+use strict;
  3
+use warnings;
2 4
 
3 5
 =head1 NAME
4 6
 
2  angelos-core/lib/Angelos/Script.pm
... ...
@@ -1,4 +1,6 @@
1 1
 package Angelos::Script;
  2
+use strict;
  3
+use warnings;
2 4
 use base qw(App::Cmd);
3 5
 
4 6
 1;
2  angelos-core/xt/perlcriticrc
@@ -2,4 +2,4 @@
2 2
 allow=refs
3 3
 
4 4
 [TestingAndDebugging::RequireUseStrict]
5  
-equivalent_modules = Mouse Mouse::Role Angelos::Class Angelos::Role Angelos::Plugin HTTP::Engine::Middleware Test::Base
  5
+equivalent_modules = Mouse Mouse::Role Angelos::Class Angelos::Role Angelos::Plugin HTTP::Engine::Middleware Test::Base Angelos::Controller::Mixin::Responder Angelos::Manual

0 notes on commit fac0238

Please sign in to comment.
Something went wrong with that request. Please try again.