Merge pull request #68 from github/pygments.rb

Replace Lexer with Pygments::Lexer
This commit is contained in:
Joshua Peek
2011-08-30 11:57:31 -07:00
12 changed files with 33 additions and 1995 deletions

View File

@@ -2,10 +2,13 @@ require 'linguist/file_blob'
require 'test/unit'
require 'mime/types'
require 'pygments'
class TestBlob < Test::Unit::TestCase
include Linguist
Lexer = Pygments::Lexer
def fixtures_path
File.expand_path("../fixtures", __FILE__)
end