From 6c0bed02dd1807ce831651ce57425441b6647614 Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 25 Oct 2014 20:24:06 +0200 Subject: [PATCH] Applied patch to use PSGI Engine, closes #123 --- Changes | 3 ++- Makefile.PL | 1 - app.psgi | 3 +-- script/mojomojo.psgi | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index dea856e0..1b1bbf1c 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ - - Add valid answer to registration captcha 1.11 + - Apply patch from debian downstream to use current PSGI engine + - Add valid answer to registration captcha - Fix rss bug from prev release (#68) - Enable admin created users by default. (#90) diff --git a/Makefile.PL b/Makefile.PL index e328ccb0..091d8d5b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -18,7 +18,6 @@ requires( 'Catalyst::Action::RenderView' => '0.07', 'Catalyst::Authentication::Store::DBIx::Class' => '0.101', 'Catalyst::Controller::HTML::FormFu' => '0.03007', - 'Catalyst::Engine::PSGI' => '0', 'Catalyst::Model::DBIC::Schema' => '0.01', 'Catalyst::Plugin::Authentication' => '0.10005', 'Catalyst::Plugin::Cache' => 0.08, diff --git a/app.psgi b/app.psgi index 0a2b5eb0..87c8aec5 100755 --- a/app.psgi +++ b/app.psgi @@ -4,6 +4,5 @@ use warnings; use lib 'lib'; use MojoMojo; -MojoMojo->setup_engine('PSGI'); -my $app = sub { MojoMojo->run(@_) }; +my $app = MojoMojo->psgi_app(@_); diff --git a/script/mojomojo.psgi b/script/mojomojo.psgi index 34e26ed5..e506aa25 100755 --- a/script/mojomojo.psgi +++ b/script/mojomojo.psgi @@ -3,6 +3,5 @@ use strict; use warnings; use MojoMojo; -MojoMojo->setup_engine('PSGI'); -my $app = sub { MojoMojo->run(@_) }; +my $app = MojoMojo->psgi_app(@_);