From: Dan Brook Date: Sat, 10 Apr 2010 11:03:38 +0000 (+0100) Subject: Bumped version, updated changes. X-Git-Tag: 0.000006~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6ee49ff42fe33b5de79d1bd83f8621da1334cf0a;p=catagits%2FGitalist.git Bumped version, updated changes. * Untabbified lib/Gitalist/Controller/Ref.pm. --- diff --git a/Changes b/Changes index e9c27bd..5fa42f9 100644 --- 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 diff --git a/lib/Gitalist.pm b/lib/Gitalist.pm index 1be66c8..f213df2 100644 --- a/lib/Gitalist.pm +++ b/lib/Gitalist.pm @@ -14,7 +14,7 @@ use Catalyst qw/ SubRequest /; -our $VERSION = '0.000006_01'; +our $VERSION = '0.000006'; $VERSION = eval $VERSION; __PACKAGE__->config( diff --git a/lib/Gitalist/Controller/Ref.pm b/lib/Gitalist/Controller/Ref.pm index c0e4ce3..b988d4d 100644 --- a/lib/Gitalist/Controller/Ref.pm +++ b/lib/Gitalist/Controller/Ref.pm @@ -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});