Commit Graph

22 Commits

Author SHA1 Message Date
Joshua Peek
0864b9847f Replace Lexer with Pygments::Lexer 2011-08-23 12:41:06 -05:00
Joshua Peek
6f03cfc67c Assume utf8 when serving raw text blobs 2011-06-23 16:51:03 -05:00
Joshua Peek
063bf21c66 Return nil if no Language is found 2011-06-18 20:57:58 -05:00
Joshua Peek
cfb952b867 Proper lexer casing 2011-06-18 20:19:10 -05:00
Joshua Peek
c7739119b3 Separate filename and extension configuration 2011-06-07 10:31:39 -05:00
Joshua Peek
734cc29391 Set content-type to text/plain for all non binary files 2011-06-03 11:21:16 -05:00
Joshua Peek
bcc2042768 Separate registry content type and content disposition 2011-06-02 12:14:19 -05:00
Joshua Peek
68110310a7 Kill unused Pathname #media_type and #sub_type 2011-06-01 23:19:11 -05:00
Joshua Peek
b5ef077778 Remove lexer_name helpers 2011-05-23 10:14:51 -05:00
Joshua Peek
0651355e71 Split mime type and content type 2011-05-20 11:24:32 -05:00
Joshua Peek
0f0f6d282b Separate lexer and lexer_name 2011-05-19 23:45:34 -05:00
Joshua Peek
0f1a303c63 Lock to mime types 1.15 2011-05-13 13:59:39 -05:00
Joshua Peek
6ead7d8f37 Move tests to blob 2011-05-13 12:46:57 -05:00
Joshua Peek
39bd49950e Add Blob 2011-05-11 22:08:12 -05:00
Joshua Peek
b424c32bb4 Add file?, text? and image? helpers 2011-05-11 17:08:46 -05:00
Joshua Peek
aac2ed2d20 Add special mime type overrides 2011-05-11 16:14:43 -05:00
Joshua Peek
8e7274e07a Add Pathname#mime_type 2011-05-11 15:37:06 -05:00
Joshua Peek
8cf2aad461 language falls back to text 2011-05-11 14:43:54 -05:00
Joshua Peek
3ee7657bae 'text' should be the default lexer 2011-05-11 14:34:39 -05:00
Joshua Peek
68718812bc Add Pathname#lexer and Pathname#lexer_name 2011-05-10 09:46:44 -05:00
Joshua Peek
de8bf008ef Replace Language#find_by_filename with Pathname#language 2011-05-10 09:40:35 -05:00
Joshua Peek
86c67f4b6f Add Pathname 2011-05-10 09:27:18 -05:00