Update to 0.40

- New upstream release 0.40
  - Fixed more bugs with {any,object}_{can,does,isa}_type
    - When passed a glob (not a globref) they would die in their type check
    - On Perl 5.16 or earlier, passing a number to an any_* type would also die
  - Fixed subification overloading: if Sub::Quote was loaded, this would be
    used, but any environment variables needed for the closure would not be
    included, which broke enums, among other things
This commit is contained in:
Paul Howarth 2017-08-04 10:30:58 +01:00
parent 4edb746252
commit e56f1552ab
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Name: perl-Specio
Version: 0.39
Version: 0.40
Release: 1%{?dist}
Summary: Type constraints and coercions for Perl
License: Artistic 2.0
@ -31,9 +31,11 @@ BuildRequires: perl(Role::Tiny::With)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Sub::Util) >= 1.40
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(version) >= 0.83
BuildRequires: perl(warnings)
# Test Suite
@ -146,6 +148,15 @@ make test
%{_mandir}/man3/Test::Specio.3*
%changelog
* Fri Aug 4 2017 Paul Howarth <paul@city-fan.org> - 0.40-1
- Update to 0.40
- Fixed more bugs with {any,object}_{can,does,isa}_type
- When passed a glob (not a globref) they would die in their type check
- On Perl 5.16 or earlier, passing a number to an any_* type would also die
- Fixed subification overloading: if Sub::Quote was loaded, this would be
used, but any environment variables needed for the closure would not be
included, which broke enums, among other things
* Thu Aug 3 2017 Paul Howarth <paul@city-fan.org> - 0.39-1
- Update to 0.39
- Many bug fixes and improvements to the types created by

View File

@ -1 +1 @@
SHA512 (Specio-0.39.tar.gz) = 93cb970f02031c3ed58e7535e651adf9aff51377a686ce3426c9a5df0610f6f9fc523e852e47fcfe9a97ca52c19c4edd2821d84f9467bfdc91b2d27db94effb4
SHA512 (Specio-0.40.tar.gz) = c78354f7c2d6cb34297c12a035e06cced83c9b0275e46c7e9a8d4a881b400d07b88a514630f18b2eeba581208fe58390473b35df23bad247913f722f43ef3c83