Source

p5-p5u / lib / P5U / Lib / DebianRelease.pm

Diff from to

File lib/P5U/Lib/DebianRelease.pm

 
 BEGIN {
 	$P5U::Lib::DebianRelease::AUTHORITY = 'cpan:TOBYINK';
-	$P5U::Lib::DebianRelease::VERSION   = '0.004';
+	$P5U::Lib::DebianRelease::VERSION   = '0.005';
 };
 
-use Any::Moose       0;
+use Moo;
+use Scalar::Does;
 use IO::Uncompress::Gunzip qw< gunzip $GunzipError >;
 use JSON             2.00  qw< from_json >;
 use LWP::Simple      0     qw< get >;
 use namespace::clean;
 
 has debian => (
-	is         => 'ro',
-	isa        => 'HashRef',
-	lazy_build => 1,
+	is         => 'lazy',
+	isa        => does('HASH'),
 );
 
 has cache_file => (
 
 This is a support library for the debian-release command.
 
-It's an L<Any::Moose>-based class.
+It's a L<Moo>-based class.
 
 =head2 Constructor