Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix annoying -exclude/-alias warnings #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/KiokuDB/Set/Deferred.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use Scalar::Util qw(refaddr);

use namespace::clean -except => 'meta';

with qw(KiokuDB::Set::Storage) => { excludes => '_apply' };
with qw(KiokuDB::Set::Storage) => { -excludes => '_apply' };

extends qw(KiokuDB::Set::Base);

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Stream/Objects.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ has _no_scope => (
is => "rw",
);

with qw(Data::Stream::Bulk) => { excludes => 'loaded' };
with qw(Data::Stream::Bulk) => { -excludes => 'loaded' };

sub next {
my $self = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Binary.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use namespace::clean -except => 'meta';

use constant required_backend_roles => qw(BinarySafe);

with qw(KiokuDB::Test::Fixture) => { excludes => 'required_backend_roles' };
with qw(KiokuDB::Test::Fixture) => { -excludes => 'required_backend_roles' };

my $utf8 = "חיים";

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Clear.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use namespace::clean -except => 'meta';

use constant required_backend_roles => qw(Clear);

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/sort required_backend_roles/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/sort required_backend_roles/] };

sub sort { -10 }

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Concurrency.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use POSIX qw(_exit :sys_wait_h);

use namespace::clean -except => 'meta';

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/run required_backend_roles/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/run required_backend_roles/] };

use constant required_backend_roles => qw(Clear TXN Concurrency::POSIX);

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/MassInsert.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sub p {
KiokuDB::Test::Person->new(@args);
}

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/populate sort/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/populate sort/] };

sub sort { 100 }

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/ObjectGraph.pm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sub clique {

use namespace::clean -except => 'meta';

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/populate sort/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/populate sort/] };

has [qw(homer dubya putin)] => (
isa => "Str",
Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Overwrite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ sub p {
KiokuDB::Test::Person->new(@args);
}

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/populate sort/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/populate sort/] };

sub sort { -100 }

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Refresh.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sub p {
KiokuDB::Test::Person->new(@args);
}

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/populate sort/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/populate sort/] };

sub sort { -100 }

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/RootSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use KiokuDB::Test::Company;

use namespace::clean -except => 'meta';

with qw(KiokuDB::Test::Fixture) => { excludes => 'sort' };
with qw(KiokuDB::Test::Fixture) => { -excludes => 'sort' };

sub sort { -50 }

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Scan.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use KiokuDB::Test::Person;

use namespace::clean -except => 'meta';

with qw(KiokuDB::Test::Fixture) => { excludes => 'required_backend_roles' };
with qw(KiokuDB::Test::Fixture) => { -excludes => 'required_backend_roles' };

use constant required_backend_roles => qw(Clear Scan);

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/SimpleSearch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use KiokuDB::Test::Person;

use namespace::clean -except => 'meta';

with qw(KiokuDB::Test::Fixture) => { excludes => 'required_backend_roles' };
with qw(KiokuDB::Test::Fixture) => { -excludes => 'required_backend_roles' };

use constant required_backend_roles => qw(Clear Query::Simple);

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Small.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sub p {
KiokuDB::Test::Person->new(@args);
}

with qw(KiokuDB::Test::Fixture) => { excludes => [qw/populate sort/] };
with qw(KiokuDB::Test::Fixture) => { -excludes => [qw/populate sort/] };

sub sort { -100 }

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/TypeMap/Default.pm
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ use constant HAVE_MX_OP => try { require MooseX::Object::Pluggable }
has name => ( is => "rw" );
}

with qw(KiokuDB::Test::Fixture) => { excludes => 'required_backend_roles' };
with qw(KiokuDB::Test::Fixture) => { -excludes => 'required_backend_roles' };

sub create {
tie my %refhash, 'Tie::RefHash';
Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/Test/Fixture/Unicode.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use namespace::clean -except => 'meta';

use constant required_backend_roles => qw(UnicodeSafe);

with qw(KiokuDB::Test::Fixture) => { excludes => 'required_backend_roles' };
with qw(KiokuDB::Test::Fixture) => { -excludes => 'required_backend_roles' };

my $unicode = "משה";

Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/TypeMap/Default/JSON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use namespace::clean -except => 'meta';
extends qw(KiokuDB::TypeMap);

with 'KiokuDB::TypeMap::Default::Canonical' => {
excludes => [qw(reftype_entries)],
-excludes => [qw(reftype_entries)],
};

has json_boolean_typemap => (
Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuDB/TypeMap/Entry/MOP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use namespace::clean -except => 'meta';
with (
'KiokuDB::TypeMap::Entry::Std',
'KiokuDB::TypeMap::Entry::Std::Expand' => {
alias => { compile_expand => 'compile_expand_body' },
-alias => { compile_expand => 'compile_expand_body' },
}
);

Expand Down