Update to 0.20

- New upstream release 0.20
  - Documentation updates
- Update patch for building with Test::More < 0.88
This commit is contained in:
Paul Howarth 2014-03-22 21:51:10 +00:00
parent a401fd2267
commit d334f6ef9f
4 changed files with 25 additions and 20 deletions

View File

@ -1,16 +0,0 @@
--- t/00-compile.t
+++ t/00-compile.t
@@ -3,7 +3,7 @@
# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.021
-use Test::More 0.88;
+use Test::More tests => ($ENV{AUTHOR_TESTING} ? 2 : 1);
@@ -45,4 +45,3 @@
-done_testing;

View File

@ -0,0 +1,16 @@
--- xt/release/no-tabs.t
+++ xt/release/no-tabs.t
@@ -3,7 +3,7 @@ use warnings;
# this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.06
-use Test::More 0.88;
+use Test::More tests => 1;
use Test::NoTabs;
my @files = (
@@ -11,4 +11,3 @@ my @files = (
);
notabs_ok($_) foreach @files;
-done_testing;

View File

@ -3,17 +3,17 @@
Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@
Version: 0.19
Version: 0.20
Release: 1%{?dist}
License: MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/Try-Tiny
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
Patch1: Try-Tiny-0.19-old-Test::More.patch
Patch1: Try-Tiny-0.20-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# Module
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
@ -78,6 +78,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/Try::Tiny.3pm*
%changelog
* Sat Mar 22 2014 Paul Howarth <paul@city-fan.org> - 0.20-1
- Update to 0.20
- Documentation updates
- Update patch for building with Test::More < 0.88
* Thu Jan 23 2014 Paul Howarth <paul@city-fan.org> - 0.19-1
- Update to 0.19
- Fix an obscure issue with loading modules during global destruction

View File

@ -1 +1 @@
2a0e2754f7a5961ae1a91d51d08d03ca Try-Tiny-0.19.tar.gz
ee9f0f29d4056fbb07f921255c4a5ccd Try-Tiny-0.20.tar.gz