[Bps-public-commit] r19678 - in Net-Google-Code/trunk/lib/Net/Google: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri May 15 01:52:19 EDT 2009
Author: sunnavy
Date: Fri May 15 01:52:19 2009
New Revision: 19678
Modified:
Net-Google-Code/trunk/lib/Net/Google/Code.pm
Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm
Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm
Log:
with authentication role for Code, Issue, Download and Wiki
Modified: Net-Google-Code/trunk/lib/Net/Google/Code.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code.pm Fri May 15 01:52:19 2009
@@ -2,7 +2,8 @@
use Moose;
with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL',
- 'Net::Google::Code::Role::Pageable', 'Net::Google::Code::Role::HTMLTree';
+ 'Net::Google::Code::Role::Pageable', 'Net::Google::Code::Role::HTMLTree',
+ 'Net::Google::Code::Role::Authentication';
use Scalar::Util qw/blessed/;
our $VERSION = '0.05';
@@ -99,7 +100,9 @@
my $self = shift;
require Net::Google::Code::Download;
return Net::Google::Code::Download->new(
- project => $self->project,
+ project => $self->project,
+ email => $self->email,
+ password => $self->password,
@_
);
}
@@ -108,7 +111,9 @@
my $self = shift;
require Net::Google::Code::Issue;
return Net::Google::Code::Issue->new(
- project => $self->project,
+ project => $self->project,
+ email => $self->email,
+ password => $self->password,
@_
);
}
@@ -138,6 +143,9 @@
require Net::Google::Code::Wiki;
return Net::Google::Code::Wiki->new(
project => $self->project,
+ project => $self->project,
+ email => $self->email,
+ password => $self->password,
@_
);
}
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm Fri May 15 01:52:19 2009
@@ -5,7 +5,7 @@
use Scalar::Util qw/blessed/;
with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL',
- 'Net::Google::Code::Role::HTMLTree';
+ 'Net::Google::Code::Role::HTMLTree', 'Net::Google::Code::Role::Authentication';
has 'project' => (
isa => 'Str',
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm Fri May 15 01:52:19 2009
@@ -2,7 +2,8 @@
use Moose;
use Params::Validate qw(:all);
with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL',
- 'Net::Google::Code::Role::HTMLTree';
+ 'Net::Google::Code::Role::HTMLTree',
+ 'Net::Google::Code::Role::Authentication';
use Net::Google::Code::Issue::Comment;
use Net::Google::Code::Issue::Attachment;
use Scalar::Util qw/blessed/;
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm Fri May 15 01:52:19 2009
@@ -3,7 +3,7 @@
use Moose;
use Params::Validate qw(:all);
with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL',
- 'Net::Google::Code::Role::HTMLTree';
+ 'Net::Google::Code::Role::HTMLTree', 'Net::Google::Code::Role::Authentication';
has 'project' => (
isa => 'Str',
More information about the Bps-public-commit
mailing list