[Bps-public-commit] r19639 - Net-Google-Code/branches/write/lib/Net/Google/Code
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue May 12 05:32:28 EDT 2009
Author: sunnavy
Date: Tue May 12 05:32:28 2009
New Revision: 19639
Modified:
Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm
Log:
fix overdue code
Modified: Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm (original)
+++ Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm Tue May 12 05:32:28 2009
@@ -136,7 +136,7 @@
my %args = validate(
@_,
{
- labels => { type => HASHREF | ARRAYREF, optional => 1 },
+ labels => { type => ARRAYREF, optional => 1 },
files => { type => ARRAYREF, optional => 1 },
map { $_ => { type => SCALAR, optional => 1 } }
qw/comment summary status owner cc/,
@@ -144,7 +144,7 @@
);
$self->sign_in;
- $self->fetch( 'issues/entry' );
+ $self->fetch( $self->base_url . 'issues/entry' );
if ( $args{files} ) {
# hack hack hack
@@ -202,7 +202,7 @@
);
$self->sign_in;
- $self->fetch( 'issues/detail?id=' . $self->id );
+ $self->fetch( $self->base_url . 'issues/detail?id=' . $self->id );
if ( $args{files} ) {
# hack hack hack
@@ -293,13 +293,9 @@
=item create
comment, summary, status, owner, cc, labels, files.
-Caveat: 'files' field doesn't work right now, please don't use it.
-
=item update
comment, summary, status, owner, merge_into, cc, labels, blocked_on, files.
-Caveat: 'files' field doesn't work right now, please don't use it.
-
=item description
=item labels
More information about the Bps-public-commit
mailing list