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.
@@ -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(/.*=[^\s]+\s+/) # skip over variable arguments e.g. foo=bar
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
 
@@ -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-awesome\.(css|less|scss|styl)$
66
- - (^|/)font-awesome/.*\.(css|less|scss|styl)$
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.3.1
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-03-13 00:00:00.000000000 Z
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.14
780
+ rubygems_version: 2.7.6
778
781
  signing_key:
779
782
  specification_version: 4
780
783
  summary: GitHub Language detection