Hello community, here is the log from the commit of package perl-Path-Tiny for openSUSE:Factory checked in at 2016-10-18 10:36:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Path-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Path-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Path-Tiny" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Path-Tiny/perl-Path-Tiny.changes 2016-07-10 18:45:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Path-Tiny.new/perl-Path-Tiny.changes 2016-10-18 10:36:36.000000000 +0200 @@ -1,0 +2,17 @@ +Tue Oct 11 06:04:21 UTC 2016 - [email protected] + +- updated to 0.098 + see /usr/share/doc/packages/perl-Path-Tiny/Changes + + 0.098 2016-10-09 23:25:11-04:00 America/New_York + + - No changes from 0.097-TRIAL. + + 0.097 2016-09-30 22:03:10-04:00 America/New_York (TRIAL RELEASE) + + [Additions] + + - Added 'realpath' option for 'tempfile' and 'tempdir' for situations + where an absolute temporary path just isn't enough. + +------------------------------------------------------------------- Old: ---- Path-Tiny-0.096.tar.gz New: ---- Path-Tiny-0.098.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Path-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.5Dpyee/_old 2016-10-18 10:36:37.000000000 +0200 +++ /var/tmp/diff_new_pack.5Dpyee/_new 2016-10-18 10:36:37.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Path-Tiny -Version: 0.096 +Version: 0.098 Release: 0 %define cpan_name Path-Tiny Summary: File path utility ++++++ Path-Tiny-0.096.tar.gz -> Path-Tiny-0.098.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/Changes new/Path-Tiny-0.098/Changes --- old/Path-Tiny-0.096/Changes 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/Changes 2016-10-10 05:25:46.000000000 +0200 @@ -1,5 +1,16 @@ Revision history for Path-Tiny +0.098 2016-10-09 23:25:11-04:00 America/New_York + + - No changes from 0.097-TRIAL. + +0.097 2016-09-30 22:03:10-04:00 America/New_York (TRIAL RELEASE) + + [Additions] + + - Added 'realpath' option for 'tempfile' and 'tempdir' for situations + where an absolute temporary path just isn't enough. + 0.096 2016-07-02 21:25:33-04:00 America/New_York - No changes from 0.095 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/MANIFEST new/Path-Tiny-0.098/MANIFEST --- old/Path-Tiny-0.096/MANIFEST 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/MANIFEST 2016-10-10 05:25:46.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.005. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. CONTRIBUTING.mkdn Changes LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/META.json new/Path-Tiny-0.098/META.json --- old/Path-Tiny-0.096/META.json 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/META.json 2016-10-10 05:25:46.000000000 +0200 @@ -4,7 +4,7 @@ "David Golden <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150009", + "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010", "license" : [ "apache_2_0" ], @@ -41,6 +41,7 @@ "Dist::Zilla::Plugin::MinimumPerl" : "0", "Dist::Zilla::Plugin::OnlyCorePrereqs" : "0", "Dist::Zilla::Plugin::Prereqs" : "0", + "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" : "0", "Dist::Zilla::Plugin::RemovePrereqs" : "0", "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072", "English" : "0", @@ -109,11 +110,11 @@ "provides" : { "Path::Tiny" : { "file" : "lib/Path/Tiny.pm", - "version" : "0.096" + "version" : "0.098" }, "Path::Tiny::Error" : { "file" : "lib/Path/Tiny.pm", - "version" : "0.096" + "version" : "0.098" } }, "release_status" : "stable", @@ -128,7 +129,7 @@ "web" : "https://github.com/dagolden/Path-Tiny" } }, - "version" : "0.096", + "version" : "0.098", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ "Alex Efros <[email protected]>", @@ -151,13 +152,14 @@ "Nigel Gregoire <[email protected]>", "Philippe Bruhat (BooK) <[email protected]>", "Regina Verbae <[email protected]>", - "Roy Ivy III <[email protected]>", + "Roy Ivy III <[email protected]>", "Shlomi Fish <[email protected]>", "Smylers <[email protected]>", "Tatsuhiko Miyagawa <[email protected]>", "Toby Inkster <[email protected]>", "Yanick Champoux <[email protected]>", "\uae40\ub3c4\ud615 - Keedi Kim <[email protected]>" - ] + ], + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0213" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/META.yml new/Path-Tiny-0.098/META.yml --- old/Path-Tiny-0.096/META.yml 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/META.yml 2016-10-10 05:25:46.000000000 +0200 @@ -17,7 +17,7 @@ ExtUtils::MakeMaker: '6.17' perl: '5.008001' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150009' +generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -35,10 +35,10 @@ provides: Path::Tiny: file: lib/Path/Tiny.pm - version: '0.096' + version: '0.098' Path::Tiny::Error: file: lib/Path/Tiny.pm - version: '0.096' + version: '0.098' recommends: Unicode::UTF8: '0.58' requires: @@ -64,7 +64,7 @@ bugtracker: https://github.com/dagolden/Path-Tiny/issues homepage: https://github.com/dagolden/Path-Tiny repository: https://github.com/dagolden/Path-Tiny.git -version: '0.096' +version: '0.098' x_authority: cpan:DAGOLDEN x_contributors: - 'Alex Efros <[email protected]>' @@ -87,10 +87,11 @@ - 'Nigel Gregoire <[email protected]>' - 'Philippe Bruhat (BooK) <[email protected]>' - 'Regina Verbae <[email protected]>' - - 'Roy Ivy III <[email protected]>' + - 'Roy Ivy III <[email protected]>' - 'Shlomi Fish <[email protected]>' - 'Smylers <[email protected]>' - 'Tatsuhiko Miyagawa <[email protected]>' - 'Toby Inkster <[email protected]>' - 'Yanick Champoux <[email protected]>' - '김도형 - Keedi Kim <[email protected]>' +x_serialization_backend: 'YAML::Tiny version 1.69' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/Makefile.PL new/Path-Tiny-0.098/Makefile.PL --- old/Path-Tiny-0.096/Makefile.PL 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/Makefile.PL 2016-10-10 05:25:46.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.005. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.008. use strict; use warnings; @@ -46,7 +46,7 @@ "lib" => 0, "open" => 0 }, - "VERSION" => "0.096", + "VERSION" => "0.098", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/README new/Path-Tiny-0.098/README --- old/Path-Tiny-0.096/README 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/README 2016-10-10 05:25:46.000000000 +0200 @@ -2,7 +2,7 @@ Path::Tiny - File path utility VERSION - version 0.096 + version 0.098 SYNOPSIS use Path::Tiny; @@ -166,7 +166,10 @@ $temp = Path::Tiny->tempfile( TEMPLATE => "customXXXXXXXX" ); # ok The tempfile path object will be normalized to have an absolute path, - even if created in a relative directory using "DIR". + even if created in a relative directory using "DIR". If you want it to + have the "realpath" instead, pass a leading options hash like this: + + $real_temp = tempfile({realpath => 1}, @options); "tempdir" is just like "tempfile", except it calls "File::Temp->newdir" instead. @@ -184,7 +187,12 @@ is destroyed, File::Temp requires different options for directories and files. Use "CLEANUP => 0" for directories and "UNLINK => 0" for files. - Current API available since 0.018. + Note 3: Don't lose the temporary object by chaining a method call + instead of storing it: + + my $lost = tempdir()->child("foo"); # tempdir cleaned up right away + + Current API available since 0.097. METHODS absolute @@ -1049,7 +1057,7 @@ * Regina Verbae <[email protected]> - * Roy Ivy III <[email protected]> + * Roy Ivy III <[email protected]> * Shlomi Fish <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/cpanfile new/Path-Tiny-0.098/cpanfile --- old/Path-Tiny-0.096/cpanfile 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/cpanfile 2016-10-10 05:25:46.000000000 +0200 @@ -51,6 +51,7 @@ requires "Dist::Zilla::Plugin::MinimumPerl" => "0"; requires "Dist::Zilla::Plugin::OnlyCorePrereqs" => "0"; requires "Dist::Zilla::Plugin::Prereqs" => "0"; + requires "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" => "0"; requires "Dist::Zilla::Plugin::RemovePrereqs" => "0"; requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072"; requires "English" => "0"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/dist.ini new/Path-Tiny-0.098/dist.ini --- old/Path-Tiny-0.096/dist.ini 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/dist.ini 2016-10-10 05:25:46.000000000 +0200 @@ -32,6 +32,9 @@ stopwords = utf MetaNoIndex.package = flock +[ReleaseStatus::FromVersion] +testing = third_decimal_odd + [MinimumPerl] [RemovePrereqs] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/lib/Path/Tiny.pm new/Path-Tiny-0.098/lib/Path/Tiny.pm --- old/Path-Tiny-0.096/lib/Path/Tiny.pm 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/lib/Path/Tiny.pm 2016-10-10 05:25:46.000000000 +0200 @@ -5,7 +5,7 @@ package Path::Tiny; # ABSTRACT: File path utility -our $VERSION = '0.096'; +our $VERSION = '0.098'; # Dependencies use Config; @@ -329,7 +329,10 @@ #pod $temp = Path::Tiny->tempfile( TEMPLATE => "customXXXXXXXX" ); # ok #pod #pod The tempfile path object will be normalized to have an absolute path, even if -#pod created in a relative directory using C<DIR>. +#pod created in a relative directory using C<DIR>. If you want it to have +#pod the C<realpath> instead, pass a leading options hash like this: +#pod +#pod $real_temp = tempfile({realpath => 1}, @options); #pod #pod C<tempdir> is just like C<tempfile>, except it calls #pod C<< File::Temp->newdir >> instead. @@ -348,12 +351,20 @@ #pod files. Use C<< CLEANUP => 0 >> for directories and C<< UNLINK => 0 >> for #pod files. #pod -#pod Current API available since 0.018. +#pod B<Note 3>: Don't lose the temporary object by chaining a method call instead +#pod of storing it: +#pod +#pod my $lost = tempdir()->child("foo"); # tempdir cleaned up right away +#pod +#pod Current API available since 0.097. #pod #pod =cut sub tempfile { shift if @_ && $_[0] eq 'Path::Tiny'; # called as method + my $opts = ( @_ && ref $_[0] eq 'HASH' ) ? shift @_ : {}; + $opts = _get_args( $opts, qw/realpath/ ); + my ( $maybe_template, $args ) = _parse_file_temp_args(@_); # File::Temp->new demands TEMPLATE $args->{TEMPLATE} = $maybe_template->[0] if @$maybe_template; @@ -361,19 +372,22 @@ require File::Temp; my $temp = File::Temp->new( TMPDIR => 1, %$args ); close $temp; - my $self = path($temp)->absolute; + my $self = $opts->{realpath} ? path($temp)->realpath : path($temp)->absolute; $self->[TEMP] = $temp; # keep object alive while we are return $self; } sub tempdir { shift if @_ && $_[0] eq 'Path::Tiny'; # called as method + my $opts = ( @_ && ref $_[0] eq 'HASH' ) ? shift @_ : {}; + $opts = _get_args( $opts, qw/realpath/ ); + my ( $maybe_template, $args ) = _parse_file_temp_args(@_); # File::Temp->newdir demands leading template require File::Temp; my $temp = File::Temp->newdir( @$maybe_template, TMPDIR => 1, %$args ); - my $self = path($temp)->absolute; + my $self = $opts->{realpath} ? path($temp)->realpath : path($temp)->absolute; $self->[TEMP] = $temp; # keep object alive while we are # Some ActiveState Perls for Windows break Cwd in ways that lead # File::Temp to get confused about what path to remove; this @@ -2093,7 +2107,7 @@ =head1 VERSION -version 0.096 +version 0.098 =head1 SYNOPSIS @@ -2264,7 +2278,10 @@ $temp = Path::Tiny->tempfile( TEMPLATE => "customXXXXXXXX" ); # ok The tempfile path object will be normalized to have an absolute path, even if -created in a relative directory using C<DIR>. +created in a relative directory using C<DIR>. If you want it to have +the C<realpath> instead, pass a leading options hash like this: + + $real_temp = tempfile({realpath => 1}, @options); C<tempdir> is just like C<tempfile>, except it calls C<< File::Temp->newdir >> instead. @@ -2283,7 +2300,12 @@ files. Use C<< CLEANUP => 0 >> for directories and C<< UNLINK => 0 >> for files. -Current API available since 0.018. +B<Note 3>: Don't lose the temporary object by chaining a method call instead +of storing it: + + my $lost = tempdir()->child("foo"); # tempdir cleaned up right away + +Current API available since 0.097. =head1 METHODS @@ -3286,7 +3308,7 @@ =item * -Roy Ivy III <[email protected]> +Roy Ivy III <[email protected]> =item * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/t/00-report-prereqs.dd new/Path-Tiny-0.098/t/00-report-prereqs.dd --- old/Path-Tiny-0.096/t/00-report-prereqs.dd 2016-07-03 03:26:09.000000000 +0200 +++ new/Path-Tiny-0.098/t/00-report-prereqs.dd 2016-10-10 05:25:46.000000000 +0200 @@ -14,6 +14,7 @@ 'Dist::Zilla::Plugin::MinimumPerl' => '0', 'Dist::Zilla::Plugin::OnlyCorePrereqs' => '0', 'Dist::Zilla::Plugin::Prereqs' => '0', + 'Dist::Zilla::Plugin::ReleaseStatus::FromVersion' => '0', 'Dist::Zilla::Plugin::RemovePrereqs' => '0', 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072', 'English' => '0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/t/temp.t new/Path-Tiny-0.098/t/temp.t --- old/Path-Tiny-0.096/t/temp.t 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/t/temp.t 2016-10-10 05:25:46.000000000 +0200 @@ -59,6 +59,16 @@ ok( -d $tempdir, "exists" ); }; +subtest "realpath option" => sub { + my $wd = tempd; + + my $tempdir = Path::Tiny->tempdir( { realpath => 1 }, DIR => '.' ); + is( $tempdir, $tempdir->realpath, "tempdir has realpath" ); + + my $tempfile = Path::Tiny->tempfile( { realpath => 1 }, DIR => '.' ); + is( $tempfile, $tempfile->realpath, "tempfile has realpath" ); +}; + done_testing; # # This file is part of Path-Tiny diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/xt/author/pod-spell.t new/Path-Tiny-0.098/xt/author/pod-spell.t --- old/Path-Tiny-0.096/xt/author/pod-spell.t 2016-07-03 03:26:08.000000000 +0200 +++ new/Path-Tiny-0.098/xt/author/pod-spell.t 2016-10-10 05:25:46.000000000 +0200 @@ -2,120 +2,120 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007002 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007003 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(<DATA>); -all_pod_files_spelling_ok( qw( bin lib ) ); +all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ AIX +Alex +Andrade BENCHMARKING +Bell +BooK +Bruhat CRLF -SHA -NFS -canonpath -codepoints -cwd -dirname -fatalize -lstat -mkpath -opena -openr -openrw -openw -realpath -stringifying -subclasses -touchpath -UNC -unlinked -utf -David -Golden -dagolden -Alex -Efros -powerman +Champoux Chris -Williams -bingos -Steinbrunner -dsteinbrunner +Continsouzas +David Doug -Bell -madcityzen +Efros +Ellis +Etheridge +Fish +Fuji Gabor -Szabo -szabgab Gabriel -Andrade -gabiruh George -Hartzell -hartzell Geraud -Continsouzas -geraud +Golden Goro -Fuji -gfuji Graham -Knop -haarg -Ollis -plicease -James +Gregoire +Hartzell Hunt -james +III +Inkster +Ivy +James John -Karr -brainbuz Karen -Etheridge -ether +Karr +Keedi +Kim +Kjeldsen +Knop Mark -Ellis -mark Martin -Kjeldsen -mk Michael -Schwern -mschwern +Miyagawa +NFS Nigel -Gregoire -nigelgregoire +Ollis +Path Philippe -Bruhat -BooK -book Regina -Verbae -regina Roy -Ivy -III -RIVY +SHA +Schwern Shlomi -Fish -shlomif Smylers +Steinbrunner +Szabo Tatsuhiko -Miyagawa -miyagawa +Tiny Toby -Inkster -tobyink +UNC +Verbae +Williams Yanick -Champoux -yanick -김도형 -Keedi -Kim +bingos +book +brainbuz +canonpath +codepoints +cwd +dagolden +dirname +dsteinbrunner +ether +fatalize +gabiruh +geraud +gfuji +haarg +hartzell +james keedi lib -Path -Tiny +lstat +madcityzen +mark +miyagawa +mk +mkpath +mschwern +nigelgregoire +opena +openr +openrw +openw +plicease +powerman +realpath +regina +rivy +shlomif +stringifying +subclasses +szabgab +tobyink +touchpath +unlinked +utf +yanick +김도형 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Path-Tiny-0.096/xt/author/portability.t new/Path-Tiny-0.098/xt/author/portability.t --- old/Path-Tiny-0.096/xt/author/portability.t 2016-07-03 03:26:09.000000000 +0200 +++ new/Path-Tiny-0.098/xt/author/portability.t 2016-10-10 05:25:46.000000000 +0200 @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings;
