From: Florian Ragwitz Date: Sun, 28 Dec 2008 14:14:25 +0000 (+0000) Subject: s/Catalyst::Component::Role::CaptureApp/Catalyst::Component::ApplicationAttribute/g X-Git-Tag: 5.8000_05~63 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=c1ec627ecb058c863d93f1f3b0b4697047bc8adf s/Catalyst::Component::Role::CaptureApp/Catalyst::Component::ApplicationAttribute/g --- diff --git a/Changes b/Changes index 2a2ecba..f1cf48b 100644 --- a/Changes +++ b/Changes @@ -20,7 +20,7 @@ - Change streaming test to serve itself rather than 01use.t, making test sync for engines easier (t0m) - Refactor capturing of $app from Catalyst::Controller into - Catalyst::Component::Role::CaptureApp for easier reuse in other + Catalyst::Component::ApplicationAttribute for easier reuse in other components (Florian Ragwitz) - Make the test suites YAML dependency optional (Florian Ragwitz) - Make debug output show class name for the engine and dispatcher diff --git a/lib/Catalyst/Component/Role/CaptureApp.pm b/lib/Catalyst/Component/ApplicationAttribute.pm similarity index 88% rename from lib/Catalyst/Component/Role/CaptureApp.pm rename to lib/Catalyst/Component/ApplicationAttribute.pm index 54da050..73dc401 100644 --- a/lib/Catalyst/Component/Role/CaptureApp.pm +++ b/lib/Catalyst/Component/ApplicationAttribute.pm @@ -1,4 +1,4 @@ -package Catalyst::Component::Role::CaptureApp; +package Catalyst::Component::ApplicationAttribute; use Moose::Role; use namespace::clean -except => 'meta'; diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 5c2267a..116991a 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -9,7 +9,7 @@ use Scalar::Util qw/blessed/; use Catalyst::Exception; use Catalyst::Utils; -with 'Catalyst::Component::Role::CaptureApp'; +with 'Catalyst::Component::ApplicationAttribute'; has path_prefix => (