Skip to content

Commit

Permalink
docs; bump versionl changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyink committed Oct 30, 2022
1 parent 0c81d89 commit 182d1f1
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 29 deletions.
12 changes: 8 additions & 4 deletions lib/Sub/HandlesVia.pm
Expand Up @@ -7,7 +7,7 @@ package Sub::HandlesVia;
use Exporter::Shiny qw( delegations );

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

sub _generate_delegations {
my ($me, $name, $args, $globals) = (shift, @_);
Expand Down Expand Up @@ -331,9 +331,9 @@ dependency!
=head2 Using with Object::Pad
Experimental L<Object::Pad> support is provided, but only for scalar fields.
(This includes arrayrefs and hashrefs.) See F<50objectpad.t> in the
Sub::HandlesVia test suite for an example.
Experimental L<Object::Pad> support is provided, including for array and hash
fields. See F<50objectpad.t> in the Sub::HandlesVia test suite for an example.
See also L<Sub::HandlesVia::Declare>.
=head2 Using with Anything
Expand Down Expand Up @@ -748,6 +748,10 @@ Other implementations of the same concept:
L<Moose::Meta::Attribute::Native>, L<MouseX::NativeTraits>, and
L<MooX::HandlesVia> with L<Data::Perl>.
L<Sub::HandlesVia::Declare> is a helper for declaring Sub::HandlesVia
delegations at compile-time, useful for L<Object::Pad> and (to a lesser
extent) L<Class::Tiny>.
=head1 AUTHOR
Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/CodeGenerator.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::CodeGenerator;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite -all;

Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/Declare.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Declare;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia ();

Expand Down
6 changes: 3 additions & 3 deletions lib/Sub/HandlesVia/Handler.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Handler;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite -all;

Expand Down Expand Up @@ -273,7 +273,7 @@ sub _generate_handler {
package Sub::HandlesVia::Handler::Traditional;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite -all;
extends 'Sub::HandlesVia::Handler';
Expand All @@ -294,7 +294,7 @@ sub template {
package Sub::HandlesVia::Handler::CodeRef;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite -all;
extends 'Sub::HandlesVia::Handler';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Types::Standard qw( Any Item );

Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Array.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Array;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Bool.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Bool;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Code.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Code;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Counter.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Counter;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Hash.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Hash;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Number.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Number;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/Scalar.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::Scalar;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/HandlerLibrary/String.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::HandlerLibrary::String;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::HandlerLibrary;
our @ISA = 'Sub::HandlesVia::HandlerLibrary';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/Toolkit.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite;

Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/Toolkit/Mite.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit::Mite;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite -all;
extends 'Sub::HandlesVia::Toolkit';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/Toolkit/Moo.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit::Moo;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite;
extends 'Sub::HandlesVia::Toolkit';
Expand Down
6 changes: 3 additions & 3 deletions lib/Sub/HandlesVia/Toolkit/Moose.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit::Moose;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite;
extends 'Sub::HandlesVia::Toolkit';
Expand Down Expand Up @@ -176,7 +176,7 @@ sub code_generator_for_attribute {
package Sub::HandlesVia::Toolkit::Moose::PackageTrait;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Moose::Role;

Expand Down Expand Up @@ -214,7 +214,7 @@ around add_attribute => sub {
package Sub::HandlesVia::Toolkit::Moose::RoleTrait;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Moose::Role;
requires '_shv_toolkit';
Expand Down
6 changes: 3 additions & 3 deletions lib/Sub/HandlesVia/Toolkit/Mouse.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit::Mouse;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite;
extends 'Sub::HandlesVia::Toolkit';
Expand Down Expand Up @@ -175,7 +175,7 @@ sub code_generator_for_attribute {
package Sub::HandlesVia::Toolkit::Mouse::PackageTrait;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Mouse::Role;

Expand Down Expand Up @@ -213,7 +213,7 @@ around add_attribute => sub {
package Sub::HandlesVia::Toolkit::Mouse::RoleTrait;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Mouse::Role;
requires '_shv_toolkit';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/Toolkit/ObjectPad.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit::ObjectPad;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite -all;
extends 'Sub::HandlesVia::Toolkit';
Expand Down
2 changes: 1 addition & 1 deletion lib/Sub/HandlesVia/Toolkit/Plain.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
package Sub::HandlesVia::Toolkit::Plain;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.041';
our $VERSION = '0.042';

use Sub::HandlesVia::Mite;
extends 'Sub::HandlesVia::Toolkit';
Expand Down
6 changes: 6 additions & 0 deletions meta/changes.pret
Expand Up @@ -330,3 +330,9 @@
item "Experimental support for Object::Pad."^^Addition;
].

`Sub-HandlesVia 0.042 cpan:TOBYINK`
issued 2022-10-30;
changeset [
item "Improved support for Object::Pad, including support for non-scalar fields."^^Change;
item "Sub::HandlesVia::Declare for compile-time declaration of Sub::HandlesVia delegations."^^Addition;
].

0 comments on commit 182d1f1

Please sign in to comment.