github-linguist 7.9.0 → 7.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/etc.json +260 -1
  3. data/grammars/hidden.manref.json +1 -1
  4. data/grammars/hidden.regexp.injection-shell.json +28 -0
  5. data/grammars/source.4dm.json +57 -1
  6. data/grammars/source.abap.json +1 -1
  7. data/grammars/source.abl.json +685 -83
  8. data/grammars/source.agda.json +7 -7
  9. data/grammars/source.ballerina.json +1 -1
  10. data/grammars/source.c++.json +4 -4
  11. data/grammars/source.c.platform.json +584 -33
  12. data/grammars/source.chapel.json +5 -2
  13. data/grammars/source.css.json +1 -1
  14. data/grammars/source.curlrc.json +4 -4
  15. data/grammars/source.d.json +2 -2
  16. data/grammars/source.futhark.json +146 -0
  17. data/grammars/source.gcode.json +2 -2
  18. data/grammars/source.gedcom.json +196 -0
  19. data/grammars/source.generic-db.json +41 -0
  20. data/grammars/source.gfm.blade.json +15 -0
  21. data/grammars/source.gfm.json +1697 -1439
  22. data/grammars/source.httpspec.json +1 -1
  23. data/grammars/source.hx.json +5 -5
  24. data/grammars/source.hxml.json +2 -2
  25. data/grammars/source.idris.json +1 -1
  26. data/grammars/source.inputrc.json +1 -1
  27. data/grammars/source.isabelle.root.json +1 -1
  28. data/grammars/source.jison.json +3 -0
  29. data/grammars/source.jisonlex.json +3 -0
  30. data/grammars/source.julia.json +1 -1
  31. data/grammars/source.kotlin.json +17 -51
  32. data/grammars/source.lcov.json +398 -0
  33. data/grammars/source.lean.json +1 -1
  34. data/grammars/source.m2.json +125 -0
  35. data/grammars/source.man-conf.json +2 -2
  36. data/grammars/source.modula-3.json +10 -0
  37. data/grammars/{source.mrc.json → source.msl.json} +114 -99
  38. data/grammars/source.neon.json +381 -0
  39. data/grammars/source.objc.platform.json +493 -35
  40. data/grammars/source.openbsd-pkg.contents.json +128 -0
  41. data/grammars/source.p4.json +5 -21
  42. data/grammars/source.perl6fe.json +1 -1
  43. data/grammars/source.postscript.json +358 -103
  44. data/grammars/source.prisma.json +1 -1
  45. data/grammars/source.purescript.json +29 -2
  46. data/grammars/source.python.json +50 -0
  47. data/grammars/source.q.json +150 -63
  48. data/grammars/source.r.json +4 -4
  49. data/grammars/source.sieve.json +383 -0
  50. data/grammars/source.solidity.json +1 -1
  51. data/grammars/source.tags.json +266 -0
  52. data/grammars/source.ts.json +104 -36
  53. data/grammars/source.tsx.json +104 -36
  54. data/grammars/source.v.json +55 -24
  55. data/grammars/source.viml.json +3 -3
  56. data/grammars/source.webidl.json +8 -0
  57. data/grammars/source.wsd.json +25 -19
  58. data/grammars/source.x86.json +7 -3
  59. data/grammars/source.zig.json +84 -78
  60. data/grammars/text.dfy.dafny.json +188 -0
  61. data/grammars/text.html.php.blade.json +535 -528
  62. data/grammars/text.openbsd-pkg.desc.json +78 -0
  63. data/grammars/text.roff.json +49 -1
  64. data/grammars/text.sfd.json +21 -0
  65. data/grammars/text.xml.svg.json +8 -2
  66. data/grammars/version +1 -1
  67. data/lib/linguist/VERSION +1 -1
  68. data/lib/linguist/generated.rb +23 -6
  69. data/lib/linguist/languages.json +1 -1
  70. data/lib/linguist/languages.yml +74 -6
  71. data/lib/linguist/samples.json +4614 -150
  72. data/lib/linguist/vendor.yml +64 -62
  73. metadata +22 -10
  74. data/grammars/text.html.abl.json +0 -70
@@ -5,7 +5,7 @@
5
5
  # pathname.
6
6
  #
7
7
  # Please add additional test coverage to
8
- # `test/test_blob.rb#test_vendored` if you make any changes.
8
+ # `test/test_file_blob.rb#test_vendored` if you make any changes.
9
9
 
10
10
  ## Vendor Conventions ##
11
11
 
@@ -21,47 +21,48 @@
21
21
  # C deps
22
22
  - ^deps/
23
23
  - (^|/)configure$
24
- - (^|/)config.guess$
25
- - (^|/)config.sub$
24
+ - (^|/)config\.guess$
25
+ - (^|/)config\.sub$
26
26
 
27
27
  # stuff autogenerated by autoconf - still C deps
28
- - (^|/)aclocal.m4
29
- - (^|/)libtool.m4
30
- - (^|/)ltoptions.m4
31
- - (^|/)ltsugar.m4
32
- - (^|/)ltversion.m4
33
- - (^|/)lt~obsolete.m4
28
+ - (^|/)aclocal\.m4
29
+ - (^|/)libtool\.m4
30
+ - (^|/)ltoptions\.m4
31
+ - (^|/)ltsugar\.m4
32
+ - (^|/)ltversion\.m4
33
+ - (^|/)lt~obsolete\.m4
34
34
 
35
35
  # .NET Core Install Scripts
36
- - dotnet-install\.(ps1|sh)$
36
+ - (^|/)dotnet-install\.(ps1|sh)$
37
37
 
38
38
  # Linters
39
- - cpplint.py
39
+ - (^|/)cpplint\.py
40
40
 
41
41
  # Node dependencies
42
- - node_modules/
42
+ - (^|/)node_modules/
43
43
 
44
- # Yarn releases
44
+ # Yarn releases & plugins
45
45
  - (^|/)\.yarn/releases/
46
+ - (^|/)\.yarn/plugins/
46
47
 
47
48
  # esy.sh dependencies
48
49
  - (^|/)_esy$
49
50
 
50
51
  # Bower Components
51
- - bower_components/
52
+ - (^|/)bower_components/
52
53
 
53
54
  # Erlang bundles
54
55
  - ^rebar$
55
- - erlang.mk
56
+ - (^|/)erlang\.mk
56
57
 
57
58
  # Go dependencies
58
- - Godeps/_workspace/
59
+ - (^|/)Godeps/_workspace/
59
60
 
60
61
  # Go fixtures
61
62
  - (^|/)testdata/
62
63
 
63
64
  # GNU indent profiles
64
- - .indent.pro
65
+ - (^|/)\.indent\.pro
65
66
 
66
67
  # Minified JavaScript and CSS
67
68
  - (\.|-)min\.(js|css)$
@@ -103,18 +104,18 @@
103
104
 
104
105
  # Vendored dependencies
105
106
  - (3rd|[Tt]hird)[-_]?[Pp]arty/
106
- - vendors?/
107
- - extern(al)?/
107
+ - (^|/)vendors?/
108
+ - (^|/)extern(al)?/
108
109
  - (^|/)[Vv]+endor/
109
110
 
110
111
  # Debian packaging
111
112
  - ^debian/
112
113
 
113
114
  # Haxelib projects often contain a neko bytecode file named run.n
114
- - run.n$
115
+ - (^|/)run\.n$
115
116
 
116
117
  # Bootstrap Datepicker
117
- - bootstrap-datepicker/
118
+ - (^|/)bootstrap-datepicker/
118
119
 
119
120
  ## Commonly Bundled JavaScript frameworks ##
120
121
 
@@ -127,44 +128,44 @@
127
128
  - (^|/)jquery\.(ui|effects)\.([^.]*)\.(js|css)$
128
129
 
129
130
  # jQuery Gantt
130
- - jquery.fn.gantt.js
131
+ - (^|/)jquery\.fn\.gantt\.js
131
132
 
132
133
  # jQuery fancyBox
133
- - jquery.fancybox.(js|css)
134
+ - (^|/)jquery\.fancybox\.(js|css)
134
135
 
135
136
  # Fuel UX
136
- - fuelux.js
137
+ - (^|/)fuelux\.js
137
138
 
138
139
  # jQuery File Upload
139
140
  - (^|/)jquery\.fileupload(-\w+)?\.js$
140
141
 
141
142
  # jQuery dataTables
142
- - jquery.dataTables.js
143
+ - (^|/)jquery\.dataTables\.js
143
144
 
144
145
  # bootboxjs
145
- - bootbox.js
146
+ - (^|/)bootbox\.js
146
147
 
147
148
  # pdf-worker
148
- - pdf.worker.js
149
+ - (^|/)pdf\.worker\.js
149
150
 
150
151
  # Slick
151
152
  - (^|/)slick\.\w+.js$
152
153
 
153
154
  # Leaflet plugins
154
155
  - (^|/)Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$
155
- - leaflet.draw-src.js
156
- - leaflet.draw.css
157
- - Control.FullScreen.css
158
- - Control.FullScreen.js
159
- - leaflet.spin.js
160
- - wicket-leaflet.js
156
+ - (^|/)leaflet\.draw-src\.js
157
+ - (^|/)leaflet\.draw\.css
158
+ - (^|/)Control\.FullScreen\.css
159
+ - (^|/)Control\.FullScreen\.js
160
+ - (^|/)leaflet\.spin\.js
161
+ - (^|/)wicket-leaflet\.js
161
162
 
162
163
  # Sublime Text workspace files
163
- - .sublime-project
164
- - .sublime-workspace
164
+ - (^|/)\.sublime-project
165
+ - (^|/)\.sublime-workspace
165
166
 
166
167
  # VS Code workspace files
167
- - .vscode
168
+ - (^|/)\.vscode/
168
169
 
169
170
  # Prototype
170
171
  - (^|/)prototype(.*)\.js$
@@ -242,17 +243,18 @@
242
243
  - (^|/)env/
243
244
 
244
245
  # Fabric
245
- - ^fabfile\.py$
246
+ - (^|/)fabfile\.py$
246
247
 
247
248
  # WAF
248
- - ^waf$
249
+ - (^|/)waf$
249
250
 
250
251
  # .osx
251
- - ^.osx$
252
+ - (^|/)\.osx$
252
253
 
253
254
  ## Obj-C ##
254
255
 
255
256
  # Xcode
257
+ ### these can be part of a directory name
256
258
 
257
259
  - \.xctemplate/
258
260
  - \.imageset/
@@ -264,24 +266,24 @@
264
266
  - (^|/)Sparkle/
265
267
 
266
268
  # Crashlytics
267
- - Crashlytics.framework/
269
+ - (^|/)Crashlytics\.framework/
268
270
 
269
271
  # Fabric
270
- - Fabric.framework/
272
+ - (^|/)Fabric\.framework/
271
273
 
272
274
  # BuddyBuild
273
- - BuddyBuildSDK.framework/
275
+ - (^|/)BuddyBuildSDK\.framework/
274
276
 
275
277
  # Realm
276
- - Realm.framework
278
+ - (^|/)Realm\.framework
277
279
 
278
280
  # RealmSwift
279
- - RealmSwift.framework
281
+ - (^|/)RealmSwift\.framework
280
282
 
281
283
  # git config files
282
- - gitattributes$
283
- - gitignore$
284
- - gitmodules$
284
+ - (^|/)\.gitattributes$
285
+ - (^|/)\.gitignore$
286
+ - (^|/)\.gitmodules$
285
287
 
286
288
  ## Groovy ##
287
289
 
@@ -311,7 +313,7 @@
311
313
  - (^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$
312
314
 
313
315
  # NuGet
314
- - ^[Pp]ackages\/.+\.\d+\/
316
+ - (^|/)[Pp]ackages\/.+\.\d+\/
315
317
 
316
318
  # ExtJS
317
319
  - (^|/)extjs/.*?\.js$
@@ -319,7 +321,7 @@
319
321
  - (^|/)extjs/.*?\.txt$
320
322
  - (^|/)extjs/.*?\.html$
321
323
  - (^|/)extjs/.*?\.properties$
322
- - (^|/)extjs/.sencha/
324
+ - (^|/)extjs/\.sencha/
323
325
  - (^|/)extjs/docs/
324
326
  - (^|/)extjs/builds/
325
327
  - (^|/)extjs/cmd/
@@ -335,43 +337,43 @@
335
337
  - (^|/)html5shiv\.js$
336
338
 
337
339
  # Test fixtures
338
- - ^[Tt]ests?/fixtures/
339
- - ^[Ss]pecs?/fixtures/
340
+ - (^|/)[Tt]ests?/fixtures/
341
+ - (^|/)[Ss]pecs?/fixtures/
340
342
 
341
343
  # PhoneGap/Cordova
342
344
  - (^|/)cordova([^.]*)\.js$
343
345
  - (^|/)cordova\-\d\.\d(\.\d)?\.js$
344
346
 
345
347
  # Foundation js
346
- - foundation(\..*)?\.js$
348
+ - (^|/)foundation(\..*)?\.js$
347
349
 
348
350
  # Vagrant
349
- - ^Vagrantfile$
351
+ - (^|/)Vagrantfile$
350
352
 
351
353
  # .DS_Stores
352
- - .[Dd][Ss]_[Ss]tore$
354
+ - (^|/)\.[Dd][Ss]_[Ss]tore$
353
355
 
354
356
  # R packages
355
- - ^vignettes/
356
- - ^inst/extdata/
357
+ - (^|/)vignettes/
358
+ - (^|/)inst/extdata/
357
359
 
358
360
  # Octicons
359
- - octicons.css
360
- - sprockets-octicons.scss
361
+ - (^|/)octicons\.css
362
+ - (^|/)sprockets-octicons\.scss
361
363
 
362
364
  # Typesafe Activator
363
365
  - (^|/)activator$
364
366
  - (^|/)activator\.bat$
365
367
 
366
368
  # ProGuard
367
- - proguard.pro
368
- - proguard-rules.pro
369
+ - (^|/)proguard\.pro$
370
+ - (^|/)proguard-rules\.pro$
369
371
 
370
372
  # PuPHPet
371
- - ^puphpet/
373
+ - (^|/)puphpet/
372
374
 
373
375
  # Android Google APIs
374
376
  - (^|/)\.google_apis/
375
377
 
376
378
  # Jenkins Pipeline
377
- - ^Jenkinsfile$
379
+ - (^|/)Jenkinsfile$
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.9.0
4
+ version: 7.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-19 00:00:00.000000000 Z
11
+ date: 2020-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.6
19
+ version: 0.7.7
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.7.6
26
+ version: 0.7.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: escape_utils
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -223,7 +223,7 @@ dependencies:
223
223
  description: We use this library at GitHub to detect blob languages, highlight code,
224
224
  ignore binary files, suppress generated files in diffs, and generate language breakdown
225
225
  graphs.
226
- email:
226
+ email:
227
227
  executables:
228
228
  - github-linguist
229
229
  - git-linguist
@@ -247,6 +247,7 @@ files:
247
247
  - grammars/etc.json
248
248
  - grammars/file.lasso.json
249
249
  - grammars/hidden.manref.json
250
+ - grammars/hidden.regexp.injection-shell.json
250
251
  - grammars/hint.haskell.json
251
252
  - grammars/hint.message.haskell.json
252
253
  - grammars/hint.type.haskell.json
@@ -379,14 +380,18 @@ files:
379
380
  - grammars/source.fsharp.fsx.json
380
381
  - grammars/source.fsharp.json
381
382
  - grammars/source.fstar.json
383
+ - grammars/source.futhark.json
382
384
  - grammars/source.gap.json
383
385
  - grammars/source.gcode.json
384
386
  - grammars/source.gdb.json
385
387
  - grammars/source.gdb.session.json
386
388
  - grammars/source.gdbregs.json
387
389
  - grammars/source.gdscript.json
390
+ - grammars/source.gedcom.json
391
+ - grammars/source.generic-db.json
388
392
  - grammars/source.gerber.json
389
393
  - grammars/source.gf.json
394
+ - grammars/source.gfm.blade.json
390
395
  - grammars/source.gfm.json
391
396
  - grammars/source.gitattributes.json
392
397
  - grammars/source.gitconfig.json
@@ -456,6 +461,7 @@ files:
456
461
  - grammars/source.julia.console.json
457
462
  - grammars/source.julia.json
458
463
  - grammars/source.kotlin.json
464
+ - grammars/source.lcov.json
459
465
  - grammars/source.lean.json
460
466
  - grammars/source.lean.markdown.json
461
467
  - grammars/source.lex.json
@@ -472,6 +478,7 @@ files:
472
478
  - grammars/source.lsl.json
473
479
  - grammars/source.ltspice.symbol.json
474
480
  - grammars/source.lua.json
481
+ - grammars/source.m2.json
475
482
  - grammars/source.m4.json
476
483
  - grammars/source.m68k.json
477
484
  - grammars/source.makefile.json
@@ -495,13 +502,14 @@ files:
495
502
  - grammars/source.monkey.json
496
503
  - grammars/source.moonscript.json
497
504
  - grammars/source.mql5.json
498
- - grammars/source.mrc.json
505
+ - grammars/source.msl.json
499
506
  - grammars/source.mupad.json
500
507
  - grammars/source.nanorc.json
501
508
  - grammars/source.nasl.json
502
509
  - grammars/source.ncl.json
503
510
  - grammars/source.ne.json
504
511
  - grammars/source.nemerle.json
512
+ - grammars/source.neon.json
505
513
  - grammars/source.nesc.json
506
514
  - grammars/source.netlinx.erb.json
507
515
  - grammars/source.netlinx.json
@@ -534,6 +542,7 @@ files:
534
542
  - grammars/source.opa.json
535
543
  - grammars/source.opal.json
536
544
  - grammars/source.opalsysdefs.json
545
+ - grammars/source.openbsd-pkg.contents.json
537
546
  - grammars/source.opencobol.json
538
547
  - grammars/source.opentype.json
539
548
  - grammars/source.opts.json
@@ -618,6 +627,7 @@ files:
618
627
  - grammars/source.shaderlab.json
619
628
  - grammars/source.shell.json
620
629
  - grammars/source.shen.json
630
+ - grammars/source.sieve.json
621
631
  - grammars/source.slice.json
622
632
  - grammars/source.smali.json
623
633
  - grammars/source.smalltalk.json
@@ -639,6 +649,7 @@ files:
639
649
  - grammars/source.swift.json
640
650
  - grammars/source.sy.json
641
651
  - grammars/source.systemverilog.json
652
+ - grammars/source.tags.json
642
653
  - grammars/source.tcl.json
643
654
  - grammars/source.tea.json
644
655
  - grammars/source.terra.json
@@ -697,6 +708,7 @@ files:
697
708
  - grammars/text.bibtex.json
698
709
  - grammars/text.cfml.basic.json
699
710
  - grammars/text.conllu.json
711
+ - grammars/text.dfy.dafny.json
700
712
  - grammars/text.elixir.json
701
713
  - grammars/text.eml.basic.json
702
714
  - grammars/text.error-list.json
@@ -704,7 +716,6 @@ files:
704
716
  - grammars/text.gherkin.feature.json
705
717
  - grammars/text.haml.json
706
718
  - grammars/text.hamlc.json
707
- - grammars/text.html.abl.json
708
719
  - grammars/text.html.asciidoc.json
709
720
  - grammars/text.html.asdoc.json
710
721
  - grammars/text.html.asp.json
@@ -746,6 +757,7 @@ files:
746
757
  - grammars/text.log.latex.json
747
758
  - grammars/text.marko.json
748
759
  - grammars/text.muse.json
760
+ - grammars/text.openbsd-pkg.desc.json
749
761
  - grammars/text.plain.json
750
762
  - grammars/text.python.console.json
751
763
  - grammars/text.python.traceback.json
@@ -813,7 +825,7 @@ licenses:
813
825
  - MIT
814
826
  metadata:
815
827
  github_repo: ssh://github.com/github/linguist
816
- post_install_message:
828
+ post_install_message:
817
829
  rdoc_options: []
818
830
  require_paths:
819
831
  - lib
@@ -829,7 +841,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
829
841
  version: '0'
830
842
  requirements: []
831
843
  rubygems_version: 3.0.3
832
- signing_key:
844
+ signing_key:
833
845
  specification_version: 4
834
846
  summary: GitHub Language detection
835
847
  test_files: []
@@ -1,70 +0,0 @@
1
- {
2
- "name": "HTML (ABL)",
3
- "scopeName": "text.html.abl",
4
- "patterns": [
5
- {
6
- "name": "source.abl",
7
- "begin": ".*(\u003c)(script) (language)(=)(\"SpeedScript\")(\u003e)",
8
- "end": ".*(\u003c/)(script)(\u003e)",
9
- "patterns": [
10
- {
11
- "include": "source.abl"
12
- }
13
- ],
14
- "beginCaptures": {
15
- "1": {
16
- "name": "punctuation.definition.tag.begin.html"
17
- },
18
- "2": {
19
- "name": "entity.name.tag.script.html"
20
- },
21
- "3": {
22
- "name": "entity.other.attribute-name.html"
23
- },
24
- "4": {
25
- "name": "meta.tag.inline.any.html"
26
- },
27
- "5": {
28
- "name": "string.double.quoted.html"
29
- },
30
- "6": {
31
- "name": "punctuation.definition.tag.end.html"
32
- }
33
- },
34
- "endCaptures": {
35
- "1": {
36
- "name": "punctuation.definition.tag.begin.html"
37
- },
38
- "2": {
39
- "name": "entity.name.tag.script.html"
40
- },
41
- "3": {
42
- "name": "punctuation.definition.tag.end.html"
43
- }
44
- }
45
- },
46
- {
47
- "name": "source.abl",
48
- "begin": "\\`",
49
- "end": "\\`",
50
- "patterns": [
51
- {
52
- "include": "source.abl"
53
- }
54
- ],
55
- "beginCaptures": {
56
- "0": {
57
- "name": "string.double.quoted.html"
58
- }
59
- },
60
- "endCaptures": {
61
- "0": {
62
- "name": "string.double.quoted.html"
63
- }
64
- }
65
- },
66
- {
67
- "include": "text.html.basic"
68
- }
69
- ]
70
- }