PaulHowarth/Blog/2016-09-26

Monday 26th September 2016

Fedora Project

  • Updated perl-Moose to 2.1806 in F-25 and Rawhide:

  • Bug Fixes

    • A role generated on the fly (as opposed to one in a file on disk) could not be used as a trait (CPAN RT#92089, PR#47)

  • Enhancements

    • When a required attribute's init_arg differs from the attribute's name, we now include both the attribute name and init_arg in the exception thrown when that attribute is not provided (CPAN RT#116814)

    • The unimport sub generated by Moose::Exporter can now be called with parameters like { into => 'Package' } or { into_level => 1 }, just like the import sub it generates (CPAN RT#93666)

    • Moose::Meta::Attribute objects created from role attributes keep a reference to the Moose::Meta::Role::Attribute that created them; Moose::Meta::Attribute now has ->role_attribute and ->has_role_attribute methods (CPAN RT#84563, CPAN RT#117586)

  • Documentation

    • Updated Moose::Manual::Roles with more detail on role consumption and how to deal with various corner cases involving required methods, multiple roles, etc.

  • Updated perl-Specio to 0.26 in F-25 and Rawhide:

    • Require Role::Tiny 1.003003, which should fix some test failures

  • Updated perl-Test-Simple to 1.302059 in F-25 and Rawhide:

    • Documentation fixes
    • Win32 colour support in Test::Builder::Tester

    • Support v-strings in is_deeply

    • A streamed subtest run inside a buffered subtest will automatically be converted to a buffered subtest; otherwise, the output from inside the subtest is lost entirely (#721)

    • Mask warning when comparing $@ in Test2::API::Context

Local Packages

  • Updated perl-Moose to 2.1806 as per the Fedora version

  • Updated perl-Params-Validate to 1.25:

    • Switch to ExtUtils::MakeMaker flow

  • Updated perl-Specio to 0.26 as per the Fedora version

  • Updated perl-Test2 to 1.302059 as per the perl-Test-Simple package in Fedora

  • Updated perl-Test2-Suite to 0.000060:

    • Create Test2::Compare::Negatable

    • Add bool() for deep comparisons

    • Implicit end() for checks inside is()

    • Add try_ok to Tools/Exception

    • Export convert() in Test2::Compare

    • Make convert more flexible

    • Document how to write a compare tool with custom behaviour
    • Fix some docs
    • Fix defer.t to work in Windows

    • Fix stack stomping bug triggered by certain Term::Readkey conditions

  • Updated perl-SQL-Statement (1.410), perl-Software-License (0.103012), perl-Software-License-CCpack (1.11), perl-Spellunker (0.4.0) and perl-Spiffy (0.46) to build-require perl-generators for proper dependency generation


Recent