Hello community,
here is the log from the commit of package perl-autovivification for
openSUSE:Factory checked in at 2013-10-17 20:38:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-autovivification (Old)
and /work/SRC/openSUSE:Factory/.perl-autovivification.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-autovivification"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-autovivification/perl-autovivification.changes
2013-09-03 22:05:50.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-autovivification.new/perl-autovivification.changes
2013-10-17 20:44:13.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Oct 4 09:15:23 UTC 2013 - [email protected]
+
+- updated to 0.12
+ + Fix : Check functions are now replaced and restored in a thread-safe
+ manner, either by using the wrap_op_checker() function from perl
+ when it is available (starting from perl 5.16) or by taking the
+ OP_REFCNT mutex on older perls.
+ + Tst : Author tests are no longer bundled with this distribution.
+ They are only made available to authors in the git repository.
+
+-------------------------------------------------------------------
Old:
----
autovivification-0.11.tar.gz
New:
----
autovivification-0.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-autovivification.spec ++++++
--- /var/tmp/diff_new_pack.p9KFIX/_old 2013-10-17 20:44:16.000000000 +0200
+++ /var/tmp/diff_new_pack.p9KFIX/_new 2013-10-17 20:44:16.000000000 +0200
@@ -17,31 +17,37 @@
Name: perl-autovivification
-Version: 0.11
+Version: 0.12
Release: 0
%define cpan_name autovivification
Summary: Lexically disable autovivification.
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/autovivification/
Source:
http://www.cpan.org/authors/id/V/VP/VPIT/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(XSLoader)
-Requires: perl(XSLoader)
+#BuildRequires: perl(autovivification)
+#BuildRequires: perl(autovivification::TestCases)
+#BuildRequires: perl(autovivification::TestRequired1)
+#BuildRequires: perl(autovivification::TestRequired4::b0)
+#BuildRequires: perl(autovivification::TestRequired5::b0)
+#BuildRequires: perl(autovivification::TestRequired5::d0)
+#BuildRequires: perl(autovivification::TestRequired6)
+#BuildRequires: perl(autovivification::TestThreads)
+#BuildRequires: perl(Test::Leaner)
+#BuildRequires: perl(VPIT::TestHelpers)
%{perl_requires}
%description
When an undefined variable is dereferenced, it gets silently upgraded to an
array or hash reference (depending of the type of the dereferencing). This
behaviour is called _autovivification_ and usually does what you mean (e.g.
-when you store a value) but it's sometimes unnatural or surprising because
-your variables gets populated behind your back. This is especially true
-when several levels of dereferencing are involved, in which case all levels
-are vivified up to the last, or when it happens in intuitively read-only
+when you store a value) but it may be unnatural or surprising because your
+variables gets populated behind your back. This is especially true when
+several levels of dereferencing are involved, in which case all levels are
+vivified up to the last, or when it happens in intuitively read-only
constructs like 'exists'.
This pragma lets you disable autovivification for some constructs and
@@ -62,9 +68,6 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
++++++ autovivification-0.11.tar.gz -> autovivification-0.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/Changes
new/autovivification-0.12/Changes
--- old/autovivification-0.11/Changes 2013-02-08 20:12:38.000000000 +0100
+++ new/autovivification-0.12/Changes 2013-09-05 19:03:49.000000000 +0200
@@ -1,5 +1,13 @@
Revision history for autovivification
+0.12 2013-09-05 17:20 UTC
+ + Fix : Check functions are now replaced and restored in a thread-safe
+ manner, either by using the wrap_op_checker() function from
perl
+ when it is available (starting from perl 5.16) or by taking the
+ OP_REFCNT mutex on older perls.
+ + Tst : Author tests are no longer bundled with this distribution.
+ They are only made available to authors in the git repository.
+
0.11 2013-02-08 19:25 UTC
This is a maintenance release. The code contains no functional change.
Satisfied users of version 0.10 can skip this update.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/MANIFEST
new/autovivification-0.12/MANIFEST
--- old/autovivification-0.11/MANIFEST 2012-10-29 13:33:28.000000000 +0100
+++ new/autovivification-0.12/MANIFEST 2013-08-29 01:18:21.000000000 +0200
@@ -26,11 +26,6 @@
t/43-peep.t
t/50-threads.t
t/51-threads-teardown.t
-t/91-pod.t
-t/92-pod-coverage.t
-t/93-pod-spelling.t
-t/95-portability-files.t
-t/99-kwalitee.t
t/lib/Test/Leaner.pm
t/lib/VPIT/TestHelpers.pm
t/lib/autovivification/TestCases.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/META.json
new/autovivification-0.12/META.json
--- old/autovivification-0.11/META.json 2013-02-08 20:12:46.000000000 +0100
+++ new/autovivification-0.12/META.json 2013-09-05 19:05:14.000000000 +0200
@@ -4,7 +4,7 @@
"Vincent Pit <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter
version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 6.74, CPAN::Meta::Converter
version 2.132140",
"license" : [
"perl_5"
],
@@ -44,7 +44,7 @@
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "web" :
"http://rt.cpan.org/NoAuth/ReportBug.html?Queue=autovivification"
+ "web" : "http://rt.cpan.org/Dist/Display.html?Name=autovivification"
},
"homepage" : "http://search.cpan.org/dist/autovivification/",
"license" : [
@@ -54,5 +54,5 @@
"url" :
"http://git.profvince.com/?p=perl%2Fmodules%2Fautovivification.git"
}
},
- "version" : "0.11"
+ "version" : "0.12"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/META.yml
new/autovivification-0.12/META.yml
--- old/autovivification-0.11/META.yml 2013-02-08 20:12:46.000000000 +0100
+++ new/autovivification-0.12/META.yml 2013-09-05 19:05:14.000000000 +0200
@@ -11,7 +11,7 @@
configure_requires:
ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version
2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.74, CPAN::Meta::Converter version
2.132140'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,8 +25,8 @@
XSLoader: 0
perl: 5.008003
resources:
- bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=autovivification
+ bugtracker: http://rt.cpan.org/Dist/Display.html?Name=autovivification
homepage: http://search.cpan.org/dist/autovivification/
license: http://dev.perl.org/licenses/
repository: http://git.profvince.com/?p=perl%2Fmodules%2Fautovivification.git
-version: 0.11
+version: 0.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/Makefile.PL
new/autovivification-0.12/Makefile.PL
--- old/autovivification-0.11/Makefile.PL 2012-10-29 13:56:11.000000000
+0100
+++ new/autovivification-0.12/Makefile.PL 2013-08-29 01:18:21.000000000
+0200
@@ -1,4 +1,4 @@
-use 5.008003;
+use 5.008_003;
use strict;
use warnings;
@@ -34,7 +34,7 @@
}
# Fork emulation got "fixed" in 5.10.1
-if ($^O eq 'MSWin32' && "$]" < 5.010001) {
+if ($^O eq 'MSWin32' && "$]" < 5.010_001) {
push @DEFINES, '-DA_FORKSAFE=0';
}
@@ -69,7 +69,7 @@
},
dynamic_config => 1,
resources => {
- bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
+ bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
homepage => "http://search.cpan.org/dist/$dist/",
license => 'http://dev.perl.org/licenses/',
repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/README
new/autovivification-0.12/README
--- old/autovivification-0.11/README 2013-02-08 20:12:46.000000000 +0100
+++ new/autovivification-0.12/README 2013-09-05 19:05:14.000000000 +0200
@@ -2,7 +2,7 @@
autovivification - Lexically disable autovivification.
VERSION
- Version 0.11
+ Version 0.12
SYNOPSIS
no autovivification;
@@ -151,7 +151,7 @@
A C compiler. This module may happen to build with a C++ compiler as
well, but don't rely on it, as no guarantee is made in this regard.
- XSLoader (standard since perl 5.006).
+ XSLoader (standard since perl 5.6.0).
SEE ALSO
perlref.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/autovivification.xs
new/autovivification-0.12/autovivification.xs
--- old/autovivification-0.11/autovivification.xs 2012-10-29
13:20:33.000000000 +0100
+++ new/autovivification-0.12/autovivification.xs 2013-08-29
01:18:21.000000000 +0200
@@ -75,6 +75,44 @@
# define MY_CXT_CLONE NOOP
#endif
+#if defined(OP_CHECK_MUTEX_LOCK) && defined(OP_CHECK_MUTEX_UNLOCK)
+# define A_CHECK_MUTEX_LOCK OP_CHECK_MUTEX_LOCK
+# define A_CHECK_MUTEX_UNLOCK OP_CHECK_MUTEX_UNLOCK
+#else
+# define A_CHECK_MUTEX_LOCK OP_REFCNT_LOCK
+# define A_CHECK_MUTEX_UNLOCK OP_REFCNT_UNLOCK
+#endif
+
+typedef OP *(*a_ck_t)(pTHX_ OP *);
+
+#ifdef wrap_op_checker
+
+# define a_ck_replace(T, NC, OCP) wrap_op_checker((T), (NC), (OCP))
+
+#else
+
+STATIC void a_ck_replace(pTHX_ OPCODE type, a_ck_t new_ck, a_ck_t *old_ck_p) {
+#define a_ck_replace(T, NC, OCP) a_ck_replace(aTHX_ (T), (NC), (OCP))
+ A_CHECK_MUTEX_LOCK;
+ if (!*old_ck_p) {
+ *old_ck_p = PL_check[type];
+ PL_check[type] = new_ck;
+ }
+ A_CHECK_MUTEX_UNLOCK;
+}
+
+#endif
+
+STATIC void a_ck_restore(pTHX_ OPCODE type, a_ck_t *old_ck_p) {
+#define a_ck_restore(T, OCP) a_ck_restore(aTHX_ (T), (OCP))
+ A_CHECK_MUTEX_LOCK;
+ if (*old_ck_p) {
+ PL_check[type] = *old_ck_p;
+ *old_ck_p = 0;
+ }
+ A_CHECK_MUTEX_UNLOCK;
+}
+
/* --- Helpers ------------------------------------------------------------- */
/* ... Thread-safe hints ................................................... */
@@ -1062,36 +1100,23 @@
ptable_seen_free(MY_CXT.seen);
}
- PL_check[OP_PADANY] = MEMBER_TO_FPTR(a_old_ck_padany);
- a_old_ck_padany = 0;
- PL_check[OP_PADSV] = MEMBER_TO_FPTR(a_old_ck_padsv);
- a_old_ck_padsv = 0;
-
- PL_check[OP_AELEM] = MEMBER_TO_FPTR(a_old_ck_aelem);
- a_old_ck_aelem = 0;
- PL_check[OP_HELEM] = MEMBER_TO_FPTR(a_old_ck_helem);
- a_old_ck_helem = 0;
- PL_check[OP_RV2SV] = MEMBER_TO_FPTR(a_old_ck_rv2sv);
- a_old_ck_rv2sv = 0;
-
- PL_check[OP_RV2AV] = MEMBER_TO_FPTR(a_old_ck_rv2av);
- a_old_ck_rv2av = 0;
- PL_check[OP_RV2HV] = MEMBER_TO_FPTR(a_old_ck_rv2hv);
- a_old_ck_rv2hv = 0;
-
- PL_check[OP_ASLICE] = MEMBER_TO_FPTR(a_old_ck_aslice);
- a_old_ck_aslice = 0;
- PL_check[OP_HSLICE] = MEMBER_TO_FPTR(a_old_ck_hslice);
- a_old_ck_hslice = 0;
-
- PL_check[OP_EXISTS] = MEMBER_TO_FPTR(a_old_ck_exists);
- a_old_ck_exists = 0;
- PL_check[OP_DELETE] = MEMBER_TO_FPTR(a_old_ck_delete);
- a_old_ck_delete = 0;
- PL_check[OP_KEYS] = MEMBER_TO_FPTR(a_old_ck_keys);
- a_old_ck_keys = 0;
- PL_check[OP_VALUES] = MEMBER_TO_FPTR(a_old_ck_values);
- a_old_ck_values = 0;
+ a_ck_restore(OP_PADANY, &a_old_ck_padany);
+ a_ck_restore(OP_PADSV, &a_old_ck_padsv);
+
+ a_ck_restore(OP_AELEM, &a_old_ck_aelem);
+ a_ck_restore(OP_HELEM, &a_old_ck_helem);
+ a_ck_restore(OP_RV2SV, &a_old_ck_rv2sv);
+
+ a_ck_restore(OP_RV2AV, &a_old_ck_rv2av);
+ a_ck_restore(OP_RV2HV, &a_old_ck_rv2hv);
+
+ a_ck_restore(OP_ASLICE, &a_old_ck_aslice);
+ a_ck_restore(OP_HSLICE, &a_old_ck_hslice);
+
+ a_ck_restore(OP_EXISTS, &a_old_ck_exists);
+ a_ck_restore(OP_DELETE, &a_old_ck_delete);
+ a_ck_restore(OP_KEYS, &a_old_ck_keys);
+ a_ck_restore(OP_VALUES, &a_old_ck_values);
#if A_HAS_RPEEP
PL_rpeepp = a_old_peep;
@@ -1117,36 +1142,23 @@
MY_CXT.seen = ptable_new();
}
- a_old_ck_padany = PL_check[OP_PADANY];
- PL_check[OP_PADANY] = MEMBER_TO_FPTR(a_ck_padany);
- a_old_ck_padsv = PL_check[OP_PADSV];
- PL_check[OP_PADSV] = MEMBER_TO_FPTR(a_ck_padsv);
-
- a_old_ck_aelem = PL_check[OP_AELEM];
- PL_check[OP_AELEM] = MEMBER_TO_FPTR(a_ck_deref);
- a_old_ck_helem = PL_check[OP_HELEM];
- PL_check[OP_HELEM] = MEMBER_TO_FPTR(a_ck_deref);
- a_old_ck_rv2sv = PL_check[OP_RV2SV];
- PL_check[OP_RV2SV] = MEMBER_TO_FPTR(a_ck_deref);
-
- a_old_ck_rv2av = PL_check[OP_RV2AV];
- PL_check[OP_RV2AV] = MEMBER_TO_FPTR(a_ck_rv2xv);
- a_old_ck_rv2hv = PL_check[OP_RV2HV];
- PL_check[OP_RV2HV] = MEMBER_TO_FPTR(a_ck_rv2xv);
-
- a_old_ck_aslice = PL_check[OP_ASLICE];
- PL_check[OP_ASLICE] = MEMBER_TO_FPTR(a_ck_xslice);
- a_old_ck_hslice = PL_check[OP_HSLICE];
- PL_check[OP_HSLICE] = MEMBER_TO_FPTR(a_ck_xslice);
-
- a_old_ck_exists = PL_check[OP_EXISTS];
- PL_check[OP_EXISTS] = MEMBER_TO_FPTR(a_ck_root);
- a_old_ck_delete = PL_check[OP_DELETE];
- PL_check[OP_DELETE] = MEMBER_TO_FPTR(a_ck_root);
- a_old_ck_keys = PL_check[OP_KEYS];
- PL_check[OP_KEYS] = MEMBER_TO_FPTR(a_ck_root);
- a_old_ck_values = PL_check[OP_VALUES];
- PL_check[OP_VALUES] = MEMBER_TO_FPTR(a_ck_root);
+ a_ck_replace(OP_PADANY, a_ck_padany, &a_old_ck_padany);
+ a_ck_replace(OP_PADSV, a_ck_padsv, &a_old_ck_padsv);
+
+ a_ck_replace(OP_AELEM, a_ck_deref, &a_old_ck_aelem);
+ a_ck_replace(OP_HELEM, a_ck_deref, &a_old_ck_helem);
+ a_ck_replace(OP_RV2SV, a_ck_deref, &a_old_ck_rv2sv);
+
+ a_ck_replace(OP_RV2AV, a_ck_rv2xv, &a_old_ck_rv2av);
+ a_ck_replace(OP_RV2HV, a_ck_rv2xv, &a_old_ck_rv2hv);
+
+ a_ck_replace(OP_ASLICE, a_ck_xslice, &a_old_ck_aslice);
+ a_ck_replace(OP_HSLICE, a_ck_xslice, &a_old_ck_hslice);
+
+ a_ck_replace(OP_EXISTS, a_ck_root, &a_old_ck_exists);
+ a_ck_replace(OP_DELETE, a_ck_root, &a_old_ck_delete);
+ a_ck_replace(OP_KEYS, a_ck_root, &a_old_ck_keys);
+ a_ck_replace(OP_VALUES, a_ck_root, &a_old_ck_values);
#if A_HAS_RPEEP
a_old_peep = PL_rpeepp;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/lib/autovivification.pm
new/autovivification-0.12/lib/autovivification.pm
--- old/autovivification-0.11/lib/autovivification.pm 2013-02-08
20:11:36.000000000 +0100
+++ new/autovivification-0.12/lib/autovivification.pm 2013-09-05
19:03:09.000000000 +0200
@@ -1,6 +1,6 @@
package autovivification;
-use 5.008003;
+use 5.008_003;
use strict;
use warnings;
@@ -11,13 +11,13 @@
=head1 VERSION
-Version 0.11
+Version 0.12
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.11';
+ $VERSION = '0.12';
}
=head1 SYNOPSIS
@@ -211,7 +211,7 @@
A C compiler.
This module may happen to build with a C++ compiler as well, but don't rely on
it, as no guarantee is made in this regard.
-L<XSLoader> (standard since perl 5.006).
+L<XSLoader> (standard since perl 5.6.0).
=head1 SEE ALSO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/00-load.t
new/autovivification-0.12/t/00-load.t
--- old/autovivification-0.11/t/00-load.t 2012-08-14 00:10:43.000000000
+0200
+++ new/autovivification-0.12/t/00-load.t 2013-08-29 01:18:21.000000000
+0200
@@ -5,7 +5,7 @@
use Test::More tests => 1;
BEGIN {
- use_ok( 'autovivification' );
+ use_ok( 'autovivification' );
}
diag( "Testing autovivification $autovivification::VERSION, Perl $], $^X" );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/20-hash.t
new/autovivification-0.12/t/20-hash.t
--- old/autovivification-0.11/t/20-hash.t 2012-08-14 00:10:43.000000000
+0200
+++ new/autovivification-0.12/t/20-hash.t 2013-08-29 01:18:21.000000000
+0200
@@ -18,7 +18,7 @@
--- fetch ---
-$x # $x->{a} # '', undef, { }
+$x # $x->{a} # '', undef, { }
$x # $x->{a} # '', undef, undef #
$x # $x->{a} # '', undef, undef # +fetch
$x # $x->{a} # '', undef, { } # +exists
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/40-scope.t
new/autovivification-0.12/t/40-scope.t
--- old/autovivification-0.11/t/40-scope.t 2012-08-14 00:10:43.000000000
+0200
+++ new/autovivification-0.12/t/40-scope.t 2013-08-29 01:18:21.000000000
+0200
@@ -34,11 +34,11 @@
{
local $blurp;
- eval 'no autovivification; use autovivification::TestRequired2; $blurp->{a}';
+ eval 'no autovivification; use autovivification::TestRequired2; $blurp->{a}';
is $@, '', 'second require test doesn\'t croak prematurely';
my $expect;
$expect = { r1_main => { }, r1_eval => { } };
- $expect->{r2_eval} = { } if "$]" < 5.009005;
+ $expect->{r2_eval} = { } if "$]" < 5.009_005;
is_deeply $blurp, $expect, 'second require test didn\'t vivify';
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/51-threads-teardown.t
new/autovivification-0.12/t/51-threads-teardown.t
--- old/autovivification-0.11/t/51-threads-teardown.t 2012-08-14
00:10:43.000000000 +0200
+++ new/autovivification-0.12/t/51-threads-teardown.t 2013-08-29
01:18:21.000000000 +0200
@@ -21,7 +21,7 @@
SKIP:
{
- skip 'Fails on 5.8.2 and lower' => 1 if "$]" <= 5.008002;
+ skip 'Fails on 5.8.2 and lower' => 1 if "$]" <= 5.008_002;
my $status = run_perl <<' RUN';
my $code = 1 + 2 + 4;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/91-pod.t
new/autovivification-0.12/t/91-pod.t
--- old/autovivification-0.11/t/91-pod.t 2013-01-30 17:32:43.000000000
+0100
+++ new/autovivification-0.12/t/91-pod.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,15 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-
-use Test::More;
-
-use lib 't/lib';
-use VPIT::TestHelpers;
-
-load_or_skip_all('Test::Pod', '1.22', [ ]);
-
-eval 'use Test::Pod'; # Make Kwalitee test happy
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/92-pod-coverage.t
new/autovivification-0.12/t/92-pod-coverage.t
--- old/autovivification-0.11/t/92-pod-coverage.t 2013-01-30
17:33:20.000000000 +0100
+++ new/autovivification-0.12/t/92-pod-coverage.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-
-use Test::More;
-
-use lib 't/lib';
-use VPIT::TestHelpers;
-
-load_or_skip_all('Test::Pod::Coverage', '1.08', [ ]);
-load_or_skip_all('Pod::Coverage', '0.18' );
-
-eval 'use Test::Pod::Coverage'; # Make Kwalitee test happy
-
-all_pod_coverage_ok({ also_private => [ qr/^A_HINT_/ ] });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/93-pod-spelling.t
new/autovivification-0.12/t/93-pod-spelling.t
--- old/autovivification-0.11/t/93-pod-spelling.t 2013-01-30
17:32:43.000000000 +0100
+++ new/autovivification-0.12/t/93-pod-spelling.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-
-use Test::More;
-
-use lib 't/lib';
-use VPIT::TestHelpers;
-
-load_or_skip_all('Test::Pod::Spelling::CommonMistakes', '1.0', [ ]);
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/95-portability-files.t
new/autovivification-0.12/t/95-portability-files.t
--- old/autovivification-0.11/t/95-portability-files.t 2013-01-30
17:32:43.000000000 +0100
+++ new/autovivification-0.12/t/95-portability-files.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-
-use Test::More;
-
-use lib 't/lib';
-use VPIT::TestHelpers;
-
-load_or_skip_all('Test::Portability::Files', undef, [ ]);
-
-run_tests();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/99-kwalitee.t
new/autovivification-0.12/t/99-kwalitee.t
--- old/autovivification-0.11/t/99-kwalitee.t 2013-01-30 17:32:43.000000000
+0100
+++ new/autovivification-0.12/t/99-kwalitee.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,29 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-
-use Test::More;
-
-use lib 't/lib';
-use VPIT::TestHelpers;
-
-my $guard = VPIT::TestHelpers::Guard->new(
- sub { unlink for glob 'Debian_CPANTS.txt*' }
-);
-
-load_or_skip_all('Parse::RecDescent', '1.967006');
-load_or_skip_all('Module::ExtractUse', '0.24' );
-load_or_skip_all('Test::Kwalitee', '1.01' );
-
-SKIP: {
- eval { Test::Kwalitee->import(); };
- if (my $err = $@) {
- 1 while chomp $err;
- require Test::Builder;
- my $Test = Test::Builder->new;
- my $plan = $Test->has_plan;
- $Test->skip_all($err) if not defined $plan or $plan eq 'no_plan';
- skip $err => $plan - $Test->current_test;
- }
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.11/t/lib/Test/Leaner.pm
new/autovivification-0.12/t/lib/Test/Leaner.pm
--- old/autovivification-0.11/t/lib/Test/Leaner.pm 2012-08-14
00:10:43.000000000 +0200
+++ new/autovivification-0.12/t/lib/Test/Leaner.pm 2013-08-29
01:18:21.000000000 +0200
@@ -10,11 +10,11 @@
=head1 VERSION
-Version 0.04
+Version 0.05
=cut
-our $VERSION = '0.04';
+our $VERSION = '0.05';
=head1 SYNOPSIS
@@ -273,7 +273,11 @@
The following functions from L<Test::More> are implemented and exported by
default.
-=head2 C<< plan [ tests => $count | 'no_plan' | skip_all => $reason ] >>
+=head2 C<plan>
+
+ plan tests => $count;
+ plan 'no_plan';
+ plan skip_all => $reason;
See L<Test::More/plan>.
@@ -336,7 +340,9 @@
goto &Exporter::import;
}
-=head2 C<< skip $reason => $count >>
+=head2 C<skip>
+
+ skip $reason => $count;
See L<Test::More/skip>.
@@ -373,7 +379,10 @@
last SKIP;
}
-=head2 C<done_testing [ $count ]>
+=head2 C<done_testing>
+
+ done_testing;
+ done_testing $count;
See L<Test::More/done_testing>.
@@ -406,7 +415,10 @@
return 1;
}
-=head2 C<ok $ok [, $desc ]>
+=head2 C<ok>
+
+ ok $ok;
+ ok $ok, $desc;
See L<Test::More/ok>.
@@ -435,7 +447,10 @@
return $ok;
}
-=head2 C<pass [ $desc ]>
+=head2 C<pass>
+
+ pass;
+ pass $desc;
See L<Test::More/pass>.
@@ -446,7 +461,10 @@
goto &ok;
}
-=head2 C<fail [ $desc ]>
+=head2 C<fail>
+
+ fail;
+ fail $desc;
See L<Test::More/fail>.
@@ -457,7 +475,10 @@
goto &ok;
}
-=head2 C<is $got, $expected [, $desc ]>
+=head2 C<is>
+
+ is $got, $expected;
+ is $got, $expected, $desc;
See L<Test::More/is>.
@@ -473,7 +494,10 @@
goto &ok;
}
-=head2 C<isnt $got, $expected [, $desc ]>
+=head2 C<isnt>
+
+ isnt $got, $expected;
+ isnt $got, $expected, $desc;
See L<Test::More/isnt>.
@@ -560,11 +584,17 @@
}
}
-=head2 C<like $got, $regexp_expected [, $desc ]>
+=head2 C<like>
+
+ like $got, $regexp_expected;
+ like $got, $regexp_expected, $desc;
See L<Test::More/like>.
-=head2 C<unlike $got, $regexp_expected, [, $desc ]>
+=head2 C<unlike>
+
+ unlike $got, $regexp_expected;
+ unlike $got, $regexp_expected, $desc;
See L<Test::More/unlike>.
@@ -576,7 +606,10 @@
*unlike = _create_binop_handler('!~');
}
-=head2 C<cmp_ok $got, $op, $expected [, $desc ]>
+=head2 C<cmp_ok>
+
+ cmp_ok $got, $op, $expected;
+ cmp_ok $got, $op, $expected, $desc;
See L<Test::More/cmp_ok>.
@@ -593,7 +626,10 @@
goto $handler;
}
-=head2 C<is_deeply $got, $expected [, $desc ]>
+=head2 C<is_deeply>
+
+ is_deeply $got, $expected;
+ is_deeply $got, $expected, $desc;
See L<Test::More/is_deeply>.
@@ -735,7 +771,9 @@
return 0;
};
-=head2 C<diag @text>
+=head2 C<diag>
+
+ diag @lines;
See L<Test::More/diag>.
@@ -746,7 +784,9 @@
goto &_diag_fh;
}
-=head2 C<note @text>
+=head2 C<note>
+
+ note @lines;
See L<Test::More/note>.
@@ -757,7 +797,10 @@
goto &_diag_fh;
}
-=head2 C<BAIL_OUT [ $desc ]>
+=head2 C<BAIL_OUT>
+
+ BAIL_OUT;
+ BAIL_OUT $desc;
See L<Test::More/BAIL_OUT>.
@@ -802,7 +845,10 @@
L<Test::Leaner> also provides some functions of its own, which are never
exported.
-=head2 C<tap_stream [ $fh ]>
+=head2 C<tap_stream>
+
+ my $tap_fh = tap_stream;
+ tap_stream $fh;
Read/write accessor for the filehandle to which the tests are outputted.
On write, it also turns autoflush on onto C<$fh>.
@@ -827,7 +873,10 @@
tap_stream *STDOUT;
-=head2 C<diag_stream [ $fh ]>
+=head2 C<diag_stream>
+
+ my $diag_fh = diag_stream;
+ diag_stream $fh;
Read/write accessor for the filehandle to which the diagnostics are printed.
On write, it also turns autoflush on onto C<$fh>.
@@ -882,7 +931,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2010,2011 Vincent Pit, all rights reserved.
+Copyright 2010,2011,2013 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/autovivification-0.11/t/lib/autovivification/TestThreads.pm
new/autovivification-0.12/t/lib/autovivification/TestThreads.pm
--- old/autovivification-0.11/t/lib/autovivification/TestThreads.pm
2013-01-30 17:42:07.000000000 +0100
+++ new/autovivification-0.12/t/lib/autovivification/TestThreads.pm
2013-08-29 01:18:21.000000000 +0200
@@ -19,7 +19,7 @@
skip_all 'This perl wasn\'t built to support threads'
unless
$Config{useithreads};
skip_all 'perl 5.13.4 required to test thread safety'
- unless $force or "$]" >=
5.013004;
+ unless $force or "$]" >=
5.013_004;
load_or_skip_all('threads', $force ? '0' : '1.67', [ ]);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]