github-linguist 5.0.6 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/source.bsl.json +196 -162
  3. data/grammars/source.ceylon.json +43 -21
  4. data/grammars/source.coffee.json +46 -21
  5. data/grammars/source.cs.json +2 -2
  6. data/grammars/source.csound-score.json +41 -18
  7. data/grammars/source.csound.json +63 -7
  8. data/grammars/source.css.json +2 -2
  9. data/grammars/source.css.less.json +22 -91
  10. data/grammars/source.ditroff.json +114 -116
  11. data/grammars/source.gfm.clean.json +28 -0
  12. data/grammars/source.gfm.json +1 -0
  13. data/grammars/source.jison.json +678 -0
  14. data/grammars/source.jisonlex-injection.json +11 -0
  15. data/grammars/source.jisonlex.json +432 -0
  16. data/grammars/source.js.json +12 -67
  17. data/grammars/source.jsdoc.json +485 -0
  18. data/grammars/source.p4.json +15 -0
  19. data/grammars/source.perl6fe.json +37 -1
  20. data/grammars/source.puppet.json +1 -1
  21. data/grammars/source.python.json +6 -3
  22. data/grammars/source.quoting.perl6fe.json +101 -0
  23. data/grammars/source.rpm-spec.json +7 -3
  24. data/grammars/source.scad.json +152 -0
  25. data/grammars/source.shaderlab.json +42 -15
  26. data/grammars/source.terraform.json +18 -0
  27. data/grammars/source.yaml.json +57 -32
  28. data/grammars/text.html.php.blade.json +1 -1
  29. data/grammars/text.marko.json +1522 -0
  30. data/grammars/text.roff.json +9 -6
  31. data/lib/linguist.rb +2 -2
  32. data/lib/linguist/documentation.yml +4 -3
  33. data/lib/linguist/heuristics.rb +2 -0
  34. data/lib/linguist/languages.json +1 -1
  35. data/lib/linguist/languages.yml +33 -1
  36. data/lib/linguist/samples.json +423 -48
  37. data/lib/linguist/version.rb +1 -1
  38. metadata +13 -7
  39. data/grammars/module.ceylon.json +0 -54
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "5.0.6"
2
+ VERSION = "5.0.7"
3
3
  end
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: 5.0.6
4
+ version: 5.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-22 00:00:00.000000000 Z
11
+ date: 2017-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -182,16 +182,16 @@ dependencies:
182
182
  name: licensee
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ">="
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 8.6.0
187
+ version: 8.8.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ">="
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 8.6.0
194
+ version: 8.8.0
195
195
  description: We use this library at GitHub to detect blob languages, highlight code,
196
196
  ignore binary files, suppress generated files in diffs, and generate language breakdown
197
197
  graphs.
@@ -210,7 +210,6 @@ files:
210
210
  - grammars/hint.haskell.json
211
211
  - grammars/hint.message.haskell.json
212
212
  - grammars/hint.type.haskell.json
213
- - grammars/module.ceylon.json
214
213
  - grammars/objdump.x86asm.json
215
214
  - grammars/source.Kotlin.json
216
215
  - grammars/source.LS.json
@@ -328,6 +327,7 @@ files:
328
327
  - grammars/source.gdb.session.json
329
328
  - grammars/source.gdbregs.json
330
329
  - grammars/source.gdscript.json
330
+ - grammars/source.gfm.clean.json
331
331
  - grammars/source.gfm.json
332
332
  - grammars/source.glsl.json
333
333
  - grammars/source.gn.json
@@ -363,12 +363,16 @@ files:
363
363
  - grammars/source.java.json
364
364
  - grammars/source.jcl.json
365
365
  - grammars/source.jflex.json
366
+ - grammars/source.jison.json
367
+ - grammars/source.jisonlex-injection.json
368
+ - grammars/source.jisonlex.json
366
369
  - grammars/source.jq.json
367
370
  - grammars/source.js.json
368
371
  - grammars/source.js.jsx.json
369
372
  - grammars/source.js.objj.json
370
373
  - grammars/source.js.regexp.json
371
374
  - grammars/source.js.regexp.replacement.json
375
+ - grammars/source.jsdoc.json
372
376
  - grammars/source.json.json
373
377
  - grammars/source.julia.json
374
378
  - grammars/source.lean.json
@@ -484,6 +488,7 @@ files:
484
488
  - grammars/source.sas.json
485
489
  - grammars/source.sass.json
486
490
  - grammars/source.sbt.json
491
+ - grammars/source.scad.json
487
492
  - grammars/source.scala.json
488
493
  - grammars/source.scaml.json
489
494
  - grammars/source.scheme.json
@@ -586,6 +591,7 @@ files:
586
591
  - grammars/text.jade.json
587
592
  - grammars/text.junit-test-report.json
588
593
  - grammars/text.log.latex.json
594
+ - grammars/text.marko.json
589
595
  - grammars/text.python.console.json
590
596
  - grammars/text.python.traceback.json
591
597
  - grammars/text.rdoc.json
@@ -1,54 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "module.ceylon"
4
- ],
5
- "foldingStartMarker": "(\\{\\s*(//.*)?$|^\\s*// \\{\\{\\{)",
6
- "foldingStopMarker": "^\\s*(\\}|// \\}\\}\\}$)",
7
- "keyEquivalent": "^~C",
8
- "name": "Ceylon Module",
9
- "patterns": [
10
- {
11
- "begin": "/\\*",
12
- "end": "\\*/",
13
- "name": "comment.multiline.ceylon"
14
- },
15
- {
16
- "match": "//.*$",
17
- "name": "comment.singleline.ceylon"
18
- },
19
- {
20
- "match": "^#!/.*$",
21
- "name": "comment.shebang.ceylon"
22
- },
23
- {
24
- "match": "\\b(module|import)\\b",
25
- "name": "keyword.control.ceylon"
26
- },
27
- {
28
- "match": "\\b(doc|by|license|see|throws|tagged|deprecated|shared|optional|suppressWarnings)\\b",
29
- "name": "keyword.other.ceylon"
30
- },
31
- {
32
- "match": "([A-Z][a-zA-Z0-9_]*|\\\\I[a-zA-Z0-9_]+)",
33
- "name": "storage.type.upcase.ceylon"
34
- },
35
- {
36
- "match": "([a-z][a-zA-Z0-9_]*|\\\\i[a-zA-Z0-9_]+)(\\.([a-z][a-zA-Z0-9_]*|\\\\i[a-zA-Z0-9_]+))+",
37
- "name": "variable.parameter.package.ceylon"
38
- },
39
- {
40
- "match": "([a-z][a-zA-Z0-9_]*|\\\\i[a-zA-Z0-9_]+)",
41
- "name": "variable.other.lowercase.ceylon"
42
- },
43
- {
44
- "match": "([a-z][a-zA-Z0-9_]*|\\\\i[a-zA-Z0-9_]+)",
45
- "name": "variable.other.ceylon"
46
- },
47
- {
48
- "begin": "(\"\"\"|\"|')",
49
- "end": "\\1",
50
- "name": "string.ceylon"
51
- }
52
- ],
53
- "scopeName": "module.ceylon"
54
- }