[Bps-public-commit] r17692 - in Net-Google-Code/trunk: lib/Net/Google lib/Net/Google/Code
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sun Jan 11 12:34:34 EST 2009
Author: sunnavy
Date: Sun Jan 11 12:34:33 2009
New Revision: 17692
Modified:
Net-Google-Code/trunk/ (props changed)
Net-Google-Code/trunk/lib/Net/Google/Code.pm
Net-Google-Code/trunk/lib/Net/Google/Code/Downloads.pm
Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm
Net-Google-Code/trunk/lib/Net/Google/Code/WikiEntry.pm
Log:
r18708 at sunnavys-mb: sunnavy | 2009-01-12 01:29:21 +0800
doc update
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 Sun Jan 11 12:34:33 2009
@@ -82,11 +82,15 @@
=over 4
-=item url
+=item project
+
+the project name
+
+=item base_url
the project homepage
-=item svn_url
+=item base_svn_url
the project svn url (without trunk)
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Downloads.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Downloads.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Downloads.pm Sun Jan 11 12:34:33 2009
@@ -111,11 +111,9 @@
=head1 SYNOPSIS
- use Net::Google::Code;
-
- my $project = Net::Google::Code->new( project => 'net-google-code' );
- my $download = $project->downloads;
+ use Net::Google::Code::Downloads;
+ my $download = Net::Google::Code::Downloads->new( project => 'net-google-code' );
my @entries = $download->all_entries;
foreach my $e ( @entries ) {
my $entry = $download->entry( $e->{filename} );
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 Sun Jan 11 12:34:33 2009
@@ -152,11 +152,9 @@
=head1 SYNOPSIS
- use Net::Google::Code;
-
- my $project = Net::Google::Code->new( project => 'net-google-code' );
- my $issue = $project->issue;
+ use Net::Google::Code::Issue;
+ my $issue = Net::Google::Code::Issue->new( project => 'net-google-code' );
$issue->load(42);
=head1 DESCRIPTION
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 Sun Jan 11 12:34:33 2009
@@ -48,10 +48,9 @@
=head1 SYNOPSIS
- use Net::Google::Code;
+ use Net::Google::Code::Wiki;
- my $project = Net::Google::Code->new( project => 'net-google-code' );
- my $wiki = $project->wiki;
+ my $wiki = Net::Google::Code::Wiki->new( project => 'net-google-code' );
my @entries = $wiki->all_entries;
foreach my $item ( @entries ) {
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/WikiEntry.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/WikiEntry.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/WikiEntry.pm Sun Jan 11 12:34:33 2009
@@ -100,10 +100,9 @@
=head1 SYNOPSIS
- use Net::Google::Code;
+ use Net::Google::Code::Wiki;
- my $project = Net::Google::Code->new( project => 'net-google-code' );
- my $wiki = $project->wiki;
+ my $wiki = Net::Google::Code::Wiki->new( project => 'net-google-code' );
my $wiki_entry = $wiki->entry('README');
print $wiki_entry->source;
More information about the Bps-public-commit
mailing list