[Bps-public-commit] r19634 - in Net-Google-Code/trunk: lib/Net/Google

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue May 12 04:48:50 EDT 2009


Author: sunnavy
Date: Tue May 12 04:48:49 2009
New Revision: 19634

Modified:
   Net-Google-Code/trunk/Changes
   Net-Google-Code/trunk/META.yml
   Net-Google-Code/trunk/lib/Net/Google/Code.pm

Log:
update version to 0.04

Modified: Net-Google-Code/trunk/Changes
==============================================================================
--- Net-Google-Code/trunk/Changes	(original)
+++ Net-Google-Code/trunk/Changes	Tue May 12 04:48:49 2009
@@ -1,4 +1,19 @@
 Revision history for Net-Google-Code
+
+0.04 Tue May 12 16:07:09 CST 2009
+
+refactor version.
+
+CAVEAT: this release is not back compatible, the changes are:
+
+* lables are not parsed any more, now they're just an array ref with unparsed
+    string, e.g. [ 'Pri-2', 'Mstone-X' ]
+* no Home.pm, its related functions are moved to Code.pm, 
+    see Net::Google::Code::load and Net::Google::Code::parse
+* no Downloads.pm, see Net::Google::Code::load_downloads and Net::Google::Code::Download
+* no WikiEntry.pm. see Net::Google::Code::load_wikis, the new Net::Google::Code::Wiki 
+    and Net::Google::Code::Wiki::Comment
+
 0.03 Fri Apr 24 16:08:06 CST 2009
 
 * mostly a bug fix version

Modified: Net-Google-Code/trunk/META.yml
==============================================================================
--- Net-Google-Code/trunk/META.yml	(original)
+++ Net-Google-Code/trunk/META.yml	Tue May 12 04:48:49 2009
@@ -25,4 +25,4 @@
   XML::Atom: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.03
+version: 0.04

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	Tue May 12 04:48:49 2009
@@ -3,7 +3,7 @@
 use Moose;
 with 'Net::Google::Code::Role';
 
-our $VERSION = '0.03';
+our $VERSION = '0.04';
 
 has 'labels' => (
     isa => 'ArrayRef',
@@ -203,6 +203,14 @@
     # return a Net::Google::Code::Wiki object, of which the page name is 'Test'
     $project->wiki( name => 'Test' );
 
+    # loads all the downloads
+    $project->load_downloads;
+    my $downloads = $project->downloads;
+
+    # loads all the wikis
+    $project->load_wikis;
+    my $wikis = $project->wikis;
+
 =head1 DESCRIPTION
 
 Net::Google::Code is a simple client library for projects hosted in Google Code.



More information about the Bps-public-commit mailing list