Bumped version, updated changes.
Dan Brook [Sat, 10 Apr 2010 11:03:38 +0000 (12:03 +0100)]
* Untabbified lib/Gitalist/Controller/Ref.pm.

Changes
lib/Gitalist.pm
lib/Gitalist/Controller/Ref.pm

diff --git a/Changes b/Changes
index e9c27bd..5fa42f9 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,11 +1,17 @@
 This file documents the revision history for Perl extension Gitalist.
 
+0.000006 2010-04-10
+
+    - Major frontend redesign, thanks to ranguard for making this happen.
+    - Major URI overhaul, Gitalist has gone from old gitweb style CGI
+      parameters to proper URIs, however the old URIs are still supported
+      and will redirect appropriately (Tomas Doran).
+    - With the URI overhaul also came breaking up actions into fragments
+      for use with Catalyst::View::Component::SubInclude.
     - BIG BREAKING CHANGE - Gitalist::Model::GitRepos has been renamed
       Gitalist::Model::CollectionOfRepos. You need to fix your config and
       if you have actually installed Gitalist - remove the old model file.
-
     - Bump required version of Git::PurePerl for Encoding fixes.
-
     - Fix Makefile.PL to not need release deps when checking out of Git.
 
 0.000005 2010-01-09
index 1be66c8..f213df2 100644 (file)
@@ -14,7 +14,7 @@ use Catalyst qw/
                 SubRequest
 /;
 
-our $VERSION = '0.000006_01';
+our $VERSION = '0.000006';
 $VERSION = eval $VERSION;
 
 __PACKAGE__->config(
index c0e4ce3..b988d4d 100644 (file)
@@ -24,13 +24,13 @@ sub raw : Chained('find') Does('FilenameArgs') Args() {
     $c->forward('find_blob');
 
     if(-T $c->stash->{blob}) {
-       $c->response->content_type('text/plain; charset=utf-8');
+        $c->response->content_type('text/plain; charset=utf-8');
     } else {
-       my $ft = File::Type->new();
-       $c->response->content_type(
-           File::Type::WebImages::mime_type($c->stash->{blob})
-        || File::Type->new->mime_type($c->stash->{blob})
-       );
+        my $ft = File::Type->new();
+        $c->response->content_type(
+            File::Type::WebImages::mime_type($c->stash->{blob})
+         || File::Type->new->mime_type($c->stash->{blob})
+        );
     }
 
     $c->response->body(delete $c->stash->{blob});