mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Compare commits
	
		
			12 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					ec2e3428ec | ||
| 
						 | 
					f8601dd663 | ||
| 
						 | 
					df5faa0f21 | ||
| 
						 | 
					8341992a38 | ||
| 
						 | 
					6a8d54e983 | ||
| 
						 | 
					a18155da49 | ||
| 
						 | 
					2a1e850924 | ||
| 
						 | 
					528adc1a04 | ||
| 
						 | 
					9e7b1bf3cb | ||
| 
						 | 
					a517de8168 | ||
| 
						 | 
					a4ab7555e2 | ||
| 
						 | 
					7f9142a41d | 
@@ -1,6 +1,6 @@
 | 
			
		||||
Gem::Specification.new do |s|
 | 
			
		||||
  s.name    = 'github-linguist'
 | 
			
		||||
  s.version = '2.10.10'
 | 
			
		||||
  s.version = '2.10.11'
 | 
			
		||||
  s.summary = "GitHub Language detection"
 | 
			
		||||
  s.description = 'We use this library at GitHub to detect blob languages, highlight code, ignore binary files, suppress generated files in diffs, and generate language breakdown graphs.'
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -222,16 +222,14 @@ module Linguist
 | 
			
		||||
               lines[1].include?("#include <jni.h>")
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    # node_modules/ can contain large amounts of files, in general not meant
 | 
			
		||||
    # for humans in pull requests.
 | 
			
		||||
    # Internal: Is the blob part of node_modules/, which are not meant for humans in pull requests.
 | 
			
		||||
    #
 | 
			
		||||
    # Returns true or false.
 | 
			
		||||
    def node_modules?
 | 
			
		||||
      !!name.match(/node_modules\//)
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    # the php composer tool generates a lock file to represent a specific dependency state.
 | 
			
		||||
    # In general not meant for humans in pull requests.
 | 
			
		||||
    # Internal: Is the blob a generated php composer lock file?
 | 
			
		||||
    #
 | 
			
		||||
    # Returns true or false.
 | 
			
		||||
    def composer_lock?
 | 
			
		||||
 
 | 
			
		||||
@@ -718,6 +718,12 @@ Handlebars:
 | 
			
		||||
  - .html.handlebars
 | 
			
		||||
  - .html.hbs
 | 
			
		||||
 | 
			
		||||
Harbour:
 | 
			
		||||
  type: programming
 | 
			
		||||
  lexer: Text only
 | 
			
		||||
  color: "#0e60e3"
 | 
			
		||||
  primary_extension: .hb
 | 
			
		||||
 
 | 
			
		||||
Haskell:
 | 
			
		||||
  type: programming
 | 
			
		||||
  color: "#29b544"
 | 
			
		||||
@@ -1106,6 +1112,7 @@ OCaml:
 | 
			
		||||
  primary_extension: .ml
 | 
			
		||||
  extensions:
 | 
			
		||||
  - .eliomi
 | 
			
		||||
  - .ml4
 | 
			
		||||
  - .mli
 | 
			
		||||
  - .mll
 | 
			
		||||
  - .mly
 | 
			
		||||
@@ -1300,6 +1307,8 @@ Prolog:
 | 
			
		||||
  type: programming
 | 
			
		||||
  color: "#74283c"
 | 
			
		||||
  primary_extension: .prolog
 | 
			
		||||
  extensions: 
 | 
			
		||||
  - .pl
 | 
			
		||||
 | 
			
		||||
Protocol Buffer:
 | 
			
		||||
  type: markup
 | 
			
		||||
 
 | 
			
		||||
@@ -36,6 +36,10 @@
 | 
			
		||||
# Bootstrap minified css and js
 | 
			
		||||
- (^|/)bootstrap([^.]*)(\.min)?\.(js|css)$
 | 
			
		||||
 | 
			
		||||
# Foundation css
 | 
			
		||||
- foundation.min.css
 | 
			
		||||
- foundation.css
 | 
			
		||||
 | 
			
		||||
# Vendored dependencies
 | 
			
		||||
- thirdparty/
 | 
			
		||||
- vendors?/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user