git-trend 0.2.2 → 0.2.3
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 +3 -0
- data/README.md +6 -0
- data/git-trend.gemspec +3 -3
- data/lib/git_trend/scraper.rb +17 -11
- data/lib/git_trend/version.rb +1 -1
- data/note.txt +8 -0
- data/spec/fixtures/trending +1570 -1499
- data/spec/fixtures/trending?l=objective-c%2B%2B +1541 -1460
- data/spec/fixtures/trending?l=ruby +1595 -1521
- data/spec/fixtures/trending?l=ruby&since=weekly +1595 -1523
- data/spec/fixtures/trending?since= +1570 -1499
- data/spec/fixtures/trending?since=daily +1571 -1500
- data/spec/fixtures/trending?since=monthly +1600 -1536
- data/spec/fixtures/trending?since=weekly +1583 -1517
- data/spec/git_trend/cli_spec.rb +485 -387
- metadata +10 -9
data/spec/git_trend/cli_spec.rb
CHANGED
@@ -25,9 +25,9 @@ RSpec.describe GitTrend::CLI do
|
|
25
25
|
res = <<-'EOS'.unindent
|
26
26
|
|No. Name Lang Star
|
27
27
|
|--- ---------------------------------------- ---------- ------
|
28
|
-
| 1
|
29
|
-
| 2
|
30
|
-
| 3
|
28
|
+
| 1 HunterLarco/voxel.css CSS 941
|
29
|
+
| 2 fengyuanchen/viewerjs JavaScript 716
|
30
|
+
| 3 FreeCodeCamp/FreeCodeCamp JavaScript 614
|
31
31
|
|
32
32
|
EOS
|
33
33
|
expect { @cli.invoke(:list, [], number: number, description: false) }.to output(res).to_stdout
|
@@ -56,31 +56,31 @@ RSpec.describe GitTrend::CLI do
|
|
56
56
|
res = <<-'EOS'.unindent
|
57
57
|
|No. Name Lang Star
|
58
58
|
|--- ---------------------------------------- ---------- ------
|
59
|
-
| 1
|
60
|
-
| 2
|
61
|
-
| 3 Homebrew/homebrew Ruby
|
62
|
-
| 4
|
63
|
-
| 5
|
64
|
-
| 6
|
65
|
-
| 7
|
66
|
-
| 8
|
67
|
-
| 9
|
68
|
-
| 10 caskroom/homebrew-cask Ruby
|
69
|
-
| 11
|
70
|
-
| 12
|
71
|
-
| 13
|
72
|
-
| 14
|
73
|
-
| 15
|
74
|
-
| 16
|
75
|
-
| 17
|
76
|
-
| 18
|
77
|
-
| 19
|
78
|
-
| 20
|
79
|
-
| 21
|
80
|
-
| 22
|
81
|
-
| 23
|
82
|
-
| 24
|
83
|
-
| 25
|
59
|
+
| 1 rails/rails Ruby 24
|
60
|
+
| 2 thoughtbot/scenic Ruby 34
|
61
|
+
| 3 Homebrew/homebrew Ruby 26
|
62
|
+
| 4 jekyll/jekyll Ruby 23
|
63
|
+
| 5 Thibaut/devdocs Ruby 19
|
64
|
+
| 6 jondot/awesome-react-native Ruby 16
|
65
|
+
| 7 fastlane/fastlane Ruby 15
|
66
|
+
| 8 discourse/discourse Ruby 13
|
67
|
+
| 9 mitchellh/vagrant Ruby 13
|
68
|
+
| 10 caskroom/homebrew-cask Ruby 11
|
69
|
+
| 11 shakacode/react_on_rails Ruby 14
|
70
|
+
| 12 gitlabhq/gitlabhq Ruby 13
|
71
|
+
| 13 samaaron/sonic-pi Ruby 12
|
72
|
+
| 14 ruby/ruby Ruby 10
|
73
|
+
| 15 twbs/bootstrap-sass Ruby 11
|
74
|
+
| 16 rapid7/metasploit-framework Ruby 8
|
75
|
+
| 17 tmuxinator/tmuxinator Ruby 10
|
76
|
+
| 18 CocoaPods/CocoaPods Ruby 9
|
77
|
+
| 19 plataformatec/devise Ruby 9
|
78
|
+
| 20 saasbook/typo Ruby 0
|
79
|
+
| 21 bbatsov/rubocop Ruby 7
|
80
|
+
| 22 Shopify/liquid Ruby 8
|
81
|
+
| 23 thoughtbot/administrate Ruby 7
|
82
|
+
| 24 capistrano/capistrano Ruby 7
|
83
|
+
| 25 brandonhilkert/sucker_punch Ruby 7
|
84
84
|
|
85
85
|
EOS
|
86
86
|
expect { @cli.invoke(:list, [], language: language, description: false) }.to output(res).to_stdout
|
@@ -97,31 +97,31 @@ RSpec.describe GitTrend::CLI do
|
|
97
97
|
res = <<-'EOS'.unindent
|
98
98
|
|No. Name Lang Star
|
99
99
|
|--- ---------------------------------------- ------------- ------
|
100
|
-
| 1
|
101
|
-
| 2 facebook/
|
102
|
-
| 3
|
103
|
-
| 4
|
104
|
-
| 5
|
105
|
-
| 6
|
106
|
-
| 7
|
107
|
-
| 8
|
108
|
-
| 9
|
109
|
-
| 10
|
110
|
-
| 11
|
111
|
-
| 12
|
112
|
-
| 13
|
113
|
-
| 14
|
114
|
-
| 15
|
115
|
-
| 16
|
116
|
-
| 17
|
117
|
-
| 18
|
118
|
-
| 19
|
119
|
-
| 20
|
120
|
-
| 21
|
121
|
-
| 22
|
122
|
-
| 23
|
100
|
+
| 1 facebook/pop Objective-C++ 0
|
101
|
+
| 2 facebook/componentkit Objective-C++ 0
|
102
|
+
| 3 rsms/fb-mac-messenger Objective-C++ 0
|
103
|
+
| 4 johnno1962/Xtrace Objective-C++ 0
|
104
|
+
| 5 pivotal/cedar Objective-C++ 0
|
105
|
+
| 6 rogual/neovim-dot-app Objective-C++ 0
|
106
|
+
| 7 mousebird/WhirlyGlobe Objective-C++ 0
|
107
|
+
| 8 deanm/plask Objective-C++ 0
|
108
|
+
| 9 jerols/PopTut Objective-C++ 0
|
109
|
+
| 10 fjolnir/Tranquil Objective-C++ 0
|
110
|
+
| 11 otaviocc/OCBorghettiView Objective-C++ 0
|
111
|
+
| 12 jxd001/POPdemo Objective-C++ 0
|
112
|
+
| 13 foundry/OpenCVSwiftStitch Objective-C++ 0
|
113
|
+
| 14 couchdeveloper/RXPromise Objective-C++ 0
|
114
|
+
| 15 petegoodliffe/PGMidi Objective-C++ 0
|
115
|
+
| 16 opensource-apple/objc4 Objective-C++ 0
|
116
|
+
| 17 giladno/UICoreTextView Objective-C++ 0
|
117
|
+
| 18 iolate/SimulateTouch Objective-C++ 0
|
118
|
+
| 19 otaviocc/NHCalendarActivity Objective-C++ 0
|
119
|
+
| 20 belkevich/nsdate-calendar Objective-C++ 0
|
120
|
+
| 21 pivotal/PivotalCoreKit Objective-C++ 0
|
121
|
+
| 22 openpeer/opios Objective-C++ 0
|
122
|
+
| 23 swift2js/swift2js Objective-C++ 0
|
123
123
|
| 24 Smartype/iOS_VPNPlugIn Objective-C++ 0
|
124
|
-
| 25
|
124
|
+
| 25 ryanb93/Applefy Objective-C++ 0
|
125
125
|
|
126
126
|
EOS
|
127
127
|
expect { @cli.invoke(:list, [], language: language, description: false) }.to output(res).to_stdout
|
@@ -146,33 +146,33 @@ RSpec.describe GitTrend::CLI do
|
|
146
146
|
let(:since) { 'weekly' }
|
147
147
|
it 'display daily ranking since weekly' do
|
148
148
|
res = <<-'EOS'.unindent
|
149
|
-
|No. Name Lang
|
150
|
-
|--- ----------------------------------------
|
151
|
-
| 1
|
152
|
-
| 2
|
153
|
-
| 3
|
154
|
-
| 4
|
155
|
-
| 5
|
156
|
-
| 6
|
157
|
-
| 7
|
158
|
-
| 8
|
159
|
-
| 9
|
160
|
-
| 10
|
161
|
-
| 11
|
162
|
-
| 12
|
163
|
-
| 13
|
164
|
-
| 14
|
165
|
-
| 15
|
166
|
-
| 16
|
167
|
-
| 17
|
168
|
-
| 18
|
169
|
-
| 19
|
170
|
-
| 20
|
171
|
-
| 21
|
172
|
-
| 22
|
173
|
-
| 23
|
174
|
-
| 24
|
175
|
-
| 25
|
149
|
+
|No. Name Lang Star
|
150
|
+
|--- ---------------------------------------- ----------- ------
|
151
|
+
| 1 DrkSephy/es6-cheatsheet JavaScript 5143
|
152
|
+
| 2 FreeCodeCamp/FreeCodeCamp JavaScript 4555
|
153
|
+
| 3 Microsoft/CNTK C++ 3548
|
154
|
+
| 4 jiahaog/nativefier JavaScript 2593
|
155
|
+
| 5 HunterLarco/voxel.css CSS 2054
|
156
|
+
| 6 samshadwell/TrumpScript Python 1824
|
157
|
+
| 7 Yalantis/uCrop Java 1731
|
158
|
+
| 8 Soundnode/soundnode-app JavaScript 1230
|
159
|
+
| 9 tensorflow/tensorflow C++ 953
|
160
|
+
| 10 Jam3/devtool JavaScript 1170
|
161
|
+
| 11 KnuffApp/Knuff Objective-C 1136
|
162
|
+
| 12 brave/browser-laptop JavaScript 1030
|
163
|
+
| 13 nlf/dlite Go 1051
|
164
|
+
| 14 zquestz/s Go 971
|
165
|
+
| 15 milligram/milligram CSS 959
|
166
|
+
| 16 themattrix/bash-concurrent Shell 924
|
167
|
+
| 17 kragniz/json-sempai Python 871
|
168
|
+
| 18 loverajoel/jstips CSS 841
|
169
|
+
| 19 chinchang/hint.css CSS 816
|
170
|
+
| 20 hirak/prestissimo PHP 783
|
171
|
+
| 21 rdpeng/ProgrammingAssignment2 R 8
|
172
|
+
| 22 fengyuanchen/viewerjs JavaScript 729
|
173
|
+
| 23 vhf/free-programming-books 620
|
174
|
+
| 24 yamartino/pressure JavaScript 695
|
175
|
+
| 25 cdmedia/cms.js JavaScript 677
|
176
176
|
|
177
177
|
EOS
|
178
178
|
expect { @cli.invoke(:list, [], since: since, description: false) }.to output(res).to_stdout
|
@@ -183,33 +183,33 @@ RSpec.describe GitTrend::CLI do
|
|
183
183
|
let(:since) { 'monthly' }
|
184
184
|
it 'display daily ranking since monthly' do
|
185
185
|
res = <<-'EOS'.unindent
|
186
|
-
|No. Name
|
187
|
-
|---
|
188
|
-
| 1
|
189
|
-
| 2
|
190
|
-
| 3
|
191
|
-
| 4
|
192
|
-
| 5
|
193
|
-
| 6
|
194
|
-
| 7
|
195
|
-
| 8
|
196
|
-
| 9
|
197
|
-
| 10
|
198
|
-
| 11
|
199
|
-
| 12
|
200
|
-
| 13
|
201
|
-
| 14
|
202
|
-
| 15
|
203
|
-
| 16
|
204
|
-
| 17
|
205
|
-
| 18
|
206
|
-
| 19
|
207
|
-
| 20
|
208
|
-
| 21
|
209
|
-
| 22
|
210
|
-
| 23
|
211
|
-
| 24
|
212
|
-
| 25
|
186
|
+
|No. Name Lang Star
|
187
|
+
|--- ------------------------------------------ ----------- ------
|
188
|
+
| 1 FreeCodeCamp/FreeCodeCamp JavaScript 15567
|
189
|
+
| 2 loverajoel/jstips CSS 7710
|
190
|
+
| 3 braydie/HowToBeAProgrammer 6786
|
191
|
+
| 4 DrkSephy/es6-cheatsheet JavaScript 5127
|
192
|
+
| 5 matryer/bitbar Objective-C 4946
|
193
|
+
| 6 Microsoft/ChakraCore JavaScript 4689
|
194
|
+
| 7 VerbalExpressions/JSVerbalExpressions JavaScript 4758
|
195
|
+
| 8 tldr-pages/tldr Shell 4193
|
196
|
+
| 9 jlevy/the-art-of-command-line 3966
|
197
|
+
| 10 mhinz/vim-galore VimL 4062
|
198
|
+
| 11 jiahaog/nativefier JavaScript 3932
|
199
|
+
| 12 jlevy/og-equity-compensation 3797
|
200
|
+
| 13 Microsoft/CNTK C++ 3537
|
201
|
+
| 14 hacksalot/HackMyResume JavaScript 3252
|
202
|
+
| 15 vhf/free-programming-books 2690
|
203
|
+
| 16 milligram/milligram CSS 2876
|
204
|
+
| 17 samshadwell/TrumpScript Python 2718
|
205
|
+
| 18 sindresorhus/awesome 2640
|
206
|
+
| 19 donnemartin/data-science-ipython-notebooks Python 2424
|
207
|
+
| 20 tensorflow/tensorflow C++ 2033
|
208
|
+
| 21 os-js/OS.js JavaScript 2357
|
209
|
+
| 22 JakeLin/IBAnimatable Swift 2345
|
210
|
+
| 23 viljamis/feature.js HTML 2239
|
211
|
+
| 24 facebook/react-native Java 1962
|
212
|
+
| 25 baidu-research/warp-ctc Cuda 1966
|
213
213
|
|
214
214
|
EOS
|
215
215
|
expect { @cli.invoke(:list, [], since: since, description: false) }.to output(res).to_stdout
|
@@ -243,7 +243,7 @@ RSpec.describe GitTrend::CLI do
|
|
243
243
|
|
244
244
|
context 'terminal width is tiny' do
|
245
245
|
before do
|
246
|
-
ENV['COLUMNS'] = '
|
246
|
+
ENV['COLUMNS'] = '84' # it is not enough for description.
|
247
247
|
ENV['LINES'] = '40'
|
248
248
|
end
|
249
249
|
|
@@ -265,31 +265,31 @@ RSpec.describe GitTrend::CLI do
|
|
265
265
|
res = <<-'EOS'.unindent
|
266
266
|
|No. Name Lang Star
|
267
267
|
|--- ---------------------------------------- ---------- ------
|
268
|
-
| 1
|
269
|
-
| 2
|
270
|
-
| 3
|
271
|
-
| 4
|
272
|
-
| 5
|
273
|
-
| 6
|
274
|
-
| 7
|
275
|
-
| 8
|
276
|
-
| 9
|
277
|
-
| 10
|
278
|
-
| 11
|
279
|
-
| 12
|
280
|
-
| 13
|
281
|
-
| 14
|
282
|
-
| 15
|
283
|
-
| 16
|
284
|
-
| 17
|
285
|
-
| 18
|
286
|
-
| 19
|
287
|
-
| 20
|
288
|
-
| 21
|
289
|
-
| 22
|
290
|
-
| 23
|
291
|
-
| 24
|
292
|
-
| 25
|
268
|
+
| 1 Homebrew/homebrew Ruby 166
|
269
|
+
| 2 shakacode/react_on_rails Ruby 197
|
270
|
+
| 3 rails/rails Ruby 144
|
271
|
+
| 4 jekyll/jekyll Ruby 136
|
272
|
+
| 5 powerpak/tqdm-ruby Ruby 149
|
273
|
+
| 6 fastlane/fastlane Ruby 117
|
274
|
+
| 7 codekitchen/dinghy Ruby 116
|
275
|
+
| 8 discourse/discourse Ruby 98
|
276
|
+
| 9 jondot/awesome-react-native Ruby 97
|
277
|
+
| 10 hanami/hanami Ruby 96
|
278
|
+
| 11 kciter/simple-slack-bot Ruby 95
|
279
|
+
| 12 zverok/worldize Ruby 95
|
280
|
+
| 13 mitchellh/vagrant Ruby 80
|
281
|
+
| 14 Thibaut/devdocs Ruby 82
|
282
|
+
| 15 plataformatec/devise Ruby 69
|
283
|
+
| 16 caskroom/homebrew-cask Ruby 54
|
284
|
+
| 17 gitlabhq/gitlabhq Ruby 60
|
285
|
+
| 18 ruby/ruby Ruby 58
|
286
|
+
| 19 jeremyevans/sequel Ruby 67
|
287
|
+
| 20 schneems/derailed_benchmarks Ruby 63
|
288
|
+
| 21 thoughtbot/scenic Ruby 62
|
289
|
+
| 22 cantino/huginn Ruby 57
|
290
|
+
| 23 sass/sass Ruby 53
|
291
|
+
| 24 kilimchoi/engineering-blogs Ruby 53
|
292
|
+
| 25 thoughtbot/administrate Ruby 48
|
293
293
|
|
294
294
|
EOS
|
295
295
|
expect { @cli.invoke(:list, [], language: language, since: since, description: false) }.to output(res).to_stdout
|
@@ -320,210 +320,308 @@ RSpec.describe GitTrend::CLI do
|
|
320
320
|
context 'with no option' do
|
321
321
|
it 'display daily ranking' do
|
322
322
|
res = <<-'EOS'.unindent
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
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
|
-
|
|
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
|
-
|
|
323
|
+
|ABAP
|
324
|
+
|ActionScript
|
325
|
+
|Ada
|
326
|
+
|Agda
|
327
|
+
|AGS Script
|
328
|
+
|Alloy
|
329
|
+
|AMPL
|
330
|
+
|ANTLR
|
331
|
+
|ApacheConf
|
332
|
+
|Apex
|
333
|
+
|API Blueprint
|
334
|
+
|APL
|
335
|
+
|AppleScript
|
336
|
+
|Arc
|
337
|
+
|Arduino
|
338
|
+
|ASP
|
339
|
+
|AspectJ
|
340
|
+
|Assembly
|
341
|
+
|ATS
|
342
|
+
|Augeas
|
343
|
+
|AutoHotkey
|
344
|
+
|AutoIt
|
345
|
+
|Awk
|
346
|
+
|Batchfile
|
347
|
+
|Befunge
|
348
|
+
|Bison
|
349
|
+
|BitBake
|
350
|
+
|BlitzBasic
|
351
|
+
|BlitzMax
|
352
|
+
|Bluespec
|
353
|
+
|Boo
|
354
|
+
|Brainfuck
|
355
|
+
|Brightscript
|
356
|
+
|Bro
|
357
|
+
|C
|
358
|
+
|C#
|
359
|
+
|C++
|
360
|
+
|Cap'n Proto
|
361
|
+
|CartoCSS
|
362
|
+
|Ceylon
|
363
|
+
|Chapel
|
364
|
+
|Charity
|
365
|
+
|ChucK
|
366
|
+
|Cirru
|
367
|
+
|Clarion
|
368
|
+
|Clean
|
369
|
+
|Click
|
370
|
+
|CLIPS
|
371
|
+
|Clojure
|
372
|
+
|CMake
|
373
|
+
|COBOL
|
374
|
+
|CoffeeScript
|
375
|
+
|ColdFusion
|
376
|
+
|Common Lisp
|
377
|
+
|Component Pascal
|
378
|
+
|Cool
|
379
|
+
|Coq
|
380
|
+
|Crystal
|
381
|
+
|CSS
|
382
|
+
|Cucumber
|
383
|
+
|Cuda
|
384
|
+
|Cycript
|
385
|
+
|D
|
386
|
+
|Darcs Patch
|
387
|
+
|Dart
|
388
|
+
|Diff
|
389
|
+
|DIGITAL Command Language
|
390
|
+
|DM
|
391
|
+
|Dogescript
|
392
|
+
|DTrace
|
393
|
+
|Dylan
|
394
|
+
|E
|
395
|
+
|Eagle
|
396
|
+
|eC
|
397
|
+
|ECL
|
398
|
+
|Eiffel
|
399
|
+
|Elixir
|
400
|
+
|Elm
|
401
|
+
|Emacs Lisp
|
402
|
+
|EmberScript
|
403
|
+
|Erlang
|
404
|
+
|F#
|
405
|
+
|Factor
|
406
|
+
|Fancy
|
407
|
+
|Fantom
|
408
|
+
|FLUX
|
409
|
+
|Forth
|
410
|
+
|FORTRAN
|
411
|
+
|FreeMarker
|
412
|
+
|Frege
|
413
|
+
|Game Maker Language
|
414
|
+
|GAMS
|
415
|
+
|GAP
|
416
|
+
|GDScript
|
417
|
+
|Genshi
|
418
|
+
|Gettext Catalog
|
419
|
+
|GLSL
|
420
|
+
|Glyph
|
421
|
+
|Gnuplot
|
422
|
+
|Go
|
423
|
+
|Golo
|
424
|
+
|Gosu
|
425
|
+
|Grace
|
426
|
+
|Grammatical Framework
|
427
|
+
|Groff
|
428
|
+
|Groovy
|
429
|
+
|Hack
|
430
|
+
|Handlebars
|
431
|
+
|Harbour
|
432
|
+
|Haskell
|
433
|
+
|Haxe
|
434
|
+
|HCL
|
435
|
+
|HTML
|
436
|
+
|Hy
|
437
|
+
|HyPhy
|
438
|
+
|IDL
|
439
|
+
|Idris
|
440
|
+
|IGOR Pro
|
441
|
+
|Inform 7
|
442
|
+
|Inno Setup
|
443
|
+
|Io
|
444
|
+
|Ioke
|
445
|
+
|Isabelle
|
446
|
+
|J
|
447
|
+
|Jasmin
|
448
|
+
|Java
|
449
|
+
|JavaScript
|
450
|
+
|JFlex
|
451
|
+
|JSONiq
|
452
|
+
|Julia
|
453
|
+
|Jupyter Notebook
|
454
|
+
|KiCad
|
455
|
+
|Kit
|
456
|
+
|Kotlin
|
457
|
+
|KRL
|
458
|
+
|LabVIEW
|
459
|
+
|Lasso
|
460
|
+
|Lean
|
461
|
+
|Lex
|
462
|
+
|LilyPond
|
463
|
+
|Limbo
|
464
|
+
|Liquid
|
465
|
+
|LiveScript
|
466
|
+
|LLVM
|
467
|
+
|Logos
|
468
|
+
|Logtalk
|
469
|
+
|LOLCODE
|
470
|
+
|LookML
|
471
|
+
|LoomScript
|
472
|
+
|LSL
|
473
|
+
|Lua
|
474
|
+
|M
|
475
|
+
|Makefile
|
476
|
+
|Mako
|
477
|
+
|Markdown
|
478
|
+
|Mask
|
479
|
+
|Mathematica
|
480
|
+
|Matlab
|
481
|
+
|Max
|
482
|
+
|MAXScript
|
483
|
+
|Mercury
|
484
|
+
|Metal
|
485
|
+
|MiniD
|
486
|
+
|Mirah
|
487
|
+
|Modelica
|
488
|
+
|Modula-2
|
489
|
+
|Module Management System
|
490
|
+
|Monkey
|
491
|
+
|Moocode
|
492
|
+
|MoonScript
|
493
|
+
|MTML
|
494
|
+
|mupad
|
495
|
+
|Myghty
|
496
|
+
|NCL
|
497
|
+
|Nemerle
|
498
|
+
|nesC
|
499
|
+
|NetLinx
|
500
|
+
|NetLinx+ERB
|
501
|
+
|NetLogo
|
502
|
+
|NewLisp
|
503
|
+
|Nginx
|
504
|
+
|Nimrod
|
505
|
+
|Nit
|
506
|
+
|Nix
|
507
|
+
|NSIS
|
508
|
+
|Nu
|
509
|
+
|Objective-C
|
510
|
+
|Objective-C++
|
511
|
+
|Objective-J
|
512
|
+
|OCaml
|
513
|
+
|Omgrofl
|
446
514
|
|ooc
|
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
|
-
|
|
515
|
+
|Opa
|
516
|
+
|Opal
|
517
|
+
|OpenEdge ABL
|
518
|
+
|OpenSCAD
|
519
|
+
|Ox
|
520
|
+
|Oxygene
|
521
|
+
|Oz
|
522
|
+
|Pan
|
523
|
+
|Papyrus
|
524
|
+
|Parrot
|
525
|
+
|Pascal
|
526
|
+
|PAWN
|
527
|
+
|Perl
|
528
|
+
|Perl6
|
529
|
+
|PHP
|
530
|
+
|PicoLisp
|
531
|
+
|PigLatin
|
532
|
+
|Pike
|
533
|
+
|PLpgSQL
|
534
|
+
|PLSQL
|
535
|
+
|PogoScript
|
536
|
+
|Pony
|
537
|
+
|PostScript
|
538
|
+
|PowerShell
|
539
|
+
|Processing
|
540
|
+
|Prolog
|
541
|
+
|Propeller Spin
|
542
|
+
|Protocol Buffer
|
543
|
+
|Puppet
|
544
|
+
|Pure Data
|
545
|
+
|PureBasic
|
546
|
+
|PureScript
|
547
|
+
|Python
|
548
|
+
|QMake
|
549
|
+
|QML
|
550
|
+
|R
|
551
|
+
|Racket
|
552
|
+
|Ragel in Ruby Host
|
553
|
+
|RAML
|
554
|
+
|RDoc
|
555
|
+
|REALbasic
|
556
|
+
|Rebol
|
557
|
+
|Red
|
558
|
+
|Redcode
|
559
|
+
|RenderScript
|
560
|
+
|RobotFramework
|
561
|
+
|Rouge
|
562
|
+
|Ruby
|
563
|
+
|Rust
|
564
|
+
|SaltStack
|
565
|
+
|SAS
|
566
|
+
|Scala
|
567
|
+
|Scheme
|
568
|
+
|Scilab
|
569
|
+
|Self
|
570
|
+
|Shell
|
571
|
+
|ShellSession
|
572
|
+
|Shen
|
573
|
+
|Slash
|
574
|
+
|Smali
|
575
|
+
|Smalltalk
|
576
|
+
|Smarty
|
577
|
+
|SMT
|
578
|
+
|SourcePawn
|
579
|
+
|SQF
|
580
|
+
|SQL
|
581
|
+
|SQLPL
|
582
|
+
|Squirrel
|
583
|
+
|Stan
|
584
|
+
|Standard ML
|
585
|
+
|Stata
|
586
|
+
|SuperCollider
|
587
|
+
|Swift
|
588
|
+
|SystemVerilog
|
589
|
+
|Tcl
|
590
|
+
|Tea
|
591
|
+
|TeX
|
592
|
+
|Thrift
|
593
|
+
|Turing
|
594
|
+
|TXL
|
595
|
+
|TypeScript
|
596
|
+
|UnrealScript
|
597
|
+
|UrWeb
|
598
|
+
|Vala
|
599
|
+
|VCL
|
600
|
+
|Verilog
|
601
|
+
|VHDL
|
602
|
+
|VimL
|
603
|
+
|Visual Basic
|
604
|
+
|Volt
|
605
|
+
|Vue
|
606
|
+
|Web Ontology Language
|
607
|
+
|WebIDL
|
514
608
|
|wisp
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
609
|
+
|X10
|
610
|
+
|xBase
|
611
|
+
|XC
|
612
|
+
|XML
|
613
|
+
|Xojo
|
614
|
+
|XPages
|
615
|
+
|XProc
|
616
|
+
|XQuery
|
617
|
+
|XS
|
618
|
+
|XSLT
|
619
|
+
|Xtend
|
620
|
+
|Yacc
|
621
|
+
|Zephir
|
622
|
+
|Zimpl
|
525
623
|
|
|
526
|
-
|
|
624
|
+
|300 languages
|
527
625
|
|you can get only selected language list with '-l' option.
|
528
626
|
|if languages is unknown, you can specify 'unkown'.
|
529
627
|
|
|
@@ -550,66 +648,66 @@ RSpec.describe GitTrend::CLI do
|
|
550
648
|
|
551
649
|
def dummy_result_without_description
|
552
650
|
<<-'EOS'.unindent
|
553
|
-
|No. Name
|
554
|
-
|---
|
555
|
-
| 1
|
556
|
-
| 2
|
557
|
-
| 3
|
558
|
-
| 4
|
559
|
-
| 5
|
560
|
-
| 6
|
561
|
-
| 7
|
562
|
-
| 8
|
563
|
-
| 9
|
564
|
-
| 10
|
565
|
-
| 11
|
566
|
-
| 12
|
567
|
-
| 13
|
568
|
-
| 14
|
569
|
-
| 15
|
570
|
-
| 16
|
571
|
-
| 17
|
572
|
-
| 18
|
573
|
-
| 19
|
574
|
-
| 20
|
575
|
-
| 21
|
576
|
-
| 22
|
577
|
-
| 23
|
578
|
-
| 24
|
579
|
-
| 25
|
651
|
+
|No. Name Lang Star
|
652
|
+
|--- ---------------------------------------- ------------ ------
|
653
|
+
| 1 HunterLarco/voxel.css CSS 941
|
654
|
+
| 2 fengyuanchen/viewerjs JavaScript 716
|
655
|
+
| 3 FreeCodeCamp/FreeCodeCamp JavaScript 614
|
656
|
+
| 4 Microsoft/CNTK C++ 378
|
657
|
+
| 5 cht8687/You-Dont-Need-Lodash-Underscore JavaScript 333
|
658
|
+
| 6 jgthms/bulma CSS 334
|
659
|
+
| 7 developit/preact JavaScript 322
|
660
|
+
| 8 twitterdev/furni-ios Swift 303
|
661
|
+
| 9 DrkSephy/es6-cheatsheet JavaScript 278
|
662
|
+
| 10 chinchang/hint.css CSS 242
|
663
|
+
| 11 denysdovhan/bash-handbook JavaScript 201
|
664
|
+
| 12 yabwe/medium-editor JavaScript 192
|
665
|
+
| 13 nlf/dlite Go 187
|
666
|
+
| 14 hollance/swift-algorithm-club Swift 173
|
667
|
+
| 15 jiahaog/nativefier JavaScript 163
|
668
|
+
| 16 mxstbr/login-flow JavaScript 159
|
669
|
+
| 17 Soundnode/soundnode-app JavaScript 146
|
670
|
+
| 18 hirak/prestissimo PHP 149
|
671
|
+
| 19 txusballesteros/sliding-deck Java 140
|
672
|
+
| 20 tensorflow/tensorflow C++ 86
|
673
|
+
| 21 milligram/milligram CSS 113
|
674
|
+
| 22 valentin012/conspeech OpenEdge ABL 108
|
675
|
+
| 23 gophergala2016/goad CSS 108
|
676
|
+
| 24 Yalantis/uCrop Java 103
|
677
|
+
| 25 mpociot/whiteboard JavaScript 97
|
580
678
|
|
581
679
|
EOS
|
582
680
|
end
|
583
681
|
|
584
682
|
def dummy_result_no_options
|
585
683
|
<<-'EOS'.unindent
|
586
|
-
|No. Name
|
587
|
-
|---
|
588
|
-
| 1
|
589
|
-
| 2
|
590
|
-
| 3
|
591
|
-
| 4
|
592
|
-
| 5
|
593
|
-
| 6
|
594
|
-
| 7
|
595
|
-
| 8
|
596
|
-
| 9
|
597
|
-
| 10
|
598
|
-
| 11
|
599
|
-
| 12
|
600
|
-
| 13
|
601
|
-
| 14
|
602
|
-
| 15
|
603
|
-
| 16
|
604
|
-
| 17
|
605
|
-
| 18
|
606
|
-
| 19
|
607
|
-
| 20
|
608
|
-
| 21
|
609
|
-
| 22
|
610
|
-
| 23
|
611
|
-
| 24
|
612
|
-
| 25
|
684
|
+
|No. Name Lang Star Description
|
685
|
+
|--- ---------------------------------------- ------------ ------ ---------------------------------------------------------------------------
|
686
|
+
| 1 HunterLarco/voxel.css CSS 941 A lightweight 3D CSS voxel library.
|
687
|
+
| 2 fengyuanchen/viewerjs JavaScript 716 JavaScript image viewer.
|
688
|
+
| 3 FreeCodeCamp/FreeCodeCamp JavaScript 614 The http://FreeCodeCamp.com open source codebase and curriculum. Learn t...
|
689
|
+
| 4 Microsoft/CNTK C++ 378 Computational Network Toolkit (CNTK)
|
690
|
+
| 5 cht8687/You-Dont-Need-Lodash-Underscore JavaScript 333 Lists of Javascript methods which you can use natively
|
691
|
+
| 6 jgthms/bulma CSS 334 Modern CSS framework based on Flexbox
|
692
|
+
| 7 developit/preact JavaScript 322 Fast 3kb React alternative with the same ES6 API. Components & Virtual DOM.
|
693
|
+
| 8 twitterdev/furni-ios Swift 303 Furni for iOS is a furniture store demo app presented at the Twitter Fli...
|
694
|
+
| 9 DrkSephy/es6-cheatsheet JavaScript 278 ES2015 [ES6] cheatsheet containing tips, tricks, best practices and code...
|
695
|
+
| 10 chinchang/hint.css CSS 242 A CSS only tooltip library for your lovely websites.
|
696
|
+
| 11 denysdovhan/bash-handbook JavaScript 201 For those who wanna learn Bash
|
697
|
+
| 12 yabwe/medium-editor JavaScript 192 Medium.com WYSIWYG editor clone. Uses contenteditable API to implement a...
|
698
|
+
| 13 nlf/dlite Go 187 The simplest way to use Docker on OS X
|
699
|
+
| 14 hollance/swift-algorithm-club Swift 173 Algorithms and data structures in Swift, with explanations!
|
700
|
+
| 15 jiahaog/nativefier JavaScript 163 Wrap any web page natively without even thinking, across Windows, OSX an...
|
701
|
+
| 16 mxstbr/login-flow JavaScript 159 A login/register flow built with React&Redux
|
702
|
+
| 17 Soundnode/soundnode-app JavaScript 146 Soundnode App is the Soundcloud for desktop. Built with NW.js, Angular.j...
|
703
|
+
| 18 hirak/prestissimo PHP 149 composer parallel install plugin
|
704
|
+
| 19 txusballesteros/sliding-deck Java 140 SlidingDeck View for Android
|
705
|
+
| 20 tensorflow/tensorflow C++ 86 Computation using data flow graphs for scalable machine learning
|
706
|
+
| 21 milligram/milligram CSS 113 A minimalist CSS framework.
|
707
|
+
| 22 valentin012/conspeech OpenEdge ABL 108 Political Speech Generator
|
708
|
+
| 23 gophergala2016/goad CSS 108 Goad is an AWS Lambda powered, highly distributed, load testing tool
|
709
|
+
| 24 Yalantis/uCrop Java 103 Image Cropping Library for Android
|
710
|
+
| 25 mpociot/whiteboard JavaScript 97 Simply write beautiful API documentation.
|
613
711
|
|
614
712
|
EOS
|
615
713
|
end
|