git-trend 0.1.0 → 0.1.1
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/README.md +108 -108
- data/lib/git_trend.rb +2 -0
- data/lib/git_trend/cli.rb +1 -1
- data/lib/git_trend/project.rb +2 -2
- data/lib/git_trend/rendering.rb +5 -5
- data/lib/git_trend/scraper.rb +16 -10
- data/lib/git_trend/version.rb +1 -1
- data/spec/fixtures/trending +1048 -723
- data/spec/fixtures/trending?l=objective-c%2B%2B +998 -708
- data/spec/fixtures/trending?l=ruby +1076 -759
- data/spec/fixtures/trending?l=ruby&since=weekly +1061 -750
- data/spec/fixtures/trending?since= +1048 -723
- data/spec/fixtures/trending?since=daily +1048 -723
- data/spec/fixtures/trending?since=monthly +1070 -754
- data/spec/fixtures/trending?since=weekly +1057 -739
- data/spec/git_trend/cli_spec.rb +212 -193
- data/spec/git_trend/scraper_spec.rb +9 -1
- metadata +2 -2
data/spec/git_trend/cli_spec.rb
CHANGED
@@ -35,33 +35,33 @@ RSpec.describe GitTrend::CLI do
|
|
35
35
|
|
36
36
|
it 'display daily ranking by language' do
|
37
37
|
res = <<-'EOS'.unindent
|
38
|
-
|No. Name Lang Star
|
39
|
-
|--- ---------------------------------------- ---------- ------
|
40
|
-
| 1
|
41
|
-
| 2
|
42
|
-
| 3 Homebrew/homebrew Ruby
|
43
|
-
| 4
|
44
|
-
| 5
|
45
|
-
| 6
|
46
|
-
| 7
|
47
|
-
| 8
|
48
|
-
| 9
|
49
|
-
| 10
|
50
|
-
| 11
|
51
|
-
| 12
|
52
|
-
| 13
|
53
|
-
| 14
|
54
|
-
| 15
|
55
|
-
| 16
|
56
|
-
| 17
|
57
|
-
| 18
|
58
|
-
| 19
|
59
|
-
| 20
|
60
|
-
| 21
|
61
|
-
| 22
|
62
|
-
| 23
|
63
|
-
| 24
|
64
|
-
| 25
|
38
|
+
|No. Name Lang Star
|
39
|
+
|--- ---------------------------------------- ---------- ------
|
40
|
+
| 1 discourse/discourse Ruby 40
|
41
|
+
| 2 Netflix/Scumblr Ruby 24
|
42
|
+
| 3 Homebrew/homebrew Ruby 19
|
43
|
+
| 4 remore/burn Ruby 23
|
44
|
+
| 5 mina-deploy/mina Ruby 17
|
45
|
+
| 6 pragmaticivan/minotauro_vagrant_rails Ruby 16
|
46
|
+
| 7 rails/rails Ruby 11
|
47
|
+
| 8 sass/sass Ruby 11
|
48
|
+
| 9 cantino/huginn Ruby 10
|
49
|
+
| 10 caskroom/homebrew-cask Ruby 8
|
50
|
+
| 11 presidentbeef/brakeman Ruby 9
|
51
|
+
| 12 applift/fast_attributes Ruby 10
|
52
|
+
| 13 krisleech/wisper Ruby 10
|
53
|
+
| 14 jekyll/jekyll Ruby 7
|
54
|
+
| 15 intridea/grape Ruby 7
|
55
|
+
| 16 mitchellh/vagrant Ruby 6
|
56
|
+
| 17 elasticsearch/logstash Ruby 6
|
57
|
+
| 18 rightscale/praxis Ruby 7
|
58
|
+
| 19 cerebris/jsonapi-resources Ruby 7
|
59
|
+
| 20 ruby/ruby Ruby 6
|
60
|
+
| 21 junegunn/fzf Ruby 6
|
61
|
+
| 22 digitaloceancloud/resource_kit Ruby 6
|
62
|
+
| 23 rapid7/metasploit-framework Ruby 5
|
63
|
+
| 24 tenderlove/the_metal Ruby 6
|
64
|
+
| 25 bbatsov/rubocop Ruby 5
|
65
65
|
EOS
|
66
66
|
expect { @cli.invoke(:list, [], language: language) }.to output(res).to_stdout
|
67
67
|
end
|
@@ -75,33 +75,33 @@ RSpec.describe GitTrend::CLI do
|
|
75
75
|
|
76
76
|
it 'display daily ranking by language' do
|
77
77
|
res = <<-'EOS'.unindent
|
78
|
-
|No. Name Lang Star
|
79
|
-
|--- ---------------------------------------- ------------- ------
|
80
|
-
| 1
|
81
|
-
| 2
|
82
|
-
| 3
|
83
|
-
| 4
|
84
|
-
| 5
|
85
|
-
| 6
|
86
|
-
| 7
|
87
|
-
| 8
|
88
|
-
| 9
|
89
|
-
| 10
|
90
|
-
| 11
|
91
|
-
| 12
|
92
|
-
| 13
|
93
|
-
| 14
|
94
|
-
| 15
|
95
|
-
| 16
|
96
|
-
| 17
|
97
|
-
| 18
|
98
|
-
| 19
|
99
|
-
| 20
|
100
|
-
| 21
|
101
|
-
| 22
|
102
|
-
| 23
|
103
|
-
| 24
|
104
|
-
| 25
|
78
|
+
|No. Name Lang Star
|
79
|
+
|--- ---------------------------------------- ------------- ------
|
80
|
+
| 1 droolsjbpm/optaplanner Objective-C++ 0
|
81
|
+
| 2 facebook/pop Objective-C++ 0
|
82
|
+
| 3 johnno1962/Xtrace Objective-C++ 0
|
83
|
+
| 4 pivotal/cedar Objective-C++ 0
|
84
|
+
| 5 wetube/bitcloud Objective-C++ 0
|
85
|
+
| 6 mousebird/WhirlyGlobe Objective-C++ 0
|
86
|
+
| 7 deanm/plask Objective-C++ 0
|
87
|
+
| 8 jerols/PopTut Objective-C++ 0
|
88
|
+
| 9 otaviocc/OCBorghettiView Objective-C++ 0
|
89
|
+
| 10 johnno1962/XprobePlugin Objective-C++ 0
|
90
|
+
| 11 callmeed/pop-playground Objective-C++ 0
|
91
|
+
| 12 couchdeveloper/RXPromise Objective-C++ 0
|
92
|
+
| 13 jxd001/POPdemo Objective-C++ 0
|
93
|
+
| 14 otaviocc/NHCalendarActivity Objective-C++ 0
|
94
|
+
| 15 giladno/UICoreTextView Objective-C++ 0
|
95
|
+
| 16 jhaynie/titanium_box2d Objective-C++ 0
|
96
|
+
| 17 openpeer/opios Objective-C++ 0
|
97
|
+
| 18 pivotal/PivotalCoreKit Objective-C++ 0
|
98
|
+
| 19 iolate/SimulateTouch Objective-C++ 0
|
99
|
+
| 20 mapbox/mapbox-gl-cocoa Objective-C++ 0
|
100
|
+
| 21 freerunnering/SwipeSelection Objective-C++ 0
|
101
|
+
| 22 kseebaldt/deferred Objective-C++ 0
|
102
|
+
| 23 rbaumbach/Swizzlean Objective-C++ 0
|
103
|
+
| 24 Smartype/iOS_VPNPlugIn Objective-C++ 0
|
104
|
+
| 25 swift2js/swift2js Objective-C++ 0
|
105
105
|
EOS
|
106
106
|
expect { @cli.invoke(:list, [], language: language) }.to output(res).to_stdout
|
107
107
|
end
|
@@ -125,33 +125,33 @@ RSpec.describe GitTrend::CLI do
|
|
125
125
|
let(:since) { 'weekly' }
|
126
126
|
it 'display daily ranking since weekly' do
|
127
127
|
res = <<-'EOS'.unindent
|
128
|
-
|No. Name
|
129
|
-
|---
|
130
|
-
| 1
|
131
|
-
| 2
|
132
|
-
| 3
|
133
|
-
| 4
|
134
|
-
| 5
|
135
|
-
| 6
|
136
|
-
| 7
|
137
|
-
| 8
|
138
|
-
| 9
|
139
|
-
| 10
|
140
|
-
| 11
|
141
|
-
| 12
|
142
|
-
| 13
|
143
|
-
| 14
|
144
|
-
| 15
|
145
|
-
| 16
|
146
|
-
| 17
|
147
|
-
| 18
|
148
|
-
| 19
|
149
|
-
| 20
|
150
|
-
| 21
|
151
|
-
| 22
|
152
|
-
| 23
|
153
|
-
| 24
|
154
|
-
| 25
|
128
|
+
|No. Name Lang Star
|
129
|
+
|--- ---------------------------------------- ---------- ------
|
130
|
+
| 1 rxin/db-readings 2116
|
131
|
+
| 2 gionkunz/chartist-js JavaScript 1652
|
132
|
+
| 3 chriskiehl/Gooey Python 1335
|
133
|
+
| 4 masayuki0812/c3 JavaScript 1233
|
134
|
+
| 5 daimajia/AndroidSwipeLayout Java 750
|
135
|
+
| 6 gogits/gogs Go 751
|
136
|
+
| 7 kitematic/kitematic JavaScript 734
|
137
|
+
| 8 tmux-plugins/tmux-resurrect Shell 737
|
138
|
+
| 9 fastmonkeys/stellar Python 642
|
139
|
+
| 10 Yelp/dockersh Go 633
|
140
|
+
| 11 sahat/satellizer PHP 581
|
141
|
+
| 12 luster-io/impulse JavaScript 580
|
142
|
+
| 13 AllThingsSmitty/must-watch-css 560
|
143
|
+
| 14 duojs/duo JavaScript 554
|
144
|
+
| 15 tylertreat/chan C 548
|
145
|
+
| 16 angular/angular.js JavaScript 378
|
146
|
+
| 17 mattt/Surge Swift 459
|
147
|
+
| 18 HubSpot/pace CSS 444
|
148
|
+
| 19 trueinteractions/tint2 C 448
|
149
|
+
| 20 peachananr/onepage-scroll JavaScript 386
|
150
|
+
| 21 twbs/bootstrap CSS 300
|
151
|
+
| 22 google/web-starter-kit CSS 372
|
152
|
+
| 23 quasado/gravit JavaScript 365
|
153
|
+
| 24 meteor/meteor JavaScript 362
|
154
|
+
| 25 Netflix/Scumblr Ruby 305
|
155
155
|
EOS
|
156
156
|
expect { @cli.invoke(:list, [], since: since) }.to output(res).to_stdout
|
157
157
|
end
|
@@ -161,33 +161,33 @@ RSpec.describe GitTrend::CLI do
|
|
161
161
|
let(:since) { 'monthly' }
|
162
162
|
it 'display daily ranking since monthly' do
|
163
163
|
res = <<-'EOS'.unindent
|
164
|
-
|No. Name
|
165
|
-
|---
|
166
|
-
| 1
|
167
|
-
| 2
|
168
|
-
| 3
|
169
|
-
| 4
|
170
|
-
| 5
|
171
|
-
| 6
|
172
|
-
| 7
|
173
|
-
| 8
|
174
|
-
| 9
|
175
|
-
| 10
|
176
|
-
| 11
|
177
|
-
| 12
|
178
|
-
| 13
|
179
|
-
| 14
|
180
|
-
| 15
|
181
|
-
| 16
|
182
|
-
| 17
|
183
|
-
| 18
|
184
|
-
| 19
|
185
|
-
| 20
|
186
|
-
| 21
|
187
|
-
| 22
|
188
|
-
| 23
|
189
|
-
| 24
|
190
|
-
| 25
|
164
|
+
|No. Name Lang Star
|
165
|
+
|--- ---------------------------------------- ------------ ------
|
166
|
+
| 1 sahat/satellizer PHP 3066
|
167
|
+
| 2 Ehesp/Responsive-Dashboard CSS 2975
|
168
|
+
| 3 fastmonkeys/stellar Python 2798
|
169
|
+
| 4 Alamofire/Alamofire Swift 2579
|
170
|
+
| 5 chriskiehl/Gooey Python 2509
|
171
|
+
| 6 rxin/db-readings 2139
|
172
|
+
| 7 johnpapa/angularjs-styleguide 2014
|
173
|
+
| 8 duojs/duo JavaScript 1977
|
174
|
+
| 9 limetext/lime Go 1895
|
175
|
+
| 10 angular/angular.js JavaScript 1412
|
176
|
+
| 11 gionkunz/chartist-js JavaScript 1680
|
177
|
+
| 12 twbs/bootstrap CSS 1263
|
178
|
+
| 13 gogits/gogs Go 1610
|
179
|
+
| 14 bevacqua/js 1570
|
180
|
+
| 15 typicode/lowdb CoffeeScript 1465
|
181
|
+
| 16 vhf/free-programming-books 1259
|
182
|
+
| 17 lmccart/p5.js JavaScript 1383
|
183
|
+
| 18 weblinc/jquery.smoothState.js JavaScript 1336
|
184
|
+
| 19 masayuki0812/c3 JavaScript 1331
|
185
|
+
| 20 deanmalmgren/textract Python 1265
|
186
|
+
| 21 ochococo/Design-Patterns-In-Swift Swift 1230
|
187
|
+
| 22 mbostock/d3 JavaScript 1008
|
188
|
+
| 23 VodkaBears/Vide JavaScript 1136
|
189
|
+
| 24 driftyco/ionic JavaScript 1007
|
190
|
+
| 25 fians/marka CSS 989
|
191
191
|
EOS
|
192
192
|
expect { @cli.invoke(:list, [], since: since) }.to output(res).to_stdout
|
193
193
|
end
|
@@ -210,33 +210,33 @@ RSpec.describe GitTrend::CLI do
|
|
210
210
|
|
211
211
|
it 'display daily ranking with description' do
|
212
212
|
res = <<-'EOS'.unindent
|
213
|
-
|No. Name
|
214
|
-
|---
|
215
|
-
| 1
|
216
|
-
| 2
|
217
|
-
| 3
|
218
|
-
| 4
|
219
|
-
| 5
|
220
|
-
| 6
|
221
|
-
| 7
|
222
|
-
| 8
|
223
|
-
| 9
|
224
|
-
| 10
|
225
|
-
| 11
|
226
|
-
| 12
|
227
|
-
| 13
|
228
|
-
| 14
|
229
|
-
| 15
|
230
|
-
| 16
|
231
|
-
| 17
|
232
|
-
| 18
|
233
|
-
| 19
|
234
|
-
| 20
|
235
|
-
| 21
|
236
|
-
| 22
|
237
|
-
| 23
|
238
|
-
| 24
|
239
|
-
| 25
|
213
|
+
|No. Name Lang Star Description
|
214
|
+
|--- ------------------------------------------ ----------- ------ --------------------------------------------------------------------------
|
215
|
+
| 1 gionkunz/chartist-js JavaScript 363 Simple responsive charts
|
216
|
+
| 2 kitematic/kitematic JavaScript 327 Simple Docker App management for Mac OS X.
|
217
|
+
| 3 tmux-plugins/tmux-resurrect Shell 217 Persists tmux environment across system restarts.
|
218
|
+
| 4 rxin/db-readings 210 Readings in Databases
|
219
|
+
| 5 daimajia/AndroidSwipeLayout Java 172 The Most Powerful Swipe Layout!
|
220
|
+
| 6 tylertreat/chan C 126 Pure C implementation of Go channels.
|
221
|
+
| 7 AllThingsSmitty/must-watch-css 93 A useful list of must-watch videos about CSS.
|
222
|
+
| 8 masayuki0812/c3 JavaScript 85 A D3-based reusable chart library
|
223
|
+
| 9 fouber/page-monitor JavaScript 74 capture webpage and diff the dom change with phantomjs
|
224
|
+
| 10 gogits/gogs Go 71 Gogs(Go Git Service) is a painless self-hosted Git Service written in G...
|
225
|
+
| 11 facebook/flux JavaScript 72 Application Architecture for Building User Interfaces
|
226
|
+
| 12 twbs/bootstrap CSS 55 The most popular front-end framework for developing responsive, mobile ...
|
227
|
+
| 13 luster-io/impulse JavaScript 68 Dynamics Physics Interactions for the Mobile Web
|
228
|
+
| 14 lawloretienne/QuickReturn Java 65 Showcases QuickReturn view as a header, footer, and both header and foo...
|
229
|
+
| 15 angular/angular.js JavaScript 53 HTML enhanced for web apps
|
230
|
+
| 16 wisk/medusa C 60 An open source interactive disassembler
|
231
|
+
| 17 ochococo/Design-Patterns-In-Swift Swift 60 Design Patterns implemented in Swift
|
232
|
+
| 18 cwRichardKim/RKSwipeBetweenViewControllers Objective-C 59 Swipe between ViewControllers like in the Spotify or Twitter app with a...
|
233
|
+
| 19 google/web-starter-kit CSS 59 Google Web Starter Kit (Beta)
|
234
|
+
| 20 syncthing/syncthing Go 49 Open Source Continuous File Synchronization
|
235
|
+
| 21 ruslanskorb/RSKImageCropper Objective-C 46 An image cropper for iOS like in the Contacts app with support for land...
|
236
|
+
| 22 kyze8439690/ResideLayout Java 44 An Android Layout which has a same function like https://github.com/rom...
|
237
|
+
| 23 ParsePlatform/f8DeveloperConferenceApp Java 41
|
238
|
+
| 24 chriskiehl/Gooey Python 41 Turn (almost) any command line program into a full GUI application with...
|
239
|
+
| 25 discourse/discourse Ruby 41 A platform for community discussion. Free, open, simple.
|
240
240
|
EOS
|
241
241
|
expect { @cli.invoke(:list, [], description: 'description') }.to output(res).to_stdout
|
242
242
|
end
|
@@ -245,7 +245,7 @@ RSpec.describe GitTrend::CLI do
|
|
245
245
|
context 'terminal width is tiny' do
|
246
246
|
before do
|
247
247
|
stub_request_get('trending')
|
248
|
-
ENV['COLUMNS'] = '
|
248
|
+
ENV['COLUMNS'] = '85' # it is not enough for description.
|
249
249
|
ENV['LINES'] = '40'
|
250
250
|
end
|
251
251
|
|
@@ -265,33 +265,33 @@ RSpec.describe GitTrend::CLI do
|
|
265
265
|
|
266
266
|
it 'display daily ranking since weekly' do
|
267
267
|
res = <<-'EOS'.unindent
|
268
|
-
|No. Name Lang Star
|
269
|
-
|--- ---------------------------------------- ---------- ------
|
270
|
-
| 1
|
271
|
-
| 2
|
272
|
-
| 3
|
273
|
-
| 4 Homebrew/homebrew Ruby
|
274
|
-
| 5
|
275
|
-
| 6
|
276
|
-
| 7
|
277
|
-
| 8
|
278
|
-
| 9 jekyll/jekyll Ruby
|
279
|
-
| 10
|
280
|
-
| 11
|
281
|
-
| 12
|
282
|
-
| 13 gitlabhq/gitlabhq Ruby
|
283
|
-
| 14
|
284
|
-
| 15
|
285
|
-
| 16
|
286
|
-
| 17
|
287
|
-
| 18
|
288
|
-
| 19
|
289
|
-
| 20
|
290
|
-
| 21
|
291
|
-
| 22
|
292
|
-
| 23
|
293
|
-
| 24
|
294
|
-
| 25
|
268
|
+
|No. Name Lang Star
|
269
|
+
|--- ---------------------------------------- ---------- ------
|
270
|
+
| 1 Netflix/Scumblr Ruby 308
|
271
|
+
| 2 tenderlove/the_metal Ruby 225
|
272
|
+
| 3 remore/burn Ruby 191
|
273
|
+
| 4 Homebrew/homebrew Ruby 121
|
274
|
+
| 5 discourse/discourse Ruby 135
|
275
|
+
| 6 rightscale/praxis Ruby 116
|
276
|
+
| 7 rails/rails Ruby 82
|
277
|
+
| 8 cantino/huginn Ruby 98
|
278
|
+
| 9 jekyll/jekyll Ruby 81
|
279
|
+
| 10 sass/sass Ruby 77
|
280
|
+
| 11 orta/cocoapods-keys Ruby 81
|
281
|
+
| 12 mitchellh/vagrant Ruby 62
|
282
|
+
| 13 gitlabhq/gitlabhq Ruby 52
|
283
|
+
| 14 caskroom/homebrew-cask Ruby 48
|
284
|
+
| 15 cerebris/jsonapi-resources Ruby 59
|
285
|
+
| 16 rapid7/metasploit-framework Ruby 47
|
286
|
+
| 17 winebarrel/ridgepole Ruby 57
|
287
|
+
| 18 digitaloceancloud/resource_kit Ruby 51
|
288
|
+
| 19 bbatsov/rubocop Ruby 44
|
289
|
+
| 20 rails/web-console Ruby 49
|
290
|
+
| 21 gavinlaking/vedeu Ruby 47
|
291
|
+
| 22 ruby/ruby Ruby 41
|
292
|
+
| 23 apotonick/paperdragon Ruby 46
|
293
|
+
| 24 junegunn/fzf Ruby 41
|
294
|
+
| 25 imathis/octopress Ruby 36
|
295
295
|
EOS
|
296
296
|
expect { @cli.invoke(:list, [], language: language, since: since) }.to output(res).to_stdout
|
297
297
|
end
|
@@ -312,9 +312,11 @@ RSpec.describe GitTrend::CLI do
|
|
312
312
|
|as3
|
313
313
|
|ada
|
314
314
|
|agda
|
315
|
+
|ags-script
|
315
316
|
|alloy
|
316
317
|
|antlr
|
317
318
|
|apex
|
319
|
+
|apl
|
318
320
|
|applescript
|
319
321
|
|arc
|
320
322
|
|arduino
|
@@ -327,6 +329,7 @@ RSpec.describe GitTrend::CLI do
|
|
327
329
|
|autoit
|
328
330
|
|awk
|
329
331
|
|blitzbasic
|
332
|
+
|blitzmax
|
330
333
|
|bluespec
|
331
334
|
|boo
|
332
335
|
|brightscript
|
@@ -335,6 +338,7 @@ RSpec.describe GitTrend::CLI do
|
|
335
338
|
|csharp
|
336
339
|
|cpp
|
337
340
|
|ceylon
|
341
|
+
|chapel
|
338
342
|
|cirru
|
339
343
|
|clean
|
340
344
|
|clips
|
@@ -343,13 +347,14 @@ RSpec.describe GitTrend::CLI do
|
|
343
347
|
|coffeescript
|
344
348
|
|cfm
|
345
349
|
|common-lisp
|
350
|
+
|component-pascal
|
346
351
|
|coq
|
347
352
|
|crystal
|
348
353
|
|css
|
349
354
|
|cuda
|
355
|
+
|cycript
|
350
356
|
|d
|
351
357
|
|dart
|
352
|
-
|dcpu-16-asm
|
353
358
|
|dm
|
354
359
|
|dogescript
|
355
360
|
|dot
|
@@ -360,6 +365,7 @@ RSpec.describe GitTrend::CLI do
|
|
360
365
|
|elixir
|
361
366
|
|elm
|
362
367
|
|emacs-lisp
|
368
|
+
|emberscript
|
363
369
|
|erlang
|
364
370
|
|fsharp
|
365
371
|
|factor
|
@@ -376,6 +382,7 @@ RSpec.describe GitTrend::CLI do
|
|
376
382
|
|gnuplot
|
377
383
|
|go
|
378
384
|
|gosu
|
385
|
+
|grace
|
379
386
|
|grammatical-framework
|
380
387
|
|groovy
|
381
388
|
|harbour
|
@@ -387,6 +394,7 @@ RSpec.describe GitTrend::CLI do
|
|
387
394
|
|inform-7
|
388
395
|
|io
|
389
396
|
|ioke
|
397
|
+
|isabelle
|
390
398
|
|j
|
391
399
|
|java
|
392
400
|
|javascript
|
@@ -394,10 +402,12 @@ RSpec.describe GitTrend::CLI do
|
|
394
402
|
|julia
|
395
403
|
|kotlin
|
396
404
|
|krl
|
405
|
+
|labview
|
397
406
|
|lasso
|
398
407
|
|livescript
|
399
408
|
|logos
|
400
409
|
|logtalk
|
410
|
+
|lookml
|
401
411
|
|lua
|
402
412
|
|m
|
403
413
|
|markdown
|
@@ -405,7 +415,7 @@ RSpec.describe GitTrend::CLI do
|
|
405
415
|
|matlab
|
406
416
|
|max/msp
|
407
417
|
|mercury
|
408
|
-
|
|
418
|
+
|mirah
|
409
419
|
|monkey
|
410
420
|
|moocode
|
411
421
|
|moonscript
|
@@ -413,6 +423,8 @@ RSpec.describe GitTrend::CLI do
|
|
413
423
|
|nesc
|
414
424
|
|netlogo
|
415
425
|
|nimrod
|
426
|
+
|nit
|
427
|
+
|nix
|
416
428
|
|nu
|
417
429
|
|objective-c
|
418
430
|
|objective-c++
|
@@ -421,7 +433,10 @@ RSpec.describe GitTrend::CLI do
|
|
421
433
|
|omgrofl
|
422
434
|
|ooc
|
423
435
|
|opa
|
436
|
+
|opal
|
424
437
|
|openedge-abl
|
438
|
+
|openscad
|
439
|
+
|ox
|
425
440
|
|oxygene
|
426
441
|
|pan
|
427
442
|
|parrot
|
@@ -430,6 +445,7 @@ RSpec.describe GitTrend::CLI do
|
|
430
445
|
|perl
|
431
446
|
|perl6
|
432
447
|
|php
|
448
|
+
|piglatin
|
433
449
|
|pike
|
434
450
|
|pogoscript
|
435
451
|
|powershell
|
@@ -462,6 +478,7 @@ RSpec.describe GitTrend::CLI do
|
|
462
478
|
|slash
|
463
479
|
|smalltalk
|
464
480
|
|sourcepawn
|
481
|
+
|sqf
|
465
482
|
|sql
|
466
483
|
|squirrel
|
467
484
|
|standard-ml
|
@@ -476,6 +493,7 @@ RSpec.describe GitTrend::CLI do
|
|
476
493
|
|typescript
|
477
494
|
|unrealscript
|
478
495
|
|vala
|
496
|
+
|vcl
|
479
497
|
|verilog
|
480
498
|
|vhdl
|
481
499
|
|vim
|
@@ -485,6 +503,7 @@ RSpec.describe GitTrend::CLI do
|
|
485
503
|
|xbase
|
486
504
|
|xc
|
487
505
|
|xml
|
506
|
+
|xojo
|
488
507
|
|xproc
|
489
508
|
|xquery
|
490
509
|
|xslt
|
@@ -492,7 +511,7 @@ RSpec.describe GitTrend::CLI do
|
|
492
511
|
|zephir
|
493
512
|
|zimpl
|
494
513
|
|
|
495
|
-
|
|
514
|
+
|202 languages
|
496
515
|
|you can get only selected language list with '-l' option.
|
497
516
|
|if languages is unknown, you can specify 'unkown'.
|
498
517
|
|
|
@@ -518,33 +537,33 @@ RSpec.describe GitTrend::CLI do
|
|
518
537
|
|
519
538
|
def dummy_result_no_options
|
520
539
|
<<-'EOS'.unindent
|
521
|
-
|No. Name
|
522
|
-
|---
|
523
|
-
| 1
|
524
|
-
| 2
|
525
|
-
| 3
|
526
|
-
| 4
|
527
|
-
| 5
|
528
|
-
| 6
|
529
|
-
| 7
|
530
|
-
| 8
|
531
|
-
| 9
|
532
|
-
| 10
|
533
|
-
| 11
|
534
|
-
| 12
|
535
|
-
| 13
|
536
|
-
| 14
|
537
|
-
| 15
|
538
|
-
| 16
|
539
|
-
| 17
|
540
|
-
| 18
|
541
|
-
| 19
|
542
|
-
| 20
|
543
|
-
| 21
|
544
|
-
| 22
|
545
|
-
| 23
|
546
|
-
| 24
|
547
|
-
| 25
|
540
|
+
|No. Name Lang Star
|
541
|
+
|--- ------------------------------------------ ----------- ------
|
542
|
+
| 1 gionkunz/chartist-js JavaScript 363
|
543
|
+
| 2 kitematic/kitematic JavaScript 327
|
544
|
+
| 3 tmux-plugins/tmux-resurrect Shell 217
|
545
|
+
| 4 rxin/db-readings 210
|
546
|
+
| 5 daimajia/AndroidSwipeLayout Java 172
|
547
|
+
| 6 tylertreat/chan C 126
|
548
|
+
| 7 AllThingsSmitty/must-watch-css 93
|
549
|
+
| 8 masayuki0812/c3 JavaScript 85
|
550
|
+
| 9 fouber/page-monitor JavaScript 74
|
551
|
+
| 10 gogits/gogs Go 71
|
552
|
+
| 11 facebook/flux JavaScript 72
|
553
|
+
| 12 twbs/bootstrap CSS 55
|
554
|
+
| 13 luster-io/impulse JavaScript 68
|
555
|
+
| 14 lawloretienne/QuickReturn Java 65
|
556
|
+
| 15 angular/angular.js JavaScript 53
|
557
|
+
| 16 wisk/medusa C 60
|
558
|
+
| 17 ochococo/Design-Patterns-In-Swift Swift 60
|
559
|
+
| 18 cwRichardKim/RKSwipeBetweenViewControllers Objective-C 59
|
560
|
+
| 19 google/web-starter-kit CSS 59
|
561
|
+
| 20 syncthing/syncthing Go 49
|
562
|
+
| 21 ruslanskorb/RSKImageCropper Objective-C 46
|
563
|
+
| 22 kyze8439690/ResideLayout Java 44
|
564
|
+
| 23 ParsePlatform/f8DeveloperConferenceApp Java 41
|
565
|
+
| 24 chriskiehl/Gooey Python 41
|
566
|
+
| 25 discourse/discourse Ruby 41
|
548
567
|
EOS
|
549
568
|
end
|
550
569
|
end
|