github-linguist 2.11.5 → 2.12.0
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 +9 -1
- data/lib/linguist/samples.json +72 -3
- data/lib/linguist/version.rb +1 -1
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e550777dd49d827e99224ec5c8ba8c470cdf56f5
|
4
|
+
data.tar.gz: 224e194cfa93a359c2c61c70410c539191134510
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd595bfdbcf24d4f7a91f71a163e529b39bc54f7d89f71942667bd4ad3fcdbd755b468b2442ee48b77803316287457f70e804c2cf0bcfe5cbabbab0cc5de9cc
|
7
|
+
data.tar.gz: be0690beeba5670cc74d4d1e93929630759d865bab217da1a6d71ebd81c825b00e4f780c7092fca35e58fe4d5c1ad7ddf967bdfb06db3ab6c998c21ca82f880b
|
data/lib/linguist/languages.yml
CHANGED
@@ -2002,6 +2002,14 @@ Slash:
|
|
2002
2002
|
extensions:
|
2003
2003
|
- .sl
|
2004
2004
|
|
2005
|
+
Slim:
|
2006
|
+
group: HTML
|
2007
|
+
type: markup
|
2008
|
+
lexer: Slim
|
2009
|
+
color: "#ff8877"
|
2010
|
+
extensions:
|
2011
|
+
- .slim
|
2012
|
+
|
2005
2013
|
Smalltalk:
|
2006
2014
|
type: programming
|
2007
2015
|
color: "#596706"
|
@@ -2064,8 +2072,8 @@ SuperCollider:
|
|
2064
2072
|
|
2065
2073
|
Swift:
|
2066
2074
|
type: programming
|
2075
|
+
lexer: Swift
|
2067
2076
|
color: "#ffac45"
|
2068
|
-
lexer: Text only
|
2069
2077
|
extensions:
|
2070
2078
|
- .swift
|
2071
2079
|
|
data/lib/linguist/samples.json
CHANGED
@@ -549,6 +549,9 @@
|
|
549
549
|
"Slash": [
|
550
550
|
".sl"
|
551
551
|
],
|
552
|
+
"Slim": [
|
553
|
+
".slim"
|
554
|
+
],
|
552
555
|
"Smalltalk": [
|
553
556
|
".st"
|
554
557
|
],
|
@@ -740,8 +743,8 @@
|
|
740
743
|
".gemrc"
|
741
744
|
]
|
742
745
|
},
|
743
|
-
"tokens_total":
|
744
|
-
"languages_total":
|
746
|
+
"tokens_total": 614434,
|
747
|
+
"languages_total": 812,
|
745
748
|
"tokens": {
|
746
749
|
"ABAP": {
|
747
750
|
"*/**": 1,
|
@@ -60170,6 +60173,70 @@
|
|
60170
60173
|
"ast.eval": 1,
|
60171
60174
|
"Env.new": 1
|
60172
60175
|
},
|
60176
|
+
"Slim": {
|
60177
|
+
"doctype": 1,
|
60178
|
+
"html": 2,
|
60179
|
+
"head": 1,
|
60180
|
+
"title": 1,
|
60181
|
+
"Slim": 2,
|
60182
|
+
"Examples": 1,
|
60183
|
+
"meta": 2,
|
60184
|
+
"name": 2,
|
60185
|
+
"content": 2,
|
60186
|
+
"author": 2,
|
60187
|
+
"javascript": 1,
|
60188
|
+
"alert": 1,
|
60189
|
+
"(": 1,
|
60190
|
+
")": 1,
|
60191
|
+
"body": 1,
|
60192
|
+
"h1": 1,
|
60193
|
+
"Markup": 1,
|
60194
|
+
"examples": 1,
|
60195
|
+
"#content": 1,
|
60196
|
+
"p": 2,
|
60197
|
+
"This": 1,
|
60198
|
+
"example": 1,
|
60199
|
+
"shows": 1,
|
60200
|
+
"you": 2,
|
60201
|
+
"how": 1,
|
60202
|
+
"a": 1,
|
60203
|
+
"basic": 1,
|
60204
|
+
"file": 1,
|
60205
|
+
"looks": 1,
|
60206
|
+
"like.": 1,
|
60207
|
+
"yield": 1,
|
60208
|
+
"-": 3,
|
60209
|
+
"unless": 1,
|
60210
|
+
"items.empty": 1,
|
60211
|
+
"table": 1,
|
60212
|
+
"for": 1,
|
60213
|
+
"item": 1,
|
60214
|
+
"in": 1,
|
60215
|
+
"items": 2,
|
60216
|
+
"do": 1,
|
60217
|
+
"tr": 1,
|
60218
|
+
"td.name": 1,
|
60219
|
+
"item.name": 1,
|
60220
|
+
"td.price": 1,
|
60221
|
+
"item.price": 1,
|
60222
|
+
"else": 1,
|
60223
|
+
"|": 2,
|
60224
|
+
"No": 1,
|
60225
|
+
"found.": 1,
|
60226
|
+
"Please": 1,
|
60227
|
+
"add": 1,
|
60228
|
+
"some": 1,
|
60229
|
+
"inventory.": 1,
|
60230
|
+
"Thank": 1,
|
60231
|
+
"div": 1,
|
60232
|
+
"id": 1,
|
60233
|
+
"render": 1,
|
60234
|
+
"Copyright": 1,
|
60235
|
+
"#": 2,
|
60236
|
+
"{": 2,
|
60237
|
+
"year": 1,
|
60238
|
+
"}": 2
|
60239
|
+
},
|
60173
60240
|
"Smalltalk": {
|
60174
60241
|
"Object": 1,
|
60175
60242
|
"subclass": 2,
|
@@ -67089,6 +67156,7 @@
|
|
67089
67156
|
"ShellSession": 233,
|
67090
67157
|
"Shen": 3472,
|
67091
67158
|
"Slash": 187,
|
67159
|
+
"Slim": 77,
|
67092
67160
|
"Smalltalk": 423,
|
67093
67161
|
"SourcePawn": 2080,
|
67094
67162
|
"SQL": 1485,
|
@@ -67279,6 +67347,7 @@
|
|
67279
67347
|
"ShellSession": 3,
|
67280
67348
|
"Shen": 3,
|
67281
67349
|
"Slash": 1,
|
67350
|
+
"Slim": 1,
|
67282
67351
|
"Smalltalk": 3,
|
67283
67352
|
"SourcePawn": 1,
|
67284
67353
|
"SQL": 5,
|
@@ -67314,5 +67383,5 @@
|
|
67314
67383
|
"Zephir": 2,
|
67315
67384
|
"Zimpl": 1
|
67316
67385
|
},
|
67317
|
-
"md5": "
|
67386
|
+
"md5": "3e0901633ee5729c6dac371442522f33"
|
67318
67387
|
}
|
data/lib/linguist/version.rb
CHANGED
metadata
CHANGED
@@ -1,125 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.7.3
|
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
26
|
version: 0.7.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: escape_utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.0.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mime-types
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.19'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.19'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pygments.rb
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.6.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.6.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: json
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: mocha
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: yajl-ruby
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
description: We use this library at GitHub to detect blob languages, highlight code,
|
@@ -131,6 +131,8 @@ executables:
|
|
131
131
|
extensions: []
|
132
132
|
extra_rdoc_files: []
|
133
133
|
files:
|
134
|
+
- bin/linguist
|
135
|
+
- lib/linguist.rb
|
134
136
|
- lib/linguist/blob_helper.rb
|
135
137
|
- lib/linguist/classifier.rb
|
136
138
|
- lib/linguist/file_blob.rb
|
@@ -146,8 +148,6 @@ files:
|
|
146
148
|
- lib/linguist/tokenizer.rb
|
147
149
|
- lib/linguist/vendor.yml
|
148
150
|
- lib/linguist/version.rb
|
149
|
-
- lib/linguist.rb
|
150
|
-
- bin/linguist
|
151
151
|
homepage: https://github.com/github/linguist
|
152
152
|
licenses:
|
153
153
|
- MIT
|
@@ -158,17 +158,17 @@ require_paths:
|
|
158
158
|
- lib
|
159
159
|
required_ruby_version: !ruby/object:Gem::Requirement
|
160
160
|
requirements:
|
161
|
-
- -
|
161
|
+
- - ">="
|
162
162
|
- !ruby/object:Gem::Version
|
163
163
|
version: '0'
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
|
-
- -
|
166
|
+
- - ">="
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.0
|
171
|
+
rubygems_version: 2.2.0
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: GitHub Language detection
|