diff -Nru libtest-moose-more-perl-0.048/Changes libtest-moose-more-perl-0.050/Changes --- libtest-moose-more-perl-0.048/Changes 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/Changes 2017-09-21 03:41:51.000000000 +0000 @@ -1,5 +1,11 @@ Revision history for Test-Moose-More +0.050 2017-09-20 22:41:41 CDT-0500 + * No code changes, releasing 0.049 as non-trial + +0.049-TRIAL 2017-07-30 13:27:51 CDT-0500 + * Add definition_context_ok() + 0.048 2017-06-17 23:19:13 CDT-0500 * Add method_is_accessor_ok(), method_is_not_accessor_ok() * Fix POD link to Class::MOP::Method::Accessor diff -Nru libtest-moose-more-perl-0.048/cpanfile libtest-moose-more-perl-0.050/cpanfile --- libtest-moose-more-perl-0.048/cpanfile 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/cpanfile 2017-09-21 03:41:51.000000000 +0000 @@ -28,7 +28,6 @@ requires "Test::Builder::Tester" => "0"; requires "Test::CheckDeps" => "0.010"; requires "Test::More" => "0.94"; - requires "blib" => "1.01"; requires "namespace::autoclean" => "0"; requires "perl" => "5.006"; }; diff -Nru libtest-moose-more-perl-0.048/debian/changelog libtest-moose-more-perl-0.050/debian/changelog --- libtest-moose-more-perl-0.048/debian/changelog 2017-06-25 18:35:37.000000000 +0000 +++ libtest-moose-more-perl-0.050/debian/changelog 2017-11-01 18:55:12.000000000 +0000 @@ -1,3 +1,11 @@ +libtest-moose-more-perl (0.050-1) unstable; urgency=medium + + * Import upstream version 0.050. + * Update years of packaging copyright. + * Declare compliance with Debian Policy 4.1.1. + + -- gregor herrmann Wed, 01 Nov 2017 19:55:12 +0100 + libtest-moose-more-perl (0.048-1) unstable; urgency=medium * Team upload. diff -Nru libtest-moose-more-perl-0.048/debian/control libtest-moose-more-perl-0.050/debian/control --- libtest-moose-more-perl-0.048/debian/control 2017-06-25 18:35:37.000000000 +0000 +++ libtest-moose-more-perl-0.050/debian/control 2017-11-01 18:55:12.000000000 +0000 @@ -16,7 +16,7 @@ libtap-simpleoutput-perl (>= 0.009), libtest-checkdeps-perl (>= 0.010), perl -Standards-Version: 4.0.0 +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtest-moose-more-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libtest-moose-more-perl.git Homepage: https://metacpan.org/release/Test-Moose-More @@ -29,7 +29,7 @@ liblist-moreutils-perl, libmoose-perl, libsub-exporter-progressive-perl, - libsyntax-keyword-junction-perl, + libsyntax-keyword-junction-perl Description: collection of tools for testing Moose packages Test::Moose::More contains a number of additional tests that can be employed against Moose classes/roles. It is intended to replace Test::Moose in a diff -Nru libtest-moose-more-perl-0.048/debian/copyright libtest-moose-more-perl-0.050/debian/copyright --- libtest-moose-more-perl-0.048/debian/copyright 2017-06-25 18:35:37.000000000 +0000 +++ libtest-moose-more-perl-0.050/debian/copyright 2017-11-01 18:55:12.000000000 +0000 @@ -8,7 +8,7 @@ License: LGPL-2.1 Files: debian/* -Copyright: 2013-2015, gregor herrmann +Copyright: 2013-2017, gregor herrmann 2017, Lucas Kanashiro License: LGPL-2.1 or Artistic or GPL-1+ diff -Nru libtest-moose-more-perl-0.048/lib/Test/Moose/More/Utils.pm libtest-moose-more-perl-0.050/lib/Test/Moose/More/Utils.pm --- libtest-moose-more-perl-0.048/lib/Test/Moose/More/Utils.pm 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/lib/Test/Moose/More/Utils.pm 2017-09-21 03:41:51.000000000 +0000 @@ -9,7 +9,7 @@ # package Test::Moose::More::Utils; our $AUTHORITY = 'cpan:RSRCHBOY'; -$Test::Moose::More::Utils::VERSION = '0.048'; +$Test::Moose::More::Utils::VERSION = '0.050'; # ABSTRACT: Various utility functions for TMM (and maybe others!) use strict; @@ -72,7 +72,7 @@ =head1 VERSION -This document describes version 0.048 of Test::Moose::More::Utils - released June 17, 2017 as part of Test-Moose-More. +This document describes version 0.050 of Test::Moose::More::Utils - released September 20, 2017 as part of Test-Moose-More. =head1 FUNCTIONS diff -Nru libtest-moose-more-perl-0.048/lib/Test/Moose/More.pm libtest-moose-more-perl-0.050/lib/Test/Moose/More.pm --- libtest-moose-more-perl-0.048/lib/Test/Moose/More.pm 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/lib/Test/Moose/More.pm 2017-09-21 03:41:51.000000000 +0000 @@ -9,8 +9,8 @@ # package Test::Moose::More; our $AUTHORITY = 'cpan:RSRCHBOY'; -# git description: 0.047-23-gb33a6e7 -$Test::Moose::More::VERSION = '0.048'; +# git description: 0.049-1-g0a65e1a +$Test::Moose::More::VERSION = '0.050'; # ABSTRACT: More tools for testing Moose packages @@ -22,6 +22,7 @@ attribute_options_ok check_sugar_ok check_sugar_removed_ok + definition_context_ok does_metaroles_ok does_not_metaroles_ok does_not_ok @@ -108,8 +109,8 @@ { my $_yes = sub { $tb->ok(!!shift, shift . ' has a meta') }; my $_no = sub { $tb->ok( !shift, shift . ' does not have a meta') }; - sub meta_ok ($;$) { unshift @_, $_yes, $_[0]; goto \&_method_ok_guts } - sub no_meta_ok ($;$) { unshift @_, $_no, $_[0]; goto \&_method_ok_guts } + sub meta_ok ($;$) { _method_ok_guts($_yes, $_[0], @_) } + sub no_meta_ok ($;$) { _method_ok_guts($_no, $_[0], @_) } } @@ -179,15 +180,15 @@ my $_has_test = sub { $tb->ok(!!$_[0]->has_method($_), "$_[1] has method $_") }; my $_no_test = sub { $tb->ok( !$_[0]->has_method($_), "$_[1] does not have method $_") }; - sub has_no_method_ok ($@) { unshift @_, $_no_test; goto \&_method_ok_guts } - sub has_method_ok ($@) { unshift @_, $_has_test; goto \&_method_ok_guts } + sub has_no_method_ok ($@) { _method_ok_guts($_no_test, @_) } + sub has_method_ok ($@) { _method_ok_guts($_has_test, @_) } } { my $_has_test = sub { $tb->ok(!!$_[0]->find_method_by_name($_), "$_[1] has method $_") }; my $_no_test = sub { $tb->ok( !$_[0]->find_method_by_name($_), "$_[1] does not have method $_") }; - sub has_no_method_from_anywhere_ok ($@) { unshift @_, $_no_test; goto \&_method_ok_guts } - sub has_method_from_anywhere_ok ($@) { unshift @_, $_has_test; goto \&_method_ok_guts } + sub has_no_method_from_anywhere_ok ($@) { _method_ok_guts($_no_test, @_) } + sub has_method_from_anywhere_ok ($@) { _method_ok_guts($_has_test, @_) } } sub _method_ok_guts { @@ -197,8 +198,8 @@ my $meta = find_meta($thing); my $name = _thing_name($thing, $meta); - # the test below is run one stack frame up (down?), so let's handle that - local $Test::Builder::Level = $Test::Builder::Level + 1; + # the test below is run two stack frame up (down?), so let's handle that + local $Test::Builder::Level = $Test::Builder::Level + 2; # "tiny evil?" -- Eleanor Weyl @@ -238,9 +239,30 @@ } -sub role_wraps_around_method_ok ($@) { unshift @_, 'around'; goto \&_role_wraps } -sub role_wraps_before_method_ok ($@) { unshift @_, 'before'; goto \&_role_wraps } -sub role_wraps_after_method_ok ($@) { unshift @_, 'after'; goto \&_role_wraps } +sub definition_context_ok ($$) { + my ($meta, $dc) = @_; + + my $name = _thing_name($meta, $meta); + + return unless $tb->ok( + $meta->can('definition_context'), + "$name can definition_context()", + ); + + my $meta_dc = $meta->definition_context; + + ### $dc + ### $meta_dc + + local $Test::Builder::Level = $Test::Builder::Level + 1; + return is_deeply $meta_dc => $dc, + "$name definition context is strictly correct"; +} + + +sub role_wraps_around_method_ok ($@) { _role_wraps(around => @_) } +sub role_wraps_before_method_ok ($@) { _role_wraps(before => @_) } +sub role_wraps_after_method_ok ($@) { _role_wraps(after => @_) } sub _role_wraps { my ($style, $thing, @methods) = @_; @@ -252,6 +274,7 @@ my $name = _thing_name($thing, $meta); ### @methods + local $Test::Builder::Level = $Test::Builder::Level + 2; $tb->ok(!!$meta->$meta_method($_), "$name wraps $style method $_") for @methods; @@ -263,8 +286,8 @@ my $_is_test = sub { $tb->ok( $_[0]->requires_method($_), "$_[1] requires method $_") }; my $_not_test = sub { $tb->ok(!$_[0]->requires_method($_), "$_[1] does not require method $_") }; - sub requires_method_ok ($@) { unshift @_, $_is_test; goto \&_method_ok_guts } - sub does_not_require_method_ok ($@) { unshift @_, $_not_test; goto \&_method_ok_guts } + sub requires_method_ok ($@) { _method_ok_guts($_is_test, @_) } + sub does_not_require_method_ok ($@) { _method_ok_guts($_not_test, @_) } } @@ -295,8 +318,8 @@ my $_not_test = sub { $tb->ok(!$_[0]->is_pristine(), "$_[1] is not pristine") }; # FIXME should probably rename _method_ok_guts()... - sub is_pristine_ok ($) { @_ = ($_is_test, @_, q{}); goto \&_method_ok_guts } - sub is_not_pristine_ok ($) { @_ = ($_not_test, @_, q{}); goto \&_method_ok_guts } + sub is_pristine_ok ($) { _method_ok_guts($_is_test, @_, q{}) } + sub is_not_pristine_ok ($) { _method_ok_guts($_not_test, @_, q{}) } } @@ -583,7 +606,6 @@ ); } - sub _validate_attribute { _validate_subtest_wrapper(\&__validate_attribute_guts, @_) } sub validate_attribute ($$@) { _validate_subtest_wrapper( \&_validate_attribute_guts, [shift, shift], @_) } @@ -765,7 +787,7 @@ =head1 VERSION -This document describes version 0.048 of Test::Moose::More - released June 17, 2017 as part of Test-Moose-More. +This document describes version 0.050 of Test::Moose::More - released September 20, 2017 as part of Test-Moose-More. =head1 SYNOPSIS @@ -887,6 +909,11 @@ Given a thing (role, class, etc) and a method, test that the method is B an accessor -- that is, it does not descend from L. +=head2 definition_context_ok $meta, \%dc + +Validates the definition context of a metaclass instance. This is a strict +comparison. + =head2 role_wraps_around_method_ok $role, @methods Queries C<$role>'s metaclass to see if C<$role> wraps the methods named in @@ -1033,6 +1060,78 @@ As with L, but test that the metaroles are not consumed, a la L. +=head2 attribute_options_ok + +Validates that an attribute is set up as expected; like +C, but only concerns itself with attribute options. + +Note that some of these options will skip if used against attributes defined +in a role. + +=over 4 + +=item * + +C<< -subtest => 'subtest name...' >> + +If set, all tests run (save the first, "does this thing even have this +attribute?" test) will be wrapped in a subtest, the name of which will be +whatever C<-subtest> is set to. + +=item * + +C<< is => ro|rw >> + +Tests for reader/writer options set as one would expect. + +=item * + +C<< isa => ... >> + +Validates that the attribute requires its value to be a given type. + +=item * + +C<< does => ... >> + +Validates that the attribute requires its value to do a given role. + +=item * + +C<< builder => '...' >> + +Validates that the attribute expects the method name given to be its builder. + +=item * + +C<< default => ... >> + +Validates that the attribute has the given default. + +=item * + +C<< init_arg => '...' >> + +Validates that the attribute has the given initial argument name. + +=item * + +C<< lazy => 0|1 >> + +Validates that the attribute is/isn't lazy. + +=item * + +C<< required => 0|1 >> + +Validates that setting the attribute's value is/isn't required. + +=back + +=for Pod::Coverage is_anon is_class is_not_anon is_role + +=head1 VALIDATION METHODS + =head2 validate_thing Runs a bunch of tests against the given C<$thing>, as defined: @@ -1060,38 +1159,38 @@ =item * --subtest => 'subtest name...' +C<< -subtest => 'subtest name...' >> If set, all tests run will be wrapped in a subtest, the name of which will be whatever C<-subtest> is set to. =item * -isa => [ ... ] +C<< isa => [ ... ] >> A list of superclasses thing should have. =item * -anonymous => 0|1 +C<< anonymous => 0|1 >> Check to see if the class is/isn't anonymous. =item * -does => [ ... ] +C<< does => [ ... ] >> A list of roles the thing should do. =item * -does_not => [ ... ] +C<< does_not => [ ... ] >> A list of roles the thing should not do. =item * -attributes => [ ... ] +C<< attributes => [ ... ] >> The attributes list specified here is in the form of a list of names, each optionally followed by a hashref of options to test the attribute for; this @@ -1109,25 +1208,25 @@ =item * -methods => [ ... ] +C<< methods => [ ... ] >> A list of methods the thing should have; see L. =item * -no_methods => [ ... ] +C<< no_methods => [ ... ] >> A list of methods the thing should not have; see L. =item * -sugar => 0|1 +C<< sugar => 0|1 >> Ensure that thing can/cannot do the standard Moose sugar. =item * -metaclasses => { $mop => { ... }, ... } +C<< metaclasses => { $mop => { ... }, ... } >> Validates this thing's metaclasses: that is, given a MOP type (e.g. class, attribute, method, ...) and a hashref, find the associated metaclass of the @@ -1176,7 +1275,7 @@ =item * --compose => 0|1 +C<< -compose => 0|1 >> When true, attempt to compose the role into an anonymous class, then use it to run L. The options we're given are passed to C @@ -1207,20 +1306,20 @@ =item * --subtest => 'subtest name...' +C<< -subtest => 'subtest name...' >> If set, all tests run will be wrapped in a subtest, the name of which will be whatever C<-subtest> is set to. =item * -required_methods => [ ... ] +C<< required_methods => [ ... ] >> A list of methods the role requires a consuming class to supply. =item * -before => [ ... ] +C<< before => [ ... ] >> A list of methods the role expects to wrap before, on application to a class. @@ -1228,7 +1327,7 @@ =item * -around => [ ... ] +C<< around => [ ... ] >> A list of methods the role expects to wrap around, on application to a class. @@ -1236,7 +1335,7 @@ =item * -after => [ ... ] +C<< after => [ ... ] >> A list of methods the role expects to wrap after, on application to a class. @@ -1244,21 +1343,21 @@ =item * -role_metaroles => { $mop => [ $role, ... ], ... } +C<< role_metaroles => { $mop => [ $role, ... ], ... } >> Checks metaclasses to ensure the given metaroles are applied. See L. =item * -no_role_metaroles => { $mop => [ $role, ... ], ... } +C<< no_role_metaroles => { $mop => [ $role, ... ], ... } >> Checks metaclasses to ensure the given metaroles are applied. See L. =item * -role_metaclasses => { $mop => { ... }, ... } +C<< role_metaclasses => { $mop => { ... }, ... } >> Validates this role's metaclasses: that is, given a MOP type (e.g. role, attribute, method, ...) and a hashref, find the associated metaclass of the @@ -1291,7 +1390,7 @@ =item * -class_metaclasses => { $mop => { ... }, ... } +C<< class_metaclasses => { $mop => { ... }, ... } >> As with role_metaclasses, above, except that this option is only used if C<-compose> is also specified. @@ -1326,34 +1425,34 @@ =item * --subtest => 'subtest name...' +C<< -subtest => 'subtest name...' >> If set, all tests run will be wrapped in a subtest, the name of which will be whatever C<-subtest> is set to. =item * -immutable => 0|1 +C<< immutable => 0|1 >> Checks the class to see if it is/isn't immutable. =item * -class_metaroles => { $mop => [ $role, ... ], ... } +C<< class_metaroles => { $mop => [ $role, ... ], ... } >> Checks metaclasses to ensure the given metaroles are applied. See L. =item * -no_class_metaroles => { $mop => [ $role, ... ], ... } +C<< no_class_metaroles => { $mop => [ $role, ... ], ... } >> Checks metaclasses to ensure the given metaroles are applied. See L. =item * -class_metaclasses => { $mop => { ... }, ... } +C<< class_metaclasses => { $mop => { ... }, ... } >> Validates this class' metaclasses: that is, given a MOP type (e.g. role, attribute, method, ...) and a hashref, find the associated metaclass of the @@ -1435,83 +1534,13 @@ =item * --subtest => 'subtest name...' +C<< -subtest => 'subtest name...' >> If set, all tests run will be wrapped in a subtest, the name of which will be whatever C<-subtest> is set to. =back -=head2 attribute_options_ok - -Validates that an attribute is set up as expected; like -C, but only concerns itself with attribute options. - -Note that some of these options will skip if used against attributes defined -in a role. - -=over 4 - -=item * - --subtest => 'subtest name...' - -If set, all tests run (save the first, "does this thing even have this -attribute?" test) will be wrapped in a subtest, the name of which will be -whatever C<-subtest> is set to. - -=item * - -is => ro|rw - -Tests for reader/writer options set as one would expect. - -=item * - -isa => ... - -Validates that the attribute requires its value to be a given type. - -=item * - -does => ... - -Validates that the attribute requires its value to do a given role. - -=item * - -builder => '...' - -Validates that the attribute expects the method name given to be its builder. - -=item * - -default => ... - -Validates that the attribute has the given default. - -=item * - -init_arg => '...' - -Validates that the attribute has the given initial argument name. - -=item * - -lazy => 0|1 - -Validates that the attribute is/isn't lazy. - -=item * - -required => 0|1 - -Validates that setting the attribute's value is/isn't required. - -=back - -=for Pod::Coverage is_anon is_class is_not_anon is_role - =head1 SEE ALSO Please see those modules/websites for more information related to this module. diff -Nru libtest-moose-more-perl-0.048/Makefile.PL libtest-moose-more-perl-0.050/Makefile.PL --- libtest-moose-more-perl-0.048/Makefile.PL 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/Makefile.PL 2017-09-21 03:41:51.000000000 +0000 @@ -7,7 +7,7 @@ # # The GNU Lesser General Public License, Version 2.1, February 1999 # -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010. use strict; use warnings; @@ -55,10 +55,9 @@ "Test::Builder::Tester" => 0, "Test::CheckDeps" => "0.010", "Test::More" => "0.94", - "blib" => "1.01", "namespace::autoclean" => 0 }, - "VERSION" => "0.048", + "VERSION" => "0.050", "test" => { "TESTS" => "t/*.t t/attribute_options_ok/*.t t/is_class_ok/*.t t/validate_attribute/*.t t/validate_class/*.t t/validate_role/*.t t/validate_thing/*.t t/wrapped/*.t" } @@ -89,7 +88,6 @@ "Test::CheckDeps" => "0.010", "Test::Moose" => 0, "Test::More" => "0.94", - "blib" => "1.01", "namespace::autoclean" => 0, "strict" => 0, "warnings" => 0 diff -Nru libtest-moose-more-perl-0.048/MANIFEST libtest-moose-more-perl-0.050/MANIFEST --- libtest-moose-more-perl-0.048/MANIFEST 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/MANIFEST 2017-09-21 03:41:51.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. .travis.yml Changes LICENSE @@ -19,6 +19,7 @@ t/attribute_options_ok/basic.t t/attribute_options_ok/subtest-wrapper.t t/check_sugar.t +t/definition_context.t t/does_metaroles_ok.t t/does_not_metaroles_ok.t t/does_not_ok.t diff -Nru libtest-moose-more-perl-0.048/META.json libtest-moose-more-perl-0.050/META.json --- libtest-moose-more-perl-0.048/META.json 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/META.json 2017-09-21 03:41:51.000000000 +0000 @@ -4,7 +4,7 @@ "Chris Weyl " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010", "license" : [ "lgpl_2_1" ], @@ -80,7 +80,6 @@ "Test::Builder::Tester" : "0", "Test::CheckDeps" : "0.010", "Test::More" : "0.94", - "blib" : "1.01", "namespace::autoclean" : "0", "perl" : "5.006" } @@ -89,11 +88,11 @@ "provides" : { "Test::Moose::More" : { "file" : "lib/Test/Moose/More.pm", - "version" : "0.048" + "version" : "0.050" }, "Test::Moose::More::Utils" : { "file" : "lib/Test/Moose/More/Utils.pm", - "version" : "0.048" + "version" : "0.050" } }, "release_status" : "stable", @@ -108,46 +107,45 @@ "web" : "https://github.com/RsrchBoy/Test-Moose-More" } }, - "version" : "0.048", + "version" : "0.050", "x_BuiltWith" : { "modules" : { "CPAN::Meta" : "2.150010", "Carp" : "1.42", "Data::OptList" : "0.110", - "ExtUtils::MakeMaker" : "7.24", + "ExtUtils::MakeMaker" : "7.30", "File::Spec" : "3.67", "IO::Handle" : "1.36", "IPC::Open3" : "1.20", "List::MoreUtils" : "0.419", - "List::Util" : "1.46_02", - "Moose" : "2.2005", - "Moose::Meta::Attribute" : "2.2005", - "Moose::Role" : "2.2005", - "Moose::Util" : "2.2005", - "Moose::Util::MetaRole" : "2.2005", - "Moose::Util::TypeConstraints" : "2.2005", + "List::Util" : "1.48", + "Moose" : "2.2006", + "Moose::Meta::Attribute" : "2.2006", + "Moose::Role" : "2.2006", + "Moose::Util" : "2.2006", + "Moose::Util::MetaRole" : "2.2006", + "Moose::Util::TypeConstraints" : "2.2006", "Pod::Coverage::TrustPod" : "0.100003", "Pod::Wordlist" : "1.20", - "Scalar::Util" : "1.46_02", + "Scalar::Util" : "1.48", "Sub::Exporter::Progressive" : "0.001013", "Syntax::Keyword::Junction" : "0.003008", "TAP::SimpleOutput" : "0.009", - "Test::Builder" : "1.302085", - "Test::Builder::Tester" : "1.302085", + "Test::Builder" : "1.302086", + "Test::Builder::Tester" : "1.302086", "Test::CheckDeps" : "0.010", "Test::ConsistentVersion" : "0.3.0", "Test::EOL" : "2.00", "Test::HasVersion" : "0.014", "Test::MinimumVersion" : "0.101082", - "Test::Moose" : "2.2005", - "Test::More" : "1.302085", + "Test::Moose" : "2.2006", + "Test::More" : "1.302086", "Test::NoSmartComments" : "0.005", "Test::NoTabs" : "2.00", "Test::Pod" : "1.51", "Test::Pod::Coverage" : "1.10", "Test::Pod::LinkCheck" : "0.008", "Test::Spelling" : "0.20", - "blib" : "1.06", "namespace::autoclean" : "0.28", "strict" : "1.11", "warnings" : "1.37" @@ -171,7 +169,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RSRCHBOY/NextRelease", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", @@ -182,7 +180,7 @@ "version_regexp" : "(?^:^(\\d.\\d+(_\\d\\d)?)(-TRIAL|)$)" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -197,13 +195,13 @@ { "class" : "Dist::Zilla::Plugin::ContributorsFromGit", "name" : "@RSRCHBOY/ContributorsFromGit", - "version" : "0.017" + "version" : "0.019" }, { "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -214,7 +212,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::Fixups", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -225,7 +223,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -269,12 +267,12 @@ } }, "name" : "@RSRCHBOY/PromptIfStale", - "version" : "0.053" + "version" : "0.054" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RSRCHBOY/PruneCruft", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Git::Describe", @@ -284,12 +282,12 @@ { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RSRCHBOY/ExecDir", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RSRCHBOY/ShareDir", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -299,12 +297,12 @@ } }, "name" : "@RSRCHBOY/MakeMaker", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RSRCHBOY/Manifest", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::SurgicalPkgVersion", @@ -324,7 +322,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RSRCHBOY/AutoPrereqs", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Prepender", @@ -340,7 +338,7 @@ } }, "name" : "@RSRCHBOY/AuthorBundleDevelopRequires", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", @@ -385,12 +383,12 @@ { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@RSRCHBOY/PodCoverageTests", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RSRCHBOY/PodSyntaxTests", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Test::NoTabs", @@ -449,7 +447,7 @@ } }, "name" : "@RSRCHBOY/Test::Compile", - "version" : "2.056" + "version" : "2.057" }, { "class" : "Dist::Zilla::Plugin::NoSmartCommentsTests", @@ -484,22 +482,22 @@ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RSRCHBOY/MetaConfig", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RSRCHBOY/MetaJSON", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RSRCHBOY/MetaYAML", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@RSRCHBOY/MetaNoIndex", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -509,7 +507,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@RSRCHBOY/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.009" + "version" : "6.010" } ], "include_underscores" : 0 @@ -551,7 +549,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RSRCHBOY/TestRelease", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -598,7 +596,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -626,7 +624,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -668,12 +666,12 @@ { "class" : "Dist::Zilla::Plugin::Travis::ConfigForReleaseBranch", "name" : "@RSRCHBOY/Travis::ConfigForReleaseBranch", - "version" : "0.004" + "version" : "0.005" }, { "class" : "Dist::Zilla::Plugin::SchwartzRatio", "name" : "@RSRCHBOY/SchwartzRatio", - "version" : "0.2.0" + "version" : "0.3.2" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -682,12 +680,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 1, - "tag" : "0.048", + "tag" : "0.050", "tag_format" : "%v", "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -709,7 +707,7 @@ "release_message" : "Build results of %h (on %b)" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -728,7 +726,7 @@ "release_message" : "Full build of CPAN release %v%t" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -746,7 +744,7 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.13.1", + "git_version" : "2.14.1", "repo_root" : "." } }, @@ -761,7 +759,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RSRCHBOY/UploadToCPAN", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Signature", @@ -792,26 +790,26 @@ "run" : [ "mkdir -p releases ; mv %s releases/" ], - "version" : "0.045" + "version" : "0.046" } }, "name" : "@RSRCHBOY/Run::AfterRelease", - "version" : "0.045" + "version" : "0.046" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RSRCHBOY/ConfirmRelease", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RSRCHBOY/License", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@RSRCHBOY/CPANFile", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -1041,62 +1039,62 @@ } }, "name" : "RemovePrereqs", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.009" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@RSRCHBOY/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.009" + "version" : "6.010" } ], "zilla" : { @@ -1104,7 +1102,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.009" + "version" : "6.010" } }, "x_authority" : "cpan:RSRCHBOY", @@ -1112,5 +1110,5 @@ "Chad Granum ", "Karen Etheridge " ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0238" } diff -Nru libtest-moose-more-perl-0.048/META.yml libtest-moose-more-perl-0.050/META.yml --- libtest-moose-more-perl-0.048/META.yml 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/META.yml 2017-09-21 03:41:51.000000000 +0000 @@ -16,14 +16,13 @@ Test::Builder::Tester: '0' Test::CheckDeps: '0.010' Test::More: '0.94' - blib: '1.01' namespace::autoclean: '0' perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: '0' -generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010' license: lgpl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -36,10 +35,10 @@ provides: Test::Moose::More: file: lib/Test/Moose/More.pm - version: '0.048' + version: '0.050' Test::Moose::More::Utils: file: lib/Test/Moose/More/Utils.pm - version: '0.048' + version: '0.050' requires: Carp: '0' Data::OptList: '0' @@ -60,46 +59,45 @@ bugtracker: https://github.com/RsrchBoy/Test-Moose-More/issues homepage: https://github.com/RsrchBoy/Test-Moose-More repository: https://github.com/RsrchBoy/Test-Moose-More.git -version: '0.048' +version: '0.050' x_BuiltWith: modules: CPAN::Meta: '2.150010' Carp: '1.42' Data::OptList: '0.110' - ExtUtils::MakeMaker: '7.24' + ExtUtils::MakeMaker: '7.30' File::Spec: '3.67' IO::Handle: '1.36' IPC::Open3: '1.20' List::MoreUtils: '0.419' - List::Util: 1.46_02 - Moose: '2.2005' - Moose::Meta::Attribute: '2.2005' - Moose::Role: '2.2005' - Moose::Util: '2.2005' - Moose::Util::MetaRole: '2.2005' - Moose::Util::TypeConstraints: '2.2005' + List::Util: '1.48' + Moose: '2.2006' + Moose::Meta::Attribute: '2.2006' + Moose::Role: '2.2006' + Moose::Util: '2.2006' + Moose::Util::MetaRole: '2.2006' + Moose::Util::TypeConstraints: '2.2006' Pod::Coverage::TrustPod: '0.100003' Pod::Wordlist: '1.20' - Scalar::Util: 1.46_02 + Scalar::Util: '1.48' Sub::Exporter::Progressive: '0.001013' Syntax::Keyword::Junction: '0.003008' TAP::SimpleOutput: '0.009' - Test::Builder: '1.302085' - Test::Builder::Tester: '1.302085' + Test::Builder: '1.302086' + Test::Builder::Tester: '1.302086' Test::CheckDeps: '0.010' Test::ConsistentVersion: 0.3.0 Test::EOL: '2.00' Test::HasVersion: '0.014' Test::MinimumVersion: '0.101082' - Test::Moose: '2.2005' - Test::More: '1.302085' + Test::Moose: '2.2006' + Test::More: '1.302086' Test::NoSmartComments: '0.005' Test::NoTabs: '2.00' Test::Pod: '1.51' Test::Pod::Coverage: '1.10' Test::Pod::LinkCheck: '0.008' Test::Spelling: '0.20' - blib: '1.06' namespace::autoclean: '0.28' strict: '1.11' warnings: '1.37' @@ -118,7 +116,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@RSRCHBOY/NextRelease' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Git::NextVersion config: @@ -127,7 +125,7 @@ version_by_branch: '0' version_regexp: (?^:^(\d.\d+(_\d\d)?)(-TRIAL|)$) Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/Git::NextVersion' version: '2.042' @@ -138,12 +136,12 @@ - class: Dist::Zilla::Plugin::ContributorsFromGit name: '@RSRCHBOY/ContributorsFromGit' - version: '0.017' + version: '0.019' - class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/@Git::CheckFor/Git::CheckFor::CorrectBranch' version: '0.014' @@ -151,7 +149,7 @@ class: Dist::Zilla::Plugin::Git::CheckFor::Fixups config: Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/@Git::CheckFor/Git::CheckFor::Fixups' version: '0.014' @@ -159,7 +157,7 @@ class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/@Git::CheckFor/Git::CheckFor::MergeConflicts' version: '0.014' @@ -192,11 +190,11 @@ run_under_travis: '0' skip: [] name: '@RSRCHBOY/PromptIfStale' - version: '0.053' + version: '0.054' - class: Dist::Zilla::Plugin::PruneCruft name: '@RSRCHBOY/PruneCruft' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Git::Describe name: '@RSRCHBOY/Git::Describe' @@ -204,22 +202,22 @@ - class: Dist::Zilla::Plugin::ExecDir name: '@RSRCHBOY/ExecDir' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::ShareDir name: '@RSRCHBOY/ShareDir' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: '1' name: '@RSRCHBOY/MakeMaker' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Manifest name: '@RSRCHBOY/Manifest' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::SurgicalPkgVersion name: '@RSRCHBOY/SurgicalPkgVersion' @@ -235,7 +233,7 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RSRCHBOY/AutoPrereqs' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Prepender name: '@RSRCHBOY/Prepender' @@ -247,7 +245,7 @@ phase: develop type: requires name: '@RSRCHBOY/AuthorBundleDevelopRequires' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Test::PodSpelling config: @@ -285,11 +283,11 @@ - class: Dist::Zilla::Plugin::PodCoverageTests name: '@RSRCHBOY/PodCoverageTests' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RSRCHBOY/PodSyntaxTests' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Test::NoTabs config: @@ -334,7 +332,7 @@ skips: [] switch: [] name: '@RSRCHBOY/Test::Compile' - version: '2.056' + version: '2.057' - class: Dist::Zilla::Plugin::NoSmartCommentsTests name: '@RSRCHBOY/NoSmartCommentsTests' @@ -361,19 +359,19 @@ - class: Dist::Zilla::Plugin::MetaConfig name: '@RSRCHBOY/MetaConfig' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::MetaJSON name: '@RSRCHBOY/MetaJSON' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::MetaYAML name: '@RSRCHBOY/MetaYAML' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@RSRCHBOY/MetaNoIndex' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -382,7 +380,7 @@ - class: Dist::Zilla::Plugin::FinderCode name: '@RSRCHBOY/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.009' + version: '6.010' include_underscores: '0' Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' @@ -413,7 +411,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@RSRCHBOY/TestRelease' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@RSRCHBOY/CheckChangesHasContent' @@ -451,7 +449,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/Git::Check' version: '2.042' @@ -473,7 +471,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -503,11 +501,11 @@ - class: Dist::Zilla::Plugin::Travis::ConfigForReleaseBranch name: '@RSRCHBOY/Travis::ConfigForReleaseBranch' - version: '0.004' + version: '0.005' - class: Dist::Zilla::Plugin::SchwartzRatio name: '@RSRCHBOY/SchwartzRatio' - version: 0.2.0 + version: 0.3.2 - class: Dist::Zilla::Plugin::Git::Tag config: @@ -515,11 +513,11 @@ branch: ~ changelog: Changes signed: '1' - tag: '0.048' + tag: '0.050' tag_format: '%v' tag_message: v%v Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -536,7 +534,7 @@ release_branch: ~ release_message: 'Build results of %h (on %b)' Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/Git::CommitBuild::Build' version: '2.042' @@ -551,7 +549,7 @@ release_branch: release/cpan release_message: 'Full build of CPAN release %v%t' Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/Git::CommitBuild::Release' version: '2.042' @@ -564,7 +562,7 @@ - 'origin refs/heads/release/cpan:refs/heads/release/cpan' remotes_must_exist: '1' Dist::Zilla::Role::Git::Repo: - git_version: 2.13.1 + git_version: 2.14.1 repo_root: . name: '@RSRCHBOY/Git::Push' version: '2.042' @@ -575,7 +573,7 @@ - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RSRCHBOY/UploadToCPAN' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::Signature name: '@RSRCHBOY/Signature' @@ -599,21 +597,21 @@ quiet: '0' run: - 'mkdir -p releases ; mv %s releases/' - version: '0.045' + version: '0.046' name: '@RSRCHBOY/Run::AfterRelease' - version: '0.045' + version: '0.046' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RSRCHBOY/ConfirmRelease' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::License name: '@RSRCHBOY/License' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::CPANFile name: '@RSRCHBOY/CPANFile' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -791,56 +789,56 @@ modules_to_remove: - Moose::Deprecated name: RemovePrereqs - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.009' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: '@RSRCHBOY/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.009' + version: '6.010' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.009' + version: '6.010' x_authority: cpan:RSRCHBOY x_contributors: - 'Chad Granum ' diff -Nru libtest-moose-more-perl-0.048/README libtest-moose-more-perl-0.050/README --- libtest-moose-more-perl-0.048/README 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/README 2017-09-21 03:41:51.000000000 +0000 @@ -4,8 +4,8 @@ VERSION - This document describes version 0.048 of Test::Moose::More - released - June 17, 2017 as part of Test-Moose-More. + This document describes version 0.050 of Test::Moose::More - released + September 20, 2017 as part of Test-Moose-More. SYNOPSIS @@ -128,6 +128,11 @@ not an accessor -- that is, it does not descend from Class::MOP::Method::Accessor. + definition_context_ok $meta, \%dc + + Validates the definition context of a metaclass instance. This is a + strict comparison. + role_wraps_around_method_ok $role, @methods Queries $role's metaclass to see if $role wraps the methods named in @@ -269,6 +274,55 @@ As with "does_metaroles_ok", but test that the metaroles are not consumed, a la "does_not_ok". + attribute_options_ok + + Validates that an attribute is set up as expected; like + validate_attribute(), but only concerns itself with attribute options. + + Note that some of these options will skip if used against attributes + defined in a role. + + * -subtest => 'subtest name...' + + If set, all tests run (save the first, "does this thing even have + this attribute?" test) will be wrapped in a subtest, the name of + which will be whatever -subtest is set to. + + * is => ro|rw + + Tests for reader/writer options set as one would expect. + + * isa => ... + + Validates that the attribute requires its value to be a given type. + + * does => ... + + Validates that the attribute requires its value to do a given role. + + * builder => '...' + + Validates that the attribute expects the method name given to be its + builder. + + * default => ... + + Validates that the attribute has the given default. + + * init_arg => '...' + + Validates that the attribute has the given initial argument name. + + * lazy => 0|1 + + Validates that the attribute is/isn't lazy. + + * required => 0|1 + + Validates that setting the attribute's value is/isn't required. + +VALIDATION METHODS + validate_thing Runs a bunch of tests against the given $thing, as defined: @@ -614,53 +668,6 @@ If set, all tests run will be wrapped in a subtest, the name of which will be whatever -subtest is set to. - attribute_options_ok - - Validates that an attribute is set up as expected; like - validate_attribute(), but only concerns itself with attribute options. - - Note that some of these options will skip if used against attributes - defined in a role. - - * -subtest => 'subtest name...' - - If set, all tests run (save the first, "does this thing even have - this attribute?" test) will be wrapped in a subtest, the name of - which will be whatever -subtest is set to. - - * is => ro|rw - - Tests for reader/writer options set as one would expect. - - * isa => ... - - Validates that the attribute requires its value to be a given type. - - * does => ... - - Validates that the attribute requires its value to do a given role. - - * builder => '...' - - Validates that the attribute expects the method name given to be its - builder. - - * default => ... - - Validates that the attribute has the given default. - - * init_arg => '...' - - Validates that the attribute has the given initial argument name. - - * lazy => 0|1 - - Validates that the attribute is/isn't lazy. - - * required => 0|1 - - Validates that setting the attribute's value is/isn't required. - SEE ALSO Please see those modules/websites for more information related to this diff -Nru libtest-moose-more-perl-0.048/SIGNATURE libtest-moose-more-perl-0.050/SIGNATURE --- libtest-moose-more-perl-0.048/SIGNATURE 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/SIGNATURE 2017-09-21 03:41:51.000000000 +0000 @@ -14,25 +14,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -SHA1 007d9eadef38d89600c372861a631e950cadab7e .travis.yml -SHA1 764e9963213d9db7803b83be397c2e86209b8411 Changes +SHA1 a76fa1dfc018a4cfd8b958516756622f64348161 .travis.yml +SHA1 90bd1441763f14d055f8666b2f225783b7f44336 Changes SHA1 1db48bf25c18398387f286f408c7056cb2b3f2f4 LICENSE -SHA1 ec43bab4e608e17ae891f55731340af59bc4fed5 MANIFEST -SHA1 2697e24c38ce953f4d32b10ab3ca795ef224d77f META.json -SHA1 e1b6f4ecbfbe0b3a24aa41384808af924ef173fe META.yml -SHA1 49fce377b108ced6e7d00086f7360ee9639b9261 Makefile.PL -SHA1 d2fdffc66064b5763e2e2d2ee10b2ce195791714 README -SHA1 074a962d75700c2f0de3c7dcb9cf2d2e748aa5a4 cpanfile +SHA1 ab540ca6ef9e9fd1da3df97b49b4f744ecf78abc MANIFEST +SHA1 11039e63b16c87c856c49849610d6d39c6cd0a3c META.json +SHA1 3988764be3fe1ebb787c26b31ddb4d635126b826 META.yml +SHA1 da11bb1941ee0a1514f02fd17a8f21e592ee46b9 Makefile.PL +SHA1 b816474c513efff0164d9e645ef0d3af86cea617 README +SHA1 d5b695d3873cf1e6e1f90bb474d30b24fa4d14b1 cpanfile SHA1 b916e5e22dce319b385382dbb6694a1d4b7ac634 dist.ini -SHA1 9354065f4baaaf0e7fcb0a602001915286f4b179 lib/Test/Moose/More.pm -SHA1 c9c7e3f7bc7d3d04a6adf2f7a39601370a596e33 lib/Test/Moose/More/Utils.pm +SHA1 834304deb7e02b9abbbf61ac9a5a248c697d750d lib/Test/Moose/More.pm +SHA1 ee7cd01386c5f44698a041dd1d89884f7c56ae97 lib/Test/Moose/More/Utils.pm SHA1 4bdb7637c377a4563e26e887313ef118c1d1a22d t/00-check-deps.t -SHA1 c28a0d7bbf0c35aff4bcb4ed5adafd4cc85ba941 t/00-compile.t -SHA1 59f1cdeed4e35e47368123d2a9a1cf970e849df3 t/00-report-prereqs.dd +SHA1 e946ec3779fa1c4ed65616e8cd3cf44de0be204c t/00-compile.t +SHA1 e228ead2797c69dc68adfd4a9f416275d5f063d0 t/00-report-prereqs.dd SHA1 0b069a9f9a989e6affbf0e67612a64fce0de447e t/00-report-prereqs.t SHA1 7110de92a946d29acba283fbbf24357bbfe7989c t/attribute_options_ok/basic.t SHA1 cac1fe5cef9be4307c57fea3d7fdc59cfb0dc649 t/attribute_options_ok/subtest-wrapper.t SHA1 184cd396cdd45481169f5248992011f8ec90392d t/check_sugar.t +SHA1 fa130538ee0db7bc425c4438510303c301b5c53b t/definition_context.t SHA1 84cff043ca5c580be332fffbc682731fe33b2def t/does_metaroles_ok.t SHA1 b8e1677fb22d9d5189211ad953222c298ffb915c t/does_not_metaroles_ok.t SHA1 f6a969d81a454a61db04670596743b885dce57b1 t/does_not_ok.t @@ -71,8 +72,8 @@ SHA1 c80c4bf667c9df1aee10436347351fb13564f85c t/validate_thing/methods.t SHA1 a95c37eb417623ad7a8bf92889eaec1236a1b7a9 t/validate_thing/sugar.t SHA1 37f0fc8d581bfbc8c4c958871c6f7bc1718e94ec t/wrapped/in_roles.t -SHA1 277ba321950fd393e381c85871ac726306ea122d xt/author/eol.t -SHA1 5d69a3d8d2e78c68a14718f93c4ff0dbd487812e xt/author/no-tabs.t +SHA1 0f64122afef00d4d222fb3271f4724cb2796bd63 xt/author/eol.t +SHA1 69fdcc614c9e5fb839bc1e57f75357a8f2c229af xt/author/no-tabs.t SHA1 4aee47eef041ab3d9b7bd3e988834ac6f89e1788 xt/author/pod-coverage.t SHA1 4123285182650d8a6e6b9774d0cb96fa5f7d481b xt/author/pod-linkcheck.t SHA1 50482a8f925d46bc72e0998f8dc240aeb61b98d3 xt/author/pod-spell.t @@ -80,20 +81,20 @@ SHA1 a7948d34cfaad400286ea5d5fa6206c4c7e2552c xt/release/consistent-version.t SHA1 ee9b7df31bf7fed3f212d1ad4978134864ca7892 xt/release/has-version.t SHA1 8d5bae9059da84886783b69e4f2d9b44e1c8a9ae xt/release/minimum-version.t -SHA1 3ce5641cc60029cac2984a205bc7c92795d5d0de xt/release/no-smart-comments.t +SHA1 1ed41e239443d4045502c672c3b9ed460498c010 xt/release/no-smart-comments.t -----BEGIN PGP SIGNATURE----- -iQIzBAEBCgAdFiEEqvAjTK4OlkLFh465K77AqDC8C58FAllF/0oACgkQK77AqDC8 -C58MlA//akqQMlyj40DjnDrnTzd2QYOcvEbHUuUVZHhaCVzoRvnW746OSUfiwnp6 -2Sjko8jPWonBht0/AUnQVEtpYGsjeKtqtplzjgy6cXldEWQGNEH658BGYesAwRX7 -5z5wN5kUJWcbJWU/KqAzUay/935XQ5QncoyJ7Iq1YajLRGClpsSTWgvJQOblI3V+ -xs8dhBi0bdHIP+egEFIkBH6dF6qrGWSaDeJkPNEOX+zixfpNL3a59V+H8tON0ODh -yfVTouuipnVZzJkH1THyrG/nMlEFmCRSdzoW1LtFmV4WLlK/XQgOPJ1aUmrhCu8o -qDq1WAK4LLbu3aAUnQBl3YHmuUf+PBjOdct+04v9e3sGwd01HoQP1gM8jazRn43J -uSuHiDPYX7JfunUY7TJj7GXMN5MexKJ1bhBQ+tAQC8g0daiKRG38Tbk6gcRucZd/ -xGFZ65ie8OQAp5voaKVK2Az5hMp8WzAYsibLgreLq7YBBCLKHewapSn75xjBo370 -kmxKWbunSRFB//kzZJeIJq1cDtiMQpt66yL2Qjsfp50GKuKWffxscXqDMZuOjH45 -FGkhXkQ8y4T6z7xBJqM2fUVFvwEpstUfY0LO3eaQgCgUAQcAcjgA1wlFt6mb4wal -/NidJg5FSKtJIqGhn9Xm+Xg5aNYz4c6C1KaaORymHtyK+mpJEjM= -=xB5z +iQIzBAEBCgAdFiEEqvAjTK4OlkLFh465K77AqDC8C58FAlnDNP4ACgkQK77AqDC8 +C5/x4BAAqK0wcalpn5PfrqQOHYEecdSGj2Gc6Us4fUew+5XFf5H2yuDc9qSPtV3r +99Npn3kcUBmS3OgEsG51FXojk36jwCgYoLs34K79bbTX+bb+cjGatxztP7s1bYsR +mEIU0C8/JRbLjV30NVbdxOWQ5q9CkpgWXY9rP4chXm7FOExYyTrH7ADtSM7h3ems +cY1XsY2olc0/t6d4fRUjm36/iGmK4648YfADLqNPG3gVKRExpvqH3XtH73wKF4yN +stT/YVgdWxvzG1MNM2yp3tEezj7fna/l0S5fFvTAQn+r/6vm2nyHmtb2QdIgS//M +PoYN9+9+f/5Gp3OMI72Xzyi5tUKEyFVUtCg4HnZir7LoX4VSMBPKhPpavWf2Jetv +IvDcH8/Cst27AE4ZfdKYycp38wkUuzF8umQ/48FzkNzJQdlo9VxeIP66MaKBKo97 +da/HZL2oIYFR/Xoxd7HyZrWF6OrbIvhrmddnSlVVYRcqTndA25sdY2fLJh1kgmIg +LwlRa6t8oEzZPCglyZE3Nl9xAUkOHwLfbB2h+bF9YI2u76ZQZ5FT83k8wYnKPhMX ++Rg37FU58NZDxS27Em2IFn35q2zbw2MAwKbScfPKI4hQFfrlgjaxlv+OhKTpwz9v +CcbcRIgWA5KijPx1AF+3rd20x/zDfI4TkRF9A65YVaVOemo96po= +=z94e -----END PGP SIGNATURE----- diff -Nru libtest-moose-more-perl-0.048/t/00-compile.t libtest-moose-more-perl-0.050/t/00-compile.t --- libtest-moose-more-perl-0.048/t/00-compile.t 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/t/00-compile.t 2017-09-21 03:41:51.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.057 use Test::More; @@ -44,7 +44,7 @@ is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ - and not eval { require blib; blib->VERSION('1.01') }; + and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { diff -Nru libtest-moose-more-perl-0.048/t/00-report-prereqs.dd libtest-moose-more-perl-0.050/t/00-report-prereqs.dd --- libtest-moose-more-perl-0.048/t/00-report-prereqs.dd 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/t/00-report-prereqs.dd 2017-09-21 03:41:51.000000000 +0000 @@ -59,7 +59,6 @@ 'Test::Builder::Tester' => '0', 'Test::CheckDeps' => '0.010', 'Test::More' => '0.94', - 'blib' => '1.01', 'namespace::autoclean' => '0', 'perl' => '5.006' } diff -Nru libtest-moose-more-perl-0.048/t/definition_context.t libtest-moose-more-perl-0.050/t/definition_context.t --- libtest-moose-more-perl-0.048/t/definition_context.t 1970-01-01 00:00:00.000000000 +0000 +++ libtest-moose-more-perl-0.050/t/definition_context.t 2017-09-21 03:41:51.000000000 +0000 @@ -0,0 +1,93 @@ +use strict; +use warnings; + +use Test::More; +use Test::Moose::More ':all'; +use Test::Builder::Tester; +use TAP::SimpleOutput 0.009 'counters'; + +{ + package AAA; + use Moose; + + has foo => ( + is => 'ro', + ); + + sub bar { } +} + +subtest 'plain - method' => sub { + definition_context_ok(AAA->meta->get_method('foo'), { + context => 'has declaration', + description => 'reader AAA::foo', + line => 13, + package => 'AAA', + type => 'class', + file => __FILE__, + }); +}; + +subtest 'plain - attribute' => sub { + definition_context_ok(AAA->meta->get_attribute('foo'), { + context => 'has declaration', + file => __FILE__, + line => 13, + package => 'AAA', + type => 'class' + }); +}; + +# NOTE begin Test::Builder::Tester tests + +{ + my ($_ok, $_nok) = counters; + + test_out $_ok->('foo can definition_context()'); + test_out $_ok->('foo definition context is strictly correct'); + definition_context_ok(AAA->meta->get_attribute('foo'), { + context => 'has declaration', + file => __FILE__, + line => 13, + package => 'AAA', + type => 'class' + }); + test_test 'output as expected'; +} + +{ + my ($_ok, $_nok) = counters; + + test_out $_ok->('foo can definition_context()'); + test_out $_nok->('foo definition context is strictly correct'); + test_err + q{# Failed test 'foo definition context is strictly correct'}, + qr{# at .* line 69.\n}, + q{# Structures begin differing at:}, + q{# $got->{package} = 'AAA'}, + q{# $expected->{package} = 'BBB'}; + definition_context_ok(AAA->meta->get_attribute('foo'), { + context => 'has declaration', + file => __FILE__, + line => 13, + package => 'BBB', + type => 'class' + }); + test_test 'fail output as expected'; +} +{ + my ($_ok, $_nok) = counters; + + test_out $_nok->('bar can definition_context()'); + test_fail 1; + definition_context_ok(AAA->meta->get_method('bar'), { + context => 'has declaration', + file => '-', + line => 13, + package => 'AAA', + type => 'class' + }); + test_test 'handles no definition_context()'; +} + +done_testing; diff -Nru libtest-moose-more-perl-0.048/.travis.yml libtest-moose-more-perl-0.050/.travis.yml --- libtest-moose-more-perl-0.048/.travis.yml 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/.travis.yml 2017-09-21 03:41:51.000000000 +0000 @@ -10,12 +10,16 @@ - "5.16" - "5.18" - "5.20" - - "5.21" + - "5.22" + - "5.24" + - "5.26" matrix: allow_failures: - perl: "5.8" - - perl: "5.21" + - perl: "5.10" + - perl: "5.12" + - perl: "5.14" before_install: # git bits sometimes needed... diff -Nru libtest-moose-more-perl-0.048/xt/author/eol.t libtest-moose-more-perl-0.050/xt/author/eol.t --- libtest-moose-more-perl-0.048/xt/author/eol.t 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/xt/author/eol.t 2017-09-21 03:41:51.000000000 +0000 @@ -16,6 +16,7 @@ 't/attribute_options_ok/basic.t', 't/attribute_options_ok/subtest-wrapper.t', 't/check_sugar.t', + 't/definition_context.t', 't/does_metaroles_ok.t', 't/does_not_metaroles_ok.t', 't/does_not_ok.t', diff -Nru libtest-moose-more-perl-0.048/xt/author/no-tabs.t libtest-moose-more-perl-0.050/xt/author/no-tabs.t --- libtest-moose-more-perl-0.048/xt/author/no-tabs.t 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/xt/author/no-tabs.t 2017-09-21 03:41:51.000000000 +0000 @@ -16,6 +16,7 @@ 't/attribute_options_ok/basic.t', 't/attribute_options_ok/subtest-wrapper.t', 't/check_sugar.t', + 't/definition_context.t', 't/does_metaroles_ok.t', 't/does_not_metaroles_ok.t', 't/does_not_ok.t', diff -Nru libtest-moose-more-perl-0.048/xt/release/no-smart-comments.t libtest-moose-more-perl-0.050/xt/release/no-smart-comments.t --- libtest-moose-more-perl-0.048/xt/release/no-smart-comments.t 2017-06-18 04:19:23.000000000 +0000 +++ libtest-moose-more-perl-0.050/xt/release/no-smart-comments.t 2017-09-21 03:41:51.000000000 +0000 @@ -26,6 +26,7 @@ no_smart_comments_in("t/attribute_options_ok/basic.t"); no_smart_comments_in("t/attribute_options_ok/subtest-wrapper.t"); no_smart_comments_in("t/check_sugar.t"); +no_smart_comments_in("t/definition_context.t"); no_smart_comments_in("t/does_metaroles_ok.t"); no_smart_comments_in("t/does_not_metaroles_ok.t"); no_smart_comments_in("t/does_not_ok.t");