Update to 0.22

- New upstream release 0.22
  - Add optional test deps as recommended prereqs
    (https://github.com/doy/try-tiny/pull/18)
- Update patch for building with Test::More < 0.88
This commit is contained in:
Paul Howarth 2014-04-29 23:31:26 +01:00
parent 306ac7adc7
commit aacd888ded
3 changed files with 15 additions and 6 deletions

View File

@ -2,15 +2,18 @@
+++ xt/release/no-tabs.t
@@ -3,7 +3,7 @@ use warnings;
# this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.06
# this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.07
-use Test::More 0.88;
+use Test::More tests => 1;
+use Test::More;
use Test::NoTabs;
my @files = (
@@ -11,4 +11,3 @@ my @files = (
@@ -21,5 +21,6 @@ my @files = (
't/when.t'
);
+plan tests => scalar @files;
+
notabs_ok($_) foreach @files;
-done_testing;

View File

@ -3,13 +3,13 @@
Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@
Version: 0.21
Version: 0.22
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.20-old-Test::More.patch
Patch1: Try-Tiny-0.22-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
@ -79,6 +79,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/Try::Tiny.3pm*
%changelog
* Tue Apr 29 2014 Paul Howarth <paul@city-fan.org> - 0.22-1
- Update to 0.22
- Add optional test deps as recommended prereqs
(https://github.com/doy/try-tiny/pull/18)
- Update patch for building with Test::More < 0.88
* Tue Apr 15 2014 Paul Howarth <paul@city-fan.org> - 0.21-1
- Update to 0.21
- Also skip the test if Capture::Tiny is too old

View File

@ -1 +1 @@
98049893c9ce161ba4d1393e00dc8bea Try-Tiny-0.21.tar.gz
6769658bfbca241a470206c9a8819ff2 Try-Tiny-0.22.tar.gz