github-linguist 3.1.2 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linguist/heuristics.rb +4 -15
- data/lib/linguist/language.rb +1 -1
- data/lib/linguist/languages.yml +20 -4
- data/lib/linguist/samples.json +533 -70
- data/lib/linguist/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 190ceb895a3cf97148900c2c9226f3e9f421cecf
|
4
|
+
data.tar.gz: ede8a87354382d2a167de2f5696ab90cb2b30df4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e44af4bc464e620746b91ff7dba122f9bc25e18e36fb007cb799e43c2938c3419de437b8400d6c5c9687c54917124fc38c176d44e078eb2b1605b700827ce49
|
7
|
+
data.tar.gz: 45987e71d54c129e7885b81e4056e63bf6354b41fa35769b070df2eb0f96b5774da5f2aa295c3f81d2518b90cc142f2079e5ede134eaf47cfbfbc3517bbb61d1
|
data/lib/linguist/heuristics.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Linguist
|
2
2
|
# A collection of simple heuristics that can be used to better analyze languages.
|
3
3
|
class Heuristics
|
4
|
-
ACTIVE =
|
4
|
+
ACTIVE = true
|
5
5
|
|
6
6
|
# Public: Given an array of String language names,
|
7
7
|
# apply heuristics against the given data and return an array
|
@@ -13,24 +13,13 @@ module Linguist
|
|
13
13
|
# Returns an array of Languages or []
|
14
14
|
def self.find_by_heuristics(data, languages)
|
15
15
|
if active?
|
16
|
-
if languages.all? { |l| ["Objective-C", "C++"].include?(l) }
|
17
|
-
disambiguate_c(data, languages)
|
18
|
-
end
|
19
16
|
if languages.all? { |l| ["Perl", "Prolog"].include?(l) }
|
20
|
-
disambiguate_pl(data, languages)
|
17
|
+
result = disambiguate_pl(data, languages)
|
21
18
|
end
|
22
19
|
if languages.all? { |l| ["ECL", "Prolog"].include?(l) }
|
23
|
-
disambiguate_ecl(data, languages)
|
24
|
-
end
|
25
|
-
if languages.all? { |l| ["TypeScript", "XML"].include?(l) }
|
26
|
-
disambiguate_ts(data, languages)
|
27
|
-
end
|
28
|
-
if languages.all? { |l| ["Common Lisp", "OpenCL"].include?(l) }
|
29
|
-
disambiguate_cl(data, languages)
|
30
|
-
end
|
31
|
-
if languages.all? { |l| ["Rebol", "R"].include?(l) }
|
32
|
-
disambiguate_r(data, languages)
|
20
|
+
result = disambiguate_ecl(data, languages)
|
33
21
|
end
|
22
|
+
return result
|
34
23
|
end
|
35
24
|
end
|
36
25
|
|
data/lib/linguist/language.rb
CHANGED
@@ -136,7 +136,7 @@ module Linguist
|
|
136
136
|
elsif (determined = Heuristics.find_by_heuristics(data, possible_language_names)) && !determined.empty?
|
137
137
|
determined.first
|
138
138
|
# Lastly, fall back to the probablistic classifier.
|
139
|
-
elsif classified = Classifier.classify(Samples::DATA, data, possible_language_names
|
139
|
+
elsif classified = Classifier.classify(Samples::DATA, data, possible_language_names).first
|
140
140
|
# Return the actual Language object based of the string language name (i.e., first element of `#classify`)
|
141
141
|
Language[classified[0]]
|
142
142
|
end
|
data/lib/linguist/languages.yml
CHANGED
@@ -647,7 +647,7 @@ Elm:
|
|
647
647
|
|
648
648
|
Emacs Lisp:
|
649
649
|
type: programming
|
650
|
-
lexer:
|
650
|
+
lexer: Common Lisp
|
651
651
|
color: "#c065db"
|
652
652
|
aliases:
|
653
653
|
- elisp
|
@@ -1001,6 +1001,12 @@ IDL:
|
|
1001
1001
|
- .pro
|
1002
1002
|
- .dlm
|
1003
1003
|
|
1004
|
+
IGOR Pro:
|
1005
|
+
type: programming
|
1006
|
+
lexer: Igor
|
1007
|
+
extensions:
|
1008
|
+
- .ipf
|
1009
|
+
|
1004
1010
|
INI:
|
1005
1011
|
type: data
|
1006
1012
|
extensions:
|
@@ -1196,7 +1202,17 @@ LFE:
|
|
1196
1202
|
LLVM:
|
1197
1203
|
extensions:
|
1198
1204
|
- .ll
|
1199
|
-
|
1205
|
+
|
1206
|
+
LSL:
|
1207
|
+
type: programming
|
1208
|
+
lexer: LSL
|
1209
|
+
ace_mode: lsl
|
1210
|
+
extensions:
|
1211
|
+
- .lsl
|
1212
|
+
interpreters:
|
1213
|
+
- lsl
|
1214
|
+
color: '#3d9970'
|
1215
|
+
|
1200
1216
|
LabVIEW:
|
1201
1217
|
type: programming
|
1202
1218
|
lexer: Text only
|
@@ -1778,9 +1794,9 @@ Prolog:
|
|
1778
1794
|
type: programming
|
1779
1795
|
color: "#74283c"
|
1780
1796
|
extensions:
|
1781
|
-
- .prolog
|
1782
|
-
- .ecl
|
1783
1797
|
- .pl
|
1798
|
+
- .ecl
|
1799
|
+
- .prolog
|
1784
1800
|
|
1785
1801
|
Propeller Spin:
|
1786
1802
|
type: programming
|
data/lib/linguist/samples.json
CHANGED
@@ -254,6 +254,9 @@
|
|
254
254
|
".dlm",
|
255
255
|
".pro"
|
256
256
|
],
|
257
|
+
"IGOR Pro": [
|
258
|
+
".ipf"
|
259
|
+
],
|
257
260
|
"Idris": [
|
258
261
|
".idr"
|
259
262
|
],
|
@@ -308,6 +311,9 @@
|
|
308
311
|
"LFE": [
|
309
312
|
".lfe"
|
310
313
|
],
|
314
|
+
"LSL": [
|
315
|
+
".lsl"
|
316
|
+
],
|
311
317
|
"Lasso": [
|
312
318
|
".las",
|
313
319
|
".lasso",
|
@@ -845,8 +851,8 @@
|
|
845
851
|
"exception.zep.php"
|
846
852
|
]
|
847
853
|
},
|
848
|
-
"tokens_total":
|
849
|
-
"languages_total":
|
854
|
+
"tokens_total": 659332,
|
855
|
+
"languages_total": 905,
|
850
856
|
"tokens": {
|
851
857
|
"ABAP": {
|
852
858
|
"*/**": 1,
|
@@ -28185,6 +28191,52 @@
|
|
28185
28191
|
"L": 1,
|
28186
28192
|
"example": 1
|
28187
28193
|
},
|
28194
|
+
"IGOR Pro": {
|
28195
|
+
"#pragma": 2,
|
28196
|
+
"rtGlobals": 2,
|
28197
|
+
"Function": 6,
|
28198
|
+
"FooBar": 1,
|
28199
|
+
"(": 10,
|
28200
|
+
")": 10,
|
28201
|
+
"return": 7,
|
28202
|
+
"End": 7,
|
28203
|
+
"FooBarSubType": 1,
|
28204
|
+
"ButtonControl": 1,
|
28205
|
+
"Function/D": 1,
|
28206
|
+
"FooBarVar": 1,
|
28207
|
+
"static": 3,
|
28208
|
+
"FooBarStatic": 1,
|
28209
|
+
"threadsafe": 2,
|
28210
|
+
"FooBarStaticThreadsafe": 1,
|
28211
|
+
"FooBarThread": 1,
|
28212
|
+
"CallOperationsAndBuiltInFuncs": 1,
|
28213
|
+
"string": 4,
|
28214
|
+
"var": 3,
|
28215
|
+
"someDQString": 2,
|
28216
|
+
"Make/N": 1,
|
28217
|
+
"myWave": 2,
|
28218
|
+
"Redimension/N": 1,
|
28219
|
+
"-": 3,
|
28220
|
+
"print": 1,
|
28221
|
+
"strlen": 1,
|
28222
|
+
"StrConstant": 1,
|
28223
|
+
"myConstString": 1,
|
28224
|
+
"constant": 1,
|
28225
|
+
"myConst": 1,
|
28226
|
+
"Structure": 2,
|
28227
|
+
"struct1": 1,
|
28228
|
+
"str": 2,
|
28229
|
+
"variable": 2,
|
28230
|
+
"EndStructure": 2,
|
28231
|
+
"struct2": 1,
|
28232
|
+
"#include": 1,
|
28233
|
+
"#ifdef": 1,
|
28234
|
+
"NOT_DEFINED": 1,
|
28235
|
+
"//": 1,
|
28236
|
+
"conditional": 1,
|
28237
|
+
"compilation": 1,
|
28238
|
+
"#endif": 1
|
28239
|
+
},
|
28188
28240
|
"INI": {
|
28189
28241
|
";": 1,
|
28190
28242
|
"editorconfig.org": 1,
|
@@ -35990,6 +36042,72 @@
|
|
35990
36042
|
"info": 1,
|
35991
36043
|
"reproduce": 1
|
35992
36044
|
},
|
36045
|
+
"LSL": {
|
36046
|
+
"integer": 8,
|
36047
|
+
"someIntNormal": 2,
|
36048
|
+
";": 29,
|
36049
|
+
"someIntHex": 2,
|
36050
|
+
"someIntMath": 2,
|
36051
|
+
"PI_BY_TWO": 2,
|
36052
|
+
"event": 2,
|
36053
|
+
"//": 5,
|
36054
|
+
"is": 3,
|
36055
|
+
"invalid.illegal": 2,
|
36056
|
+
"key": 3,
|
36057
|
+
"someKeyTexture": 2,
|
36058
|
+
"TEXTURE_DEFAULT": 2,
|
36059
|
+
"string": 5,
|
36060
|
+
"someStringSpecial": 2,
|
36061
|
+
"EOF": 2,
|
36062
|
+
"some_user_defined_function_without_return_type": 2,
|
36063
|
+
"(": 19,
|
36064
|
+
"inputAsString": 2,
|
36065
|
+
")": 19,
|
36066
|
+
"{": 9,
|
36067
|
+
"llSay": 1,
|
36068
|
+
"PUBLIC_CHANNEL": 4,
|
36069
|
+
"}": 9,
|
36070
|
+
"user_defined_function_returning_a_string": 2,
|
36071
|
+
"inputAsKey": 2,
|
36072
|
+
"return": 1,
|
36073
|
+
"default": 2,
|
36074
|
+
"state_entry": 2,
|
36075
|
+
"someKey": 3,
|
36076
|
+
"NULL_KEY": 1,
|
36077
|
+
"llGetOwner": 1,
|
36078
|
+
"someString": 2,
|
36079
|
+
"touch_start": 1,
|
36080
|
+
"num_detected": 2,
|
36081
|
+
"list": 1,
|
36082
|
+
"agentsInRegion": 3,
|
36083
|
+
"llGetAgentList": 1,
|
36084
|
+
"AGENT_LIST_REGION": 1,
|
36085
|
+
"[": 1,
|
36086
|
+
"]": 1,
|
36087
|
+
"numOfAgents": 2,
|
36088
|
+
"llGetListLength": 1,
|
36089
|
+
"index": 4,
|
36090
|
+
"defaults": 1,
|
36091
|
+
"to": 1,
|
36092
|
+
"for": 2,
|
36093
|
+
"<": 1,
|
36094
|
+
"-": 1,
|
36095
|
+
"+": 2,
|
36096
|
+
"each": 1,
|
36097
|
+
"agent": 1,
|
36098
|
+
"in": 1,
|
36099
|
+
"region": 1,
|
36100
|
+
"llRegionSayTo": 1,
|
36101
|
+
"llList2Key": 1,
|
36102
|
+
"touch_end": 1,
|
36103
|
+
"llSetInventoryPermMask": 1,
|
36104
|
+
"MASK_NEXT": 1,
|
36105
|
+
"PERM_ALL": 1,
|
36106
|
+
"reserved.godmode": 1,
|
36107
|
+
"llWhisper": 2,
|
36108
|
+
"state": 3,
|
36109
|
+
"other": 2
|
36110
|
+
},
|
35993
36111
|
"Lasso": {
|
35994
36112
|
"<": 7,
|
35995
36113
|
"LassoScript": 1,
|
@@ -55878,54 +55996,441 @@
|
|
55878
55996
|
"TWO_PI": 1
|
55879
55997
|
},
|
55880
55998
|
"Prolog": {
|
55881
|
-
"-":
|
55882
|
-
"module":
|
55883
|
-
"(":
|
55999
|
+
"-": 350,
|
56000
|
+
"module": 4,
|
56001
|
+
"(": 1161,
|
56002
|
+
"cpa_admin": 1,
|
56003
|
+
"[": 290,
|
56004
|
+
"change_password_form//1": 1,
|
56005
|
+
"]": 288,
|
56006
|
+
")": 1158,
|
56007
|
+
".": 232,
|
56008
|
+
"use_module": 20,
|
56009
|
+
"user": 45,
|
56010
|
+
"user_db": 1,
|
56011
|
+
"library": 19,
|
56012
|
+
"http/http_parameters": 1,
|
56013
|
+
"http/http_session": 1,
|
56014
|
+
"http/html_write": 1,
|
56015
|
+
"http/html_head": 1,
|
56016
|
+
"http/mimetype": 1,
|
56017
|
+
"http/http_dispatch": 1,
|
56018
|
+
"url": 1,
|
56019
|
+
"debug": 5,
|
56020
|
+
"lists": 1,
|
56021
|
+
"option": 8,
|
56022
|
+
"http_settings": 1,
|
56023
|
+
"http_handler": 20,
|
56024
|
+
"cliopatria": 38,
|
56025
|
+
"list_users": 13,
|
56026
|
+
"create_admin": 3,
|
56027
|
+
"add_user_form": 4,
|
56028
|
+
"add_openid_server_form": 4,
|
56029
|
+
"add_user": 6,
|
56030
|
+
"self_register": 4,
|
56031
|
+
"add_openid_server": 3,
|
56032
|
+
"edit_user_form": 7,
|
56033
|
+
"edit_user": 4,
|
56034
|
+
"del_user": 5,
|
56035
|
+
"edit_openid_server_form": 6,
|
56036
|
+
"edit_openid_server": 4,
|
56037
|
+
"del_openid_server": 4,
|
56038
|
+
"change_password_form": 7,
|
56039
|
+
"change_password": 5,
|
56040
|
+
"login_form": 4,
|
56041
|
+
"user_login": 4,
|
56042
|
+
"user_logout": 4,
|
56043
|
+
"settings": 4,
|
56044
|
+
"save_settings": 3,
|
56045
|
+
"%": 194,
|
56046
|
+
"+": 47,
|
56047
|
+
"Request": 46,
|
56048
|
+
"HTTP": 4,
|
56049
|
+
"Handler": 1,
|
56050
|
+
"listing": 1,
|
56051
|
+
"registered": 3,
|
56052
|
+
"users.": 2,
|
56053
|
+
"_Request": 11,
|
56054
|
+
"authorized": 13,
|
56055
|
+
"admin": 31,
|
56056
|
+
"if_allowed": 4,
|
56057
|
+
"edit": 15,
|
56058
|
+
"true": 32,
|
56059
|
+
"UserOptions": 5,
|
56060
|
+
"openid": 5,
|
56061
|
+
"OpenIDOptions": 2,
|
56062
|
+
"reply_html_page": 15,
|
56063
|
+
"default": 16,
|
56064
|
+
"title": 13,
|
56065
|
+
"h1": 15,
|
56066
|
+
"user_table": 3,
|
56067
|
+
"p": 11,
|
56068
|
+
"action": 18,
|
56069
|
+
"location_by_id": 13,
|
56070
|
+
"openid_server_table": 4,
|
56071
|
+
"Token": 2,
|
56072
|
+
"Options": 43,
|
56073
|
+
"logged_on": 4,
|
56074
|
+
"User": 77,
|
56075
|
+
"anonymous": 2,
|
56076
|
+
"catch": 2,
|
56077
|
+
"check_permission": 1,
|
56078
|
+
"_": 62,
|
56079
|
+
"fail": 3,
|
56080
|
+
"//": 7,
|
56081
|
+
"HTML": 4,
|
56082
|
+
"component": 3,
|
56083
|
+
"generating": 1,
|
56084
|
+
"a": 25,
|
56085
|
+
"table": 9,
|
56086
|
+
"of": 10,
|
56087
|
+
"{": 22,
|
56088
|
+
"setof": 3,
|
56089
|
+
"U": 2,
|
56090
|
+
"current_user": 6,
|
56091
|
+
"Users": 2,
|
56092
|
+
"}": 22,
|
56093
|
+
"html": 25,
|
56094
|
+
"class": 14,
|
56095
|
+
"block": 2,
|
56096
|
+
"tr": 16,
|
56097
|
+
"th": 12,
|
56098
|
+
"|": 44,
|
56099
|
+
"T": 4,
|
56100
|
+
"user_property": 8,
|
56101
|
+
"realname": 18,
|
56102
|
+
"Name": 19,
|
56103
|
+
"findall": 1,
|
56104
|
+
"Idle": 6,
|
56105
|
+
"Login": 9,
|
56106
|
+
"connection": 1,
|
56107
|
+
"Pairs0": 2,
|
56108
|
+
"keysort": 1,
|
56109
|
+
"Pairs": 4,
|
56110
|
+
"OnLine": 4,
|
56111
|
+
";": 37,
|
56112
|
+
"length": 9,
|
56113
|
+
"N": 7,
|
56114
|
+
"online": 3,
|
56115
|
+
"td": 20,
|
56116
|
+
"on_since": 3,
|
56117
|
+
"idle": 3,
|
56118
|
+
"edit_user_button": 3,
|
56119
|
+
"href": 6,
|
56120
|
+
"encode": 4,
|
56121
|
+
"_Idle": 1,
|
56122
|
+
"_Connections": 2,
|
56123
|
+
"format_time": 1,
|
56124
|
+
"string": 10,
|
56125
|
+
"Date": 2,
|
56126
|
+
"_Login": 1,
|
56127
|
+
"mmss_duration": 2,
|
56128
|
+
"String": 10,
|
56129
|
+
"Time": 3,
|
56130
|
+
"in": 1,
|
56131
|
+
"seconds": 1,
|
56132
|
+
"Secs": 4,
|
56133
|
+
"is": 24,
|
56134
|
+
"round": 1,
|
56135
|
+
"Hour": 2,
|
56136
|
+
"Min": 4,
|
56137
|
+
"mod": 2,
|
56138
|
+
"Sec": 2,
|
56139
|
+
"format": 9,
|
56140
|
+
"Create": 2,
|
56141
|
+
"the": 14,
|
56142
|
+
"administrator": 1,
|
56143
|
+
"login.": 2,
|
56144
|
+
"throw": 12,
|
56145
|
+
"error": 13,
|
56146
|
+
"permission_error": 4,
|
56147
|
+
"create": 3,
|
56148
|
+
"context": 3,
|
56149
|
+
"align": 16,
|
56150
|
+
"center": 6,
|
56151
|
+
"new_user_form": 3,
|
56152
|
+
"real_name": 2,
|
56153
|
+
"Form": 3,
|
56154
|
+
"to": 19,
|
56155
|
+
"register": 3,
|
56156
|
+
"user.": 2,
|
56157
|
+
"value": 11,
|
56158
|
+
"PermUser": 3,
|
56159
|
+
"form": 14,
|
56160
|
+
"method": 6,
|
56161
|
+
"input": 25,
|
56162
|
+
"pwd1": 5,
|
56163
|
+
"type": 16,
|
56164
|
+
"password": 21,
|
56165
|
+
"pwd2": 5,
|
56166
|
+
"permissions": 5,
|
56167
|
+
"buttons": 5,
|
56168
|
+
"colspan": 6,
|
56169
|
+
"right": 11,
|
56170
|
+
"submit": 6,
|
56171
|
+
"Label": 10,
|
56172
|
+
"name": 8,
|
56173
|
+
"size": 5,
|
56174
|
+
"Only": 1,
|
56175
|
+
"provide": 1,
|
56176
|
+
"field": 4,
|
56177
|
+
"if": 4,
|
56178
|
+
"this": 1,
|
56179
|
+
"not": 1,
|
56180
|
+
"already": 2,
|
56181
|
+
"given.": 1,
|
56182
|
+
"This": 2,
|
56183
|
+
"because": 1,
|
56184
|
+
"firefox": 1,
|
56185
|
+
"determines": 1,
|
56186
|
+
"login": 3,
|
56187
|
+
"from": 3,
|
56188
|
+
"text": 6,
|
56189
|
+
"immediately": 1,
|
56190
|
+
"above": 1,
|
56191
|
+
"entry.": 1,
|
56192
|
+
"Other": 1,
|
56193
|
+
"browsers": 1,
|
56194
|
+
"may": 1,
|
56195
|
+
"do": 1,
|
56196
|
+
"it": 1,
|
56197
|
+
"different": 1,
|
56198
|
+
"so": 1,
|
56199
|
+
"only": 2,
|
56200
|
+
"having": 1,
|
56201
|
+
"one": 1,
|
56202
|
+
"probably": 1,
|
56203
|
+
"savest": 1,
|
56204
|
+
"solution.": 1,
|
56205
|
+
"RealName": 13,
|
56206
|
+
"hidden": 7,
|
56207
|
+
"_Options": 1,
|
56208
|
+
"API": 1,
|
56209
|
+
"new": 6,
|
56210
|
+
"The": 3,
|
56211
|
+
"current": 3,
|
56212
|
+
"must": 3,
|
56213
|
+
"have": 1,
|
56214
|
+
"administrative": 2,
|
56215
|
+
"rights": 2,
|
56216
|
+
"or": 3,
|
56217
|
+
"database": 1,
|
56218
|
+
"be": 6,
|
56219
|
+
"empty.": 1,
|
56220
|
+
"FirstUser": 2,
|
56221
|
+
"http_parameters": 10,
|
56222
|
+
"Password": 13,
|
56223
|
+
"Retype": 4,
|
56224
|
+
"read": 13,
|
56225
|
+
"Read": 12,
|
56226
|
+
"write": 11,
|
56227
|
+
"Write": 12,
|
56228
|
+
"Admin": 12,
|
56229
|
+
"attribute_declarations": 10,
|
56230
|
+
"attribute_decl": 21,
|
56231
|
+
"password_mismatch": 2,
|
56232
|
+
"password_hash": 3,
|
56233
|
+
"Hash": 6,
|
56234
|
+
"phrase": 6,
|
56235
|
+
"allow": 17,
|
56236
|
+
"Allow": 11,
|
56237
|
+
"user_add": 3,
|
56238
|
+
"reply_login": 5,
|
56239
|
+
"Self": 1,
|
56240
|
+
"and": 6,
|
56241
|
+
"enable_self_register": 3,
|
56242
|
+
"set": 2,
|
56243
|
+
"true.": 1,
|
56244
|
+
"limited": 1,
|
56245
|
+
"annotate": 2,
|
56246
|
+
"access.": 1,
|
56247
|
+
"Returns": 1,
|
56248
|
+
"forbidden": 3,
|
56249
|
+
"false": 5,
|
56250
|
+
"exists": 1,
|
56251
|
+
"http_location_by_id": 1,
|
56252
|
+
"MyUrl": 3,
|
56253
|
+
"setting": 1,
|
56254
|
+
"http_reply": 3,
|
56255
|
+
"properties": 3,
|
56256
|
+
"User.": 1,
|
56257
|
+
"b": 6,
|
56258
|
+
"i": 1,
|
56259
|
+
"Term": 16,
|
56260
|
+
"..": 11,
|
56261
|
+
"Value": 15,
|
56262
|
+
"O2": 6,
|
56263
|
+
"p_name": 2,
|
56264
|
+
"permission_checkbox": 4,
|
56265
|
+
"Actions": 3,
|
56266
|
+
"openid_server_property": 3,
|
56267
|
+
"pterm": 5,
|
56268
|
+
"Action": 17,
|
56269
|
+
"memberchk": 4,
|
56270
|
+
"Opts": 4,
|
56271
|
+
"checked": 2,
|
56272
|
+
"def_user_permissions": 3,
|
56273
|
+
"DefPermissions": 2,
|
56274
|
+
"checkbox": 1,
|
56275
|
+
"Handle": 3,
|
56276
|
+
"reply": 3,
|
56277
|
+
"form.": 2,
|
56278
|
+
"optional": 6,
|
56279
|
+
"description": 18,
|
56280
|
+
"modify_user": 2,
|
56281
|
+
"modify_permissions": 2,
|
56282
|
+
"Property": 6,
|
56283
|
+
"_Name": 2,
|
56284
|
+
"var": 7,
|
56285
|
+
"set_user_property": 3,
|
56286
|
+
"Access": 2,
|
56287
|
+
"on": 2,
|
56288
|
+
"_Access": 1,
|
56289
|
+
"off": 5,
|
56290
|
+
"_Repositiory": 2,
|
56291
|
+
"_Action": 3,
|
56292
|
+
"Delete": 2,
|
56293
|
+
"delete": 2,
|
56294
|
+
"user_del": 1,
|
56295
|
+
"change": 2,
|
56296
|
+
"context_error": 2,
|
56297
|
+
"not_logged_in": 2,
|
56298
|
+
"UserID": 1,
|
56299
|
+
"that": 2,
|
56300
|
+
"shows": 1,
|
56301
|
+
"for": 4,
|
56302
|
+
"changing": 1,
|
56303
|
+
"UserID.": 1,
|
56304
|
+
"id": 3,
|
56305
|
+
"user_or_old": 3,
|
56306
|
+
"pwd0": 2,
|
56307
|
+
"handler": 2,
|
56308
|
+
"password.": 1,
|
56309
|
+
"logged": 1,
|
56310
|
+
"on.": 1,
|
56311
|
+
"New": 3,
|
56312
|
+
"existence_error": 1,
|
56313
|
+
"validate_password": 2,
|
56314
|
+
"presents": 1,
|
56315
|
+
"If": 2,
|
56316
|
+
"there": 1,
|
56317
|
+
"parameter": 2,
|
56318
|
+
"return_to": 3,
|
56319
|
+
"openid.return_to": 1,
|
56320
|
+
"using": 1,
|
56321
|
+
"redirect": 1,
|
56322
|
+
"given": 2,
|
56323
|
+
"URL.": 1,
|
56324
|
+
"Otherwise": 1,
|
56325
|
+
"display": 1,
|
56326
|
+
"welcome": 1,
|
56327
|
+
"page.": 1,
|
56328
|
+
"ReturnTo": 6,
|
56329
|
+
"Extra": 3,
|
56330
|
+
"moved_temporary": 1,
|
56331
|
+
"Logout": 1,
|
56332
|
+
"logout": 1,
|
56333
|
+
"Param": 1,
|
56334
|
+
"DeclObtions": 1,
|
56335
|
+
"semidet.": 4,
|
56336
|
+
"Provide": 1,
|
56337
|
+
"reusable": 1,
|
56338
|
+
"declarations": 1,
|
56339
|
+
"calls": 2,
|
56340
|
+
"http_parameters/3.": 1,
|
56341
|
+
"openid_server": 9,
|
56342
|
+
"bool": 4,
|
56343
|
+
"Def": 2,
|
56344
|
+
"oneof": 1,
|
56345
|
+
"Return": 1,
|
56346
|
+
"an": 3,
|
56347
|
+
"page": 1,
|
56348
|
+
"add": 2,
|
56349
|
+
"OpenID": 4,
|
56350
|
+
"server.": 1,
|
56351
|
+
"new_openid_form": 2,
|
56352
|
+
"new_openid_form//": 1,
|
56353
|
+
"det.": 5,
|
56354
|
+
"Present": 1,
|
56355
|
+
"provider.": 1,
|
56356
|
+
"openid_description": 1,
|
56357
|
+
"code": 2,
|
56358
|
+
"canonical_url": 1,
|
56359
|
+
"URL0": 2,
|
56360
|
+
"URL": 4,
|
56361
|
+
"parse_url": 2,
|
56362
|
+
"Parts": 2,
|
56363
|
+
"Server": 30,
|
56364
|
+
"openid_property": 2,
|
56365
|
+
"List": 1,
|
56366
|
+
"servers": 1,
|
56367
|
+
"S": 2,
|
56368
|
+
"openid_current_server": 1,
|
56369
|
+
"Servers": 2,
|
56370
|
+
"openid_list_servers": 4,
|
56371
|
+
"H": 2,
|
56372
|
+
"openid_list_server": 2,
|
56373
|
+
"openid_field": 3,
|
56374
|
+
"edit_openid_button": 3,
|
56375
|
+
"Field": 2,
|
56376
|
+
"server": 1,
|
56377
|
+
"Description": 2,
|
56378
|
+
"modify_openid": 2,
|
56379
|
+
"openid_modify_permissions": 2,
|
56380
|
+
"openid_set_property": 2,
|
56381
|
+
"openid_del_server": 1,
|
56382
|
+
"Show": 1,
|
56383
|
+
"settings.": 3,
|
56384
|
+
"has": 1,
|
56385
|
+
"editing": 1,
|
56386
|
+
"edit_settings": 2,
|
56387
|
+
"Edit": 4,
|
56388
|
+
"http_show_settings": 1,
|
56389
|
+
"hide_module": 1,
|
56390
|
+
"warn_no_edit": 3,
|
56391
|
+
"settings_no_edit": 1,
|
56392
|
+
"Save": 1,
|
56393
|
+
"modified": 1,
|
56394
|
+
"http_apply_settings": 1,
|
56395
|
+
"save": 1,
|
56396
|
+
"with": 3,
|
56397
|
+
"br": 1,
|
56398
|
+
"subset": 2,
|
56399
|
+
"Set": 4,
|
56400
|
+
"Subset": 6,
|
56401
|
+
"append": 3,
|
56402
|
+
"L1": 1,
|
56403
|
+
"powerset": 1,
|
56404
|
+
"bagof": 1,
|
55884
56405
|
"format_spec": 12,
|
55885
|
-
"[": 87,
|
55886
56406
|
"format_error/2": 1,
|
55887
56407
|
"format_spec/2": 1,
|
55888
56408
|
"format_spec//1": 1,
|
55889
56409
|
"spec_arity/2": 1,
|
55890
56410
|
"spec_types/2": 1,
|
55891
|
-
"]": 87,
|
55892
|
-
")": 326,
|
55893
|
-
".": 107,
|
55894
|
-
"use_module": 8,
|
55895
|
-
"library": 8,
|
55896
56411
|
"dcg/basics": 1,
|
55897
56412
|
"eos//0": 1,
|
55898
56413
|
"integer//1": 1,
|
55899
56414
|
"string_without//2": 1,
|
55900
|
-
"error": 6,
|
55901
56415
|
"when": 3,
|
55902
56416
|
"when/2": 1,
|
55903
|
-
"%": 71,
|
55904
56417
|
"mavis": 1,
|
55905
56418
|
"format_error": 8,
|
55906
|
-
"+": 14,
|
55907
56419
|
"Goal": 29,
|
55908
56420
|
"Error": 25,
|
55909
|
-
"string": 8,
|
55910
|
-
"is": 12,
|
55911
56421
|
"nondet.": 1,
|
55912
|
-
"format": 8,
|
55913
56422
|
"Format": 23,
|
55914
56423
|
"Args": 19,
|
55915
56424
|
"format_error_": 5,
|
55916
|
-
"_": 30,
|
55917
|
-
"debug": 4,
|
55918
56425
|
"Spec": 10,
|
55919
56426
|
"is_list": 1,
|
55920
56427
|
"spec_types": 8,
|
55921
56428
|
"Types": 16,
|
55922
56429
|
"types_error": 3,
|
55923
|
-
"length": 4,
|
55924
56430
|
"TypesLen": 3,
|
55925
56431
|
"ArgsLen": 3,
|
55926
56432
|
"types_error_": 4,
|
55927
56433
|
"Arg": 6,
|
55928
|
-
"|": 25,
|
55929
56434
|
"Type": 3,
|
55930
56435
|
"ground": 5,
|
55931
56436
|
"is_of_type": 2,
|
@@ -55940,13 +56445,9 @@
|
|
55940
56445
|
"format_fail/3.": 1,
|
55941
56446
|
"prolog_walk_code": 1,
|
55942
56447
|
"module_class": 1,
|
55943
|
-
"user": 5,
|
55944
56448
|
"infer_meta_predicates": 1,
|
55945
|
-
"false": 2,
|
55946
56449
|
"autoload": 1,
|
55947
56450
|
"format/": 1,
|
55948
|
-
"{": 7,
|
55949
|
-
"}": 7,
|
55950
56451
|
"are": 3,
|
55951
56452
|
"always": 1,
|
55952
56453
|
"loaded": 1,
|
@@ -55967,7 +56468,6 @@
|
|
55967
56468
|
"checker.": 1,
|
55968
56469
|
"succeed": 2,
|
55969
56470
|
"even": 1,
|
55970
|
-
"if": 1,
|
55971
56471
|
"no": 1,
|
55972
56472
|
"found": 1,
|
55973
56473
|
"Module": 4,
|
@@ -55975,12 +56475,10 @@
|
|
55975
56475
|
"predicate_property": 1,
|
55976
56476
|
"imported_from": 1,
|
55977
56477
|
"Source": 2,
|
55978
|
-
"memberchk": 2,
|
55979
56478
|
"system": 1,
|
55980
56479
|
"prolog_debug": 1,
|
55981
56480
|
"can_check": 2,
|
55982
56481
|
"assert": 2,
|
55983
|
-
"to": 5,
|
55984
56482
|
"avoid": 1,
|
55985
56483
|
"printing": 1,
|
55986
56484
|
"goals": 1,
|
@@ -55989,32 +56487,22 @@
|
|
55989
56487
|
"prolog": 2,
|
55990
56488
|
"message": 1,
|
55991
56489
|
"message_location": 1,
|
55992
|
-
"//": 1,
|
55993
56490
|
"eos.": 1,
|
55994
56491
|
"escape": 2,
|
55995
56492
|
"Numeric": 4,
|
55996
56493
|
"Modifier": 2,
|
55997
|
-
"Action": 15,
|
55998
56494
|
"Rest": 12,
|
55999
56495
|
"numeric_argument": 5,
|
56000
56496
|
"modifier_argument": 3,
|
56001
|
-
"action": 6,
|
56002
|
-
"text": 4,
|
56003
|
-
"String": 6,
|
56004
|
-
";": 12,
|
56005
56497
|
"Codes": 21,
|
56006
56498
|
"string_codes": 4,
|
56007
56499
|
"string_without": 1,
|
56008
56500
|
"list": 4,
|
56009
|
-
"semidet.": 3,
|
56010
56501
|
"text_codes": 6,
|
56011
|
-
"phrase": 3,
|
56012
56502
|
"spec_arity": 2,
|
56013
56503
|
"FormatSpec": 2,
|
56014
56504
|
"Arity": 3,
|
56015
56505
|
"positive_integer": 1,
|
56016
|
-
"det.": 4,
|
56017
|
-
"type": 2,
|
56018
56506
|
"Item": 2,
|
56019
56507
|
"Items": 2,
|
56020
56508
|
"item_types": 3,
|
@@ -56029,17 +56517,14 @@
|
|
56029
56517
|
"Text": 1,
|
56030
56518
|
"codes": 5,
|
56031
56519
|
"Var": 5,
|
56032
|
-
"var": 4,
|
56033
56520
|
"Atom": 3,
|
56034
56521
|
"atom": 6,
|
56035
|
-
"N": 5,
|
56036
56522
|
"integer": 7,
|
56037
56523
|
"C": 5,
|
56038
56524
|
"colon": 1,
|
56039
56525
|
"no_colon": 1,
|
56040
56526
|
"is_action": 4,
|
56041
56527
|
"multi.": 1,
|
56042
|
-
"a": 4,
|
56043
56528
|
"d": 3,
|
56044
56529
|
"e": 1,
|
56045
56530
|
"float": 3,
|
@@ -56047,7 +56532,6 @@
|
|
56047
56532
|
"G": 2,
|
56048
56533
|
"I": 1,
|
56049
56534
|
"n": 1,
|
56050
|
-
"p": 1,
|
56051
56535
|
"any": 3,
|
56052
56536
|
"r": 1,
|
56053
56537
|
"s": 2,
|
@@ -56056,7 +56540,6 @@
|
|
56056
56540
|
"func": 13,
|
56057
56541
|
"op": 2,
|
56058
56542
|
"xfy": 2,
|
56059
|
-
"of": 8,
|
56060
56543
|
"/2": 3,
|
56061
56544
|
"list_util": 1,
|
56062
56545
|
"xfy_list/3": 1,
|
@@ -56070,7 +56553,6 @@
|
|
56070
56553
|
"at": 3,
|
56071
56554
|
"compile": 3,
|
56072
56555
|
"time": 3,
|
56073
|
-
"for": 1,
|
56074
56556
|
"macro": 1,
|
56075
56557
|
"expansion.": 1,
|
56076
56558
|
"compile_function/4.": 1,
|
@@ -56081,19 +56563,14 @@
|
|
56081
56563
|
"evaluable/1": 1,
|
56082
56564
|
"throws": 1,
|
56083
56565
|
"exception": 1,
|
56084
|
-
"with": 2,
|
56085
56566
|
"strings": 1,
|
56086
56567
|
"evaluable": 1,
|
56087
56568
|
"term_variables": 1,
|
56088
56569
|
"F": 26,
|
56089
56570
|
"function_composition_term": 2,
|
56090
56571
|
"Functor": 8,
|
56091
|
-
"true": 5,
|
56092
|
-
"..": 6,
|
56093
56572
|
"format_template": 7,
|
56094
56573
|
"has_type": 2,
|
56095
|
-
"fail": 1,
|
56096
|
-
"be": 4,
|
56097
56574
|
"explicit": 1,
|
56098
56575
|
"Dict": 3,
|
56099
56576
|
"is_dict": 1,
|
@@ -56101,7 +56578,6 @@
|
|
56101
56578
|
"Function": 5,
|
56102
56579
|
"Argument": 1,
|
56103
56580
|
"Apply": 1,
|
56104
|
-
"an": 1,
|
56105
56581
|
"Argument.": 1,
|
56106
56582
|
"A": 1,
|
56107
56583
|
"predicate": 4,
|
@@ -56110,18 +56586,15 @@
|
|
56110
56586
|
"argument": 2,
|
56111
56587
|
"generates": 1,
|
56112
56588
|
"output": 1,
|
56113
|
-
"and": 2,
|
56114
56589
|
"penultimate": 1,
|
56115
56590
|
"accepts": 1,
|
56116
56591
|
"input.": 1,
|
56117
|
-
"This": 1,
|
56118
56592
|
"realized": 1,
|
56119
56593
|
"by": 2,
|
56120
56594
|
"expanding": 1,
|
56121
56595
|
"function": 2,
|
56122
56596
|
"application": 2,
|
56123
56597
|
"chained": 1,
|
56124
|
-
"calls": 1,
|
56125
56598
|
"time.": 1,
|
56126
56599
|
"itself": 1,
|
56127
56600
|
"can": 3,
|
@@ -56130,12 +56603,8 @@
|
|
56130
56603
|
"reverse": 4,
|
56131
56604
|
"sort": 2,
|
56132
56605
|
"c": 2,
|
56133
|
-
"b": 4,
|
56134
56606
|
"meta_predicate": 2,
|
56135
|
-
"throw": 1,
|
56136
|
-
"permission_error": 1,
|
56137
56607
|
"call": 4,
|
56138
|
-
"context": 1,
|
56139
56608
|
"X": 10,
|
56140
56609
|
"Y": 7,
|
56141
56610
|
"defer": 1,
|
@@ -56143,13 +56612,10 @@
|
|
56143
56612
|
"run": 1,
|
56144
56613
|
"P": 2,
|
56145
56614
|
"Creates": 1,
|
56146
|
-
"new": 2,
|
56147
56615
|
"composing": 1,
|
56148
56616
|
"G.": 1,
|
56149
|
-
"The": 1,
|
56150
56617
|
"functions": 2,
|
56151
56618
|
"composed": 1,
|
56152
|
-
"create": 1,
|
56153
56619
|
"compiled": 1,
|
56154
56620
|
"which": 1,
|
56155
56621
|
"behaves": 1,
|
@@ -56164,7 +56630,6 @@
|
|
56164
56630
|
"syntax": 1,
|
56165
56631
|
"highlighting": 1,
|
56166
56632
|
"functions_to_compose": 2,
|
56167
|
-
"Term": 10,
|
56168
56633
|
"Funcs": 7,
|
56169
56634
|
"functor": 1,
|
56170
56635
|
"Op": 3,
|
@@ -56173,7 +56638,6 @@
|
|
56173
56638
|
"Goals": 2,
|
56174
56639
|
"Tmp": 3,
|
56175
56640
|
"instantiation_error": 1,
|
56176
|
-
"append": 2,
|
56177
56641
|
"NewArgs": 2,
|
56178
56642
|
"variant_sha1": 1,
|
56179
56643
|
"Sha": 2,
|
@@ -56186,9 +56650,7 @@
|
|
56186
56650
|
"compile_predicates": 1,
|
56187
56651
|
"Output": 2,
|
56188
56652
|
"compound": 1,
|
56189
|
-
"setof": 1,
|
56190
56653
|
"arg": 1,
|
56191
|
-
"Name": 2,
|
56192
56654
|
"Args0": 2,
|
56193
56655
|
"nth1": 2,
|
56194
56656
|
"lib": 1,
|
@@ -56199,11 +56661,9 @@
|
|
56199
56661
|
"#": 9,
|
56200
56662
|
"labeling": 2,
|
56201
56663
|
"vabsIC": 1,
|
56202
|
-
"or": 1,
|
56203
56664
|
"faitListe": 3,
|
56204
56665
|
"First": 2,
|
56205
56666
|
"Taille": 2,
|
56206
|
-
"Min": 2,
|
56207
56667
|
"Max": 2,
|
56208
56668
|
"Min..Max": 1,
|
56209
56669
|
"Taille1": 2,
|
@@ -56258,7 +56718,6 @@
|
|
56258
56718
|
"Rs1": 2,
|
56259
56719
|
"left": 4,
|
56260
56720
|
"stay": 1,
|
56261
|
-
"right": 1,
|
56262
56721
|
"L": 2
|
56263
56722
|
},
|
56264
56723
|
"Propeller Spin": {
|
@@ -72649,6 +73108,7 @@
|
|
72649
73108
|
"Haskell": 302,
|
72650
73109
|
"Hy": 155,
|
72651
73110
|
"IDL": 418,
|
73111
|
+
"IGOR Pro": 97,
|
72652
73112
|
"INI": 27,
|
72653
73113
|
"Idris": 148,
|
72654
73114
|
"Inform 7": 75,
|
@@ -72666,6 +73126,7 @@
|
|
72666
73126
|
"Kit": 6,
|
72667
73127
|
"Kotlin": 155,
|
72668
73128
|
"LFE": 1711,
|
73129
|
+
"LSL": 198,
|
72669
73130
|
"Lasso": 9849,
|
72670
73131
|
"Latte": 759,
|
72671
73132
|
"Less": 39,
|
@@ -72725,7 +73186,7 @@
|
|
72725
73186
|
"PostScript": 107,
|
72726
73187
|
"PowerShell": 12,
|
72727
73188
|
"Processing": 74,
|
72728
|
-
"Prolog":
|
73189
|
+
"Prolog": 6916,
|
72729
73190
|
"Propeller Spin": 13519,
|
72730
73191
|
"Protocol Buffer": 63,
|
72731
73192
|
"PureScript": 1652,
|
@@ -72862,6 +73323,7 @@
|
|
72862
73323
|
"Haskell": 3,
|
72863
73324
|
"Hy": 2,
|
72864
73325
|
"IDL": 4,
|
73326
|
+
"IGOR Pro": 2,
|
72865
73327
|
"INI": 2,
|
72866
73328
|
"Idris": 1,
|
72867
73329
|
"Inform 7": 2,
|
@@ -72879,6 +73341,7 @@
|
|
72879
73341
|
"Kit": 1,
|
72880
73342
|
"Kotlin": 1,
|
72881
73343
|
"LFE": 4,
|
73344
|
+
"LSL": 1,
|
72882
73345
|
"Lasso": 4,
|
72883
73346
|
"Latte": 2,
|
72884
73347
|
"Less": 1,
|
@@ -72938,7 +73401,7 @@
|
|
72938
73401
|
"PostScript": 1,
|
72939
73402
|
"PowerShell": 2,
|
72940
73403
|
"Processing": 1,
|
72941
|
-
"Prolog":
|
73404
|
+
"Prolog": 7,
|
72942
73405
|
"Propeller Spin": 10,
|
72943
73406
|
"Protocol Buffer": 1,
|
72944
73407
|
"PureScript": 4,
|
@@ -73005,5 +73468,5 @@
|
|
73005
73468
|
"fish": 3,
|
73006
73469
|
"wisp": 1
|
73007
73470
|
},
|
73008
|
-
"md5": "
|
73471
|
+
"md5": "3778b7ad7414915c83e6960531006542"
|
73009
73472
|
}
|
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: 3.1.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|