Bump version for first real release.
[catagits/Gitalist.git] / lib / Gitalist.pm
index 84a9980..5d4739c 100644 (file)
@@ -1,8 +1,8 @@
 package Gitalist;
 use Moose;
-use namespace::autoclean;
-
+BEGIN { require 5.008006; }
 use Catalyst::Runtime 5.80;
+use namespace::autoclean;
 
 extends 'Catalyst';
 
@@ -13,20 +13,15 @@ use Catalyst qw/
                 StackTrace
 /;
 
-our $VERSION = '0.01';
-
-# Bring in the libified gitweb.cgi.
-use gitweb;
+our $VERSION = '0.000001';
+$VERSION = eval $VERSION;
 
 __PACKAGE__->config(
     name => 'Gitalist',
     default_view => 'Default',
     default_model => 'GitRepos',
-    # Set to 1 to make your fcgi die the request after you push :)
-    exit_at_end_of_request_if_updated => 0,
 );
 
-# Start the application
 __PACKAGE__->setup();
 
 around uri_for => sub {
@@ -43,15 +38,18 @@ around uri_for => sub {
   return $uri;
 };
 
+1;
+
+__END__
+
 =head1 NAME
 
-Gitalist - Transitional project to convert gitweb.cgi to a Catalyst app
+Gitalist - A modern git web viewer
 
 =head1 SYNOPSIS
 
     script/gitalist_server.pl
 
-
 =head1 INSTALL
 
 As Gitalist follows the usual Perl module format the usual approach
@@ -63,14 +61,12 @@ for installation should work e.g
   make install
 
 If you're running a git checkout of Gitalist then you'll additionally
-need the author modules. I<NB: As no distribution exists one will
-presently need the author modules>.
+need the author modules.
 
 =head1 DESCRIPTION
 
 Gitalist is a web frontend for git repositories based on gitweb.cgi
-and backed by Catalyst. It doesn't yet have the full functionality of
-gitweb.cgi but it does have a few small additions at this stage.
+and backed by Catalyst.
 
 =head2 History
 
@@ -106,5 +102,3 @@ L<Catalyst>
 Licensed under GNU GPL v2
 
 =cut
-
-1;