<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
    <added>
      <filename>MANIFEST</filename>
    </added>
    <added>
      <filename>MANIFEST.SKIP</filename>
    </added>
    <added>
      <filename>Makefile.PL</filename>
    </added>
    <added>
      <filename>etc/github-growler.plist.tmpl</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 #!/usr/bin/perl
 use strict;
+use warnings;
+use 5.008001;
 use App::Cache;
 use Mac::Growl;
 use File::Copy;
@@ -18,7 +20,7 @@ mkdir $TempDir, 0777 unless -e $TempDir;
 my $AppIcon = &quot;$TempDir/miyagawa.png&quot;;
 copy &quot;octocat.png&quot;, $AppIcon;
 
-my $Cache = App::Cache-&gt;new;
+my $Cache = App::Cache-&gt;new({ ttl =&gt; 60*60*24, application =&gt; $AppName });
 my %Seen;
 
 my %options = (interval =&gt; 300, max =&gt; 10);
@@ -84,7 +86,7 @@ sub get_user {
     my $name = shift;
     $Cache-&gt;get_code(&quot;user:$name&quot;, sub {
         use Web::Scraper;
-        scraper {
+        my $res = scraper {
             process &quot;#profile_name&quot;, name =&gt; 'TEXT';
             process &quot;.identity img&quot;, avatar =&gt; [ '@src', sub {
                 my $path = &quot;$TempDir/$name.jpg&quot;;
@@ -93,7 +95,23 @@ sub get_user {
                 return $path;
             } ];
         }-&gt;scrape(URI-&gt;new(&quot;http://github.com/$name&quot;));
+        $res-&gt;{name} ||= $name;
+        $res;
     });
 }
 
+__END__
 
+=head1 NAME
+
+github-growler
+
+=head1 AUTHOR
+
+Tatsuhiko Miyagawa
+
+=head1 LICENSE
+
+This program is licensed under the same terms as Perl itself.
+
+=cut</diff>
      <filename>github-growler.pl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>38dc438e0273b6908f6a20b09849090fb834e5a5</id>
    </parent>
  </parents>
  <author>
    <name>Tatsuhiko Miyagawa</name>
    <email>miyagawa@bulknews.net</email>
  </author>
  <url>http://github.com/miyagawa/github-growler/commit/d7698b5c10eedfce842f89a0ab5f711e927778fe</url>
  <id>d7698b5c10eedfce842f89a0ab5f711e927778fe</id>
  <committed-date>2009-03-14T16:41:09-07:00</committed-date>
  <authored-date>2009-03-14T16:41:09-07:00</authored-date>
  <message>installation for Module::Install and some launchctl scripts</message>
  <tree>6ddbb68335ef9a751bea267bfaa35b14e66fc874</tree>
  <committer>
    <name>Tatsuhiko Miyagawa</name>
    <email>miyagawa@bulknews.net</email>
  </committer>
</commit>
