Skip to content

Commit 0287e66

Browse files
committed
s/Permissions/Permission/
1 parent ed38333 commit 0287e66

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lib/MetaCPAN/Document/Permissions.pm renamed to lib/MetaCPAN/Document/Permission.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
package MetaCPAN::Document::Permissions;
1+
package MetaCPAN::Document::Permission;
22

33
use strict;
44
use warnings;
55

66
use Moose;
7+
78
use ElasticSearchX::Model::Document;
89
use MooseX::StrictConstructor;
910

10-
has name => (
11+
has module => (
1112
is => 'ro',
1213
isa => 'Str',
1314
required => 1,

lib/MetaCPAN/Script/Permissions.pm renamed to lib/MetaCPAN/Script/Permission.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package MetaCPAN::Script::Permissions;
1+
package MetaCPAN::Script::Permission;
22

33
use strict;
44
use warnings;
@@ -9,7 +9,7 @@ with 'MooseX::Getopt', 'MetaCPAN::Role::Common';
99
use Log::Contextual qw( :log );
1010
use PAUSE::Permissions;
1111

12-
use MetaCPAN::Document::Permissions;
12+
use MetaCPAN::Document::Permission;
1313

1414
=head1 SYNOPSIS
1515
@@ -55,7 +55,7 @@ __PACKAGE__->meta->make_immutable;
5555
5656
Parse out CPAN author permissions.
5757
58-
my $perms = MetaCPAN::Script::Permissions->new;
58+
my $perms = MetaCPAN::Script::Permission->new;
5959
my $result = $perms->index_permissions;
6060
6161
=head2 index_authors

lib/MetaCPAN/Server/Controller/Permissions.pm renamed to lib/MetaCPAN/Server/Controller/Permission.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package MetaCPAN::Server::Controller::Permissions;
1+
package MetaCPAN::Server::Controller::Permission;
22

33
use strict;
44
use warnings;

0 commit comments

Comments
 (0)