[Bps-public-commit] Prophet branch, master, updated. 0.73-8-g38b1f34
sartak at bestpractical.com
sartak at bestpractical.com
Tue Oct 6 16:58:37 EDT 2009
The branch, master has been updated
via 38b1f3423f04c24347852d6d1371d9944f9933da (commit)
from aa68df8727287f98f57a36f15e6438b577696372 (commit)
Summary of changes:
lib/Prophet/Server.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 38b1f3423f04c24347852d6d1371d9944f9933da
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Oct 6 16:58:24 2009 -0400
Declare a class_type for CGI so that CGI|Undef dwims in Moose
diff --git a/lib/Prophet/Server.pm b/lib/Prophet/Server.pm
index 3c1d0e0..8d60ae4 100644
--- a/lib/Prophet/Server.pm
+++ b/lib/Prophet/Server.pm
@@ -1,6 +1,7 @@
package Prophet::Server;
use Any::Moose;
extends qw'HTTP::Server::Simple::CGI';
+use Any::Moose 'Util::TypeConstraints';
use Prophet::Server::Controller;
use Prophet::Server::View;
@@ -15,7 +16,7 @@ use Cwd ();
use JSON;
use HTTP::Date;
-
+class_type 'CGI';
has app_handle => (
isa => 'Prophet::App',
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list