Commit Graph

27 Commits

Author SHA1 Message Date
Carlos Galdino
176aad0259 fixing typo 2011-06-27 20:47:44 -03: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
4143b06d5e Remove escape_utils require 2011-06-13 23:52:59 -05:00
Joshua Peek
e37d9c85b9 Escape utils is used in Blob 2011-06-13 23:52:38 -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
40efc2bd44 Use mime binary 2011-06-03 10:44:21 -05:00
Joshua Peek
a12bde58e0 Kill attachment stuff, just use viewable 2011-06-02 12:42:56 -05:00
Joshua Peek
a49819a73c Separate out language guessing 2011-06-02 12:29:56 -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
792ef24018 Document Pathname 2011-05-24 20:39:27 -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
d07d457677 Add Pathname#== 2011-05-13 12:41:38 -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
faef901159 Pathname depends on Language 2011-05-10 10:27:51 -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