Skip to content

Commit b5231f7

Browse files
committed
Types::URI -> MetaCPAN::Types::TypeTiny
1 parent 417f69f commit b5231f7

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

lib/MetaCPAN/Model/Email/PAUSE.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ use Email::Sender::Simple qw( sendmail );
66
use Email::Sender::Transport::SMTP ();
77
use Email::Simple ();
88
use Encode ();
9-
use Types::URI qw( Uri );
10-
use MetaCPAN::Types::TypeTiny qw( Object );
9+
use MetaCPAN::Types::TypeTiny qw( Object Uri );
1110
use Try::Tiny qw( catch try );
1211

1312
with('MetaCPAN::Role::HasConfig');

lib/MetaCPAN/Pod/Renderer.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package MetaCPAN::Pod::Renderer;
33
use MetaCPAN::Moose;
44

55
use MetaCPAN::Pod::XHTML;
6-
use Types::URI qw( Uri );
6+
use MetaCPAN::Types::TypeTiny qw( Uri );
77
use Pod::Markdown;
88
use Pod::POM;
99
use Pod::POM::View::Pod;

lib/MetaCPAN/Script/CPANTesters.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ use File::Temp qw(tempdir);
99
use File::stat qw(stat);
1010
use IO::Uncompress::Bunzip2 qw(bunzip2);
1111
use Log::Contextual qw( :log :dlog );
12-
use Types::URI qw( Uri );
13-
use MetaCPAN::Types::TypeTiny qw( Path Bool );
12+
use MetaCPAN::Types::TypeTiny qw( Path Bool Uri );
1413
use ElasticSearchX::Model::Document::Types qw(ESBulk);
1514
use Moose;
1615

lib/MetaCPAN/Script/CPANTestersAPI.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use warnings;
55

66
use Log::Contextual qw( :log :dlog );
77
use Cpanel::JSON::XS qw( decode_json );
8-
use Types::URI qw( Uri );
8+
use MetaCPAN::Types::TypeTiny qw( Uri );
99
use ElasticSearchX::Model::Document::Types qw(ESBulk);
1010
use Moose;
1111

lib/MetaCPAN/Script/Cover.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use namespace::autoclean;
55

66
use Cpanel::JSON::XS qw( decode_json );
77
use Log::Contextual qw( :log :dlog );
8-
use Types::URI qw( Uri );
9-
use MetaCPAN::Types::TypeTiny qw( Bool Str );
8+
use MetaCPAN::Types::TypeTiny qw( Bool Str Uri );
109
use Path::Tiny qw( path );
1110

1211
with 'MetaCPAN::Role::Script', 'MooseX::Getopt';

lib/MetaCPAN/Script/River.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use namespace::autoclean;
55

66
use Cpanel::JSON::XS qw( decode_json );
77
use Log::Contextual qw( :log :dlog );
8-
use Types::URI qw( Uri );
9-
use MetaCPAN::Types::TypeTiny qw( ArrayRef Str );
8+
use MetaCPAN::Types::TypeTiny qw( ArrayRef Str Uri );
109

1110
with 'MetaCPAN::Role::Script', 'MooseX::Getopt';
1211

lib/MetaCPAN/Types/TypeTiny.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use Type::Library -base, -declare => (
2727
)
2828
);
2929
use Type::Utils -all;
30-
BEGIN { extends qw( Types::Standard Types::Path::Tiny ) }
30+
BEGIN { extends qw( Types::Standard Types::Path::Tiny Types::URI ) }
3131

3232
declare Stringable, as Object, where { overload::Method( $_, '""' ) };
3333

0 commit comments

Comments
 (0)