github-linguist 4.8.9 → 4.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/git-linguist +2 -2
- data/grammars/source.ats.json +58 -128
- data/grammars/source.autoit.json +158 -153
- data/grammars/source.awk.json +333 -383
- data/grammars/source.batchfile.json +194 -0
- data/grammars/source.c.platform.json +359 -22
- data/grammars/source.changelogs.rpm-spec.json +99 -0
- data/grammars/source.clojure.json +9 -3
- data/grammars/source.dockerfile.json +67 -78
- data/grammars/source.elm.json +20 -379
- data/grammars/source.emacs.lisp.json +656 -0
- data/grammars/source.gdscript.json +233 -228
- data/grammars/source.graphql.json +75 -10
- data/grammars/source.js.json +2 -2
- data/grammars/source.js.jsx.json +247 -839
- data/grammars/source.js.regexp.json +1 -1
- data/grammars/source.nginx.json +882 -768
- data/grammars/source.nsis.json +151 -143
- data/grammars/source.objc.json +3 -0
- data/grammars/source.objc.platform.json +174 -104
- data/grammars/source.puppet.json +429 -396
- data/grammars/source.pyjade.json +11 -0
- data/grammars/source.regexp.babel.json +1 -1
- data/grammars/source.rpm-spec.json +770 -0
- data/grammars/source.systemverilog.json +1110 -961
- data/grammars/source.ts.json +57 -57
- data/grammars/source.tsx.json +57 -57
- data/grammars/text.dart-analysis-output.json +67 -152
- data/grammars/text.error-list.json +54 -0
- data/grammars/text.find-refs.json +927 -0
- data/grammars/text.html.basic.json +1 -1
- data/grammars/text.html.mediawiki.elm-build-output.json +108 -0
- data/grammars/text.html.mediawiki.elm-documentation.json +22 -0
- data/grammars/text.html.vue.json +35 -0
- data/grammars/text.jade.json +34 -12
- data/grammars/text.roff.json +1 -1
- data/lib/linguist/heuristics.rb +16 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +25 -5
- data/lib/linguist/samples.json +1367 -163
- data/lib/linguist/version.rb +1 -1
- metadata +10 -3
- data/grammars/source.dosbatch.json +0 -70
    
        data/lib/linguist/version.rb
    CHANGED
    
    
    
        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: 4.8. | 
| 4 | 
            +
              version: 4.8.10
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - GitHub
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2016- | 
| 11 | 
            +
            date: 2016-09-12 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: charlock_holmes
         | 
| @@ -239,6 +239,7 @@ files: | |
| 239 239 | 
             
            - grammars/source.ats.json
         | 
| 240 240 | 
             
            - grammars/source.autoit.json
         | 
| 241 241 | 
             
            - grammars/source.awk.json
         | 
| 242 | 
            +
            - grammars/source.batchfile.json
         | 
| 242 243 | 
             
            - grammars/source.befunge.json
         | 
| 243 244 | 
             
            - grammars/source.bf.json
         | 
| 244 245 | 
             
            - grammars/source.bison.json
         | 
| @@ -263,6 +264,7 @@ files: | |
| 263 264 | 
             
            - grammars/source.ceylon.json
         | 
| 264 265 | 
             
            - grammars/source.cfscript.cfc.json
         | 
| 265 266 | 
             
            - grammars/source.cfscript.json
         | 
| 267 | 
            +
            - grammars/source.changelogs.rpm-spec.json
         | 
| 266 268 | 
             
            - grammars/source.chapel.json
         | 
| 267 269 | 
             
            - grammars/source.cirru.json
         | 
| 268 270 | 
             
            - grammars/source.clarion.json
         | 
| @@ -295,12 +297,12 @@ files: | |
| 295 297 | 
             
            - grammars/source.dm.json
         | 
| 296 298 | 
             
            - grammars/source.dmf.json
         | 
| 297 299 | 
             
            - grammars/source.dockerfile.json
         | 
| 298 | 
            -
            - grammars/source.dosbatch.json
         | 
| 299 300 | 
             
            - grammars/source.dot.json
         | 
| 300 301 | 
             
            - grammars/source.dylan.json
         | 
| 301 302 | 
             
            - grammars/source.eiffel.json
         | 
| 302 303 | 
             
            - grammars/source.elixir.json
         | 
| 303 304 | 
             
            - grammars/source.elm.json
         | 
| 305 | 
            +
            - grammars/source.emacs.lisp.json
         | 
| 304 306 | 
             
            - grammars/source.erazor.json
         | 
| 305 307 | 
             
            - grammars/source.erlang.json
         | 
| 306 308 | 
             
            - grammars/source.essl.json
         | 
| @@ -459,6 +461,7 @@ files: | |
| 459 461 | 
             
            - grammars/source.regexp.spin.json
         | 
| 460 462 | 
             
            - grammars/source.renpy.json
         | 
| 461 463 | 
             
            - grammars/source.rexx.json
         | 
| 464 | 
            +
            - grammars/source.rpm-spec.json
         | 
| 462 465 | 
             
            - grammars/source.ruby.json
         | 
| 463 466 | 
             
            - grammars/source.ruby.rspec.cucumber.steps.json
         | 
| 464 467 | 
             
            - grammars/source.rust.json
         | 
| @@ -524,6 +527,8 @@ files: | |
| 524 527 | 
             
            - grammars/text.dart-analysis-output.json
         | 
| 525 528 | 
             
            - grammars/text.dart-doccomments.json
         | 
| 526 529 | 
             
            - grammars/text.elixir.json
         | 
| 530 | 
            +
            - grammars/text.error-list.json
         | 
| 531 | 
            +
            - grammars/text.find-refs.json
         | 
| 527 532 | 
             
            - grammars/text.gherkin.feature.json
         | 
| 528 533 | 
             
            - grammars/text.haml.json
         | 
| 529 534 | 
             
            - grammars/text.html.abl.json
         | 
| @@ -547,6 +552,8 @@ files: | |
| 547 552 | 
             
            - grammars/text.html.mako.json
         | 
| 548 553 | 
             
            - grammars/text.html.markdown.source.gfm.apib.json
         | 
| 549 554 | 
             
            - grammars/text.html.markdown.source.gfm.mson.json
         | 
| 555 | 
            +
            - grammars/text.html.mediawiki.elm-build-output.json
         | 
| 556 | 
            +
            - grammars/text.html.mediawiki.elm-documentation.json
         | 
| 550 557 | 
             
            - grammars/text.html.mediawiki.json
         | 
| 551 558 | 
             
            - grammars/text.html.php.blade.json
         | 
| 552 559 | 
             
            - grammars/text.html.php.json
         | 
| @@ -1,70 +0,0 @@ | |
| 1 | 
            -
            {
         | 
| 2 | 
            -
              "uuid": "E07EC438-7B75-4437-8AA1-DA94C1E6EACC",
         | 
| 3 | 
            -
              "patterns": [
         | 
| 4 | 
            -
                {
         | 
| 5 | 
            -
                  "name": "keyword.command.dosbatch",
         | 
| 6 | 
            -
                  "match": "\\b(?i)(?:append|assoc|at|attrib|break|cacls|cd|chcp|chdir|chkdsk|chkntfs|cls|cmd|color|comp|compact|convert|copy|date|del|dir|diskcomp|diskcopy|doskey|echo|endlocal|erase|fc|find|findstr|format|ftype|graftabl|help|keyb|label|md|mkdir|mode|more|move|path|pause|popd|print|prompt|pushd|rd|recover|rem|ren|rename|replace|restore|rmdir|set|setlocal|shift|sort|start|subst|time|title|tree|type|ver|verify|vol|xcopy)\\b"
         | 
| 7 | 
            -
                },
         | 
| 8 | 
            -
                {
         | 
| 9 | 
            -
                  "name": "keyword.control.statement.dosbatch",
         | 
| 10 | 
            -
                  "match": "\\b(?i)(?:goto|call|exit)\\b"
         | 
| 11 | 
            -
                },
         | 
| 12 | 
            -
                {
         | 
| 13 | 
            -
                  "name": "keyword.control.conditional.if.dosbatch",
         | 
| 14 | 
            -
                  "match": "\\b(?i)if\\s+((not)\\s+)(exist|defined|errorlevel|cmdextversion)\\b"
         | 
| 15 | 
            -
                },
         | 
| 16 | 
            -
                {
         | 
| 17 | 
            -
                  "name": "keyword.control.conditional.dosbatch",
         | 
| 18 | 
            -
                  "match": "\\b(?i)(?:if|else)\\b"
         | 
| 19 | 
            -
                },
         | 
| 20 | 
            -
                {
         | 
| 21 | 
            -
                  "name": "keyword.control.repeat.dosbatch",
         | 
| 22 | 
            -
                  "match": "\\b(?i)for\\b"
         | 
| 23 | 
            -
                },
         | 
| 24 | 
            -
                {
         | 
| 25 | 
            -
                  "name": "keyword.operator.dosbatch",
         | 
| 26 | 
            -
                  "match": "\\b(?:EQU|NEQ|LSS|LEQ|GTR|GEQ)\\b"
         | 
| 27 | 
            -
                },
         | 
| 28 | 
            -
                {
         | 
| 29 | 
            -
                  "captures": {
         | 
| 30 | 
            -
                    "1": {
         | 
| 31 | 
            -
                      "name": "keyword.command.rem.dosbatch"
         | 
| 32 | 
            -
                    }
         | 
| 33 | 
            -
                  },
         | 
| 34 | 
            -
                  "name": "comment.line.rem.dosbatch",
         | 
| 35 | 
            -
                  "match": "(?:^|\\s)((?i)rem)(?:$|\\s.*$)"
         | 
| 36 | 
            -
                },
         | 
| 37 | 
            -
                {
         | 
| 38 | 
            -
                  "name": "comment.line.colons.dosbatch",
         | 
| 39 | 
            -
                  "match": "\\s*:\\s*:.*$"
         | 
| 40 | 
            -
                },
         | 
| 41 | 
            -
                {
         | 
| 42 | 
            -
                  "begin": "\"",
         | 
| 43 | 
            -
                  "endCaptures": {
         | 
| 44 | 
            -
                    "0": {
         | 
| 45 | 
            -
                      "name": "punctuation.definition.string.end.shell"
         | 
| 46 | 
            -
                    }
         | 
| 47 | 
            -
                  },
         | 
| 48 | 
            -
                  "beginCaptures": {
         | 
| 49 | 
            -
                    "0": {
         | 
| 50 | 
            -
                      "name": "punctuation.definition.string.begin.shell"
         | 
| 51 | 
            -
                    }
         | 
| 52 | 
            -
                  },
         | 
| 53 | 
            -
                  "name": "string.quoted.double.dosbatch",
         | 
| 54 | 
            -
                  "end": "\""
         | 
| 55 | 
            -
                },
         | 
| 56 | 
            -
                {
         | 
| 57 | 
            -
                  "name": "keyword.operator.pipe.dosbatch",
         | 
| 58 | 
            -
                  "match": "[|]"
         | 
| 59 | 
            -
                },
         | 
| 60 | 
            -
                {
         | 
| 61 | 
            -
                  "name": "keyword.operator.redirect.shell",
         | 
| 62 | 
            -
                  "match": "&>|\\d*>&\\d*|\\d*(>>|>|<)|\\d*<&|\\d*<>"
         | 
| 63 | 
            -
                }
         | 
| 64 | 
            -
              ],
         | 
| 65 | 
            -
              "name": "MSDOS batch file",
         | 
| 66 | 
            -
              "scopeName": "source.dosbatch",
         | 
| 67 | 
            -
              "fileTypes": [
         | 
| 68 | 
            -
                "bat"
         | 
| 69 | 
            -
              ]
         | 
| 70 | 
            -
            }
         |