NAME

Plack::Middleware::GitRevisionInfo - Middleware that appends git revision information to html

SYNOPSIS

use Plack::Builder;

builder {
    enable "Plack::Middleware::GitReivisionInfo", path => '../repo';
    $app;
};

DESCRIPTION

Plack::Middleware::GitRevisionInfo will display the git revision information in the source of an html document in the following format:

<!-- REVISION #:... DATE:MM/DD/YYYY -->

ARGUMENTS

This middleware accepts the following arguments.

path

This is the path to the git repository. This is a required argument.

SEE ALSO

Plack, Plack::Middleware, Moo

AUTHOR

Logan Bell, <logie@cpan.org>

COPYRIGHT & LICENSE

Copyright 2012, Logan Bell

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.