git-trend 1.2.0 → 1.2.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/.rubocop.yml +3 -0
- data/.travis.yml +3 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -1
- data/git-trend.gemspec +15 -13
- data/lib/git_trend.rb +2 -6
- data/lib/git_trend/cli.rb +6 -0
- data/lib/git_trend/formatters/text_formatter.rb +2 -0
- data/lib/git_trend/scraper.rb +7 -7
- data/lib/git_trend/version.rb +1 -1
- data/spec/git_trend/cli_spec.rb +149 -150
- data/spec/spec_helper.rb +1 -0
- metadata +81 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd16b97a2126f8078f2d23503f5ee447eb72562e5e64f58540d4bbfb8a95bfd4
|
4
|
+
data.tar.gz: 61e2fd7f1f2e1378abe13584bdbea8f0e5eb39903ce63cbfd0cb73ca680d09a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebea0fa1941a7e943213e4e88226a45db88a6ed465ab8b07d513385afe07fd3f409300f1f9cffcabbb4d7fd8d21ebc6c751fbe7299b8b5a3b970ef389389bc7c
|
7
|
+
data.tar.gz: 745b710bb56ceb54d77e4cf6b28a35e4dce90b50141087bbe9da63042c4aee6f51430b3fd64372d27de65cd637d48644a9e663e4a562a2dd3227a7efe40f247e
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -3,10 +3,9 @@ env:
|
|
3
3
|
- CC_TEST_REPORTER_ID=2eb7b0f374e08e909106152c788cb32d24d6440cd41c14fe971a40a8ec971ca2
|
4
4
|
language: ruby
|
5
5
|
rvm:
|
6
|
-
- 2.
|
7
|
-
- 2.
|
8
|
-
- 2.
|
9
|
-
- 2.4.1
|
6
|
+
- 2.4.9
|
7
|
+
- 2.5.7
|
8
|
+
- 2.6.5
|
10
9
|
before_script:
|
11
10
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
12
11
|
- chmod +x ./cc-test-reporter
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,25 @@
|
|
1
|
+
## v1.2.5 (Sat Aug 8)
|
2
|
+
|
3
|
+
- Eliminate a warning of Thor [781baf4]
|
4
|
+
|
5
|
+
## v1.2.4 (Mon Mar 2)
|
6
|
+
|
7
|
+
- Fix languages without linefeeds [ecc63af]
|
8
|
+
|
9
|
+
## v1.2.3 (Mon Mar 2)
|
10
|
+
|
11
|
+
- Fix wrong interger format of star [dbdc344]
|
12
|
+
|
13
|
+
## v1.2.2 (Sun Dec 15)
|
14
|
+
|
15
|
+
- Update gem [4f11bc0]
|
16
|
+
|
17
|
+
## v1.2.1 (Mon Sep 16 2019)
|
18
|
+
|
19
|
+
- Display today's star #37 #38 [d8012fb]
|
20
|
+
|
1
21
|
## v1.2.0 (Sat Aug 10 2019)
|
22
|
+
|
2
23
|
- Fix changing HTML structure #29 [158a35c]
|
3
24
|
|
4
25
|
## v1.1.9 (Sat Mar 16 2017)
|
data/README.md
CHANGED
@@ -268,7 +268,7 @@ applescript
|
|
268
268
|
## Tips
|
269
269
|
I use an alias command like below;
|
270
270
|
```
|
271
|
-
alias trend='
|
271
|
+
alias trend='git trend -n 10 && git trend -l ruby -n 5 && git trend -l JavaScript -n 5'
|
272
272
|
```
|
273
273
|
|
274
274
|
## Implementation of other language
|
data/git-trend.gemspec
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
1
|
lib = File.expand_path("../lib", __FILE__)
|
4
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
3
|
require "git_trend/version"
|
@@ -11,7 +9,7 @@ def install_message
|
|
11
9
|
end
|
12
10
|
|
13
11
|
def or_over_mac_os_lion?
|
14
|
-
return false unless RUBY_PLATFORM
|
12
|
+
return false unless RUBY_PLATFORM.match?(/darwin/)
|
15
13
|
|
16
14
|
macos_full_version = `/usr/bin/sw_vers -productVersion`.chomp
|
17
15
|
macos_version = macos_full_version[/10\.\d+/]
|
@@ -36,19 +34,23 @@ Gem::Specification.new do |spec|
|
|
36
34
|
|
37
35
|
spec.post_install_message = install_message
|
38
36
|
|
39
|
-
spec.add_dependency "addressable", ">= 2.5.1", "< 2.
|
40
|
-
spec.add_dependency "mb_string"
|
37
|
+
spec.add_dependency "addressable", ">= 2.5.1", "< 2.8.0"
|
38
|
+
spec.add_dependency "mb_string"
|
41
39
|
spec.add_dependency "mechanize", "~> 2.7.5"
|
42
|
-
spec.add_dependency "thor", ">= 0.20.0", "<
|
43
|
-
spec.add_dependency "unicode-display_width"
|
40
|
+
spec.add_dependency "thor", ">= 0.20.0", "< 1.1.0"
|
41
|
+
spec.add_dependency "unicode-display_width"
|
44
42
|
|
45
43
|
spec.add_development_dependency "bundler"
|
46
|
-
spec.add_development_dependency "rake", "~>
|
44
|
+
spec.add_development_dependency "rake", "~> 13.0.0"
|
45
|
+
|
46
|
+
spec.add_development_dependency "rubocop"
|
47
|
+
spec.add_development_dependency "rubocop-performance"
|
48
|
+
spec.add_development_dependency "rubocop-rails"
|
47
49
|
|
48
|
-
spec.add_development_dependency "
|
49
|
-
spec.add_development_dependency "
|
50
|
-
spec.add_development_dependency "
|
51
|
-
spec.add_development_dependency "webmock", "~> 3.
|
50
|
+
spec.add_development_dependency "pry-byebug"
|
51
|
+
spec.add_development_dependency "rspec", "~> 3.9.0"
|
52
|
+
spec.add_development_dependency "simplecov", "~>0.16.1"
|
53
|
+
spec.add_development_dependency "webmock", "~> 3.8.0"
|
52
54
|
|
53
|
-
|
55
|
+
spec.add_development_dependency "coveralls", "~> 0.8.23"
|
54
56
|
end
|
data/lib/git_trend.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require "mb_string"
|
2
|
-
|
3
1
|
require "git_trend/cli"
|
4
2
|
require "git_trend/formatter"
|
5
3
|
require "git_trend/formatters/text_formatter"
|
@@ -22,10 +20,8 @@ module GitTrend
|
|
22
20
|
# GitTrend.get(language: :ruby, since: :weekly)
|
23
21
|
def self.get(*opts)
|
24
22
|
if opts[0].instance_of?(Hash)
|
25
|
-
|
26
|
-
|
27
|
-
since = hash.key?(:since) ? hash[:since] : nil
|
28
|
-
Scraper.new.get(language, since)
|
23
|
+
opt = opts[0]
|
24
|
+
Scraper.new.get(opt[:language], opt[:since])
|
29
25
|
else
|
30
26
|
Scraper.new.get(*opts)
|
31
27
|
end
|
data/lib/git_trend/cli.rb
CHANGED
data/lib/git_trend/scraper.rb
CHANGED
@@ -21,13 +21,13 @@ module GitTrend
|
|
21
21
|
|
22
22
|
def languages
|
23
23
|
page = @agent.get(BASE_URL)
|
24
|
-
page.search(
|
25
|
-
|
24
|
+
page.search("#select-menu-language .select-menu-list .select-menu-item-text").inject([]) do |languages, content|
|
25
|
+
language = content.text.strip
|
26
|
+
languages << language if language
|
26
27
|
end
|
27
28
|
end
|
28
29
|
|
29
30
|
private
|
30
|
-
|
31
31
|
def generate_url(language, since)
|
32
32
|
url = BASE_URL.dup
|
33
33
|
url << "/#{language}" if language
|
@@ -51,14 +51,14 @@ module GitTrend
|
|
51
51
|
|
52
52
|
def generate_project(page)
|
53
53
|
page.search(".Box-row").map do |content|
|
54
|
-
icon_area = content.search(
|
54
|
+
icon_area = content.search(".f6.text-gray.mt-2")
|
55
55
|
Project.new(
|
56
56
|
name: content.search("h1 a").attr("href").to_s.sub(/\A\//, ""),
|
57
57
|
description: content.search(".col-9.text-gray.my-1.pr-4").text.strip,
|
58
58
|
lang: content.search('span[itemprop="programmingLanguage"]').text.strip,
|
59
|
-
all_star_count: comma_to_i(icon_area.search(
|
60
|
-
fork_count: comma_to_i(icon_area.search(
|
61
|
-
star_count: comma_to_i(icon_area.search(
|
59
|
+
all_star_count: comma_to_i(icon_area.search("a:has(svg.octicon-star)").text.strip),
|
60
|
+
fork_count: comma_to_i(icon_area.search("a:has(svg.octicon-repo-forked)").text.strip),
|
61
|
+
star_count: comma_to_i(icon_area.search(".float-sm-right").text)
|
62
62
|
)
|
63
63
|
end
|
64
64
|
end
|
data/lib/git_trend/version.rb
CHANGED
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 vmware/octant Go
|
34
|
-
| 2 dengyuhan/magnetW Java
|
35
|
-
| 3 sherlock-project/sherlock Python
|
33
|
+
| 1 vmware/octant Go 162
|
34
|
+
| 2 dengyuhan/magnetW Java 240
|
35
|
+
| 3 sherlock-project/sherlock Python 90
|
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 thepracticaldev/dev.to Ruby
|
61
|
-
| 2 rails/rails Ruby
|
62
|
-
| 3 chef/chef Ruby
|
63
|
-
| 4 Netflix/fast_jsonapi Ruby
|
64
|
-
| 5 dependabot/dependabot-core Ruby
|
65
|
-
| 6 guard/listen Ruby
|
66
|
-
| 7 braintree/runbook Ruby
|
67
|
-
| 8 solidusio/solidus Ruby
|
68
|
-
| 9 peatio/peatio Ruby
|
69
|
-
| 10 lynndylanhurley/devise_token_auth Ruby
|
70
|
-
| 11 mperham/sidekiq Ruby
|
71
|
-
| 12 CocoaPods/CocoaPods Ruby
|
72
|
-
| 13 ruby/ruby Ruby
|
73
|
-
| 14 elastic/ansible-elasticsearch Ruby
|
74
|
-
| 15 CocoaPods/Xcodeproj Ruby
|
75
|
-
| 16 spree/spree Ruby
|
76
|
-
| 17 brotandgames/ciao Ruby
|
77
|
-
| 18 dtan4/terraforming Ruby
|
78
|
-
| 19 elastic/logstash Ruby
|
79
|
-
| 20 plataformatec/simple_form Ruby
|
80
|
-
| 21 jekyll/jekyll Ruby
|
81
|
-
| 22 rubocop-hq/rubocop Ruby
|
82
|
-
| 23 github-changelog-generator/github-changelog-generator Ruby
|
83
|
-
| 24 sferik/rails_admin Ruby
|
84
|
-
| 25 rubysherpas/paranoia Ruby
|
60
|
+
| 1 thepracticaldev/dev.to Ruby 41
|
61
|
+
| 2 rails/rails Ruby 15
|
62
|
+
| 3 chef/chef Ruby 4
|
63
|
+
| 4 Netflix/fast_jsonapi Ruby 4
|
64
|
+
| 5 dependabot/dependabot-core Ruby 1
|
65
|
+
| 6 guard/listen Ruby 0
|
66
|
+
| 7 braintree/runbook Ruby 35
|
67
|
+
| 8 solidusio/solidus Ruby 0
|
68
|
+
| 9 peatio/peatio Ruby 1
|
69
|
+
| 10 lynndylanhurley/devise_token_auth Ruby 0
|
70
|
+
| 11 mperham/sidekiq Ruby 3
|
71
|
+
| 12 CocoaPods/CocoaPods Ruby 0
|
72
|
+
| 13 ruby/ruby Ruby 8
|
73
|
+
| 14 elastic/ansible-elasticsearch Ruby 0
|
74
|
+
| 15 CocoaPods/Xcodeproj Ruby 0
|
75
|
+
| 16 spree/spree Ruby 1
|
76
|
+
| 17 brotandgames/ciao Ruby 21
|
77
|
+
| 18 dtan4/terraforming Ruby 1
|
78
|
+
| 19 elastic/logstash Ruby 3
|
79
|
+
| 20 plataformatec/simple_form Ruby 0
|
80
|
+
| 21 jekyll/jekyll Ruby 12
|
81
|
+
| 22 rubocop-hq/rubocop Ruby 4
|
82
|
+
| 23 github-changelog-generator/github-changelog-generator Ruby 2
|
83
|
+
| 24 sferik/rails_admin Ruby 0
|
84
|
+
| 25 rubysherpas/paranoia Ruby 0
|
85
85
|
|
86
86
|
EOS
|
87
87
|
expect { cli.invoke(:list, [], language: language, description: false) }.to output(res).to_stdout
|
@@ -200,31 +200,31 @@ RSpec.describe GitTrend::CLI do
|
|
200
200
|
res = <<-'EOS'.unindent
|
201
201
|
|No. Name Lang Star
|
202
202
|
|--- ---------------------------------------- ---------- ------
|
203
|
-
| 1 rapid7/metasploit-framework Ruby
|
204
|
-
| 2 jekyll/jekyll Ruby
|
205
|
-
| 3 ruby/ruby Ruby
|
206
|
-
| 4 greatghoul/remote-working Ruby
|
207
|
-
| 5 thepracticaldev/dev.to Ruby
|
208
|
-
| 6 rails/rails Ruby
|
209
|
-
| 7 fastlane/fastlane Ruby
|
210
|
-
| 8 elastic/logstash Ruby
|
211
|
-
| 9 zendesk/ruby-kafka Ruby
|
212
|
-
| 10 activerecord-hackery/ransack Ruby
|
213
|
-
| 11 education/classroom Ruby
|
214
|
-
| 12 faker-ruby/faker Ruby
|
215
|
-
| 13 discourse/discourse Ruby
|
216
|
-
| 14 DeathKing/Learning-SICP Ruby
|
217
|
-
| 15 rails/webpacker Ruby
|
218
|
-
| 16 bayandin/awesome-awesomeness Ruby
|
219
|
-
| 17 github/explore Ruby
|
220
|
-
| 18 hashicorp/vagrant Ruby
|
221
|
-
| 19 varvet/pundit Ruby
|
222
|
-
| 20 ytti/oxidized Ruby
|
223
|
-
| 21 thoughtbot/factory_bot Ruby
|
224
|
-
| 22 dependabot/dependabot-core Ruby
|
225
|
-
| 23 spree/spree Ruby
|
226
|
-
| 24 Homebrew/homebrew-core Ruby
|
227
|
-
| 25 thibmaek/awesome-raspberry-pi Ruby
|
203
|
+
| 1 rapid7/metasploit-framework Ruby 85
|
204
|
+
| 2 jekyll/jekyll Ruby 72
|
205
|
+
| 3 ruby/ruby Ruby 34
|
206
|
+
| 4 greatghoul/remote-working Ruby 113
|
207
|
+
| 5 thepracticaldev/dev.to Ruby 109
|
208
|
+
| 6 rails/rails Ruby 75
|
209
|
+
| 7 fastlane/fastlane Ruby 66
|
210
|
+
| 8 elastic/logstash Ruby 27
|
211
|
+
| 9 zendesk/ruby-kafka Ruby 8
|
212
|
+
| 10 activerecord-hackery/ransack Ruby 17
|
213
|
+
| 11 education/classroom Ruby 10
|
214
|
+
| 12 faker-ruby/faker Ruby 21
|
215
|
+
| 13 discourse/discourse Ruby 60
|
216
|
+
| 14 DeathKing/Learning-SICP Ruby 40
|
217
|
+
| 15 rails/webpacker Ruby 16
|
218
|
+
| 16 bayandin/awesome-awesomeness Ruby 48
|
219
|
+
| 17 github/explore Ruby 18
|
220
|
+
| 18 hashicorp/vagrant Ruby 42
|
221
|
+
| 19 varvet/pundit Ruby 17
|
222
|
+
| 20 ytti/oxidized Ruby 12
|
223
|
+
| 21 thoughtbot/factory_bot Ruby 9
|
224
|
+
| 22 dependabot/dependabot-core Ruby 16
|
225
|
+
| 23 spree/spree Ruby 15
|
226
|
+
| 24 Homebrew/homebrew-core Ruby 34
|
227
|
+
| 25 thibmaek/awesome-raspberry-pi Ruby 53
|
228
228
|
|
229
229
|
EOS
|
230
230
|
expect { cli.invoke(:list, [], language: language, since: since, description: false) }.to output(res).to_stdout
|
@@ -245,7 +245,6 @@ RSpec.describe GitTrend::CLI do
|
|
245
245
|
end
|
246
246
|
|
247
247
|
private
|
248
|
-
|
249
248
|
def stub_request_get(stub_url_path, stub_file_name = nil)
|
250
249
|
url = Scraper::BASE_HOST.dup
|
251
250
|
url << "/#{stub_url_path}" if stub_url_path
|
@@ -262,31 +261,31 @@ RSpec.describe GitTrend::CLI do
|
|
262
261
|
<<-'EOS'.unindent
|
263
262
|
|No. Name Lang Star
|
264
263
|
|--- ---------------------------------------------------------- ---------------- ------
|
265
|
-
| 1 vmware/octant Go
|
266
|
-
| 2 dengyuhan/magnetW Java
|
267
|
-
| 3 sherlock-project/sherlock Python
|
268
|
-
| 4 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript
|
269
|
-
| 5 grafana/grafana TypeScript
|
270
|
-
| 6 Flaque/quirk TypeScript
|
271
|
-
| 7 2227324689/gpmall Java
|
272
|
-
| 8 thepracticaldev/dev.to Ruby
|
273
|
-
| 9 google/googletest C++
|
274
|
-
| 10 NVIDIA/open-gpu-doc C
|
275
|
-
| 11 Tencent/MedicalNet Python
|
276
|
-
| 12 didi/delta Python
|
277
|
-
| 13 cnlh/nps Go
|
278
|
-
| 14 dennybritz/reinforcement-learning Jupyter Notebook
|
279
|
-
| 15 remoteintech/remote-jobs JavaScript
|
280
|
-
| 16 jackfrued/Python-100-Days Jupyter Notebook
|
281
|
-
| 17 rabbitmq/rabbitmq-tutorials Java
|
282
|
-
| 18 istio/istio Go
|
283
|
-
| 19 mozilla-mobile/fenix Kotlin
|
284
|
-
| 20 Igglybuff/awesome-piracy HTML
|
285
|
-
| 21 fireeye/commando-vm PowerShell
|
286
|
-
| 22 arpitjindal97/technology_books
|
287
|
-
| 23 datawhalechina/leeml-notes
|
288
|
-
| 24 tlbootcamp/tlroadmap Python
|
289
|
-
| 25 facebook/create-react-app JavaScript
|
264
|
+
| 1 vmware/octant Go 162
|
265
|
+
| 2 dengyuhan/magnetW Java 240
|
266
|
+
| 3 sherlock-project/sherlock Python 90
|
267
|
+
| 4 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 188
|
268
|
+
| 5 grafana/grafana TypeScript 41
|
269
|
+
| 6 Flaque/quirk TypeScript 40
|
270
|
+
| 7 2227324689/gpmall Java 51
|
271
|
+
| 8 thepracticaldev/dev.to Ruby 41
|
272
|
+
| 9 google/googletest C++ 27
|
273
|
+
| 10 NVIDIA/open-gpu-doc C 107
|
274
|
+
| 11 Tencent/MedicalNet Python 40
|
275
|
+
| 12 didi/delta Python 72
|
276
|
+
| 13 cnlh/nps Go 190
|
277
|
+
| 14 dennybritz/reinforcement-learning Jupyter Notebook 64
|
278
|
+
| 15 remoteintech/remote-jobs JavaScript 86
|
279
|
+
| 16 jackfrued/Python-100-Days Jupyter Notebook 182
|
280
|
+
| 17 rabbitmq/rabbitmq-tutorials Java 30
|
281
|
+
| 18 istio/istio Go 18
|
282
|
+
| 19 mozilla-mobile/fenix Kotlin 10
|
283
|
+
| 20 Igglybuff/awesome-piracy HTML 28
|
284
|
+
| 21 fireeye/commando-vm PowerShell 14
|
285
|
+
| 22 arpitjindal97/technology_books 58
|
286
|
+
| 23 datawhalechina/leeml-notes 301
|
287
|
+
| 24 tlbootcamp/tlroadmap Python 42
|
288
|
+
| 25 facebook/create-react-app JavaScript 58
|
290
289
|
|
291
290
|
EOS
|
292
291
|
end
|
@@ -295,31 +294,31 @@ RSpec.describe GitTrend::CLI do
|
|
295
294
|
<<-'EOS'.unindent
|
296
295
|
|No. Name Lang Star Description
|
297
296
|
|--- ---------------------------------------------------------- ---------------- ------ -----------------------------------------------------
|
298
|
-
| 1 vmware/octant Go
|
299
|
-
| 2 dengyuhan/magnetW Java
|
300
|
-
| 3 sherlock-project/sherlock Python
|
301
|
-
| 4 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript
|
302
|
-
| 5 grafana/grafana TypeScript
|
303
|
-
| 6 Flaque/quirk TypeScript
|
304
|
-
| 7 2227324689/gpmall Java
|
305
|
-
| 8 thepracticaldev/dev.to Ruby
|
306
|
-
| 9 google/googletest C++
|
307
|
-
| 10 NVIDIA/open-gpu-doc C
|
308
|
-
| 11 Tencent/MedicalNet Python
|
309
|
-
| 12 didi/delta Python
|
310
|
-
| 13 cnlh/nps Go
|
311
|
-
| 14 dennybritz/reinforcement-learning Jupyter Notebook
|
312
|
-
| 15 remoteintech/remote-jobs JavaScript
|
313
|
-
| 16 jackfrued/Python-100-Days Jupyter Notebook
|
314
|
-
| 17 rabbitmq/rabbitmq-tutorials Java
|
315
|
-
| 18 istio/istio Go
|
316
|
-
| 19 mozilla-mobile/fenix Kotlin
|
317
|
-
| 20 Igglybuff/awesome-piracy HTML
|
318
|
-
| 21 fireeye/commando-vm PowerShell
|
319
|
-
| 22 arpitjindal97/technology_books
|
320
|
-
| 23 datawhalechina/leeml-notes
|
321
|
-
| 24 tlbootcamp/tlroadmap Python
|
322
|
-
| 25 facebook/create-react-app JavaScript
|
297
|
+
| 1 vmware/octant Go 162 A web-based, highly extensible platform for develo...
|
298
|
+
| 2 dengyuhan/magnetW Java 240 磁力搜网页版 - 磁力链接聚合搜索 - https://bt.biedi...
|
299
|
+
| 3 sherlock-project/sherlock Python 90 🔎 Find usernames across social networks
|
300
|
+
| 4 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 188 Data Structures and Algorithms explained and imple...
|
301
|
+
| 5 grafana/grafana TypeScript 41 The tool for beautiful monitoring and metric analy...
|
302
|
+
| 6 Flaque/quirk TypeScript 40 ✨🐙 A GPL Licensed Cognitive Behavioral Therapy a...
|
303
|
+
| 7 2227324689/gpmall Java 51 基于SpringBoot+Dubbo构建的电商平台-微服务架构
|
304
|
+
| 8 thepracticaldev/dev.to Ruby 41 Where programmers share ideas and help each other ...
|
305
|
+
| 9 google/googletest C++ 27 Googletest - Google Testing and Mocking Framework
|
306
|
+
| 10 NVIDIA/open-gpu-doc C 107 Documentation of NVIDIA chip/hardware interfaces
|
307
|
+
| 11 Tencent/MedicalNet Python 40 Many studies have shown that the performance on de...
|
308
|
+
| 12 didi/delta Python 72 DELTA is a deep learning based natural language an...
|
309
|
+
| 13 cnlh/nps Go 190 一款轻量级、功能强大的内网穿透代理服务器。支持tcp...
|
310
|
+
| 14 dennybritz/reinforcement-learning Jupyter Notebook 64 Implementation of Reinforcement Learning Algorithm...
|
311
|
+
| 15 remoteintech/remote-jobs JavaScript 86 A list of semi to fully remote-friendly companies ...
|
312
|
+
| 16 jackfrued/Python-100-Days Jupyter Notebook 182 Python - 100天从新手到大师
|
313
|
+
| 17 rabbitmq/rabbitmq-tutorials Java 30 Tutorials for using RabbitMQ in various ways
|
314
|
+
| 18 istio/istio Go 18 Connect, secure, control, and observe services.
|
315
|
+
| 19 mozilla-mobile/fenix Kotlin 10
|
316
|
+
| 20 Igglybuff/awesome-piracy HTML 28 A curated list of awesome warez and piracy links
|
317
|
+
| 21 fireeye/commando-vm PowerShell 14 Complete Mandiant Offensive VM (Commando VM), a fu...
|
318
|
+
| 22 arpitjindal97/technology_books 58 Premium eBook free for Geeks
|
319
|
+
| 23 datawhalechina/leeml-notes 301 李宏毅《机器学习》笔记,在线阅读地址:https://data...
|
320
|
+
| 24 tlbootcamp/tlroadmap Python 42 👩🏼💻👨🏻💻Карта навыков и модель развития тимлидов
|
321
|
+
| 25 facebook/create-react-app JavaScript 58 Set up a modern web app by running one command.
|
323
322
|
|
324
323
|
EOS
|
325
324
|
end
|
@@ -328,29 +327,29 @@ RSpec.describe GitTrend::CLI do
|
|
328
327
|
<<-'EOS'.unindent
|
329
328
|
|No. Name Lang Star
|
330
329
|
|--- ---------------------------------------------------------- ---------------- ------
|
331
|
-
| 1 0voice/interview_internal_reference Python
|
332
|
-
| 2 chinese-poetry/chinese-poetry JavaScript
|
333
|
-
| 3 peterq/pan-light Go
|
334
|
-
| 4 sherlock-project/sherlock Python
|
335
|
-
| 5 facebook/hermes C++
|
336
|
-
| 6 alipay/SoloPi Java
|
337
|
-
| 7 lenve/vhr Java
|
338
|
-
| 8 jwasham/coding-interview-university
|
339
|
-
| 9 qiurunze123/miaosha Java
|
340
|
-
| 10 scutan90/DeepLearning-500-questions
|
341
|
-
| 11 haotian-wang/google-access-helper JavaScript
|
342
|
-
| 12 dianping/cat Java
|
343
|
-
| 13 crmeb/CRMEB JavaScript
|
344
|
-
| 14 ardanlabs/gotraining Go
|
345
|
-
| 15 lenve/VBlog TSQL
|
346
|
-
| 16 zhaoolee/ChineseBQB CSS
|
347
|
-
| 17 fastai/course-nlp Jupyter Notebook
|
348
|
-
| 18 aosabook/500lines JavaScript
|
349
|
-
| 19 alibaba/spring-cloud-alibaba Java
|
350
|
-
| 20 macrozheng/mall-learning Java
|
351
|
-
| 21 OpenFlutter/Flutter-Notebook Dart
|
352
|
-
| 22 huggingface/pytorch-transformers Python
|
353
|
-
| 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript
|
330
|
+
| 1 0voice/interview_internal_reference Python 15391
|
331
|
+
| 2 chinese-poetry/chinese-poetry JavaScript 4400
|
332
|
+
| 3 peterq/pan-light Go 5905
|
333
|
+
| 4 sherlock-project/sherlock Python 2525
|
334
|
+
| 5 facebook/hermes C++ 4173
|
335
|
+
| 6 alipay/SoloPi Java 2089
|
336
|
+
| 7 lenve/vhr Java 3284
|
337
|
+
| 8 jwasham/coding-interview-university 6212
|
338
|
+
| 9 qiurunze123/miaosha Java 2287
|
339
|
+
| 10 scutan90/DeepLearning-500-questions 4175
|
340
|
+
| 11 haotian-wang/google-access-helper JavaScript 1082
|
341
|
+
| 12 dianping/cat Java 1060
|
342
|
+
| 13 crmeb/CRMEB JavaScript 642
|
343
|
+
| 14 ardanlabs/gotraining Go 942
|
344
|
+
| 15 lenve/VBlog TSQL 1090
|
345
|
+
| 16 zhaoolee/ChineseBQB CSS 2605
|
346
|
+
| 17 fastai/course-nlp Jupyter Notebook 802
|
347
|
+
| 18 aosabook/500lines JavaScript 846
|
348
|
+
| 19 alibaba/spring-cloud-alibaba Java 1140
|
349
|
+
| 20 macrozheng/mall-learning Java 798
|
350
|
+
| 21 OpenFlutter/Flutter-Notebook Dart 1236
|
351
|
+
| 22 huggingface/pytorch-transformers Python 2938
|
352
|
+
| 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 1573
|
354
353
|
|
355
354
|
EOS
|
356
355
|
end
|
@@ -359,29 +358,29 @@ RSpec.describe GitTrend::CLI do
|
|
359
358
|
<<-'EOS'.unindent
|
360
359
|
|No. Name Lang Star
|
361
360
|
|--- ---------------------------------------------------------- ---------------- ------
|
362
|
-
| 1 0voice/interview_internal_reference Python
|
363
|
-
| 2 chinese-poetry/chinese-poetry JavaScript
|
364
|
-
| 3 peterq/pan-light Go
|
365
|
-
| 4 sherlock-project/sherlock Python
|
366
|
-
| 5 facebook/hermes C++
|
367
|
-
| 6 alipay/SoloPi Java
|
368
|
-
| 7 lenve/vhr Java
|
369
|
-
| 8 jwasham/coding-interview-university
|
370
|
-
| 9 qiurunze123/miaosha Java
|
371
|
-
| 10 scutan90/DeepLearning-500-questions
|
372
|
-
| 11 haotian-wang/google-access-helper JavaScript
|
373
|
-
| 12 dianping/cat Java
|
374
|
-
| 13 crmeb/CRMEB JavaScript
|
375
|
-
| 14 ardanlabs/gotraining Go
|
376
|
-
| 15 lenve/VBlog TSQL
|
377
|
-
| 16 zhaoolee/ChineseBQB CSS
|
378
|
-
| 17 fastai/course-nlp Jupyter Notebook
|
379
|
-
| 18 aosabook/500lines JavaScript
|
380
|
-
| 19 alibaba/spring-cloud-alibaba Java
|
381
|
-
| 20 macrozheng/mall-learning Java
|
382
|
-
| 21 OpenFlutter/Flutter-Notebook Dart
|
383
|
-
| 22 huggingface/pytorch-transformers Python
|
384
|
-
| 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript
|
361
|
+
| 1 0voice/interview_internal_reference Python 15391
|
362
|
+
| 2 chinese-poetry/chinese-poetry JavaScript 4400
|
363
|
+
| 3 peterq/pan-light Go 5905
|
364
|
+
| 4 sherlock-project/sherlock Python 2525
|
365
|
+
| 5 facebook/hermes C++ 4173
|
366
|
+
| 6 alipay/SoloPi Java 2089
|
367
|
+
| 7 lenve/vhr Java 3283
|
368
|
+
| 8 jwasham/coding-interview-university 6212
|
369
|
+
| 9 qiurunze123/miaosha Java 2287
|
370
|
+
| 10 scutan90/DeepLearning-500-questions 4175
|
371
|
+
| 11 haotian-wang/google-access-helper JavaScript 1082
|
372
|
+
| 12 dianping/cat Java 1060
|
373
|
+
| 13 crmeb/CRMEB JavaScript 642
|
374
|
+
| 14 ardanlabs/gotraining Go 942
|
375
|
+
| 15 lenve/VBlog TSQL 1090
|
376
|
+
| 16 zhaoolee/ChineseBQB CSS 2605
|
377
|
+
| 17 fastai/course-nlp Jupyter Notebook 802
|
378
|
+
| 18 aosabook/500lines JavaScript 846
|
379
|
+
| 19 alibaba/spring-cloud-alibaba Java 1140
|
380
|
+
| 20 macrozheng/mall-learning Java 798
|
381
|
+
| 21 OpenFlutter/Flutter-Notebook Dart 1236
|
382
|
+
| 22 huggingface/pytorch-transformers Python 2936
|
383
|
+
| 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 1573
|
385
384
|
|
386
385
|
EOS
|
387
386
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-trend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rochefort
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 2.5.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
22
|
+
version: 2.8.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: 2.5.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
32
|
+
version: 2.8.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: mb_string
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0
|
39
|
+
version: '0'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0
|
46
|
+
version: '0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: mechanize
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
version: 0.20.0
|
68
68
|
- - "<"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: 1.1.0
|
71
71
|
type: :runtime
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -77,27 +77,21 @@ dependencies:
|
|
77
77
|
version: 0.20.0
|
78
78
|
- - "<"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
80
|
+
version: 1.1.0
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: unicode-display_width
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
88
|
-
- - "<"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '1.7'
|
87
|
+
version: '0'
|
91
88
|
type: :runtime
|
92
89
|
prerelease: false
|
93
90
|
version_requirements: !ruby/object:Gem::Requirement
|
94
91
|
requirements:
|
95
92
|
- - ">="
|
96
93
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
98
|
-
- - "<"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: '1.7'
|
94
|
+
version: '0'
|
101
95
|
- !ruby/object:Gem::Dependency
|
102
96
|
name: bundler
|
103
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,70 +112,126 @@ dependencies:
|
|
118
112
|
requirements:
|
119
113
|
- - "~>"
|
120
114
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
115
|
+
version: 13.0.0
|
122
116
|
type: :development
|
123
117
|
prerelease: false
|
124
118
|
version_requirements: !ruby/object:Gem::Requirement
|
125
119
|
requirements:
|
126
120
|
- - "~>"
|
127
121
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
122
|
+
version: 13.0.0
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: rubocop
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: rubocop-performance
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
type: :development
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: rubocop-rails
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
type: :development
|
159
|
+
prerelease: false
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: pry-byebug
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
129
179
|
- !ruby/object:Gem::Dependency
|
130
180
|
name: rspec
|
131
181
|
requirement: !ruby/object:Gem::Requirement
|
132
182
|
requirements:
|
133
183
|
- - "~>"
|
134
184
|
- !ruby/object:Gem::Version
|
135
|
-
version: 3.
|
185
|
+
version: 3.9.0
|
136
186
|
type: :development
|
137
187
|
prerelease: false
|
138
188
|
version_requirements: !ruby/object:Gem::Requirement
|
139
189
|
requirements:
|
140
190
|
- - "~>"
|
141
191
|
- !ruby/object:Gem::Version
|
142
|
-
version: 3.
|
192
|
+
version: 3.9.0
|
143
193
|
- !ruby/object:Gem::Dependency
|
144
194
|
name: simplecov
|
145
195
|
requirement: !ruby/object:Gem::Requirement
|
146
196
|
requirements:
|
147
197
|
- - "~>"
|
148
198
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.
|
199
|
+
version: 0.16.1
|
150
200
|
type: :development
|
151
201
|
prerelease: false
|
152
202
|
version_requirements: !ruby/object:Gem::Requirement
|
153
203
|
requirements:
|
154
204
|
- - "~>"
|
155
205
|
- !ruby/object:Gem::Version
|
156
|
-
version: 0.
|
206
|
+
version: 0.16.1
|
157
207
|
- !ruby/object:Gem::Dependency
|
158
|
-
name:
|
208
|
+
name: webmock
|
159
209
|
requirement: !ruby/object:Gem::Requirement
|
160
210
|
requirements:
|
161
211
|
- - "~>"
|
162
212
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
213
|
+
version: 3.8.0
|
164
214
|
type: :development
|
165
215
|
prerelease: false
|
166
216
|
version_requirements: !ruby/object:Gem::Requirement
|
167
217
|
requirements:
|
168
218
|
- - "~>"
|
169
219
|
- !ruby/object:Gem::Version
|
170
|
-
version:
|
220
|
+
version: 3.8.0
|
171
221
|
- !ruby/object:Gem::Dependency
|
172
|
-
name:
|
222
|
+
name: coveralls
|
173
223
|
requirement: !ruby/object:Gem::Requirement
|
174
224
|
requirements:
|
175
225
|
- - "~>"
|
176
226
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
227
|
+
version: 0.8.23
|
178
228
|
type: :development
|
179
229
|
prerelease: false
|
180
230
|
version_requirements: !ruby/object:Gem::Requirement
|
181
231
|
requirements:
|
182
232
|
- - "~>"
|
183
233
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
234
|
+
version: 0.8.23
|
185
235
|
description: CLI-Based tool that show Trending repository on github
|
186
236
|
email:
|
187
237
|
- terasawan@gmail.com
|
@@ -245,8 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
295
|
- !ruby/object:Gem::Version
|
246
296
|
version: '0'
|
247
297
|
requirements: []
|
248
|
-
|
249
|
-
rubygems_version: 2.7.3
|
298
|
+
rubygems_version: 3.0.3
|
250
299
|
signing_key:
|
251
300
|
specification_version: 4
|
252
301
|
summary: CLI-Based tool that show Trending repository on github
|