remove dep on Class::Data::Inheritable which isn't needed anymore
Graham Knop [Thu, 12 Apr 2018 13:45:38 +0000 (15:45 +0200)]
Makefile.PL
t/lib/Catalyst/Plugin/Test/Plugin.pm
t/lib/TestApp.pm

index 13c8230..0ed2afd 100644 (file)
@@ -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',
index 0ec67b3..69341b7 100644 (file)
@@ -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;
index bb88a73..12f00a3 100644 (file)
@@ -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;