[boxer] 09/33: Tidy Path::Tiny usage in B::Task::Serialize.

Jonas Smedegaard dr at jones.dk
Sun Nov 5 18:28:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/1.1.5-1
in repository boxer.

commit e4fb8df3b4e1094d06e20d47a4faac06e2317eb3
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jul 2 21:04:19 2016 +0200

    Tidy Path::Tiny usage in B::Task::Serialize.
---
 lib/Boxer/Task/Serialize.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Boxer/Task/Serialize.pm b/lib/Boxer/Task/Serialize.pm
index 5ca7afe..330069b 100644
--- a/lib/Boxer/Task/Serialize.pm
+++ b/lib/Boxer/Task/Serialize.pm
@@ -52,7 +52,7 @@ has skeldir => (
 	isa      => SkelDir,
 	coerce   => 1,
 	required => 1,
-	default  => sub { Path::Tiny->new( dist_dir('Boxer') )->child('skel') },
+	default  => sub { path( dist_dir('Boxer'), 'skel' ) },
 );
 
 has infile => (
@@ -76,7 +76,7 @@ has outdir => (
 	isa      => Dir,
 	coerce   => Dir->coercion,
 	required => 1,
-	default  => sub {'.'},
+	default  => sub { path('.') },
 );
 
 has outfile => (

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/boxer.git



More information about the Pkg-perl-cvs-commits mailing list