From: Marius Gavrilescu Date: Mon, 9 Mar 2015 08:59:32 +0000 (+0200) Subject: Add ruby X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;ds=sidebyside;h=c83dca87863f8e36ad2279f4c8c78cbbdc6704ea;p=gruntmaster-page.git Add ruby --- diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index f32c606..0666fad 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -34,6 +34,7 @@ use constant CONTENT_TYPES => +{ pas => 'text/x-pascal', pl => 'text/x-perl', py => 'text/x-python', + rb => 'application/x-ruby', l => 'text/plain', }; @@ -48,6 +49,7 @@ use constant FORMAT_EXTENSION => { PASCAL => 'pas', PERL => 'pl', PYTHON => 'py', + RUBY => 'rb', SBCL => 'l', };