github-linguist 7.21.0 → 7.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +584 -498
- data/ext/linguist/lex.linguist_yy.h +2 -3
- data/ext/linguist/tokenizer.l +52 -15
- data/grammars/inline.graphql.json +1 -0
- data/grammars/inline.graphql.php.json +1 -0
- data/grammars/inline.graphql.python.json +1 -0
- data/grammars/inline.graphql.re.json +1 -0
- data/grammars/inline.graphql.res.json +1 -0
- data/grammars/inline.prisma.json +1 -1
- data/grammars/liquid.injection.json +1 -1
- data/grammars/markdown.graphql.codeblock.json +1 -0
- data/grammars/markdown.rescript.codeblock.json +1 -0
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abapcds.json +1 -1
- data/grammars/source.astro.json +1 -1
- data/grammars/source.ats.json +1 -1
- data/grammars/source.bicep.json +1 -1
- data/grammars/source.brs.json +1 -1
- data/grammars/source.cds.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.context.json +1 -0
- data/grammars/source.cs.json +1 -1
- data/grammars/source.curry.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.ditroff.json +1 -1
- data/grammars/source.elvish-transcript.json +1 -0
- data/grammars/source.elvish.in.markdown.json +1 -0
- data/grammars/source.elvish.json +1 -0
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.ftl.json +1 -1
- data/grammars/source.gcode.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gdshader.json +1 -1
- data/grammars/source.gemini.json +1 -0
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hocon.json +1 -0
- data/grammars/source.json.json +1 -1
- data/grammars/source.jsonnet.json +1 -1
- data/grammars/source.kusto.json +1 -1
- data/grammars/source.livescript.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -0
- data/grammars/source.nix.json +1 -1
- data/grammars/source.pic.json +1 -1
- data/grammars/source.pony.json +1 -1
- data/grammars/source.postscript.json +1 -1
- data/grammars/source.ql.json +1 -1
- data/grammars/source.rego.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rsc.json +1 -0
- data/grammars/source.scala.json +1 -1
- data/grammars/source.sexp.json +1 -0
- data/grammars/source.stan.json +1 -1
- data/grammars/source.svelte.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.ts.prismaClientRawSQL.json +1 -0
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.velocity.html.json +1 -0
- data/grammars/source.velocity.json +1 -0
- data/grammars/source.wren.json +1 -0
- data/grammars/source.wsd.json +1 -1
- data/grammars/source.xojo.json +1 -1
- data/grammars/text.adblock.json +1 -0
- data/grammars/text.checksums.json +1 -1
- data/grammars/text.html.liquid.json +1 -1
- data/grammars/text.html.statamic.json +1 -1
- data/grammars/text.info.json +1 -1
- data/grammars/text.marko.json +1 -1
- data/grammars/text.restructuredtext.json +1 -1
- data/grammars/text.roff.json +1 -1
- data/grammars/text.texinfo.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +2 -2
- data/lib/linguist/generated.rb +2 -2
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +50 -2
- data/lib/linguist/language.rb +3 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +96 -1
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +1 -1
- metadata +32 -11
data/lib/linguist/vendor.yml
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
- ([^\s]*)import\.(css|less|scss|styl)$
|
75
75
|
|
76
76
|
# Bootstrap css and js
|
77
|
-
- (^|/)bootstrap([^/.]*)
|
77
|
+
- (^|/)bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$
|
78
78
|
- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$
|
79
79
|
|
80
80
|
# Font Awesome
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: cgi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: charlock_holmes
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.7.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.7.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mini_mime
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -239,12 +239,18 @@ files:
|
|
239
239
|
- grammars/hint.message.haskell.json
|
240
240
|
- grammars/hint.type.haskell.json
|
241
241
|
- grammars/injections.etc.json
|
242
|
+
- grammars/inline.graphql.json
|
243
|
+
- grammars/inline.graphql.php.json
|
244
|
+
- grammars/inline.graphql.python.json
|
245
|
+
- grammars/inline.graphql.re.json
|
246
|
+
- grammars/inline.graphql.res.json
|
242
247
|
- grammars/inline.prisma.json
|
243
248
|
- grammars/liquid.injection.json
|
244
249
|
- grammars/markdown.bicep.codeblock.json
|
245
250
|
- grammars/markdown.cadence.codeblock.json
|
246
251
|
- grammars/markdown.codeblock.proto.json
|
247
252
|
- grammars/markdown.curry.codeblock.json
|
253
|
+
- grammars/markdown.graphql.codeblock.json
|
248
254
|
- grammars/markdown.hack.codeblock.json
|
249
255
|
- grammars/markdown.haxe.codeblock.json
|
250
256
|
- grammars/markdown.hxml.codeblock.json
|
@@ -252,6 +258,7 @@ files:
|
|
252
258
|
- grammars/markdown.mcfunction.codeblock.json
|
253
259
|
- grammars/markdown.plantuml.codeblock.json
|
254
260
|
- grammars/markdown.prisma.codeblock.json
|
261
|
+
- grammars/markdown.rescript.codeblock.json
|
255
262
|
- grammars/markdown.textproto.codeblock.json
|
256
263
|
- grammars/objdump.x86asm.json
|
257
264
|
- grammars/source.2da.json
|
@@ -347,6 +354,7 @@ files:
|
|
347
354
|
- grammars/source.cobolit.json
|
348
355
|
- grammars/source.cobsql_dir.json
|
349
356
|
- grammars/source.coffee.json
|
357
|
+
- grammars/source.context.json
|
350
358
|
- grammars/source.cool.json
|
351
359
|
- grammars/source.coq.json
|
352
360
|
- grammars/source.crystal.json
|
@@ -402,6 +410,9 @@ files:
|
|
402
410
|
- grammars/source.eiffel.json
|
403
411
|
- grammars/source.elixir.json
|
404
412
|
- grammars/source.elm.json
|
413
|
+
- grammars/source.elvish-transcript.json
|
414
|
+
- grammars/source.elvish.in.markdown.json
|
415
|
+
- grammars/source.elvish.json
|
405
416
|
- grammars/source.emacs.lisp.json
|
406
417
|
- grammars/source.erlang.json
|
407
418
|
- grammars/source.essl.json
|
@@ -438,6 +449,7 @@ files:
|
|
438
449
|
- grammars/source.gdshader.json
|
439
450
|
- grammars/source.gedcom.json
|
440
451
|
- grammars/source.gemfile-lock.json
|
452
|
+
- grammars/source.gemini.json
|
441
453
|
- grammars/source.generic-db.json
|
442
454
|
- grammars/source.genero-forms.json
|
443
455
|
- grammars/source.genero.json
|
@@ -472,6 +484,7 @@ files:
|
|
472
484
|
- grammars/source.hlasm.json
|
473
485
|
- grammars/source.hlcode.json
|
474
486
|
- grammars/source.hlsl.json
|
487
|
+
- grammars/source.hocon.json
|
475
488
|
- grammars/source.hoon.json
|
476
489
|
- grammars/source.hosts.json
|
477
490
|
- grammars/source.hql.json
|
@@ -577,6 +590,7 @@ files:
|
|
577
590
|
- grammars/source.modula2.json
|
578
591
|
- grammars/source.monkey.json
|
579
592
|
- grammars/source.moonscript.json
|
593
|
+
- grammars/source.move.json
|
580
594
|
- grammars/source.mql5.json
|
581
595
|
- grammars/source.msl.json
|
582
596
|
- grammars/source.mupad.json
|
@@ -704,6 +718,7 @@ files:
|
|
704
718
|
- grammars/source.rpg.json
|
705
719
|
- grammars/source.rpgle.json
|
706
720
|
- grammars/source.rpm-spec.json
|
721
|
+
- grammars/source.rsc.json
|
707
722
|
- grammars/source.ruby.gemfile.json
|
708
723
|
- grammars/source.ruby.json
|
709
724
|
- grammars/source.ruby.rspec.cucumber.steps.json
|
@@ -719,6 +734,7 @@ files:
|
|
719
734
|
- grammars/source.sdbl.json
|
720
735
|
- grammars/source.sed.json
|
721
736
|
- grammars/source.sepolicy.json
|
737
|
+
- grammars/source.sexp.json
|
722
738
|
- grammars/source.shaderlab.json
|
723
739
|
- grammars/source.shell.json
|
724
740
|
- grammars/source.shellcheckrc.json
|
@@ -766,6 +782,7 @@ files:
|
|
766
782
|
- grammars/source.toc.json
|
767
783
|
- grammars/source.toml.json
|
768
784
|
- grammars/source.ts.json
|
785
|
+
- grammars/source.ts.prismaClientRawSQL.json
|
769
786
|
- grammars/source.tsql.json
|
770
787
|
- grammars/source.tsx.json
|
771
788
|
- grammars/source.turing.json
|
@@ -780,6 +797,8 @@ files:
|
|
780
797
|
- grammars/source.vala.json
|
781
798
|
- grammars/source.varnish.vcl.json
|
782
799
|
- grammars/source.vbnet.json
|
800
|
+
- grammars/source.velocity.html.json
|
801
|
+
- grammars/source.velocity.json
|
783
802
|
- grammars/source.verilog.json
|
784
803
|
- grammars/source.vhdl.json
|
785
804
|
- grammars/source.vim-snippet.json
|
@@ -795,6 +814,7 @@ files:
|
|
795
814
|
- grammars/source.win32-messages.json
|
796
815
|
- grammars/source.witcherscript.json
|
797
816
|
- grammars/source.wollok.json
|
817
|
+
- grammars/source.wren.json
|
798
818
|
- grammars/source.ws.json
|
799
819
|
- grammars/source.wsd.json
|
800
820
|
- grammars/source.x10.json
|
@@ -817,6 +837,7 @@ files:
|
|
817
837
|
- grammars/source.zenscript.json
|
818
838
|
- grammars/source.zig.json
|
819
839
|
- grammars/source.zil.json
|
840
|
+
- grammars/text.adblock.json
|
820
841
|
- grammars/text.bibtex.json
|
821
842
|
- grammars/text.browserslist.json
|
822
843
|
- grammars/text.cfml.basic.json
|
@@ -966,7 +987,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
966
987
|
- !ruby/object:Gem::Version
|
967
988
|
version: '0'
|
968
989
|
requirements: []
|
969
|
-
rubygems_version: 3.
|
990
|
+
rubygems_version: 3.3.10
|
970
991
|
signing_key:
|
971
992
|
specification_version: 4
|
972
993
|
summary: GitHub Language detection
|