github-linguist 7.3.1 → 7.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/grammars/etc.json +14 -0
- data/grammars/source.abap.json +13 -2
- data/grammars/source.ats.json +87 -17
- data/grammars/source.ballerina.json +5 -1
- data/grammars/source.clojure.json +8 -8
- data/grammars/source.css.json +39 -0
- data/grammars/source.dosbox-conf.json +97 -0
- data/grammars/source.js.json +0 -8
- data/grammars/source.julia.json +36 -4
- data/grammars/source.matlab.json +26 -15
- data/grammars/source.mcfunction-snapshot.json +600 -0
- data/grammars/source.mcfunction.json +24 -24
- data/grammars/source.sas.json +1 -1
- data/grammars/source.scala.json +12 -1
- data/grammars/source.sqf.json +1 -2
- data/grammars/source.ts.json +122 -19
- data/grammars/source.tsx.json +122 -19
- data/grammars/source.zap.json +260 -0
- data/grammars/source.zil.json +750 -0
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.rtf.json +7 -2
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/heuristics.yml +1 -1
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +20 -0
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/repository.rb +1 -1
- data/lib/linguist/samples.json +561 -32
- data/lib/linguist/shebang.rb +1 -1
- data/lib/linguist/vendor.yml +5 -2
- metadata +6 -3
data/lib/linguist/shebang.rb
CHANGED
@@ -39,7 +39,7 @@ module Linguist
|
|
39
39
|
# if /usr/bin/env type shebang then walk the string
|
40
40
|
if script == 'env'
|
41
41
|
s.scan(/\s+/)
|
42
|
-
s.scan(
|
42
|
+
s.scan(/([^\s]+=[^\s]+\s+)*/) # skip over variable arguments e.g. foo=bar
|
43
43
|
script = s.scan(/\S+/)
|
44
44
|
end
|
45
45
|
|
data/lib/linguist/vendor.yml
CHANGED
@@ -48,6 +48,9 @@
|
|
48
48
|
# Go dependencies
|
49
49
|
- Godeps/_workspace/
|
50
50
|
|
51
|
+
# Go fixtures
|
52
|
+
- (^|/)testdata/
|
53
|
+
|
51
54
|
# GNU indent profiles
|
52
55
|
- .indent.pro
|
53
56
|
|
@@ -62,8 +65,8 @@
|
|
62
65
|
- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$
|
63
66
|
|
64
67
|
# Font Awesome
|
65
|
-
- (^|/)font
|
66
|
-
- (^|/)font
|
68
|
+
- (^|/)font-?awesome\.(css|less|scss|styl)$
|
69
|
+
- (^|/)font-?awesome/.*\.(css|less|scss|styl)$
|
67
70
|
|
68
71
|
# Foundation css
|
69
72
|
- (^|/)foundation\.(css|less|scss|styl)$
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -349,6 +349,7 @@ files:
|
|
349
349
|
- grammars/source.dm.json
|
350
350
|
- grammars/source.dmf.json
|
351
351
|
- grammars/source.dockerfile.json
|
352
|
+
- grammars/source.dosbox-conf.json
|
352
353
|
- grammars/source.dot.json
|
353
354
|
- grammars/source.dylan.json
|
354
355
|
- grammars/source.ebnf.json
|
@@ -647,7 +648,9 @@ files:
|
|
647
648
|
- grammars/source.yang.json
|
648
649
|
- grammars/source.yara.json
|
649
650
|
- grammars/source.yasnippet.json
|
651
|
+
- grammars/source.zap.json
|
650
652
|
- grammars/source.zig.json
|
653
|
+
- grammars/source.zil.json
|
651
654
|
- grammars/text.bibtex.json
|
652
655
|
- grammars/text.cfml.basic.json
|
653
656
|
- grammars/text.conllu.json
|
@@ -774,7 +777,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
774
777
|
version: '0'
|
775
778
|
requirements: []
|
776
779
|
rubyforge_project:
|
777
|
-
rubygems_version: 2.6
|
780
|
+
rubygems_version: 2.7.6
|
778
781
|
signing_key:
|
779
782
|
specification_version: 4
|
780
783
|
summary: GitHub Language detection
|