github-linguist 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linguist/languages.yml +2 -0
- data/lib/linguist/samples.json +123 -53
- data/lib/linguist/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa06d2beee65c8cef906f4c75c6f03b442e8154b
|
4
|
+
data.tar.gz: a37516fcaf3b5168be335aa5bb12efcfa6ffec45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49d77f050532c4a618036f74e32a52b60137e3f6185d28e2e711b7fe7347d8ea86efc7ba2105660bcbd780848d3f7b1cbcd69cb966c9e238e59132a962a0e833
|
7
|
+
data.tar.gz: 584dddd9c387ea5bd6ab52fb892ad26aaf1e1f327a79668bb28e12f13c1f5e63688dd307b089732b28fc3529c45048eb25a6b76937e2044b6ca09bf9300a63e3
|
data/lib/linguist/languages.yml
CHANGED
@@ -1841,6 +1841,7 @@ Python:
|
|
1841
1841
|
color: "#3581ba"
|
1842
1842
|
extensions:
|
1843
1843
|
- .py
|
1844
|
+
- .cgi
|
1844
1845
|
- .gyp
|
1845
1846
|
- .lmi
|
1846
1847
|
- .pyde
|
@@ -2150,6 +2151,7 @@ Shell:
|
|
2150
2151
|
- .sh
|
2151
2152
|
- .bash
|
2152
2153
|
- .bats
|
2154
|
+
- .cgi
|
2153
2155
|
- .tmux
|
2154
2156
|
- .zsh
|
2155
2157
|
interpreters:
|
data/lib/linguist/samples.json
CHANGED
@@ -516,7 +516,8 @@
|
|
516
516
|
"Prolog": [
|
517
517
|
".ecl",
|
518
518
|
".pl",
|
519
|
-
".prolog"
|
519
|
+
".prolog",
|
520
|
+
".script!"
|
520
521
|
],
|
521
522
|
"Propeller Spin": [
|
522
523
|
".spin"
|
@@ -528,6 +529,7 @@
|
|
528
529
|
".purs"
|
529
530
|
],
|
530
531
|
"Python": [
|
532
|
+
".cgi",
|
531
533
|
".py",
|
532
534
|
".pyde",
|
533
535
|
".pyp",
|
@@ -624,6 +626,7 @@
|
|
624
626
|
],
|
625
627
|
"Shell": [
|
626
628
|
".bash",
|
629
|
+
".cgi",
|
627
630
|
".script!",
|
628
631
|
".sh",
|
629
632
|
".zsh"
|
@@ -851,8 +854,8 @@
|
|
851
854
|
"exception.zep.php"
|
852
855
|
]
|
853
856
|
},
|
854
|
-
"tokens_total":
|
855
|
-
"languages_total":
|
857
|
+
"tokens_total": 659559,
|
858
|
+
"languages_total": 908,
|
856
859
|
"tokens": {
|
857
860
|
"ABAP": {
|
858
861
|
"*/**": 1,
|
@@ -55996,16 +55999,16 @@
|
|
55996
55999
|
"TWO_PI": 1
|
55997
56000
|
},
|
55998
56001
|
"Prolog": {
|
55999
|
-
"-":
|
56002
|
+
"-": 354,
|
56000
56003
|
"module": 4,
|
56001
|
-
"(":
|
56004
|
+
"(": 1165,
|
56002
56005
|
"cpa_admin": 1,
|
56003
|
-
"[":
|
56006
|
+
"[": 291,
|
56004
56007
|
"change_password_form//1": 1,
|
56005
|
-
"]":
|
56006
|
-
")":
|
56007
|
-
".":
|
56008
|
-
"use_module":
|
56008
|
+
"]": 289,
|
56009
|
+
")": 1162,
|
56010
|
+
".": 235,
|
56011
|
+
"use_module": 21,
|
56009
56012
|
"user": 45,
|
56010
56013
|
"user_db": 1,
|
56011
56014
|
"library": 19,
|
@@ -56395,6 +56398,17 @@
|
|
56395
56398
|
"save": 1,
|
56396
56399
|
"with": 3,
|
56397
56400
|
"br": 1,
|
56401
|
+
"SHEBANG#!swipl": 1,
|
56402
|
+
"set_prolog_flag": 1,
|
56403
|
+
"verbose": 1,
|
56404
|
+
"silent": 1,
|
56405
|
+
"dleak": 2,
|
56406
|
+
"initialization": 1,
|
56407
|
+
"main": 2,
|
56408
|
+
"halt.": 1,
|
56409
|
+
"current_prolog_flag": 1,
|
56410
|
+
"argv": 1,
|
56411
|
+
"File": 2,
|
56398
56412
|
"subset": 2,
|
56399
56413
|
"Set": 4,
|
56400
56414
|
"Subset": 6,
|
@@ -59062,6 +59076,86 @@
|
|
59062
59076
|
"entry.completed": 1
|
59063
59077
|
},
|
59064
59078
|
"Python": {
|
59079
|
+
"SHEBANG#!python": 5,
|
59080
|
+
"from": 37,
|
59081
|
+
"model": 9,
|
59082
|
+
"import": 59,
|
59083
|
+
"Feed": 1,
|
59084
|
+
"session": 1,
|
59085
|
+
"datetime": 1,
|
59086
|
+
"sys": 4,
|
59087
|
+
"argv": 5,
|
59088
|
+
"session.argv": 1,
|
59089
|
+
"(": 859,
|
59090
|
+
")": 871,
|
59091
|
+
"feed": 1,
|
59092
|
+
"Feed.get": 1,
|
59093
|
+
"guid": 1,
|
59094
|
+
"[": 168,
|
59095
|
+
"]": 168,
|
59096
|
+
"action": 5,
|
59097
|
+
"if": 162,
|
59098
|
+
"when": 4,
|
59099
|
+
"feed.notify_interval": 1,
|
59100
|
+
"*": 39,
|
59101
|
+
"feed.notify_unit": 1,
|
59102
|
+
"elif": 5,
|
59103
|
+
"len": 12,
|
59104
|
+
"int": 2,
|
59105
|
+
"else": 35,
|
59106
|
+
"print": 40,
|
59107
|
+
"%": 34,
|
59108
|
+
"sys.exit": 2,
|
59109
|
+
"feed.notify_next": 1,
|
59110
|
+
"datetime.datetime.utcnow": 1,
|
59111
|
+
"+": 52,
|
59112
|
+
"datetime.timedelta": 1,
|
59113
|
+
"seconds": 1,
|
59114
|
+
"feed.save": 1,
|
59115
|
+
"response": 1,
|
59116
|
+
"t": 9,
|
59117
|
+
"be": 2,
|
59118
|
+
"notified": 1,
|
59119
|
+
"for": 70,
|
59120
|
+
"another": 2,
|
59121
|
+
"<span>": 1,
|
59122
|
+
"class=": 2,
|
59123
|
+
"{": 28,
|
59124
|
+
"duration": 1,
|
59125
|
+
"}": 28,
|
59126
|
+
"</span>": 1,
|
59127
|
+
".": 2,
|
59128
|
+
"</p>": 3,
|
59129
|
+
"<p>": 2,
|
59130
|
+
"Actions": 1,
|
59131
|
+
"<ul>": 1,
|
59132
|
+
"<li>": 3,
|
59133
|
+
"<a>": 4,
|
59134
|
+
"href=": 4,
|
59135
|
+
"Edit": 1,
|
59136
|
+
"this": 3,
|
59137
|
+
"reminder": 2,
|
59138
|
+
"</a>": 4,
|
59139
|
+
"</li>": 3,
|
59140
|
+
"Create": 1,
|
59141
|
+
"Visit": 1,
|
59142
|
+
"the": 7,
|
59143
|
+
"Reminder": 2,
|
59144
|
+
"Me": 2,
|
59145
|
+
"site": 1,
|
59146
|
+
"</ul>": 1,
|
59147
|
+
"</div>": 2,
|
59148
|
+
"</body>": 1,
|
59149
|
+
"</html>": 1,
|
59150
|
+
"month": 1,
|
59151
|
+
"week": 1,
|
59152
|
+
"day": 1,
|
59153
|
+
"hour": 1,
|
59154
|
+
"minute": 1,
|
59155
|
+
"second": 1,
|
59156
|
+
"s": 2,
|
59157
|
+
".join": 5,
|
59158
|
+
"duration_list": 1,
|
59065
59159
|
"xspacing": 4,
|
59066
59160
|
"#": 28,
|
59067
59161
|
"How": 2,
|
@@ -59071,7 +59165,6 @@
|
|
59071
59165
|
"each": 1,
|
59072
59166
|
"horizontal": 1,
|
59073
59167
|
"location": 1,
|
59074
|
-
"be": 1,
|
59075
59168
|
"spaced": 1,
|
59076
59169
|
"maxwaves": 3,
|
59077
59170
|
"total": 1,
|
@@ -59082,24 +59175,18 @@
|
|
59082
59175
|
"together": 1,
|
59083
59176
|
"theta": 3,
|
59084
59177
|
"amplitude": 3,
|
59085
|
-
"[": 165,
|
59086
|
-
"]": 165,
|
59087
59178
|
"Height": 1,
|
59088
59179
|
"wave": 2,
|
59089
59180
|
"dx": 8,
|
59090
59181
|
"yvalues": 7,
|
59091
59182
|
"def": 87,
|
59092
59183
|
"setup": 2,
|
59093
|
-
"(": 850,
|
59094
|
-
")": 861,
|
59095
59184
|
"size": 5,
|
59096
59185
|
"frameRate": 1,
|
59097
59186
|
"colorMode": 1,
|
59098
59187
|
"RGB": 1,
|
59099
59188
|
"w": 2,
|
59100
59189
|
"width": 1,
|
59101
|
-
"+": 51,
|
59102
|
-
"for": 69,
|
59103
59190
|
"i": 13,
|
59104
59191
|
"in": 91,
|
59105
59192
|
"range": 5,
|
@@ -59109,25 +59196,19 @@
|
|
59109
59196
|
"many": 1,
|
59110
59197
|
"pixels": 1,
|
59111
59198
|
"before": 1,
|
59112
|
-
"the": 6,
|
59113
59199
|
"repeats": 1,
|
59114
59200
|
"dx.append": 1,
|
59115
59201
|
"TWO_PI": 1,
|
59116
59202
|
"/": 26,
|
59117
|
-
"*": 38,
|
59118
59203
|
"_": 6,
|
59119
59204
|
"yvalues.append": 1,
|
59120
59205
|
"draw": 2,
|
59121
59206
|
"background": 2,
|
59122
59207
|
"calcWave": 2,
|
59123
59208
|
"renderWave": 2,
|
59124
|
-
"len": 11,
|
59125
59209
|
"j": 7,
|
59126
59210
|
"x": 34,
|
59127
|
-
"if": 160,
|
59128
|
-
"%": 33,
|
59129
59211
|
"sin": 1,
|
59130
|
-
"else": 33,
|
59131
59212
|
"cos": 1,
|
59132
59213
|
"noStroke": 2,
|
59133
59214
|
"fill": 2,
|
@@ -59137,14 +59218,11 @@
|
|
59137
59218
|
"enumerate": 2,
|
59138
59219
|
"ellipse": 1,
|
59139
59220
|
"height": 1,
|
59140
|
-
"import": 55,
|
59141
59221
|
"os": 2,
|
59142
|
-
"sys": 3,
|
59143
59222
|
"json": 1,
|
59144
59223
|
"c4d": 1,
|
59145
59224
|
"c4dtools": 1,
|
59146
59225
|
"itertools": 1,
|
59147
|
-
"from": 36,
|
59148
59226
|
"c4d.modules": 1,
|
59149
59227
|
"graphview": 1,
|
59150
59228
|
"as": 14,
|
@@ -59158,9 +59236,7 @@
|
|
59158
59236
|
"__res__": 1,
|
59159
59237
|
"settings": 2,
|
59160
59238
|
"c4dtools.helpers.Attributor": 2,
|
59161
|
-
"{": 27,
|
59162
59239
|
"res.file": 3,
|
59163
|
-
"}": 27,
|
59164
59240
|
"align_nodes": 2,
|
59165
59241
|
"nodes": 11,
|
59166
59242
|
"mode": 5,
|
@@ -59171,7 +59247,6 @@
|
|
59171
59247
|
"return": 68,
|
59172
59248
|
"raise": 23,
|
59173
59249
|
"ValueError": 6,
|
59174
|
-
".join": 4,
|
59175
59250
|
"get_0": 12,
|
59176
59251
|
"lambda": 6,
|
59177
59252
|
"x.x": 1,
|
@@ -59418,7 +59493,6 @@
|
|
59418
59493
|
"field.name": 14,
|
59419
59494
|
"base.__name__": 2,
|
59420
59495
|
"base._meta.abstract": 2,
|
59421
|
-
"elif": 4,
|
59422
59496
|
"attr_name": 3,
|
59423
59497
|
"base._meta.module_name": 1,
|
59424
59498
|
"auto_created": 1,
|
@@ -59456,7 +59530,6 @@
|
|
59456
59530
|
"is_next": 9,
|
59457
59531
|
"cls.get_previous_in_order": 1,
|
59458
59532
|
"make_foreign_order_accessors": 2,
|
59459
|
-
"model": 8,
|
59460
59533
|
"field.rel.to": 2,
|
59461
59534
|
"cls.__name__.lower": 2,
|
59462
59535
|
"method_get_order": 2,
|
@@ -59739,7 +59812,6 @@
|
|
59739
59812
|
"A": 1,
|
59740
59813
|
"which": 1,
|
59741
59814
|
"methods": 5,
|
59742
|
-
"this": 2,
|
59743
59815
|
"pluggable": 1,
|
59744
59816
|
"view": 2,
|
59745
59817
|
"can": 1,
|
@@ -59751,7 +59823,6 @@
|
|
59751
59823
|
"based": 1,
|
59752
59824
|
"views": 1,
|
59753
59825
|
"as_view": 1,
|
59754
|
-
".": 1,
|
59755
59826
|
"However": 1,
|
59756
59827
|
"since": 1,
|
59757
59828
|
"moves": 1,
|
@@ -59761,7 +59832,6 @@
|
|
59761
59832
|
"place": 1,
|
59762
59833
|
"where": 1,
|
59763
59834
|
"it": 1,
|
59764
|
-
"s": 1,
|
59765
59835
|
"also": 1,
|
59766
59836
|
"used": 1,
|
59767
59837
|
"instantiating": 1,
|
@@ -59840,14 +59910,11 @@
|
|
59840
59910
|
"Person": 1,
|
59841
59911
|
"_message.Message": 1,
|
59842
59912
|
"_reflection.GeneratedProtocolMessageType": 1,
|
59843
|
-
"SHEBANG#!python": 4,
|
59844
|
-
"print": 39,
|
59845
59913
|
"main": 4,
|
59846
59914
|
"usage": 3,
|
59847
59915
|
"string": 1,
|
59848
59916
|
"command": 4,
|
59849
59917
|
"sys.argv": 2,
|
59850
|
-
"sys.exit": 1,
|
59851
59918
|
"printDelimiter": 4,
|
59852
59919
|
"get": 1,
|
59853
59920
|
"a": 2,
|
@@ -59885,7 +59952,6 @@
|
|
59885
59952
|
"V": 12,
|
59886
59953
|
"np.genfromtxt": 8,
|
59887
59954
|
"delimiter": 8,
|
59888
|
-
"t": 8,
|
59889
59955
|
"U_err": 7,
|
59890
59956
|
"offset": 13,
|
59891
59957
|
"np.mean": 1,
|
@@ -60032,7 +60098,6 @@
|
|
60032
60098
|
"help": 2,
|
60033
60099
|
"dest": 1,
|
60034
60100
|
"default": 1,
|
60035
|
-
"action": 1,
|
60036
60101
|
"version": 6,
|
60037
60102
|
"parser.parse_args": 1,
|
60038
60103
|
"absolute_import": 1,
|
@@ -60120,7 +60185,6 @@
|
|
60120
60185
|
"connection": 5,
|
60121
60186
|
"content_length": 6,
|
60122
60187
|
"headers.get": 2,
|
60123
|
-
"int": 1,
|
60124
60188
|
"self.stream.max_buffer_size": 1,
|
60125
60189
|
"self.stream.read_bytes": 1,
|
60126
60190
|
"self._on_request_body": 1,
|
@@ -63919,18 +63983,18 @@
|
|
63919
63983
|
"assert_checkfalse": 1
|
63920
63984
|
},
|
63921
63985
|
"Shell": {
|
63922
|
-
"SHEBANG#!bash":
|
63986
|
+
"SHEBANG#!bash": 9,
|
63923
63987
|
"typeset": 5,
|
63924
|
-
"-":
|
63988
|
+
"-": 397,
|
63925
63989
|
"i": 2,
|
63926
|
-
"n":
|
63990
|
+
"n": 28,
|
63927
63991
|
"bottles": 6,
|
63928
63992
|
"no": 16,
|
63929
63993
|
"while": 3,
|
63930
63994
|
"[": 85,
|
63931
63995
|
"]": 85,
|
63932
63996
|
"do": 8,
|
63933
|
-
"echo":
|
63997
|
+
"echo": 85,
|
63934
63998
|
"case": 9,
|
63935
63999
|
"{": 63,
|
63936
64000
|
"}": 61,
|
@@ -63988,7 +64052,7 @@
|
|
63988
64052
|
"long": 2,
|
63989
64053
|
"format...": 2,
|
63990
64054
|
"ll": 2,
|
63991
|
-
"|":
|
64055
|
+
"|": 29,
|
63992
64056
|
"less": 2,
|
63993
64057
|
"XF": 2,
|
63994
64058
|
"pipe": 2,
|
@@ -64166,7 +64230,7 @@
|
|
64166
64230
|
"it": 2,
|
64167
64231
|
"pg": 2,
|
64168
64232
|
"patch": 2,
|
64169
|
-
"sed":
|
64233
|
+
"sed": 14,
|
64170
64234
|
"awk": 2,
|
64171
64235
|
"diff": 2,
|
64172
64236
|
"grep": 8,
|
@@ -64651,6 +64715,12 @@
|
|
64651
64715
|
"#residual_args": 1,
|
64652
64716
|
"SHEBANG#!sh": 2,
|
64653
64717
|
"SHEBANG#!zsh": 2,
|
64718
|
+
"day": 1,
|
64719
|
+
"month": 1,
|
64720
|
+
"year": 1,
|
64721
|
+
"hour": 1,
|
64722
|
+
"minute": 1,
|
64723
|
+
"second": 1,
|
64654
64724
|
"name": 1,
|
64655
64725
|
"foodforthought.jpg": 1,
|
64656
64726
|
"name##*fo": 1
|
@@ -73186,11 +73256,11 @@
|
|
73186
73256
|
"PostScript": 107,
|
73187
73257
|
"PowerShell": 12,
|
73188
73258
|
"Processing": 74,
|
73189
|
-
"Prolog":
|
73259
|
+
"Prolog": 6948,
|
73190
73260
|
"Propeller Spin": 13519,
|
73191
73261
|
"Protocol Buffer": 63,
|
73192
73262
|
"PureScript": 1652,
|
73193
|
-
"Python":
|
73263
|
+
"Python": 6725,
|
73194
73264
|
"QMake": 119,
|
73195
73265
|
"R": 1790,
|
73196
73266
|
"RDoc": 279,
|
@@ -73212,7 +73282,7 @@
|
|
73212
73282
|
"Scaml": 4,
|
73213
73283
|
"Scheme": 3515,
|
73214
73284
|
"Scilab": 69,
|
73215
|
-
"Shell":
|
73285
|
+
"Shell": 3801,
|
73216
73286
|
"ShellSession": 233,
|
73217
73287
|
"Shen": 3472,
|
73218
73288
|
"Slash": 187,
|
@@ -73401,11 +73471,11 @@
|
|
73401
73471
|
"PostScript": 1,
|
73402
73472
|
"PowerShell": 2,
|
73403
73473
|
"Processing": 1,
|
73404
|
-
"Prolog":
|
73474
|
+
"Prolog": 8,
|
73405
73475
|
"Propeller Spin": 10,
|
73406
73476
|
"Protocol Buffer": 1,
|
73407
73477
|
"PureScript": 4,
|
73408
|
-
"Python":
|
73478
|
+
"Python": 11,
|
73409
73479
|
"QMake": 4,
|
73410
73480
|
"R": 7,
|
73411
73481
|
"RDoc": 1,
|
@@ -73427,7 +73497,7 @@
|
|
73427
73497
|
"Scaml": 1,
|
73428
73498
|
"Scheme": 2,
|
73429
73499
|
"Scilab": 3,
|
73430
|
-
"Shell":
|
73500
|
+
"Shell": 38,
|
73431
73501
|
"ShellSession": 3,
|
73432
73502
|
"Shen": 3,
|
73433
73503
|
"Slash": 1,
|
@@ -73468,5 +73538,5 @@
|
|
73468
73538
|
"fish": 3,
|
73469
73539
|
"wisp": 1
|
73470
73540
|
},
|
73471
|
-
"md5": "
|
73541
|
+
"md5": "1a8591982ec28c592a742122734c142c"
|
73472
73542
|
}
|
data/lib/linguist/version.rb
CHANGED