Hello community,
here is the log from the commit of package perl-File-Slurp-Tiny for openSUSE:Factory checked in at 2015-07-20 15:14:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Slurp-Tiny (Old)
and /work/SRC/openSUSE:Factory/.perl-File-Slurp-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Slurp-Tiny"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Slurp-Tiny/perl-File-Slurp-Tiny.changes 2014-03-18 13:57:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-File-Slurp-Tiny.new/perl-File-Slurp-Tiny.changes 2015-07-20 15:14:08.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Jul 16 08:47:04 UTC 2015 - coolo@suse.com
+
+- updated to 0.004
+ see /usr/share/doc/packages/perl-File-Slurp-Tiny/Changes
+
+ 0.004 2015-07-15 16:51:45+02:00 Europe/Amsterdam
+ Add discouragement notice
+ Don't skip '.
+' amd '..
+' in read_dir
+ Don't install benchmark.pl
+
+-------------------------------------------------------------------
Old:
----
File-Slurp-Tiny-0.003.tar.gz
New:
----
File-Slurp-Tiny-0.004.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-Slurp-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.bWYliz/_old 2015-07-20 15:14:08.000000000 +0200
+++ /var/tmp/diff_new_pack.bWYliz/_new 2015-07-20 15:14:08.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Slurp-Tiny
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-File-Slurp-Tiny
-Version: 0.003
+Version: 0.004
Release: 0
%define cpan_name File-Slurp-Tiny
-Summary: A simple, sane and efficient file slurper
+Summary: Simple, Sane and Efficient File Slurper [Discouraged]
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-Slurp-Tiny/
-Source: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
++++++ File-Slurp-Tiny-0.003.tar.gz -> File-Slurp-Tiny-0.004.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/Changes new/File-Slurp-Tiny-0.004/Changes
--- old/File-Slurp-Tiny-0.003/Changes 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/Changes 2015-07-15 16:51:55.000000000 +0200
@@ -1,5 +1,10 @@
Revision history for File-Slurp-Tiny
+0.004 2015-07-15 16:51:45+02:00 Europe/Amsterdam
+ Add discouragement notice
+ Don't skip '.\n' amd '..\n' in read_dir
+ Don't install benchmark.pl
+
0.003 2014-01-21 00:02:40CET+0100 Europe/Amsterdam
use FileHandle, for $fh->autoflush on older perls
Switch over to MakeMaker
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/LICENSE new/File-Slurp-Tiny-0.004/LICENSE
--- old/File-Slurp-Tiny-0.003/LICENSE 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/LICENSE 2015-07-15 16:51:55.000000000 +0200
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/MANIFEST new/File-Slurp-Tiny-0.004/MANIFEST
--- old/File-Slurp-Tiny-0.003/MANIFEST 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/MANIFEST 2015-07-15 16:51:55.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.011.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.025.
Changes
INSTALL
LICENSE
@@ -7,10 +7,12 @@
META.yml
Makefile.PL
README
-benchmark.pl
+benchmark/1.pl
+benchmark/2.pl
dist.ini
lib/File/Slurp/Tiny.pm
-t/00-compile.t
t/10-basics.t
-t/release-pod-coverage.t
-t/release-pod-syntax.t
+weaver.ini
+xt/author/00-compile.t
+xt/release/pod-coverage.t
+xt/release/pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/META.json new/File-Slurp-Tiny-0.004/META.json
--- old/File-Slurp-Tiny-0.003/META.json 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/META.json 2015-07-15 16:51:55.000000000 +0200
@@ -1,10 +1,10 @@
{
- "abstract" : "A simple, sane and efficient file slurper",
+ "abstract" : "A simple, sane and efficient file slurper [DISCOURAGED]",
"author" : [
"Leon Timmermans "
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.011, CPAN::Meta::Converter version 2.132830",
+ "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.143240",
"license" : [
"perl_5"
],
@@ -16,12 +16,16 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "0"
}
},
"develop" : {
"requires" : {
+ "File::Spec" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
"Pod::Coverage::TrustPod" : "0",
+ "Test::More" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08"
}
@@ -39,10 +43,7 @@
},
"test" : {
"requires" : {
- "File::Spec" : "0",
"File::Temp" : "0",
- "IO::Handle" : "0",
- "IPC::Open3" : "0",
"Test::More" : "0"
}
}
@@ -50,7 +51,7 @@
"provides" : {
"File::Slurp::Tiny" : {
"file" : "lib/File/Slurp/Tiny.pm",
- "version" : "0.003"
+ "version" : "0.004"
}
},
"release_status" : "stable",
@@ -65,6 +66,10 @@
"web" : "https://github.com/Leont/file-slurp-tiny"
}
},
- "version" : "0.003"
+ "version" : "0.004",
+ "x_contributors" : [
+ "Leon Timmermans ",
+ "Matt Phillips "
+ ]
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/META.yml new/File-Slurp-Tiny-0.004/META.yml
--- old/File-Slurp-Tiny-0.003/META.yml 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/META.yml 2015-07-15 16:51:55.000000000 +0200
@@ -1,35 +1,35 @@
---
-abstract: 'A simple, sane and efficient file slurper'
+abstract: 'A simple, sane and efficient file slurper [DISCOURAGED]'
author:
- 'Leon Timmermans '
build_requires:
- File::Spec: 0
- File::Temp: 0
- IO::Handle: 0
- IPC::Open3: 0
- Test::More: 0
+ File::Temp: '0'
+ Test::More: '0'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.011, CPAN::Meta::Converter version 2.132830'
+generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.143240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: File-Slurp-Tiny
provides:
File::Slurp::Tiny:
file: lib/File/Slurp/Tiny.pm
- version: 0.003
+ version: '0.004'
requires:
- Carp: 0
- Exporter: 5.57
- File::Spec::Functions: 0
- FileHandle: 0
- perl: 5.008001
- strict: 0
- warnings: 0
+ Carp: '0'
+ Exporter: '5.57'
+ File::Spec::Functions: '0'
+ FileHandle: '0'
+ perl: '5.008001'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=File-Slurp-Tiny
repository: git://github.com/Leont/file-slurp-tiny.git
-version: 0.003
+version: '0.004'
+x_contributors:
+ - 'Leon Timmermans '
+ - 'Matt Phillips '
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/Makefile.PL new/File-Slurp-Tiny-0.004/Makefile.PL
--- old/File-Slurp-Tiny-0.003/Makefile.PL 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/Makefile.PL 2015-07-15 16:51:55.000000000 +0200
@@ -1,24 +1,24 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.011.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.025.
use strict;
use warnings;
use 5.008001;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
- "ABSTRACT" => "A simple, sane and efficient file slurper",
+ "ABSTRACT" => "A simple, sane and efficient file slurper [DISCOURAGED]",
"AUTHOR" => "Leon Timmermans ",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "File-Slurp-Tiny",
"EXE_FILES" => [],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.008001",
"NAME" => "File::Slurp::Tiny",
"PREREQ_PM" => {
"Carp" => 0,
@@ -29,13 +29,10 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
- "File::Spec" => 0,
"File::Temp" => 0,
- "IO::Handle" => 0,
- "IPC::Open3" => 0,
"Test::More" => 0
},
- "VERSION" => "0.003",
+ "VERSION" => "0.004",
"test" => {
"TESTS" => "t/*.t"
}
@@ -45,12 +42,10 @@
my %FallbackPrereqs = (
"Carp" => 0,
"Exporter" => "5.57",
- "File::Spec" => 0,
+ "ExtUtils::MakeMaker" => 0,
"File::Spec::Functions" => 0,
"File::Temp" => 0,
"FileHandle" => 0,
- "IO::Handle" => 0,
- "IPC::Open3" => 0,
"Test::More" => 0,
"strict" => 0,
"warnings" => 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/README new/File-Slurp-Tiny-0.004/README
--- old/File-Slurp-Tiny-0.003/README 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/README 2015-07-15 16:51:55.000000000 +0200
@@ -1,9 +1,9 @@
This archive contains the distribution File-Slurp-Tiny,
-version 0.003:
+version 0.004:
- A simple, sane and efficient file slurper
+ A simple, sane and efficient file slurper [DISCOURAGED]
This software is copyright (c) 2013 by Leon Timmermans.
@@ -11,5 +11,5 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.011.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.025.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/benchmark/1.pl new/File-Slurp-Tiny-0.004/benchmark/1.pl
--- old/File-Slurp-Tiny-0.003/benchmark/1.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/benchmark/1.pl 2015-07-15 16:51:55.000000000 +0200
@@ -0,0 +1,51 @@
+#! /usr/bin/env perl
+
+use strict;
+use warnings;
+use Benchmark ':hireswallclock', 'cmpthese';
+use File::Slurp;
+use File::Slurp::Tiny;
+
+my $filename = shift or die "No argument given";
+my $count = shift || 100;
+my $factor = 10;
+
+print "Slurping into a scalar\n";
+cmpthese($count * $factor, {
+ 'Slurp' => sub { my $content = File::Slurp::read_file($filename) },
+ 'Slurp-Tiny' => sub { my $content = File::Slurp::Tiny::read_file($filename) },
+ 'Naive' => sub { open my $fh, '<', $filename or die $!; my $content = do { local $/; <$fh> } },
+});
+
+print "\nSlurping into a scalarref\n";
+cmpthese($count * $factor, {
+ 'Slurp' => sub { File::Slurp::read_file($filename, buffer_ref => \my $buffer) },
+ 'Slurp-Tiny' => sub { File::Slurp::Tiny::read_file($filename, buffer_ref => \my $buffer) },
+});
+
+print "\nSlurping into an arrayref\n";
+cmpthese($count, {
+ 'Slurp' => sub { my $lines = File::Slurp::read_file($filename, { array_ref => 1 }) },
+ 'Slurp-Tiny' => sub { my $lines = File::Slurp::Tiny::read_lines($filename, array_ref => 1) },
+});
+
+print "\nSlurping into an arrayref, chomped\n";
+cmpthese($count, {
+ 'Slurp' => sub { my $lines = File::Slurp::read_file($filename, array_ref => 1, chomp => 1) },
+ 'Slurp-Tiny' => sub { my $lines = File::Slurp::Tiny::read_lines($filename, array_ref => 1, chomp => 1) },
+});
+
+print "\nSlurping into an array\n";
+cmpthese($count, {
+ 'Slurp' => sub { my @lines = File::Slurp::read_file($filename) },
+ 'Slurp-Tiny' => sub { my @lines = File::Slurp::Tiny::read_lines($filename) },
+ 'Naive' => sub { open my $fh, '<', $filename; my @lines = <$fh> },
+});
+
+print "\nSlurping into an array, chomped\n";
+cmpthese($count, {
+ 'Slurp' => sub { my @lines = File::Slurp::read_file($filename, chomp => 1) },
+ 'Slurp-Tiny' => sub { my @lines = File::Slurp::Tiny::read_lines($filename, chomp => 1) },
+ 'Naive' => sub { open my $fh, '<', $filename; my @lines = <$fh>; chomp @lines },
+});
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/benchmark/2.pl new/File-Slurp-Tiny-0.004/benchmark/2.pl
--- old/File-Slurp-Tiny-0.003/benchmark/2.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/benchmark/2.pl 2015-07-15 16:51:55.000000000 +0200
@@ -0,0 +1,39 @@
+use strict;
+use warnings;
+use Carp 'croak';
+use Benchmark ':hireswallclock', 'cmpthese';
+#use File::Slurp 'read_file';
+
+sub read1 {
+ my ($filename, $encoding, %options) = @_;
+ $encoding |= 'utf-8';
+ my $extra = $options{crlf} ? ':crlf' : '';
+
+ open my $fh, "<$extra:encoding($encoding)", $filename or croak "Couldn't open $filename: $!";
+ my $size = -s $fh;
+ my ($pos, $read, $buf) = 0;
+ do {
+ defined($read = read $fh, $buf, $size - $pos, $pos) or croak "Couldn't read $filename: $!";
+ $pos += $read;
+ } while ($read && $pos < $size);
+}
+
+sub read2 {
+ my ($filename, $encoding, %options) = @_;
+ $encoding |= 'utf-8';
+ my $extra = $options{crlf} ? ':crlf' : '';
+
+ open my $fh, "<$extra:encoding($encoding)", $filename or croak "Couldn't open $filename: $!";
+ my $buf_ref = do { local $/; <$fh> };
+}
+
+my $filename = shift or die "No argument given";
+my $count = shift || 100;
+my $factor = 1;
+
+print "Slurping utf8\n";
+cmpthese($count * $factor, {
+# slurp => sub { read_file($filename, binmode => ':encoding(utf-8)') },
+ smart => sub { read1($filename) },
+ dump => sub { read2($filename) },
+});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/benchmark.pl new/File-Slurp-Tiny-0.004/benchmark.pl
--- old/File-Slurp-Tiny-0.003/benchmark.pl 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/benchmark.pl 1970-01-01 01:00:00.000000000 +0100
@@ -1,47 +0,0 @@
-#! /usr/bin/env perl
-
-use strict;
-use warnings;
-use Benchmark ':hireswallclock', 'cmpthese';
-use File::Slurp;
-use File::Slurp::Tiny;
-
-my $filename = shift or die "No argument given";
-my $count = shift || 100;
-
-print "Slurping into a scalar\n";
-cmpthese($count, {
- 'Slurp' => sub { my $content = File::Slurp::read_file($filename) },
- 'Slurp-Tiny' => sub { my $content = File::Slurp::Tiny::read_file($filename) },
-});
-
-print "\nSlurping into a scalarref\n";
-cmpthese($count, {
- 'Slurp' => sub { File::Slurp::read_file($filename, buffer_ref => \my $buffer) },
- 'Slurp-Tiny' => sub { File::Slurp::Tiny::read_file($filename, buffer_ref => \my $buffer) },
-});
-
-print "\nSlurping into an arrayref\n";
-cmpthese($count, {
- 'Slurp' => sub { my $lines = File::Slurp::read_file($filename, { array_ref => 1 }) },
- 'Slurp-Tiny' => sub { my $lines = File::Slurp::Tiny::read_lines($filename, array_ref => 1) },
-});
-
-print "\nSlurping into an arrayref, chomped\n";
-cmpthese($count, {
- 'Slurp' => sub { my $lines = File::Slurp::read_file($filename, array_ref => 1, chomp => 1) },
- 'Slurp-Tiny' => sub { my $lines = File::Slurp::Tiny::read_lines($filename, array_ref => 1, chomp => 1) },
-});
-
-print "\nSlurping into an array\n";
-cmpthese($count, {
- 'Slurp' => sub { my @lines = File::Slurp::read_file($filename) },
- 'Slurp-Tiny' => sub { my @lines = File::Slurp::Tiny::read_lines($filename) },
-});
-
-print "\nSlurping into an array, chomped\n";
-cmpthese($count, {
- 'Slurp' => sub { my @lines = File::Slurp::read_file($filename, chomp => 1) },
- 'Slurp-Tiny' => sub { my @lines = File::Slurp::Tiny::read_lines($filename, chomp => 1) },
-});
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/lib/File/Slurp/Tiny.pm new/File-Slurp-Tiny-0.004/lib/File/Slurp/Tiny.pm
--- old/File-Slurp-Tiny-0.003/lib/File/Slurp/Tiny.pm 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/lib/File/Slurp/Tiny.pm 2015-07-15 16:51:55.000000000 +0200
@@ -1,5 +1,5 @@
package File::Slurp::Tiny;
-$File::Slurp::Tiny::VERSION = '0.003';
+$File::Slurp::Tiny::VERSION = '0.004';
use strict;
use warnings;
@@ -60,7 +60,7 @@
sub read_dir {
my ($dirname, %options) = @_;
opendir my ($dir), $dirname or croak "Could not open $dirname: $!";
- my @ret = grep { not m/ ^ \.\.? $ /x } readdir $dir;
+ my @ret = grep { not m/ \A \.\.? \z /x } readdir $dir;
@ret = map { catfile($dirname, $_) } @ret if $options{prefix};
closedir $dir;
return @ret;
@@ -68,7 +68,7 @@
1;
-# ABSTRACT: A simple, sane and efficient file slurper
+# ABSTRACT: A simple, sane and efficient file slurper [DISCOURAGED]
__END__
@@ -78,17 +78,23 @@
=head1 NAME
-File::Slurp::Tiny - A simple, sane and efficient file slurper
+File::Slurp::Tiny - A simple, sane and efficient file slurper [DISCOURAGED]
=head1 VERSION
-version 0.003
+version 0.004
=head1 SYNOPSIS
use File::Slurp::Tiny 'read_file';
my $content = read_file($filename);
+=head1 DISCOURAGED
+
+BFile::Slurper|File::Slurper>. While a useful experiment, it turned out to be both too similar to File::Slurp (still containing most problematic features of File::Slurp's interface) and yet not similar enough to be a true drop-in replacement.
+
+Bugs will still be fixed, but new features will probably not be added.
+
=head1 DESCRIPTION
This module provides functions for fast and correct slurping and spewing. All functions are optionally exported.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/t/00-compile.t new/File-Slurp-Tiny-0.004/t/00-compile.t
--- old/File-Slurp-Tiny-0.003/t/00-compile.t 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.036
-
-use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
-
-
-
-my @module_files = (
- 'File/Slurp/Tiny.pm'
-);
-
-
-
-# no fake home requested
-
-my $inc_switch = q[-Mblib];
-
-use File::Spec;
-use IPC::Open3;
-use IO::Handle;
-
-my @warnings;
-for my $lib (@module_files)
-{
- # see L
- open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
- my $stderr = IO::Handle->new;
-
- my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
- binmode $stderr, ':crlf' if $^O eq 'MSWin32';
- my @_warnings = <$stderr>;
- waitpid($pid, 0);
- is($?, 0, "$lib loaded ok");
-
- if (@_warnings)
- {
- warn @_warnings;
- push @warnings, @_warnings;
- }
-}
-
-
-
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/t/release-pod-coverage.t new/File-Slurp-Tiny-0.004/t/release-pod-coverage.t
--- old/File-Slurp-Tiny-0.003/t/release-pod-coverage.t 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/t/release-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
-
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/t/release-pod-syntax.t new/File-Slurp-Tiny-0.004/t/release-pod-syntax.t
--- old/File-Slurp-Tiny-0.003/t/release-pod-syntax.t 2014-01-21 00:03:03.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
-use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/weaver.ini new/File-Slurp-Tiny-0.004/weaver.ini
--- old/File-Slurp-Tiny-0.003/weaver.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/weaver.ini 2015-07-15 16:51:55.000000000 +0200
@@ -0,0 +1,29 @@
+[@CorePrep]
+
+[-SingleEncoding]
+
+[Name]
+[Version]
+
+[Region / prelude]
+
+[Generic / SYNOPSIS]
+[Generic / DISCOURAGED]
+[Generic / DESCRIPTION]
+[Generic / OVERVIEW]
+
+[Collect / ATTRIBUTES]
+command = attr
+
+[Collect / METHODS]
+command = method
+
+[Collect / FUNCTIONS]
+command = func
+
+[Leftovers]
+
+[Region / postlude]
+
+[Authors]
+[Legal]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/xt/author/00-compile.t new/File-Slurp-Tiny-0.004/xt/author/00-compile.t
--- old/File-Slurp-Tiny-0.003/xt/author/00-compile.t 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/xt/author/00-compile.t 2015-07-15 16:51:55.000000000 +0200
@@ -0,0 +1,51 @@
+use 5.006;
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
+
+use Test::More;
+
+plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+
+my @module_files = (
+ 'File/Slurp/Tiny.pm'
+);
+
+
+
+# no fake home requested
+
+my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+
+open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+
+my @warnings;
+for my $lib (@module_files)
+{
+ # see L
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($?, 0, "$lib loaded ok");
+
+ if (@_warnings)
+ {
+ warn @_warnings;
+ push @warnings, @_warnings;
+ }
+}
+
+
+
+is(scalar(@warnings), 0, 'no warnings found')
+ or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING};
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/xt/release/pod-coverage.t new/File-Slurp-Tiny-0.004/xt/release/pod-coverage.t
--- old/File-Slurp-Tiny-0.003/xt/release/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/xt/release/pod-coverage.t 2015-07-15 16:51:55.000000000 +0200
@@ -0,0 +1,7 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
+
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
+
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurp-Tiny-0.003/xt/release/pod-syntax.t new/File-Slurp-Tiny-0.004/xt/release/pod-syntax.t
--- old/File-Slurp-Tiny-0.003/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100
+++ new/File-Slurp-Tiny-0.004/xt/release/pod-syntax.t 2015-07-15 16:51:55.000000000 +0200
@@ -0,0 +1,6 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use Test::More;
+use Test::Pod 1.41;
+
+all_pod_files_ok();
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module