From: Graham Knop Date: Thu, 12 Apr 2018 13:45:38 +0000 (+0200) Subject: remove dep on Class::Data::Inheritable which isn't needed anymore X-Git-Tag: v5.90118~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bd7ed1deb4f291b5e5629a0dec5209240d8abb0f remove dep on Class::Data::Inheritable which isn't needed anymore --- diff --git a/Makefile.PL b/Makefile.PL index 13c8230..0ed2afd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -63,7 +63,6 @@ my %META = ( 'Plack' => '0.9991', # IIS6+7 fix middleware 'Plack::Middleware::ReverseProxy' => '0.04', 'Plack::Test::ExternalServer' => 0, - 'Class::Data::Inheritable' => 0, 'Encode' => '2.49', 'LWP' => '5.837', # LWP had unicode fail in 5.8.26 'URI' => '1.65', diff --git a/t/lib/Catalyst/Plugin/Test/Plugin.pm b/t/lib/Catalyst/Plugin/Test/Plugin.pm index 0ec67b3..69341b7 100644 --- a/t/lib/Catalyst/Plugin/Test/Plugin.pm +++ b/t/lib/Catalyst/Plugin/Test/Plugin.pm @@ -1,10 +1,8 @@ package Catalyst::Plugin::Test::Plugin; - -use strict; -use warnings; +use Moose; use MRO::Compat; -use base qw/Class::Data::Inheritable/; +with 'Catalyst::ClassData'; __PACKAGE__->mk_classdata('ran_setup'); @@ -34,4 +32,5 @@ sub prepare_action { $c->next::method(@_); } +no Moose; 1; diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index bb88a73..12f00a3 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -145,9 +145,6 @@ sub finalize_headers { # Make sure we can load Inline plugins. package Catalyst::Plugin::Test::Inline; - -use strict; - -use base qw/Class::Data::Inheritable/; +use Moose; 1;