Skip to content

Commit

Permalink
Switch to SharedMC for the Fastly Role
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Feb 22, 2016
1 parent ea3f6f4 commit 158914c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Role/Script.pm
Expand Up @@ -12,7 +12,7 @@ use MetaCPAN::Types qw(:all);
use Moose::Role;

with 'MetaCPAN::Role::Logger';
with 'MetaCPAN::Role::Fastly';
with 'SharedMC::Role::Fastly';

has 'cpan' => (
is => 'rw',
Expand Down
2 changes: 2 additions & 0 deletions lib/SharedMC/README.md
@@ -1,2 +1,4 @@
# MetaShare
Shared code (git-subrepo) between api and web

This dir is a `git subrepo` see https://github.com/ingydotnet/git-subrepo
9 changes: 3 additions & 6 deletions lib/MetaCPAN/Role/Fastly.pm → lib/SharedMC/Role/Fastly.pm
@@ -1,16 +1,13 @@
package MetaCPAN::Role::Fastly;
package SharedMC::Role::Fastly;

#### NOTE: This is a copy of MetaCPAN::Web::Role::Fastly
#### We should unify these some how!

use Moose::Role;
use Net::Fastly;

use MetaCPAN::Types qw(:all);
use Moose::Role;

=head1 NAME
MetaCPAN::Web::Role::Fastly - Methods for fastly intergration
SharedMD::Role::Fastly - Methods for fastly intergration
=head1 METHODS
Expand Down

0 comments on commit 158914c

Please sign in to comment.