From: Graham Knop Date: Tue, 27 Apr 2021 07:00:44 +0000 (+0200) Subject: remove MooseX::Types prereq X-Git-Tag: v0.37~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Static-Simple.git;a=commitdiff_plain;h=5c87f754780c60e8b0d05240a5b9e1673ce124d3 remove MooseX::Types prereq --- diff --git a/Makefile.PL b/Makefile.PL index ac2bc10..3af26d6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -19,7 +19,6 @@ my %META = ( 'Catalyst::Runtime' => '5.80008', 'MIME::Types' => '2.03', 'Moose' => 0, - 'MooseX::Types' => 0, 'namespace::autoclean' => 0, }, }, diff --git a/lib/Catalyst/Plugin/Static/Simple.pm b/lib/Catalyst/Plugin/Static/Simple.pm index 65b502f..ef6aee2 100755 --- a/lib/Catalyst/Plugin/Static/Simple.pm +++ b/lib/Catalyst/Plugin/Static/Simple.pm @@ -5,14 +5,13 @@ use File::stat; use File::Spec (); use IO::File (); use MIME::Types (); -use MooseX::Types::Moose qw/ArrayRef Str/; use Catalyst::Utils; use namespace::autoclean; our $VERSION = '0.36'; has _static_file => ( is => 'rw' ); -has _static_debug_message => ( is => 'rw', isa => ArrayRef[Str] ); +has _static_debug_message => ( is => 'rw', isa => 'ArrayRef[Str]' ); after setup_finalize => sub { my $c = shift;