Merge branch 'master' into support-hack

Conflicts:
	lib/linguist/heuristics.rb
This commit is contained in:
Arfon Smith
2014-11-04 16:09:00 -06:00
41 changed files with 2306 additions and 48 deletions

View File

@@ -28,6 +28,12 @@ module Linguist
if languages.all? { |l| ["Hack", "PHP"].include?(l) }
result = disambiguate_hack(data, languages)
end
if languages.all? { |l| ["Scala", "SuperCollider"].include?(l) }
result = disambiguate_sc(data, languages)
end
if languages.all? { |l| ["AsciiDoc", "AGS Script"].include?(l) }
result = disambiguate_asc(data, languages)
end
return result
end
end
@@ -93,8 +99,28 @@ module Linguist
def self.disambiguate_hack(data, languages)
matches = []
matches << Language["Hack"] if data.include?("<?hh")
matches << Language["PHP"] if /<?[^h]/.match(data)
if data.include?("<?hh")
matches << Language["Hack"]
elsif /<?[^h]/.match(data)
matches << Language["PHP"]
end
matches
end
def self.disambiguate_sc(data, languages)
matches = []
if (/\^(this|super)\./.match(data) || /^\s*(\+|\*)\s*\w+\s*{/.match(data) || /^\s*~\w+\s*=\./.match(data))
matches << Language["SuperCollider"]
end
if (/^\s*import (scala|java)\./.match(data) || /^\s*val\s+\w+\s*=/.match(data) || /^\s*class\b/.match(data))
matches << Language["Scala"]
end
matches
end
def self.disambiguate_asc(data, languages)
matches = []
matches << Language["AsciiDoc"] if /^=+(\s|\n)/.match(data)
matches
end

View File

@@ -2,7 +2,7 @@ require 'escape_utils'
require 'pygments'
require 'yaml'
begin
require 'json'
require 'yajl'
rescue LoadError
end
@@ -533,8 +533,8 @@ module Linguist
languages_yml = File.expand_path("../languages.yml", __FILE__)
languages_json = File.expand_path("../languages.json", __FILE__)
if File.exist?(languages_json) && defined?(JSON)
languages = JSON.load(File.read(languages_json))
if File.exist?(languages_json) && defined?(Yajl)
languages = Yajl.load(File.read(languages_json))
else
languages = YAML.load_file(languages_yml)
end

View File

@@ -37,6 +37,7 @@ AGS Script:
extensions:
- .asc
- .ash
tm_scope: source.c++
ANTLR:
type: programming
@@ -50,6 +51,7 @@ APL:
color: "#8a0707"
extensions:
- .apl
- .dyalog
ASP:
type: programming
@@ -79,6 +81,7 @@ ATS:
- .atxt
- .hats
- .sats
tm_scope: source.ocaml
ActionScript:
type: programming
@@ -117,12 +120,14 @@ ApacheConf:
- apache
extensions:
- .apacheconf
tm_scope: source.apache-config
Apex:
type: programming
lexer: Java
extensions:
- .cls
tm_scope: source.java
AppleScript:
type: programming
@@ -147,6 +152,7 @@ Arduino:
lexer: C++
extensions:
- .ino
tm_scope: source.c++
AsciiDoc:
type: prose
@@ -175,6 +181,7 @@ Assembly:
extensions:
- .asm
- .a51
tm_scope: source.asm.x86
Augeas:
type: programming
@@ -199,6 +206,7 @@ AutoIt:
- AutoItScript
extensions:
- .au3
tm_scope: source.autoit.3
Awk:
type: programming
@@ -224,6 +232,7 @@ Batchfile:
extensions:
- .bat
- .cmd
tm_scope: source.dosbatch
Befunge:
extensions:
@@ -237,6 +246,7 @@ BlitzBasic:
extensions:
- .bb
- .decls
tm_scope: source.blitzmax
BlitzMax:
type: programming
@@ -249,6 +259,7 @@ Bluespec:
lexer: verilog
extensions:
- .bsv
tm_scope: source.verilog
Boo:
type: programming
@@ -260,6 +271,7 @@ Brainfuck:
extensions:
- .b
- .bf
tm_scope: source.bf
Brightscript:
type: programming
@@ -323,6 +335,7 @@ C-ObjDump:
lexer: c-objdump
extensions:
- .c-objdump
tm_scope: objdump.x86asm
C2hs Haskell:
type: programming
@@ -332,6 +345,7 @@ C2hs Haskell:
- c2hs
extensions:
- .chs
tm_scope: source.haskell
CLIPS:
type: programming
@@ -379,6 +393,7 @@ ChucK:
lexer: Java
extensions:
- .ck
tm_scope: source.java
Cirru:
type: programming
@@ -442,6 +457,7 @@ ColdFusion:
- cfml
extensions:
- .cfm
tm_scope: text.html.cfm
ColdFusion CFC:
type: programming
@@ -454,6 +470,7 @@ ColdFusion CFC:
- cfc
extensions:
- .cfc
tm_scope: source.cfscript
Common Lisp:
type: programming
@@ -482,6 +499,7 @@ Component Pascal:
extensions:
- .cp
- .cps
tm_scope: source.pascal
Coq:
type: programming
@@ -496,6 +514,7 @@ Cpp-ObjDump:
- .cppobjdump
- .c++objdump
- .cxx-objdump
tm_scope: objdump.x86asm
Creole:
type: prose
@@ -510,11 +529,13 @@ Crystal:
extensions:
- .cr
ace_mode: ruby
tm_scope: source.ruby
Cucumber:
lexer: Gherkin
extensions:
- .feature
tm_scope: text.gherkin.feature
Cuda:
type: programming
@@ -522,12 +543,14 @@ Cuda:
extensions:
- .cu
- .cuh
tm_scope: source.cuda-c++
Cycript:
type: programming
lexer: JavaScript
extensions:
- .cy
tm_scope: source.js
Cython:
type: programming
@@ -549,6 +572,7 @@ D-ObjDump:
lexer: d-objdump
extensions:
- .d-objdump
tm_scope: objdump.x86asm
DM:
type: programming
@@ -558,6 +582,7 @@ DM:
- .dm
aliases:
- byond
tm_scope: source.c++
DOT:
type: data
@@ -613,6 +638,7 @@ Ecere Projects:
lexer: JSON
extensions:
- .epj
tm_scope: source.json
ECL:
type: programming
@@ -629,6 +655,7 @@ Eagle:
extensions:
- .sch
- .brd
tm_scope: text.xml
Eiffel:
type: programming
@@ -649,6 +676,7 @@ Elm:
lexer: Haskell
extensions:
- .elm
tm_scope: source.haskell
Emacs Lisp:
type: programming
@@ -671,6 +699,7 @@ EmberScript:
extensions:
- .em
- .emberscript
tm_scope: source.coffee
Erlang:
type: programming
@@ -691,6 +720,7 @@ F#:
- .fs
- .fsi
- .fsx
tm_scope: source.fsharp
FLUX:
type: programming
@@ -745,6 +775,7 @@ Fantom:
color: "#dbded5"
extensions:
- .fan
tm_scope: source.fan
Forth:
type: programming
@@ -762,6 +793,7 @@ Frege:
lexer: Haskell
extensions:
- .fr
tm_scope: source.haskell
G-code:
type: data
@@ -777,6 +809,7 @@ Game Maker Language:
lexer: JavaScript
extensions:
- .gml
tm_scope: source.js
GAMS:
type: programming
@@ -826,18 +859,21 @@ GLSL:
Genshi:
extensions:
- .kid
tm_scope: text.xml.genshi
Gentoo Ebuild:
group: Shell
lexer: Bash
extensions:
- .ebuild
tm_scope: source.shell
Gentoo Eclass:
group: Shell
lexer: Bash
extensions:
- .eclass
tm_scope: source.shell
Gettext Catalog:
search_term: pot
@@ -847,6 +883,7 @@ Gettext Catalog:
extensions:
- .po
- .pot
tm_scope: source.po
Glyph:
type: programming
@@ -854,6 +891,7 @@ Glyph:
lexer: Tcl
extensions:
- .glf
tm_scope: source.tcl
Gnuplot:
type: programming
@@ -880,6 +918,7 @@ Gosu:
- .gst
- .gsx
- .vark
tm_scope: source.gosu.2
Grace:
type: programming
@@ -897,6 +936,7 @@ Grammatical Framework:
- .gf
searchable: true
color: "#ff0000"
tm_scope: source.haskell
Graph Modeling Language:
type: data
@@ -914,6 +954,7 @@ Groff:
- '.5'
- '.6'
- '.7'
tm_scope: text.groff
Groovy:
type: programming
@@ -921,7 +962,6 @@ Groovy:
color: "#e69f56"
extensions:
- .groovy
- .gradle
- .grt
- .gtpl
- .gvy
@@ -935,6 +975,7 @@ Groovy Server Pages:
- gsp
extensions:
- .gsp
tm_scope: text.html.jsp
HTML:
type: markup
@@ -959,7 +1000,7 @@ HTML+Django:
HTML+ERB:
type: markup
tm_scope: text.html.ruby
tm_scope: text.html.erb
group: HTML
lexer: RHTML
aliases:
@@ -1003,6 +1044,7 @@ Handlebars:
extensions:
- .handlebars
- .hbs
tm_scope: text.html.handlebars
Harbour:
type: programming
@@ -1025,6 +1067,7 @@ Haxe:
extensions:
- .hx
- .hxsl
tm_scope: source.haxe.2
Hy:
type: programming
@@ -1054,6 +1097,7 @@ INI:
- .ini
- .prefs
- .properties
tm_scope: source.ini
Inno Setup:
extensions:
@@ -1074,6 +1118,7 @@ Inform 7:
extensions:
- .ni
- .i7x
tm_scope: source.inform
Inno Setup:
extensions:
@@ -1139,6 +1184,7 @@ JSON5:
lexer: JavaScript
extensions:
- .json5
tm_scope: source.js
JSONLD:
type: data
@@ -1147,6 +1193,7 @@ JSONLD:
lexer: JavaScript
extensions:
- .jsonld
tm_scope: source.js
JSONiq:
type: programming
@@ -1154,12 +1201,14 @@ JSONiq:
lexer: XQuery
extensions:
- .jq
tm_scope: source.xquery
Jade:
group: HTML
type: markup
extensions:
- .jade
tm_scope: source.jade
Java:
type: programming
@@ -1176,6 +1225,7 @@ Java Server Pages:
- jsp
extensions:
- .jsp
tm_scope: text.html.jsp
JavaScript:
type: programming
@@ -1227,6 +1277,7 @@ Kit:
ace_mode: html
extensions:
- .kit
tm_scope: text.html.basic
Kotlin:
type: programming
@@ -1234,6 +1285,7 @@ Kotlin:
- .kt
- .ktm
- .kts
tm_scope: source.Kotlin
LFE:
type: programming
@@ -1242,11 +1294,19 @@ LFE:
color: "#004200"
lexer: Common Lisp
group: Erlang
tm_scope: source.lisp
LLVM:
extensions:
- .ll
LOLCODE:
type: programming
lexer: Text only
extensions:
- .lol
color: "#cc9900"
LSL:
type: programming
lexer: LSL
@@ -1272,6 +1332,7 @@ Lasso:
- .las
- .lasso9
- .ldml
tm_scope: file.lasso
Latte:
type: markup
@@ -1280,6 +1341,7 @@ Latte:
lexer: Smarty
extensions:
- .latte
tm_scope: source.smarty
Less:
type: markup
@@ -1287,6 +1349,7 @@ Less:
lexer: CSS
extensions:
- .less
tm_scope: source.css
LilyPond:
lexer: Text only
@@ -1327,6 +1390,7 @@ Literate Haskell:
- lhs
extensions:
- .lhs
tm_scope: text.tex.latex.haskell
LiveScript:
type: programming
@@ -1358,6 +1422,7 @@ LookML:
color: "#652B81"
extensions:
- .lookml
tm_scope: source.yaml
Lua:
type: programming
@@ -1380,6 +1445,7 @@ M:
extensions:
- .mumps
- .m
tm_scope: source.lisp
MTML:
type: markup
@@ -1387,6 +1453,7 @@ MTML:
color: "#0095d9"
extensions:
- .mtml
tm_scope: text.html.basic
Makefile:
aliases:
@@ -1405,6 +1472,7 @@ Mako:
extensions:
- .mako
- .mao
tm_scope: text.html.mako
Markdown:
type: prose
@@ -1418,6 +1486,7 @@ Markdown:
- .mkdn
- .mkdown
- .ron
tm_scope: text.html.markdown
Mask:
type: markup
@@ -1426,6 +1495,7 @@ Mask:
ace_mode: scss
extensions:
- .mask
tm_scope: source.scss
Mathematica:
type: programming
@@ -1456,6 +1526,7 @@ Max:
- .maxproj
- .mxt
- .pat
tm_scope: source.json
MediaWiki:
type: prose
@@ -1472,6 +1543,7 @@ Mercury:
extensions:
- .m
- .moo
tm_scope: source.prolog
MiniD: # Legacy
searchable: false
@@ -1488,6 +1560,7 @@ Mirah:
- .duby
- .mir
- .mirah
tm_scope: source.ruby
Monkey:
type: programming
@@ -1505,6 +1578,8 @@ MoonScript:
type: programming
extensions:
- .moon
interpreters:
- moon
Myghty:
extensions:
@@ -1527,12 +1602,14 @@ NetLogo:
color: "#ff2b2b"
extensions:
- .nlogo
tm_scope: source.lisp
Nginx:
type: markup
lexer: Nginx configuration file
extensions:
- .nginxconf
tm_scope: source.nginx
Nimrod:
type: programming
@@ -1564,6 +1641,7 @@ Nu:
- .nu
filenames:
- Nukefile
tm_scope: source.scheme
NumPy:
group: Python
@@ -1590,6 +1668,7 @@ ObjDump:
lexer: objdump
extensions:
- .objdump
tm_scope: objdump.x86asm
Objective-C:
type: programming
@@ -1620,6 +1699,7 @@ Objective-J:
extensions:
- .j
- .sj
tm_scope: source.js.objj
Omgrofl:
type: programming
@@ -1647,6 +1727,7 @@ OpenCL:
extensions:
- .cl
- .opencl
tm_scope: source.c
OpenEdge ABL:
type: programming
@@ -1657,6 +1738,7 @@ OpenEdge ABL:
extensions:
- .p
- .cls
tm_scope: source.abl
OpenSCAD:
type: programming
@@ -1692,6 +1774,7 @@ PAWN:
color: "#dbb284"
extensions:
- .pwn
tm_scope: source.c++
PHP:
type: programming
@@ -1720,6 +1803,13 @@ Pan:
extensions:
- .pan
Papyrus:
type: programming
color: "#6600cc"
lexer: Text only
extensions:
- .psc
Parrot:
type: programming
color: "#f3ca0a"
@@ -1823,6 +1913,7 @@ PostScript:
extensions:
- .ps
- .eps
tm_scope: source.postscript
PowerShell:
type: programming
@@ -1865,6 +1956,7 @@ Protocol Buffer:
- Protocol Buffers
extensions:
- .proto
tm_scope: source.protobuf
Puppet:
type: programming
@@ -1887,6 +1979,7 @@ PureScript:
lexer: Haskell
extensions:
- .purs
tm_scope: source.haskell
Python:
type: programming
@@ -1924,6 +2017,7 @@ QML:
color: "#44a51c"
extensions:
- .qml
tm_scope: source.qml
QMake:
lexer: Text only
@@ -1956,6 +2050,7 @@ RDoc:
wrap: true
extensions:
- .rdoc
tm_scope: text.rdoc
REALbasic:
type: programming
@@ -1967,12 +2062,14 @@ REALbasic:
- .rbres
- .rbtbar
- .rbuistate
tm_scope: source.vbnet
RHTML:
type: markup
group: HTML
extensions:
- .rhtml
tm_scope: text.html.ruby
RMarkdown:
type: prose
@@ -1992,6 +2089,7 @@ Racket:
- .rktd
- .rktl
- .scrbl
tm_scope: source.scheme
Ragel in Ruby Host:
type: programming
@@ -2035,6 +2133,7 @@ RobotFramework:
extensions:
- .robot
# - .txt
tm_scope: text.robot
Rouge:
type: programming
@@ -2043,6 +2142,7 @@ Rouge:
color: "#cc0088"
extensions:
- .rg
tm_scope: source.clojure
Ruby:
type: programming
@@ -2118,6 +2218,7 @@ SQF:
extensions:
- .sqf
- .hqf
tm_scope: source.c++
SQL:
type: data
@@ -2136,6 +2237,7 @@ STON:
lexer: JSON
extensions:
- .ston
tm_scope: source.json
Sage:
type: programming
@@ -2143,6 +2245,7 @@ Sage:
group: Python
extensions:
- .sage
tm_scope: source.python
Sass:
type: markup
@@ -2166,6 +2269,7 @@ Scaml:
type: markup
extensions:
- .scaml
tm_scope: source.scaml
Scheme:
type: programming
@@ -2200,7 +2304,7 @@ Shell:
type: programming
lexer: Bash
search_term: bash
color: "#5861ce"
color: "#89e051"
aliases:
- sh
- bash
@@ -2210,6 +2314,7 @@ Shell:
- .bash
- .bats
- .cgi
- .command
- .fcgi
- .tmux
- .zsh
@@ -2238,6 +2343,7 @@ Slash:
color: "#007eff"
extensions:
- .sl
tm_scope: text.html.slash
Slim:
group: HTML
@@ -2264,12 +2370,14 @@ SourcePawn:
- sourcemod
extensions:
- .sp
tm_scope: source.sp
Squirrel:
type: programming
lexer: C++
extensions:
- .nut
tm_scope: source.c++
Standard ML:
type: programming
@@ -2281,6 +2389,7 @@ Standard ML:
- .fun
- .sig
- .sml
tm_scope: source.ml
Stata:
type: programming
@@ -2307,6 +2416,7 @@ SuperCollider:
lexer: Text only
extensions:
- .scd
- .sc
Swift:
type: programming
@@ -2328,6 +2438,7 @@ TOML:
type: data
extensions:
- .toml
tm_scope: source.toml
TXL:
type: programming
@@ -2352,6 +2463,7 @@ Tcsh:
extensions:
- .tcsh
- .csh
tm_scope: source.shell
TeX:
type: markup
@@ -2381,6 +2493,7 @@ Tea:
type: markup
extensions:
- .tea
tm_scope: source.tea
Textile:
type: prose
@@ -2404,6 +2517,7 @@ Twig:
lexer: HTML+Django/Jinja
extensions:
- .twig
tm_scope: text.html.twig
TypeScript:
type: programming
@@ -2412,6 +2526,7 @@ TypeScript:
- ts
extensions:
- .ts
tm_scope: source.ts
Unified Parallel C:
type: programming
@@ -2421,6 +2536,7 @@ Unified Parallel C:
color: "#755223"
extensions:
- .upc
tm_scope: source.c
UnrealScript:
type: programming
@@ -2428,6 +2544,7 @@ UnrealScript:
lexer: Java
extensions:
- .uc
tm_scope: source.java
VCL:
type: programming
@@ -2436,6 +2553,7 @@ VCL:
color: "#0298c3"
extensions:
- .vcl
tm_scope: source.perl
VHDL:
type: programming
@@ -2493,6 +2611,7 @@ Visual Basic:
- .vba
- .vbhtml
- .vbs
tm_scope: source.vbnet
Volt:
type: programming
@@ -2500,12 +2619,14 @@ Volt:
color: "#0098db"
extensions:
- .volt
tm_scope: source.d
XC:
type: programming
lexer: C
extensions:
- .xc
tm_scope: source.c
XML:
type: markup
@@ -2576,6 +2697,7 @@ XML:
filenames:
- .classpath
- .project
- build.xml.dist
- phpunit.xml.dist
XProc:
@@ -2584,6 +2706,7 @@ XProc:
extensions:
- .xpl
- .xproc
tm_scope: text.xml
XQuery:
type: programming
@@ -2599,6 +2722,7 @@ XS:
lexer: C
extensions:
- .xs
tm_scope: source.c
XSLT:
type: programming
@@ -2607,6 +2731,7 @@ XSLT:
extensions:
- .xslt
- .xsl
tm_scope: text.xml.xsl
Xojo:
type: programming
@@ -2618,6 +2743,7 @@ Xojo:
- .xojo_script
- .xojo_toolbar
- .xojo_window
tm_scope: source.vbnet
Xtend:
type: programming
@@ -2641,6 +2767,7 @@ Zephir:
color: "#118f9e"
extensions:
- .zep
tm_scope: text.html.php
Zimpl:
type: programming
@@ -2664,6 +2791,7 @@ edn:
color: "#db5855"
extensions:
- .edn
tm_scope: source.clojure
fish:
type: programming
@@ -2708,6 +2836,7 @@ wisp:
color: "#7582D1"
extensions:
- .wisp
tm_scope: source.clojure
xBase:
type: programming

View File

@@ -1,5 +1,5 @@
begin
require 'json'
require 'yajl'
rescue LoadError
require 'yaml'
end
@@ -19,7 +19,7 @@ module Linguist
# Hash of serialized samples object
def self.cache
@cache ||= begin
serializer = defined?(JSON) ? JSON : YAML
serializer = defined?(Yajl) ? Yajl : YAML
serializer.load(File.read(PATH))
end
end

View File

@@ -36,15 +36,16 @@
# Go dependencies
- Godeps/_workspace/
# Bootstrap minified css and js
- (^|/)bootstrap([^.]*)(\.min)?\.(js|css)$
# Minified JavaScript and CSS
- (\.|-)min\.(js|css)$
# Bootstrap css and js
- (^|/)bootstrap([^.]*)\.(js|css)$
# Font Awesome
- font-awesome.min.css
- font-awesome.css
# Foundation css
- foundation.min.css
- foundation.css
# Normalize.css
@@ -56,7 +57,6 @@
# Animate.css
- animate.css
- animate.min.css
# Vendored dependencies
- third[-_]?party/
@@ -73,12 +73,12 @@
## Commonly Bundled JavaScript frameworks ##
# jQuery
- (^|/)jquery([^.]*)(\.min)?\.js$
- (^|/)jquery\-\d\.\d+(\.\d+)?(\.min)?\.js$
- (^|/)jquery([^.]*)\.js$
- (^|/)jquery\-\d\.\d+(\.\d+)?\.js$
# jQuery UI
- (^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?(\.min)?\.(js|css)$
- (^|/)jquery\.(ui|effects)\.([^.]*)(\.min)?\.(js|css)$
- (^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$
- (^|/)jquery\.(ui|effects)\.([^.]*)\.(js|css)$
# Prototype
- (^|/)prototype(.*)\.js$
@@ -116,21 +116,20 @@
- (^|/)shLegacy\.js$
# AngularJS
- (^|/)angular([^.]*)(\.min)?\.js$
- (^|/)angular([^.]*)\.js$
# D3.js
- (^|\/)d3(\.v\d+)?([^.]*)(\.min)?\.js$
- (^|\/)d3(\.v\d+)?([^.]*)\.js$
# React
- (^|/)react(-[^.]*)?(\.min)?\.js$
- (^|/)react(-[^.]*)?\.js$
# Modernizr
- (^|/)modernizr\-\d\.\d+(\.\d+)?(\.min)?\.js$
- (^|/)modernizr\-\d\.\d+(\.\d+)?\.js$
- (^|/)modernizr\.custom\.\d+\.js$
# Knockout
- (^|/)knockout-(\d+\.){3}(debug\.)?js$
- knockout-min.js
## Python ##
@@ -168,8 +167,8 @@
- \.intellisense\.js$
# jQuery validation plugin (MS bundles this with asp.net mvc)
- (^|/)jquery([^.]*)\.validate(\.unobtrusive)?(\.min)?\.js$
- (^|/)jquery([^.]*)\.unobtrusive\-ajax(\.min)?\.js$
- (^|/)jquery([^.]*)\.validate(\.unobtrusive)?\.js$
- (^|/)jquery([^.]*)\.unobtrusive\-ajax\.js$
# Microsoft Ajax
- (^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$
@@ -196,7 +195,7 @@
- (^|/)extjs/welcome/
# Html5shiv
- (^|/)html5shiv(\.min)?\.js$
- (^|/)html5shiv\.js$
# Samples folders
- ^[Ss]amples/
@@ -215,8 +214,8 @@
- ^[Tt]est/fixtures/
# PhoneGap/Cordova
- (^|/)cordova([^.]*)(\.min)?\.js$
- (^|/)cordova\-\d\.\d(\.\d)?(\.min)?\.js$
- (^|/)cordova([^.]*)\.js$
- (^|/)cordova\-\d\.\d(\.\d)?\.js$
# Foundation js
- foundation(\..*)?\.js$
@@ -236,9 +235,12 @@
# Octicons
- octicons.css
- octicons.min.css
- sprockets-octicons.scss
# Typesafe Activator
- (^|/)activator$
- (^|/)activator\.bat$
# ProGuard
- proguard.pro
- proguard-rules.pro

View File

@@ -1,3 +1,3 @@
module Linguist
VERSION = "3.4.0"
VERSION = "3.4.1"
end