Skip to content

Commit

Permalink
fix remaining "use Moose" things
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuo-danjou committed Dec 21, 2009
1 parent f4adcc7 commit 31455b6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/Net/Google/DataAPI.pm
Expand Up @@ -194,7 +194,7 @@ Net::Google::DataAPI - Base implementations for modules to negotiate with Google
=head1 SYNOPSIS =head1 SYNOPSIS
package MyService; package MyService;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
with 'Net::Google::DataAPI::Role::Service' => { with 'Net::Google::DataAPI::Role::Service' => {
Expand All @@ -218,7 +218,7 @@ Net::Google::DataAPI - Base implementations for modules to negotiate with Google
1; 1;
package MyEntry; package MyEntry;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
with 'Net::Google::DataAPI::Role::Entry'; with 'Net::Google::DataAPI::Role::Entry';
Expand Down
2 changes: 1 addition & 1 deletion lib/Net/Google/DataAPI/Role/Entry.pm
Expand Up @@ -117,7 +117,7 @@ Net::Google::DataAPI::Role::Entry - represents entry of Google Data API
=head1 SYNOPSIS =head1 SYNOPSIS
package MyEntry; package MyEntry;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
with 'Net::Google::DataAPI::Role::Entry'; with 'Net::Google::DataAPI::Role::Entry';
Expand Down
2 changes: 1 addition & 1 deletion lib/Net/Google/DataAPI/Role/HasContent.pm
Expand Up @@ -39,7 +39,7 @@ Net::Google::DataAPI::Role::HasContent - provides 'param' method to Entry
=head1 SYNOPSIS =head1 SYNOPSIS
package MyEntry; package MyEntry;
use Moose; use Any::Moose;
with qw( with qw(
Net::Google::DataAPI::Role::Entry Net::Google::DataAPI::Role::Entry
Net::Google::DataAPI::Role::HasContent Net::Google::DataAPI::Role::HasContent
Expand Down
2 changes: 1 addition & 1 deletion lib/Net/Google/DataAPI/Role/Service.pm
Expand Up @@ -217,7 +217,7 @@ Net::Google::DataAPI::Role::Service - provides base functionalities for Google D
=head1 SYNOPSIS =head1 SYNOPSIS
package MyService; package MyService;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
with 'Net::Google::DataAPI::Role::Service' => { with 'Net::Google::DataAPI::Role::Service' => {
service => 'wise', service => 'wise',
Expand Down
10 changes: 5 additions & 5 deletions t/02_feedurl/05_error.t
Expand Up @@ -8,7 +8,7 @@ use Test::MockModule;


throws_ok { throws_ok {
package MyService; package MyService;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
with 'Net::Google::DataAPI::Role::Service' => { with 'Net::Google::DataAPI::Role::Service' => {
service => 'wise', service => 'wise',
Expand All @@ -23,12 +23,12 @@ throws_ok {
{ {
{ {
package MyEntry; package MyEntry;
use Moose; use Any::Moose;
with 'Net::Google::DataAPI::Role::Entry'; with 'Net::Google::DataAPI::Role::Entry';
} }
{ {
package MyService; package MyService;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
with 'Net::Google::DataAPI::Role::Service' => { with 'Net::Google::DataAPI::Role::Service' => {
service => 'wise', service => 'wise',
Expand Down Expand Up @@ -63,12 +63,12 @@ throws_ok {
{ {
{ {
package Bar; package Bar;
use Moose; use Any::Moose;
} }
throws_ok { throws_ok {
{ {
package MyService; package MyService;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;
# with 'Net::Google::DataAPI::Role::Service' => { # with 'Net::Google::DataAPI::Role::Service' => {
# service => 'wise', # service => 'wise',
Expand Down
2 changes: 1 addition & 1 deletion t/03_entry_has/02_error.t
Expand Up @@ -5,7 +5,7 @@ use Test::Exception;


throws_ok { throws_ok {
package MyaEntry; package MyaEntry;
use Moose; use Any::Moose;
use Net::Google::DataAPI; use Net::Google::DataAPI;


entry_has 'foobar' => ( entry_has 'foobar' => (
Expand Down

0 comments on commit 31455b6

Please sign in to comment.