Hello community,
here is the log from the commit of package perl-Test-Exception-LessClever for
openSUSE:Factory checked in at 2016-11-20 18:19:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Exception-LessClever (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Exception-LessClever.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Exception-LessClever"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-Exception-LessClever/perl-Test-Exception-LessClever.changes
2016-11-10 13:28:28.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Test-Exception-LessClever.new/perl-Test-Exception-LessClever.changes
2016-11-20 18:19:47.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Nov 19 07:22:01 UTC 2016 - [email protected]
+
+- updated to 0.009
+ see /usr/share/doc/packages/perl-Test-Exception-LessClever/Changes
+
+-------------------------------------------------------------------
Old:
----
Test-Exception-LessClever-0.008.tar.gz
New:
----
Test-Exception-LessClever-0.009.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Exception-LessClever.spec ++++++
--- /var/tmp/diff_new_pack.PtT1Vn/_old 2016-11-20 18:19:48.000000000 +0100
+++ /var/tmp/diff_new_pack.PtT1Vn/_new 2016-11-20 18:19:48.000000000 +0100
@@ -17,50 +17,43 @@
Name: perl-Test-Exception-LessClever
-Version: 0.008
+Version: 0.009
Release: 0
%define cpan_name Test-Exception-LessClever
-Summary: Test::Exception simplified ***(DEPRECATED)***
+Summary: (DEPRECATED) Test::Exception simplified
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Exception-LessClever/
-Source0:
http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Mock::Quick) >= 1.100
-BuildRequires: perl(Module::Build) >= 0.420000
-BuildRequires: perl(Test::Simple) >= 0.88
+BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
-*** This is deprecated please do not use it ***
-
-An alternative to Test::Exception that is much simpler. This alternative
-does not use fancy stack tricks to hide itself. The idea here is to keep it
-simple. This also solves the Test::Exception bug where some dies will be
-hidden when a DESTROY method calls eval. If a DESTROY method masks $@ a
-warning will be generated as well.
+(DEPRECATED) Test::Exception simplified
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-./Build test
+%{__make} test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+%perl_make_install
+%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc README
+%doc Changes README
%changelog
++++++ Test-Exception-LessClever-0.008.tar.gz ->
Test-Exception-LessClever-0.009.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/Build.PL
new/Test-Exception-LessClever-0.009/Build.PL
--- old/Test-Exception-LessClever-0.008/Build.PL 2016-11-05
21:19:16.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/Build.PL 1970-01-01
01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-#!/usr/bin/perl
-use strict;
-use warnings;
-use Module::Build;
-
-my $build = Module::Build->new(
- module_name => 'Test::Exception::LessClever',
- license => 'perl',
- dist_author => 'Chad Granum <[email protected]>',
- create_readme => 1,
- requires => {
- Carp => 0,
- Exporter => 0,
- 'Test::Builder' => 0,
- },
- build_requires => {
- 'Test::Simple' => 0.88,
- 'Mock::Quick' => '1.100',
- },
- meta_merge => {
- resources => {
- repository =>
'https://github.com/exodist/Test-Exception-LessClever',
- },
- x_deprecated => 1,
- },
-);
-
-$build->create_build_script;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/Changes
new/Test-Exception-LessClever-0.009/Changes
--- old/Test-Exception-LessClever-0.008/Changes 1970-01-01 01:00:00.000000000
+0100
+++ new/Test-Exception-LessClever-0.009/Changes 2016-11-18 21:58:17.000000000
+0100
@@ -0,0 +1,5 @@
+Revision history for Test-Exception-LessClever
+
+0.009 2016-11-18
+ - switched from Module::Build to ExtUtils::MakeMaker
+ - added deprecation warning when module is loaded
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/MANIFEST
new/Test-Exception-LessClever-0.009/MANIFEST
--- old/Test-Exception-LessClever-0.008/MANIFEST 2016-11-05
21:19:16.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/MANIFEST 2016-11-18
21:59:19.000000000 +0100
@@ -1,7 +1,9 @@
-Build.PL
+Changes
lib/Test/Exception/LessClever.pm
+Makefile.PL
MANIFEST This list of files
+MANIFEST.SKIP
+META.json
+META.yml
README
t/tests.t
-META.yml
-META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/MANIFEST.SKIP
new/Test-Exception-LessClever-0.009/MANIFEST.SKIP
--- old/Test-Exception-LessClever-0.008/MANIFEST.SKIP 1970-01-01
01:00:00.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/MANIFEST.SKIP 2016-11-18
21:58:44.000000000 +0100
@@ -0,0 +1,70 @@
+
+#!start included
/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/25.6/lib/5.25.6/ExtUtils/MANIFEST.SKIP
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\B\.gitignore\b
+\b_darcs\b
+\B\.cvsignore$
+
+# Avoid VMS specific MakeMaker generated files
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$ # 6.18 through 6.25 generated this
+\b_eumm/ # 7.05_05 and above
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+\bBuild.bat$
+\bBuild.COM$
+\bBUILD.COM$
+\bbuild.com$
+
+# and Module::Build::Tiny generated files
+\b_build_params$
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+\.tmp$
+\.#
+\.rej$
+\..*\.sw.?$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+
+# Avoid Devel::Cover and Devel::CoverX::Covered files.
+\bcover_db\b
+\bcovered\b
+
+# Avoid prove files
+\B\.prove$
+
+# Avoid MYMETA files
+^MYMETA\.
+#!end included
/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/25.6/lib/5.25.6/ExtUtils/MANIFEST.SKIP
+
+
+# Avoid archives of this distribution
+\bTest-Exception-LessClever-[\d\.\_]+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/META.json
new/Test-Exception-LessClever-0.009/META.json
--- old/Test-Exception-LessClever-0.008/META.json 2016-11-05
21:19:16.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/META.json 2016-11-18
21:59:20.000000000 +0100
@@ -1,54 +1,65 @@
{
- "abstract" : "Test::Exception simplified ***(DEPRECATED)***",
+ "abstract" : "(DEPRECATED) Test::Exception simplified",
"author" : [
"Chad Granum <[email protected]>"
],
- "dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.422",
+ "dynamic_config" : 0,
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Test-Exception-LessClever",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
"prereqs" : {
- "build" : {
- "requires" : {
- "Mock::Quick" : "1.100",
- "Test::Simple" : "0.88"
- }
- },
"configure" : {
"requires" : {
- "Module::Build" : "0.42"
+ "ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Carp" : "0",
"Exporter" : "0",
- "Test::Builder" : "0"
+ "Test::Builder" : "0",
+ "base" : "0",
+ "perl" : "5.006",
+ "strict" : "0",
+ "warnings" : "0"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Mock::Quick" : "1.100",
+ "Test::Builder::Tester" : "0",
+ "Test::More" : "0.88"
}
- }
- },
- "provides" : {
- "Test::Exception::LessClever" : {
- "file" : "lib/Test/Exception/LessClever.pm",
- "version" : "0.008"
}
},
"release_status" : "stable",
"resources" : {
- "license" : [
- "http://dev.perl.org/licenses/"
- ],
+ "bugtracker" : {
+ "web" : "https://github.com/exodist/Test-Exception-LessClever/issues"
+ },
+ "homepage" : "https://github.com/exodist/Test-Exception-LessClever",
"repository" : {
- "url" : "https://github.com/exodist/Test-Exception-LessClever"
+ "type" : "git",
+ "url" : "https://github.com/exodist/Test-Exception-LessClever.git",
+ "web" : "https://github.com/exodist/Test-Exception-LessClever"
}
},
- "version" : "0.008",
+ "version" : "0.009",
+ "x_IRC" : "irc://irc.perl.org/#perl-qa",
+ "x_MailingList" : "http://lists.perl.org/list/perl-qa.html",
+ "x_authority" : "cpan:EXODIST",
"x_deprecated" : 1,
- "x_serialization_backend" : "JSON::PP version 2.27300"
+ "x_serialization_backend" : "JSON::MaybeXS version 1.003008"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/META.yml
new/Test-Exception-LessClever-0.009/META.yml
--- old/Test-Exception-LessClever-0.008/META.yml 2016-11-05
21:19:16.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/META.yml 2016-11-18
21:59:19.000000000 +0100
@@ -1,30 +1,39 @@
---
-abstract: 'Test::Exception simplified ***(DEPRECATED)***'
+abstract: '(DEPRECATED) Test::Exception simplified'
author:
- 'Chad Granum <[email protected]>'
build_requires:
Mock::Quick: '1.100'
- Test::Simple: '0.88'
+ Test::Builder::Tester: '0'
+ Test::More: '0.88'
configure_requires:
- Module::Build: '0.42'
-dynamic_config: 1
-generated_by: 'Module::Build version 0.422, CPAN::Meta::Converter version
2.150010'
+ ExtUtils::MakeMaker: '0'
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Test-Exception-LessClever
-provides:
- Test::Exception::LessClever:
- file: lib/Test/Exception/LessClever.pm
- version: '0.008'
+no_index:
+ directory:
+ - t
+ - inc
requires:
Carp: '0'
Exporter: '0'
Test::Builder: '0'
+ base: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
resources:
- license: http://dev.perl.org/licenses/
- repository: https://github.com/exodist/Test-Exception-LessClever
-version: '0.008'
+ bugtracker: https://github.com/exodist/Test-Exception-LessClever/issues
+ homepage: https://github.com/exodist/Test-Exception-LessClever
+ repository: https://github.com/exodist/Test-Exception-LessClever.git
+version: '0.009'
+x_IRC: irc://irc.perl.org/#perl-qa
+x_MailingList: http://lists.perl.org/list/perl-qa.html
+x_authority: cpan:EXODIST
x_deprecated: 1
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/Makefile.PL
new/Test-Exception-LessClever-0.009/Makefile.PL
--- old/Test-Exception-LessClever-0.008/Makefile.PL 1970-01-01
01:00:00.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/Makefile.PL 2016-11-18
21:57:37.000000000 +0100
@@ -0,0 +1,110 @@
+use strict;
+use warnings;
+
+use ExtUtils::MakeMaker;
+
+my %WriteMakefileArgs = (
+ NAME => 'Test::Exception::LessClever',
+ AUTHOR => 'Chad Granum <[email protected]>',
+ LICENSE => 'perl_5',
+ ABSTRACT_FROM => 'lib/Test/Exception/LessClever.pm',
+ VERSION_FROM => 'lib/Test/Exception/LessClever.pm',
+
+ META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ dynamic_config => 0,
+ resources => {
+ repository => {
+ url => 'https://github.com/exodist/Test-Exception-LessClever.git',
+ web => 'https://github.com/exodist/Test-Exception-LessClever',
+ type => 'git',
+ },
+ homepage => 'https://github.com/exodist/Test-Exception-LessClever',
+ bugtracker => {
+ web => 'https://github.com/exodist/Test-Exception-LessClever/issues',
+ },
+ },
+ x_IRC => 'irc://irc.perl.org/#perl-qa',
+ x_MailingList => 'http://lists.perl.org/list/perl-qa.html',
+ x_authority => 'cpan:EXODIST',
+ x_deprecated => 1,
+ },
+
+ META_ADD => {
+ 'meta-spec' => { version => 2 },
+ prereqs => {
+ configure => {
+ requires => {
+ 'ExtUtils::MakeMaker' => '0',
+ },
+ },
+ runtime => {
+ requires => {
+ 'Carp' => '0',
+ 'Exporter' => '0',
+ 'Test::Builder' => '0',
+ 'base' => '0',
+ 'strict' => '0',
+ 'warnings' => '0',
+ 'perl' => '5.006',
+ },
+ },
+ test => {
+ requires => {
+ 'Mock::Quick' => '1.100',
+ 'Test::Builder::Tester' => '0',
+ 'Test::More' => '0.88',
+ },
+ },
+ },
+ },
+);
+
+my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
+
+for (qw(configure build test runtime)) {
+ my $key = $_ eq 'runtime' ? 'PREREQ_PM' : uc $_.'_REQUIRES';
+ next unless exists $WriteMakefileArgs{META_ADD}{prereqs}{$_}
+ or exists $WriteMakefileArgs{$key};
+ my $r = $WriteMakefileArgs{$key} = {
+ %{$WriteMakefileArgs{META_ADD}{prereqs}{$_}{requires} || {}},
+ %{delete $WriteMakefileArgs{$key} || {}},
+ };
+ defined $r->{$_} or delete $r->{$_} for keys %$r;
+}
+
+# dynamic prereqs get added here.
+
+$WriteMakefileArgs{MIN_PERL_VERSION} = delete
$WriteMakefileArgs{PREREQ_PM}{perl} || 0;
+
+die 'attention developer: you need to do a sane meta merge here!'
+ if keys %{$WriteMakefileArgs{BUILD_REQUIRES}};
+
+$WriteMakefileArgs{BUILD_REQUIRES} = {
+ %{$WriteMakefileArgs{BUILD_REQUIRES} || {}},
+ %{delete $WriteMakefileArgs{TEST_REQUIRES}}
+} if $eumm_version < 6.63_03;
+
+$WriteMakefileArgs{PREREQ_PM} = {
+ %{$WriteMakefileArgs{PREREQ_PM}},
+ %{delete $WriteMakefileArgs{BUILD_REQUIRES}}
+} if $eumm_version < 6.55_01;
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ if $eumm_version < 6.51_03;
+
+delete $WriteMakefileArgs{MIN_PERL_VERSION}
+ if $eumm_version < 6.48;
+
+delete @WriteMakefileArgs{qw(META_ADD META_MERGE)}
+ if $eumm_version < 6.46;
+
+delete $WriteMakefileArgs{LICENSE}
+ if $eumm_version < 6.31;
+
+WriteMakefile(%WriteMakefileArgs);
+
+# pod2text is in https://metacpan.org/release/podlators
+system("pod2text $WriteMakefileArgs{VERSION_FROM} > README")
+ if -f '.gitignore'
+ and (not -e 'README' or (stat('README'))[9] <
(stat($WriteMakefileArgs{VERSION_FROM}))[9]);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.008/README
new/Test-Exception-LessClever-0.009/README
--- old/Test-Exception-LessClever-0.008/README 2016-11-05 21:19:16.000000000
+0100
+++ new/Test-Exception-LessClever-0.009/README 2016-11-18 21:58:44.000000000
+0100
@@ -1,20 +1,16 @@
NAME
+ Test::Exception::LessClever - (DEPRECATED) Test::Exception simplified
- Test::Exception::LessClever - Test::Exception simplified
- ***(DEPRECATED)***
+DEPRECATION NOTICE
+ *** This module is deprecated: please do not use it! ***
-DESCRIPTION
-
- *** This is deprecated please do not use it ***
-
- An alternative to Test::Exception that is much simpler. This
- alternative does not use fancy stack tricks to hide itself. The idea
- here is to keep it simple. This also solves the Test::Exception bug
- where some dies will be hidden when a DESTROY method calls eval. If a
- DESTROY method masks $@ a warning will be generated as well.
+ An alternative to Test::Exception that is much simpler. This alternative
+ does not use fancy stack tricks to hide itself. The idea here is to keep
+ it simple. This also solves the Test::Exception bug where some dies will
+ be hidden when a DESTROY method calls eval. If a DESTROY method masks $@
+ a warning will be generated as well.
WHY REWRITE TEST-EXCEPTION
-
Here is an IRC log.
<Exodist> wtf? Bizarre copy of HASH in sassign at
/usr/lib64/perl5/5.10.1/Carp/Heavy.pm line 104
@@ -24,76 +20,68 @@
<confound> probably because throws_ok tries to do clever things to
fiddle with the call stack to make it appear as though its guts are not being
called
<confound> less clever would be more useful
-SYNOPSYS
-
+SYNOPSIS
Pretty much a clone of Test::Exception Refer to those docs for more
details.
use Test::More;
use Test::Exception;
-
+
dies_ok { die( 'xxx' )} "Should die";
lives_ok { 1 } "Should live";
throws_ok { die( 'xxx' )} qr/xxx/, "Throws 'xxx'";
lives_and { ok( 1, "We did not die" )} "Ooops we died";
-
+
done_testing;
EXPORTABLE FUNCTIONS
-
$status = live_or_die( sub { ... }, $name )
-
($status, $msg) = live_or_die( sub { ... }, $name )
+ Check if the code lives or dies. In scalar context returns true or
+ false. In array context returns the same true or false with the
+ error message. If the return is true the error message will be
+ something along the lines of 'did not die' but this may change in
+ the future.
+
+ Will generate a warning if the test dies, $@ is empty AND called in
+ array context. This usually occurs when an objects DESTROY method
+ calls eval and masks $@.
- Check if the code lives or dies. In scalar context returns true or
- false. In array context returns the same true or false with the error
- message. If the return is true the error message will be something
- along the lines of 'did not die' but this may change in the future.
-
- Will generate a warning if the test dies, $@ is empty AND called in
- array context. This usually occurs when an objects DESTROY method
- calls eval and masks $@.
-
- *NOT EXPORTED BY DEFAULT*
+ *NOT EXPORTED BY DEFAULT*
lives_ok( sub { ... }, $name )
-
- Test passes if the sub does not die, false if it does.
+ Test passes if the sub does not die, false if it does.
dies_ok( sub { ... }, $name )
-
- Test passes if the sub dies, false if it does not.
+ Test passes if the sub dies, false if it does not.
throws_ok( sub { ... }, qr/message/, $name )
+ Check that the sub dies, and that it throws an error that matches
+ the regex.
- Check that the sub dies, and that it throws an error that matches the
- regex.
-
- Test fails is the sub does not die, or if the message does not match
- the regex.
+ Test fails is the sub does not die, or if the message does not match
+ the regex.
lives_and( sub {...}, $name )
-
- Fails with $name if the sub dies, otherwise is passive. This is
- useful for running a test that could die. If it dies there is a
- failure, if it lives it is responsible for itself.
+ Fails with $name if the sub dies, otherwise is passive. This is
+ useful for running a test that could die. If it dies there is a
+ failure, if it lives it is responsible for itself.
SEE ALSO
+ * Test::Fatal
- Test::Exception
+ * Test::Exception
AUTHORS
-
Chad Granum [email protected]
COPYRIGHT
-
Copyright (C) 2010 Chad Granum
Test-Exception-LessClever is free software; Standard perl licence.
Test-Exception-LessClever is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license
- for more details.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for
+ more details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test-Exception-LessClever-0.008/lib/Test/Exception/LessClever.pm
new/Test-Exception-LessClever-0.009/lib/Test/Exception/LessClever.pm
--- old/Test-Exception-LessClever-0.008/lib/Test/Exception/LessClever.pm
2016-11-05 21:19:16.000000000 +0100
+++ new/Test-Exception-LessClever-0.009/lib/Test/Exception/LessClever.pm
2016-11-18 21:58:17.000000000 +0100
@@ -10,11 +10,11 @@
=head1 NAME
-Test::Exception::LessClever - Test::Exception simplified ***(DEPRECATED)***
+Test::Exception::LessClever - (DEPRECATED) Test::Exception simplified
-=head1 DESCRIPTION
+=head1 DEPRECATION NOTICE
-*** This is deprecated please do not use it ***
+*** This module is deprecated: please do not use it! ***
An alternative to L<Test::Exception> that is much simpler. This alternative
does not use fancy stack tricks to hide itself. The idea here is to keep it
@@ -33,7 +33,7 @@
<confound> probably because throws_ok tries to do clever things to fiddle
with the call stack to make it appear as though its guts are not being called
<confound> less clever would be more useful
-=head1 SYNOPSYS
+=head1 SYNOPSIS
Pretty much a clone of L<Test::Exception> Refer to those docs for more details.
@@ -59,7 +59,9 @@
our @EXPORT = qw/lives_ok dies_ok throws_ok lives_and/;
our @CARP_NOT = ( __PACKAGE__ );
our $TB = Test::Builder->new;
-our $VERSION = "0.008";
+our $VERSION = "0.009";
+
+warnings::warnif('deprecated', '!!! Test::Exception::LessClever is
deprecated');
=item $status = live_or_die( sub { ... }, $name )
@@ -180,8 +182,18 @@
=head1 SEE ALSO
+=over 4
+
+=item *
+
+L<Test::Fatal>
+
+=item *
+
L<Test::Exception>
+=back
+
=head1 AUTHORS
Chad Granum L<[email protected]>