git-trend 1.1.4 → 1.1.5
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/CHANGELOG.md +4 -0
- data/Rakefile +12 -0
- data/git-trend.gemspec +10 -9
- data/lib/git_trend/scraper.rb +5 -5
- data/lib/git_trend/version.rb +1 -1
- data/spec/fixtures/trending/index +1999 -1500
- data/spec/fixtures/trending/ruby +1736 -1207
- data/spec/fixtures/trending/ruby?since=weekly +1736 -1190
- data/spec/fixtures/trending?since=weekly +1713 -1182
- data/spec/git_trend/cli_spec.rb +652 -523
- metadata +21 -21
data/spec/git_trend/cli_spec.rb
CHANGED
|
@@ -30,9 +30,9 @@ RSpec.describe GitTrend::CLI do
|
|
|
30
30
|
res = <<-'EOS'.unindent
|
|
31
31
|
|No. Name Lang Star
|
|
32
32
|
|--- ---------------------------------------- ---------- ------
|
|
33
|
-
| 1
|
|
34
|
-
| 2
|
|
35
|
-
| 3
|
|
33
|
+
| 1 alexanderepstein/Bash-Snippets Shell 1111
|
|
34
|
+
| 2 jaredreich/pell JavaScript 665
|
|
35
|
+
| 3 azat-co/practicalnode JavaScript 440
|
|
36
36
|
|
|
37
37
|
EOS
|
|
38
38
|
expect { cli.invoke(:list, [], number: number, description: false) }.to output(res).to_stdout
|
|
@@ -57,31 +57,31 @@ RSpec.describe GitTrend::CLI do
|
|
|
57
57
|
res = <<-'EOS'.unindent
|
|
58
58
|
|No. Name Lang Star
|
|
59
59
|
|--- ---------------------------------------- ---------- ------
|
|
60
|
-
| 1
|
|
61
|
-
| 2
|
|
62
|
-
| 3
|
|
63
|
-
| 4
|
|
64
|
-
| 5
|
|
65
|
-
| 6
|
|
66
|
-
| 7
|
|
67
|
-
| 8
|
|
68
|
-
| 9
|
|
69
|
-
| 10
|
|
70
|
-
| 11
|
|
71
|
-
| 12
|
|
72
|
-
| 13
|
|
73
|
-
| 14 rails
|
|
74
|
-
| 15
|
|
75
|
-
| 16
|
|
76
|
-
| 17
|
|
77
|
-
| 18
|
|
78
|
-
| 19
|
|
79
|
-
| 20
|
|
80
|
-
| 21
|
|
81
|
-
| 22
|
|
82
|
-
| 23
|
|
83
|
-
| 24
|
|
84
|
-
| 25
|
|
60
|
+
| 1 rails/activestorage Ruby 25
|
|
61
|
+
| 2 jondot/awesome-react-native Ruby 21
|
|
62
|
+
| 3 jekyll/jekyll Ruby 18
|
|
63
|
+
| 4 athityakumar/colorls Ruby 16
|
|
64
|
+
| 5 rails/rails Ruby 10
|
|
65
|
+
| 6 discourse/discourse Ruby 12
|
|
66
|
+
| 7 openjournals/jose Ruby 11
|
|
67
|
+
| 8 Homebrew/brew Ruby 10
|
|
68
|
+
| 9 fastlane/fastlane Ruby 9
|
|
69
|
+
| 10 pinterest/it-cpe-cookbooks Ruby 10
|
|
70
|
+
| 11 elastic/logstash Ruby 9
|
|
71
|
+
| 12 mitchellh/vagrant Ruby 9
|
|
72
|
+
| 13 caskroom/homebrew-cask Ruby 5
|
|
73
|
+
| 14 rails/webpacker Ruby 8
|
|
74
|
+
| 15 jcs/lobsters Ruby 8
|
|
75
|
+
| 16 tootsuite/mastodon Ruby 6
|
|
76
|
+
| 17 rapid7/metasploit-framework Ruby 7
|
|
77
|
+
| 18 learnetto/calreact Ruby 7
|
|
78
|
+
| 19 gitlabhq/gitlabhq Ruby 5
|
|
79
|
+
| 20 sass/sass Ruby 6
|
|
80
|
+
| 21 thoughtbot/administrate Ruby 6
|
|
81
|
+
| 22 CocoaPods/CocoaPods Ruby 5
|
|
82
|
+
| 23 huginn/huginn Ruby 5
|
|
83
|
+
| 24 airblade/paper_trail Ruby 5
|
|
84
|
+
| 25 rmosolgo/graphql-ruby Ruby 5
|
|
85
85
|
|
|
86
86
|
EOS
|
|
87
87
|
expect { cli.invoke(:list, [], language: language, description: false) }.to output(res).to_stdout
|
|
@@ -187,31 +187,31 @@ RSpec.describe GitTrend::CLI do
|
|
|
187
187
|
res = <<-'EOS'.unindent
|
|
188
188
|
|No. Name Lang Star
|
|
189
189
|
|--- ---------------------------------------- ---------- ------
|
|
190
|
-
| 1
|
|
191
|
-
| 2
|
|
192
|
-
| 3 jondot/awesome-react-native Ruby
|
|
193
|
-
| 4
|
|
194
|
-
| 5 rails/rails Ruby
|
|
195
|
-
| 6
|
|
196
|
-
| 7
|
|
197
|
-
| 8
|
|
198
|
-
| 9
|
|
199
|
-
| 10
|
|
200
|
-
| 11
|
|
201
|
-
| 12
|
|
202
|
-
| 13
|
|
203
|
-
| 14
|
|
204
|
-
| 15
|
|
205
|
-
| 16
|
|
206
|
-
| 17
|
|
207
|
-
| 18
|
|
208
|
-
| 19
|
|
209
|
-
| 20
|
|
210
|
-
| 21
|
|
211
|
-
| 22
|
|
212
|
-
| 23 Homebrew/homebrew-core Ruby
|
|
213
|
-
| 24
|
|
214
|
-
| 25
|
|
190
|
+
| 1 athityakumar/colorls Ruby 442
|
|
191
|
+
| 2 rails/activestorage Ruby 185
|
|
192
|
+
| 3 jondot/awesome-react-native Ruby 143
|
|
193
|
+
| 4 fastlane/fastlane Ruby 117
|
|
194
|
+
| 5 rails/rails Ruby 98
|
|
195
|
+
| 6 Homebrew/brew Ruby 101
|
|
196
|
+
| 7 jekyll/jekyll Ruby 92
|
|
197
|
+
| 8 discourse/discourse Ruby 78
|
|
198
|
+
| 9 tootsuite/mastodon Ruby 63
|
|
199
|
+
| 10 openebs/openebs Ruby 66
|
|
200
|
+
| 11 lewagon/setup Ruby 61
|
|
201
|
+
| 12 DeathKing/Learning-SICP Ruby 51
|
|
202
|
+
| 13 huginn/huginn Ruby 50
|
|
203
|
+
| 14 sass/sass Ruby 48
|
|
204
|
+
| 15 atech/postal Ruby 46
|
|
205
|
+
| 16 mitchellh/vagrant Ruby 46
|
|
206
|
+
| 17 exercism/exercism.io Ruby 46
|
|
207
|
+
| 18 caskroom/homebrew-cask Ruby 32
|
|
208
|
+
| 19 rapid7/metasploit-framework Ruby 35
|
|
209
|
+
| 20 gitlabhq/gitlabhq Ruby 37
|
|
210
|
+
| 21 elastic/logstash Ruby 36
|
|
211
|
+
| 22 stympy/faker Ruby 32
|
|
212
|
+
| 23 Homebrew/homebrew-core Ruby 22
|
|
213
|
+
| 24 ruby/ruby Ruby 34
|
|
214
|
+
| 25 rails/webpacker Ruby 34
|
|
215
215
|
|
|
216
216
|
EOS
|
|
217
217
|
expect { cli.invoke(:list, [], language: language, since: since, description: false) }.to output(res).to_stdout
|
|
@@ -233,479 +233,608 @@ RSpec.describe GitTrend::CLI do
|
|
|
233
233
|
|
|
234
234
|
private
|
|
235
235
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
236
|
+
def stub_request_get(stub_url_path, stub_file_name = nil)
|
|
237
|
+
url = Scraper::BASE_HOST.dup
|
|
238
|
+
url << "/#{stub_url_path}" if stub_url_path
|
|
239
|
+
uri = URI.parse(url)
|
|
240
|
+
stub_file = stub_file_name || stub_url_path
|
|
241
|
+
stub_request(:get, uri)
|
|
242
|
+
.to_return(
|
|
243
|
+
status: 200,
|
|
244
|
+
headers: { content_type: "text/html" },
|
|
245
|
+
body: load_http_stub(stub_file))
|
|
246
|
+
end
|
|
247
247
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
248
|
+
def dummy_result_without_description
|
|
249
|
+
<<-'EOS'.unindent
|
|
250
|
+
|No. Name Lang Star
|
|
251
|
+
|--- ---------------------------------------- ---------------- ------
|
|
252
|
+
| 1 alexanderepstein/Bash-Snippets Shell 1111
|
|
253
|
+
| 2 jaredreich/pell JavaScript 665
|
|
254
|
+
| 3 azat-co/practicalnode JavaScript 440
|
|
255
|
+
| 4 shieldfy/API-Security-Checklist 427
|
|
256
|
+
| 5 d4l3k/go-pry Go 419
|
|
257
|
+
| 6 Kristories/awesome-guidelines 382
|
|
258
|
+
| 7 iogf/sukhoi Python 302
|
|
259
|
+
| 8 wearehive/project-guidelines JavaScript 254
|
|
260
|
+
| 9 gpujs/gpu.js JavaScript 260
|
|
261
|
+
| 10 geekplux/markvis JavaScript 230
|
|
262
|
+
| 11 tensorflow/nmt Python 212
|
|
263
|
+
| 12 gitpoint/git-point JavaScript 212
|
|
264
|
+
| 13 coells/100days Jupyter Notebook 199
|
|
265
|
+
| 14 scwang90/SmartRefreshLayout Java 198
|
|
266
|
+
| 15 zeit/now JavaScript 197
|
|
267
|
+
| 16 walmik/scribbletune JavaScript 174
|
|
268
|
+
| 17 cdflynn/turn-layout-manager Java 165
|
|
269
|
+
| 18 vuejs/vue JavaScript 157
|
|
270
|
+
| 19 sdras/intro-to-vue Vue 153
|
|
271
|
+
| 20 moinism/botui JavaScript 150
|
|
272
|
+
| 21 Tanibox/tania CSS 153
|
|
273
|
+
| 22 tensorflow/tensorflow C++ 116
|
|
274
|
+
| 23 tarek360/RichPath Java 150
|
|
275
|
+
| 24 woxingxiao/SlidingUpPanelLayout Java 143
|
|
276
|
+
| 25 kristian-lange/net-glimpse JavaScript 141
|
|
277
|
+
|
|
278
|
+
EOS
|
|
279
|
+
end
|
|
280
280
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
281
|
+
def dummy_result_no_options
|
|
282
|
+
<<-'EOS'.unindent
|
|
283
|
+
|No. Name Lang Star Description
|
|
284
|
+
|--- ---------------------------------------- ---------------- ------ -----------------------------------------------------------------------
|
|
285
|
+
| 1 alexanderepstein/Bash-Snippets Shell 1111 A collection of small bash scripts for heavy terminal users
|
|
286
|
+
| 2 jaredreich/pell JavaScript 665 📝 the simplest and smallest (1kB) WYSIWYG text editor for web, with...
|
|
287
|
+
| 3 azat-co/practicalnode JavaScript 440 Practical Node.js, 1st and 2nd Editions [Apress]
|
|
288
|
+
| 4 shieldfy/API-Security-Checklist 427 Checklist of the most important security countermeasures when design...
|
|
289
|
+
| 5 d4l3k/go-pry Go 419 An interactive REPL for Go that allows you to drop into your code at...
|
|
290
|
+
| 6 Kristories/awesome-guidelines 382 A curated list of high quality coding style conventions and standards.
|
|
291
|
+
| 7 iogf/sukhoi Python 302 Minimalist and powerful Web Crawler.
|
|
292
|
+
| 8 wearehive/project-guidelines JavaScript 254 A set of best practices for JavaScript projects
|
|
293
|
+
| 9 gpujs/gpu.js JavaScript 260 GPU Accelerated JavaScript
|
|
294
|
+
| 10 geekplux/markvis JavaScript 230 make visualization in markdown. 📊📈
|
|
295
|
+
| 11 tensorflow/nmt Python 212 TensorFlow Neural Machine Translation Tutorial
|
|
296
|
+
| 12 gitpoint/git-point JavaScript 212 ⚡️ GitHub for iOS. Built with React Native.
|
|
297
|
+
| 13 coells/100days Jupyter Notebook 199 100 days of algorithms
|
|
298
|
+
| 14 scwang90/SmartRefreshLayout Java 198 Android智能下拉刷新框架,支持越界回弹,集成了几十种炫酷的Header和 Fo...
|
|
299
|
+
| 15 zeit/now JavaScript 197 Universal, serverless, single-command deployment
|
|
300
|
+
| 16 walmik/scribbletune JavaScript 174 Generate musical patterns with JavaScript and export as MIDI files u...
|
|
301
|
+
| 17 cdflynn/turn-layout-manager Java 165 A carousel layout manager for RecyclerView
|
|
302
|
+
| 18 vuejs/vue JavaScript 157 A progressive, incrementally-adoptable JavaScript framework for buil...
|
|
303
|
+
| 19 sdras/intro-to-vue Vue 153 Workshop Materials for my Introduction to Vue.js Workshop
|
|
304
|
+
| 20 moinism/botui JavaScript 150 🤖 A JavaScript framework to create conversational UIs
|
|
305
|
+
| 21 Tanibox/tania CSS 153 A PHP based, free, and open source farming management system.
|
|
306
|
+
| 22 tensorflow/tensorflow C++ 116 Computation using data flow graphs for scalable machine learning
|
|
307
|
+
| 23 tarek360/RichPath Java 150 💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.
|
|
308
|
+
| 24 woxingxiao/SlidingUpPanelLayout Java 143 A vertical-handled and multi-panel support SlidingPanelLayout. 一个...
|
|
309
|
+
| 25 kristian-lange/net-glimpse JavaScript 141 1) Real-time visualization of network traffic (Ethernet and Internet...
|
|
310
|
+
|
|
311
|
+
EOS
|
|
312
|
+
end
|
|
313
313
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
314
|
+
def dummy_weekly_result
|
|
315
|
+
<<-'EOS'.unindent
|
|
316
|
+
|No. Name Lang Star
|
|
317
|
+
|--- ---------------------------------------------- ---------------- ------
|
|
318
|
+
| 1 shieldfy/API-Security-Checklist 5990
|
|
319
|
+
| 2 coells/100days Jupyter Notebook 3977
|
|
320
|
+
| 3 jaredreich/pell JavaScript 3623
|
|
321
|
+
| 4 wearehive/project-guidelines JavaScript 3263
|
|
322
|
+
| 5 scwang90/SmartRefreshLayout Java 2186
|
|
323
|
+
| 6 vadimdemedes/ink JavaScript 1686
|
|
324
|
+
| 7 gitpoint/git-point JavaScript 1326
|
|
325
|
+
| 8 ApolloAuto/apollo C++ 1193
|
|
326
|
+
| 9 samccone/bundle-buddy JavaScript 1225
|
|
327
|
+
| 10 alexanderepstein/Bash-Snippets Shell 1126
|
|
328
|
+
| 11 gatsbyjs/gatsby JavaScript 1114
|
|
329
|
+
| 12 d4l3k/go-pry Go 1108
|
|
330
|
+
| 13 vuejs/vue JavaScript 979
|
|
331
|
+
| 14 tensorflow/tensorflow C++ 790
|
|
332
|
+
| 15 sdmg15/Best-websites-a-programmer-should-visit 931
|
|
333
|
+
| 16 gpujs/gpu.js JavaScript 958
|
|
334
|
+
| 17 walmik/scribbletune JavaScript 909
|
|
335
|
+
| 18 nitin42/terminal-in-react JavaScript 822
|
|
336
|
+
| 19 tensorflow/nmt Python 781
|
|
337
|
+
| 20 AnthonyCalandra/modern-cpp-features 797
|
|
338
|
+
| 21 howtographql/howtographql TypeScript 773
|
|
339
|
+
| 22 mmcloughlin/globe Go 735
|
|
340
|
+
| 23 Yoctol/messaging-apis JavaScript 653
|
|
341
|
+
| 24 azat-co/practicalnode JavaScript 638
|
|
342
|
+
| 25 evilsocket/xray Go 619
|
|
343
|
+
|
|
344
|
+
EOS
|
|
345
|
+
end
|
|
346
346
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
347
|
+
def dummy_monthly_result
|
|
348
|
+
<<-'EOS'.unindent
|
|
349
|
+
|No. Name Lang Star
|
|
350
|
+
|--- ---------------------------------------------- ---------------- ------
|
|
351
|
+
| 1 shieldfy/API-Security-Checklist 5990
|
|
352
|
+
| 2 coells/100days Jupyter Notebook 3977
|
|
353
|
+
| 3 jaredreich/pell JavaScript 3623
|
|
354
|
+
| 4 wearehive/project-guidelines JavaScript 3263
|
|
355
|
+
| 5 scwang90/SmartRefreshLayout Java 2186
|
|
356
|
+
| 6 vadimdemedes/ink JavaScript 1686
|
|
357
|
+
| 7 gitpoint/git-point JavaScript 1326
|
|
358
|
+
| 8 ApolloAuto/apollo C++ 1193
|
|
359
|
+
| 9 samccone/bundle-buddy JavaScript 1225
|
|
360
|
+
| 10 alexanderepstein/Bash-Snippets Shell 1126
|
|
361
|
+
| 11 gatsbyjs/gatsby JavaScript 1114
|
|
362
|
+
| 12 d4l3k/go-pry Go 1108
|
|
363
|
+
| 13 vuejs/vue JavaScript 979
|
|
364
|
+
| 14 tensorflow/tensorflow C++ 790
|
|
365
|
+
| 15 sdmg15/Best-websites-a-programmer-should-visit 931
|
|
366
|
+
| 16 gpujs/gpu.js JavaScript 958
|
|
367
|
+
| 17 walmik/scribbletune JavaScript 909
|
|
368
|
+
| 18 nitin42/terminal-in-react JavaScript 822
|
|
369
|
+
| 19 tensorflow/nmt Python 781
|
|
370
|
+
| 20 AnthonyCalandra/modern-cpp-features 797
|
|
371
|
+
| 21 howtographql/howtographql TypeScript 773
|
|
372
|
+
| 22 mmcloughlin/globe Go 735
|
|
373
|
+
| 23 Yoctol/messaging-apis JavaScript 653
|
|
374
|
+
| 24 azat-co/practicalnode JavaScript 638
|
|
375
|
+
| 25 evilsocket/xray Go 619
|
|
376
|
+
|
|
377
|
+
EOS
|
|
378
|
+
end
|
|
379
379
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
380
|
+
def dummy_languages
|
|
381
|
+
<<-'EOS'.unindent
|
|
382
|
+
|1C Enterprise
|
|
383
|
+
|ABAP
|
|
384
|
+
|ABNF
|
|
385
|
+
|ActionScript
|
|
386
|
+
|Ada
|
|
387
|
+
|Agda
|
|
388
|
+
|AGS Script
|
|
389
|
+
|Alloy
|
|
390
|
+
|Alpine Abuild
|
|
391
|
+
|AMPL
|
|
392
|
+
|Ant Build System
|
|
393
|
+
|ANTLR
|
|
394
|
+
|ApacheConf
|
|
395
|
+
|Apex
|
|
396
|
+
|API Blueprint
|
|
397
|
+
|APL
|
|
398
|
+
|Apollo Guidance Computer
|
|
399
|
+
|AppleScript
|
|
400
|
+
|Arc
|
|
401
|
+
|Arduino
|
|
402
|
+
|AsciiDoc
|
|
403
|
+
|ASN.1
|
|
404
|
+
|ASP
|
|
405
|
+
|AspectJ
|
|
406
|
+
|Assembly
|
|
407
|
+
|ATS
|
|
408
|
+
|Augeas
|
|
409
|
+
|AutoHotkey
|
|
410
|
+
|AutoIt
|
|
411
|
+
|Awk
|
|
412
|
+
|Batchfile
|
|
413
|
+
|Befunge
|
|
414
|
+
|Bison
|
|
415
|
+
|BitBake
|
|
416
|
+
|Blade
|
|
417
|
+
|BlitzBasic
|
|
418
|
+
|BlitzMax
|
|
419
|
+
|Bluespec
|
|
420
|
+
|Boo
|
|
421
|
+
|Brainfuck
|
|
422
|
+
|Brightscript
|
|
423
|
+
|Bro
|
|
424
|
+
|C
|
|
425
|
+
|C#
|
|
426
|
+
|C++
|
|
427
|
+
|C-ObjDump
|
|
428
|
+
|C2hs Haskell
|
|
429
|
+
|Cap'n Proto
|
|
430
|
+
|CartoCSS
|
|
431
|
+
|Ceylon
|
|
432
|
+
|Chapel
|
|
433
|
+
|Charity
|
|
434
|
+
|ChucK
|
|
435
|
+
|Cirru
|
|
436
|
+
|Clarion
|
|
437
|
+
|Clean
|
|
438
|
+
|Click
|
|
439
|
+
|CLIPS
|
|
440
|
+
|Clojure
|
|
441
|
+
|Closure Templates
|
|
442
|
+
|CMake
|
|
443
|
+
|COBOL
|
|
444
|
+
|CoffeeScript
|
|
445
|
+
|ColdFusion
|
|
446
|
+
|ColdFusion CFC
|
|
447
|
+
|COLLADA
|
|
448
|
+
|Common Lisp
|
|
449
|
+
|Component Pascal
|
|
450
|
+
|Cool
|
|
451
|
+
|Coq
|
|
452
|
+
|Cpp-ObjDump
|
|
453
|
+
|Creole
|
|
454
|
+
|Crystal
|
|
455
|
+
|CSON
|
|
456
|
+
|Csound
|
|
457
|
+
|Csound Document
|
|
458
|
+
|Csound Score
|
|
459
|
+
|CSS
|
|
460
|
+
|CSV
|
|
461
|
+
|Gherkin
|
|
462
|
+
|Cuda
|
|
463
|
+
|CWeb
|
|
464
|
+
|Cycript
|
|
465
|
+
|Cython
|
|
466
|
+
|D
|
|
467
|
+
|D-ObjDump
|
|
468
|
+
|Darcs Patch
|
|
469
|
+
|Dart
|
|
470
|
+
|desktop
|
|
471
|
+
|Diff
|
|
472
|
+
|DIGITAL Command Language
|
|
473
|
+
|DM
|
|
474
|
+
|DNS Zone
|
|
475
|
+
|Dockerfile
|
|
476
|
+
|Dogescript
|
|
477
|
+
|DTrace
|
|
478
|
+
|Dylan
|
|
479
|
+
|E
|
|
480
|
+
|Eagle
|
|
481
|
+
|EBNF
|
|
482
|
+
|eC
|
|
483
|
+
|Ecere Projects
|
|
484
|
+
|ECL
|
|
485
|
+
|ECLiPSe
|
|
486
|
+
|edn
|
|
487
|
+
|Eiffel
|
|
488
|
+
|EJS
|
|
489
|
+
|Elixir
|
|
490
|
+
|Elm
|
|
491
|
+
|Emacs Lisp
|
|
492
|
+
|EmberScript
|
|
493
|
+
|EQ
|
|
494
|
+
|Erlang
|
|
495
|
+
|F#
|
|
496
|
+
|Factor
|
|
497
|
+
|Fancy
|
|
498
|
+
|Fantom
|
|
499
|
+
|Filebench WML
|
|
500
|
+
|Filterscript
|
|
501
|
+
|fish
|
|
502
|
+
|FLUX
|
|
503
|
+
|Formatted
|
|
504
|
+
|Forth
|
|
505
|
+
|Fortran
|
|
506
|
+
|FreeMarker
|
|
507
|
+
|Frege
|
|
508
|
+
|G-code
|
|
509
|
+
|Game Maker Language
|
|
510
|
+
|GAMS
|
|
511
|
+
|GAP
|
|
512
|
+
|GCC Machine Description
|
|
513
|
+
|GDB
|
|
514
|
+
|GDScript
|
|
515
|
+
|Genie
|
|
516
|
+
|Genshi
|
|
517
|
+
|Gentoo Ebuild
|
|
518
|
+
|Gentoo Eclass
|
|
519
|
+
|Gettext Catalog
|
|
520
|
+
|Gherkin
|
|
521
|
+
|GLSL
|
|
522
|
+
|Glyph
|
|
523
|
+
|GN
|
|
524
|
+
|Gnuplot
|
|
525
|
+
|Go
|
|
526
|
+
|Golo
|
|
527
|
+
|Gosu
|
|
528
|
+
|Grace
|
|
529
|
+
|Gradle
|
|
530
|
+
|Grammatical Framework
|
|
531
|
+
|Graph Modeling Language
|
|
532
|
+
|GraphQL
|
|
533
|
+
|Graphviz (DOT)
|
|
534
|
+
|Groovy
|
|
535
|
+
|Groovy Server Pages
|
|
536
|
+
|Hack
|
|
537
|
+
|Haml
|
|
538
|
+
|Handlebars
|
|
539
|
+
|Harbour
|
|
540
|
+
|Haskell
|
|
541
|
+
|Haxe
|
|
542
|
+
|HCL
|
|
543
|
+
|HLSL
|
|
544
|
+
|HTML
|
|
545
|
+
|HTML+Django
|
|
546
|
+
|HTML+ECR
|
|
547
|
+
|HTML+EEX
|
|
548
|
+
|HTML+ERB
|
|
549
|
+
|HTML+PHP
|
|
550
|
+
|HTTP
|
|
551
|
+
|Hy
|
|
552
|
+
|HyPhy
|
|
553
|
+
|IDL
|
|
554
|
+
|Idris
|
|
555
|
+
|IGOR Pro
|
|
556
|
+
|Inform 7
|
|
557
|
+
|INI
|
|
558
|
+
|Inno Setup
|
|
559
|
+
|Io
|
|
560
|
+
|Ioke
|
|
561
|
+
|IRC log
|
|
562
|
+
|Isabelle
|
|
563
|
+
|Isabelle ROOT
|
|
564
|
+
|J
|
|
565
|
+
|Jasmin
|
|
566
|
+
|Java
|
|
567
|
+
|Java Server Pages
|
|
568
|
+
|JavaScript
|
|
569
|
+
|JFlex
|
|
570
|
+
|Jison
|
|
571
|
+
|Jison Lex
|
|
572
|
+
|Jolie
|
|
573
|
+
|JSON
|
|
574
|
+
|JSON5
|
|
575
|
+
|JSONiq
|
|
576
|
+
|JSONLD
|
|
577
|
+
|JSX
|
|
578
|
+
|Julia
|
|
579
|
+
|Jupyter Notebook
|
|
580
|
+
|KiCad
|
|
581
|
+
|Kit
|
|
582
|
+
|Kotlin
|
|
583
|
+
|KRL
|
|
584
|
+
|LabVIEW
|
|
585
|
+
|Lasso
|
|
586
|
+
|Latte
|
|
587
|
+
|Lean
|
|
588
|
+
|Less
|
|
589
|
+
|Lex
|
|
590
|
+
|LFE
|
|
591
|
+
|LilyPond
|
|
592
|
+
|Limbo
|
|
593
|
+
|Linker Script
|
|
594
|
+
|Linux Kernel Module
|
|
595
|
+
|Liquid
|
|
596
|
+
|Literate Agda
|
|
597
|
+
|Literate CoffeeScript
|
|
598
|
+
|Literate Haskell
|
|
599
|
+
|LiveScript
|
|
600
|
+
|LLVM
|
|
601
|
+
|Logos
|
|
602
|
+
|Logtalk
|
|
603
|
+
|LOLCODE
|
|
604
|
+
|LookML
|
|
605
|
+
|LoomScript
|
|
606
|
+
|LSL
|
|
607
|
+
|Lua
|
|
608
|
+
|M
|
|
609
|
+
|M4
|
|
610
|
+
|M4Sugar
|
|
611
|
+
|Makefile
|
|
612
|
+
|Mako
|
|
613
|
+
|Markdown
|
|
614
|
+
|Marko
|
|
615
|
+
|Mask
|
|
616
|
+
|Mathematica
|
|
617
|
+
|Matlab
|
|
618
|
+
|Maven POM
|
|
619
|
+
|Max
|
|
620
|
+
|MAXScript
|
|
621
|
+
|MediaWiki
|
|
622
|
+
|Mercury
|
|
623
|
+
|Meson
|
|
624
|
+
|Metal
|
|
625
|
+
|MiniD
|
|
626
|
+
|Mirah
|
|
627
|
+
|Modelica
|
|
628
|
+
|Modula-2
|
|
629
|
+
|Module Management System
|
|
630
|
+
|Monkey
|
|
631
|
+
|Moocode
|
|
632
|
+
|MoonScript
|
|
633
|
+
|MQL4
|
|
634
|
+
|MQL5
|
|
635
|
+
|MTML
|
|
636
|
+
|MUF
|
|
637
|
+
|mupad
|
|
638
|
+
|Myghty
|
|
639
|
+
|NCL
|
|
640
|
+
|Nemerle
|
|
641
|
+
|nesC
|
|
642
|
+
|NetLinx
|
|
643
|
+
|NetLinx+ERB
|
|
644
|
+
|NetLogo
|
|
645
|
+
|NewLisp
|
|
646
|
+
|Nginx
|
|
647
|
+
|Nim
|
|
648
|
+
|Ninja
|
|
649
|
+
|Nit
|
|
650
|
+
|Nix
|
|
651
|
+
|NL
|
|
652
|
+
|NSIS
|
|
653
|
+
|Nu
|
|
654
|
+
|NumPy
|
|
655
|
+
|ObjDump
|
|
656
|
+
|Objective-C
|
|
657
|
+
|Objective-C++
|
|
658
|
+
|Objective-J
|
|
659
|
+
|OCaml
|
|
660
|
+
|Omgrofl
|
|
661
|
+
|ooc
|
|
662
|
+
|Opa
|
|
663
|
+
|Opal
|
|
664
|
+
|OpenCL
|
|
665
|
+
|OpenEdge ABL
|
|
666
|
+
|OpenRC runscript
|
|
667
|
+
|OpenSCAD
|
|
668
|
+
|OpenType Feature File
|
|
669
|
+
|Org
|
|
670
|
+
|Ox
|
|
671
|
+
|Oxygene
|
|
672
|
+
|Oz
|
|
673
|
+
|P4
|
|
674
|
+
|Pan
|
|
675
|
+
|Papyrus
|
|
676
|
+
|Parrot
|
|
677
|
+
|Parrot Assembly
|
|
678
|
+
|Parrot Internal Representation
|
|
679
|
+
|Pascal
|
|
680
|
+
|PAWN
|
|
681
|
+
|Pep8
|
|
682
|
+
|Perl
|
|
683
|
+
|Perl6
|
|
684
|
+
|PHP
|
|
685
|
+
|Pic
|
|
686
|
+
|Pickle
|
|
687
|
+
|PicoLisp
|
|
688
|
+
|PigLatin
|
|
689
|
+
|Pike
|
|
690
|
+
|PLpgSQL
|
|
691
|
+
|PLSQL
|
|
692
|
+
|Pod
|
|
693
|
+
|PogoScript
|
|
694
|
+
|Pony
|
|
695
|
+
|PostScript
|
|
696
|
+
|POV-Ray SDL
|
|
697
|
+
|PowerBuilder
|
|
698
|
+
|PowerShell
|
|
699
|
+
|Processing
|
|
700
|
+
|Prolog
|
|
701
|
+
|Propeller Spin
|
|
702
|
+
|Protocol Buffer
|
|
703
|
+
|Public Key
|
|
704
|
+
|Pug
|
|
705
|
+
|Puppet
|
|
706
|
+
|Pure Data
|
|
707
|
+
|PureBasic
|
|
708
|
+
|PureScript
|
|
709
|
+
|Python
|
|
710
|
+
|Python console
|
|
711
|
+
|Python traceback
|
|
712
|
+
|QMake
|
|
713
|
+
|QML
|
|
714
|
+
|R
|
|
715
|
+
|Racket
|
|
716
|
+
|Ragel
|
|
717
|
+
|RAML
|
|
718
|
+
|Rascal
|
|
719
|
+
|Raw token data
|
|
720
|
+
|RDoc
|
|
721
|
+
|REALbasic
|
|
722
|
+
|Reason
|
|
723
|
+
|Rebol
|
|
724
|
+
|Red
|
|
725
|
+
|Redcode
|
|
726
|
+
|Regular Expression
|
|
727
|
+
|Ren'Py
|
|
728
|
+
|RenderScript
|
|
729
|
+
|reStructuredText
|
|
730
|
+
|REXX
|
|
731
|
+
|RHTML
|
|
732
|
+
|RMarkdown
|
|
733
|
+
|RobotFramework
|
|
734
|
+
|Roff
|
|
735
|
+
|Rouge
|
|
736
|
+
|RPM Spec
|
|
737
|
+
|Ruby
|
|
738
|
+
|RUNOFF
|
|
739
|
+
|Rust
|
|
740
|
+
|Sage
|
|
741
|
+
|SaltStack
|
|
742
|
+
|SAS
|
|
743
|
+
|Sass
|
|
744
|
+
|Scala
|
|
745
|
+
|Scaml
|
|
746
|
+
|Scheme
|
|
747
|
+
|Scilab
|
|
748
|
+
|SCSS
|
|
749
|
+
|Self
|
|
750
|
+
|ShaderLab
|
|
751
|
+
|Shell
|
|
752
|
+
|ShellSession
|
|
753
|
+
|Shen
|
|
754
|
+
|Slash
|
|
755
|
+
|Slim
|
|
756
|
+
|Smali
|
|
757
|
+
|Smalltalk
|
|
758
|
+
|Smarty
|
|
759
|
+
|SMT
|
|
760
|
+
|SourcePawn
|
|
761
|
+
|SPARQL
|
|
762
|
+
|Spline Font Database
|
|
763
|
+
|SQF
|
|
764
|
+
|SQL
|
|
765
|
+
|SQLPL
|
|
766
|
+
|Squirrel
|
|
767
|
+
|SRecode Template
|
|
768
|
+
|Stan
|
|
769
|
+
|Standard ML
|
|
770
|
+
|Stata
|
|
771
|
+
|STON
|
|
772
|
+
|Stylus
|
|
773
|
+
|Sublime Text Config
|
|
774
|
+
|SubRip Text
|
|
775
|
+
|SuperCollider
|
|
776
|
+
|SVG
|
|
777
|
+
|Swift
|
|
778
|
+
|SystemVerilog
|
|
779
|
+
|Tcl
|
|
780
|
+
|Tcsh
|
|
781
|
+
|Tea
|
|
782
|
+
|Terra
|
|
783
|
+
|TeX
|
|
784
|
+
|Text
|
|
785
|
+
|Textile
|
|
786
|
+
|Thrift
|
|
787
|
+
|TI Program
|
|
788
|
+
|TLA
|
|
789
|
+
|TOML
|
|
790
|
+
|Turing
|
|
791
|
+
|Turtle
|
|
792
|
+
|Twig
|
|
793
|
+
|TXL
|
|
794
|
+
|TypeScript
|
|
795
|
+
|Unified Parallel C
|
|
796
|
+
|Unity3D Asset
|
|
797
|
+
|Unix Assembly
|
|
798
|
+
|Uno
|
|
799
|
+
|UnrealScript
|
|
800
|
+
|UrWeb
|
|
801
|
+
|Vala
|
|
802
|
+
|VCL
|
|
803
|
+
|Verilog
|
|
804
|
+
|VHDL
|
|
805
|
+
|Vim script
|
|
806
|
+
|Vim script
|
|
807
|
+
|Visual Basic
|
|
808
|
+
|Volt
|
|
809
|
+
|Vue
|
|
810
|
+
|Wavefront Material
|
|
811
|
+
|Wavefront Object
|
|
812
|
+
|Web Ontology Language
|
|
813
|
+
|WebIDL
|
|
814
|
+
|wisp
|
|
815
|
+
|World of Warcraft Addon Data
|
|
816
|
+
|X10
|
|
817
|
+
|xBase
|
|
818
|
+
|XC
|
|
819
|
+
|XCompose
|
|
820
|
+
|XML
|
|
821
|
+
|Xojo
|
|
822
|
+
|XPages
|
|
823
|
+
|XProc
|
|
824
|
+
|XQuery
|
|
825
|
+
|XS
|
|
826
|
+
|XSLT
|
|
827
|
+
|Xtend
|
|
828
|
+
|Yacc
|
|
829
|
+
|YAML
|
|
830
|
+
|YANG
|
|
831
|
+
|Zephir
|
|
832
|
+
|Zimpl
|
|
833
|
+
|
|
|
834
|
+
|451 languages
|
|
835
|
+
|you can get only selected language list with '-l' option.
|
|
836
|
+
|if languages is unknown, you can specify 'unkown'.
|
|
837
|
+
|
|
|
838
|
+
EOS
|
|
839
|
+
end
|
|
711
840
|
end
|