Javier Honduvilla Coto
69ba4c5586
Update the Instrumenter doc ... ( #3530 )
...
... with an instance of the given`Instrumenter` instead of the class itself.
2017-03-23 06:11:45 +01:00
Yuki Izumi
5c6f690b97
Prefer Markdown over GCC Machine Description ( #3523 )
...
* Add minimal Markdown sample
* Heuristic defaults to Markdown on no match
* Allow Linguist to detect empty blobs
2017-03-20 13:07:54 +11:00
Paul Chaignon
9b941a34f0
Use filenames as a definitive answer ( #2006 )
...
* Separate find_by_extension and find_by_filename
find_by_extension now takes a path as argument and not only the file extension.
Currently only find_by_extension is used as a strategy.
* Add find_by_filename as first strategy
2016-12-12 12:34:33 -08:00
Arfon Smith
1efd4c83f9
Merge pull request #2341 from github/api-changes
...
Move Linguist::Language.detect to Linguist.detect
2016-03-16 21:15:50 -06:00
Arfon Smith
988739d566
Merge branch 'master' into combine-gems
2016-03-09 06:25:35 -06:00
Syed Humza Shah
00a436f175
used proper 'if/elsif/end' syntax
2015-12-18 01:24:05 +00:00
Brandon Keepers
924fddf698
Move Linguist::Language.detect to Linguist.detect
2015-04-17 14:56:08 +12:00
Arfon Smith
1bc1803628
Check for block here too
2015-03-05 12:50:12 -06:00
Charlie Somerville
fd7633518f
add instrumentation to detection and classification
2015-02-25 12:34:07 +11:00
Adam Roben
0cfdbfb91c
Merge github-linguist-grammars into github-linguist
...
Now that all our grammars are licensed (or grandfathered in), we can
distribute them as part of the standard github-linguist gem. This makes
it easier for projects to get up and running with Linguist.
2015-01-07 14:47:26 -05:00
Brandon Keepers
fd85f7f112
consolidate shebang logic
2014-11-27 12:18:23 -05:00
Arfon Smith
cab85f3de3
Adding Linguist::VERSION
2014-04-24 13:53:37 -05:00
Ted Nyman
3bc17e822d
Start on basic heuristic approach
2013-12-14 23:33:21 -08:00
Joshua Peek
cfe496e9fc
Drop mime type module
...
Closes #206
2012-08-20 11:40:32 -05:00
Joshua Peek
41b7d13aa7
Extract generated blob check into its own module
2012-08-03 15:47:50 -05:00
Joshua Peek
6ac9138aed
Remove pathname
...
Closes #207
2012-07-23 16:50:30 -05:00
Joshua Peek
f7ef770d8c
Remove lexer require
2011-08-30 14:23:18 -05:00
Joshua Peek
7cdacc8615
Remove Blob
2011-05-25 14:10:41 -05:00
Joshua Peek
0f0fc10106
Require lexer and repository
2011-05-25 12:22:21 -05:00
Joshua Peek
8d5dc01363
Extract BlobHelper mixin
2011-05-13 17:02:50 -05:00
Joshua Peek
39bd49950e
Add Blob
2011-05-11 22:08:12 -05:00
Joshua Peek
90c5e468be
Require mime
2011-05-11 16:20:59 -05:00
Joshua Peek
86c67f4b6f
Add Pathname
2011-05-10 09:27:18 -05:00
Joshua Peek
0e2f29e0d6
Require language
2011-05-09 23:43:31 -05:00
Joshua Peek
d1fd619218
Define Linguist module
2011-05-09 22:04:14 -05:00