git-trend 1.2.0 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d80632b2d820d7cfeb135b2c7b04b9c4739611813b205fb8553b0727c3d0a2b6
4
- data.tar.gz: 37e9039b3dada211248f900105051549d057132206dc3211baf956b71049b9be
3
+ metadata.gz: cd16b97a2126f8078f2d23503f5ee447eb72562e5e64f58540d4bbfb8a95bfd4
4
+ data.tar.gz: 61e2fd7f1f2e1378abe13584bdbea8f0e5eb39903ce63cbfd0cb73ca680d09a4
5
5
  SHA512:
6
- metadata.gz: b96185fb3ce1701775149c346a7082edf6b6fa26c721e72388d1f08ff5b67bb18f73645e291fe3ac179e494a5ca095fa5ba79df37d0ed91290ae8617da905897
7
- data.tar.gz: 2eb331d94ccbb665cec81130ec977be1ba99c3b44264b739447c29181a67d5fadb273a2c0a5b0e37f0f01635f35ab66b0897193e572ad2dda32f61359eda3231
6
+ metadata.gz: ebea0fa1941a7e943213e4e88226a45db88a6ed465ab8b07d513385afe07fd3f409300f1f9cffcabbb4d7fd8d21ebc6c751fbe7299b8b5a3b970ef389389bc7c
7
+ data.tar.gz: 745b710bb56ceb54d77e4cf6b28a35e4dce90b50141087bbe9da63042c4aee6f51430b3fd64372d27de65cd637d48644a9e663e4a562a2dd3227a7efe40f247e
@@ -1,2 +1,5 @@
1
1
  inherit_from:
2
2
  - https://raw.githubusercontent.com/rails/rails/master/.rubocop.yml
3
+
4
+ Style/FrozenStringLiteralComment:
5
+ Enabled: false
@@ -3,10 +3,9 @@ env:
3
3
  - CC_TEST_REPORTER_ID=2eb7b0f374e08e909106152c788cb32d24d6440cd41c14fe971a40a8ec971ca2
4
4
  language: ruby
5
5
  rvm:
6
- - 2.1.10
7
- - 2.2.7
8
- - 2.3.4
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
@@ -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='g trend -n 10 && g trend -l ruby -n 5 && g trend -l JavaScript -n 5 && g trend -l objective-c -n 5 && g trend -l swift -n 3 && g trend -l php -n 3'
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
@@ -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 =~ /darwin/
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.7.0"
40
- spec.add_dependency "mb_string", "~> 0.1.8"
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", "< 0.21.0"
43
- spec.add_dependency "unicode-display_width", ">= 1.3", "< 1.7"
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", "~> 12.3.1"
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 "rspec", "~> 3.8.0"
49
- spec.add_development_dependency "simplecov", "~> 0.17.0"
50
- spec.add_development_dependency "safe_yaml", "~> 1.0.4" # for Ruby2.2.0
51
- spec.add_development_dependency "webmock", "~> 3.6.0"
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
- # spec.add_development_dependency "coveralls", "~> 0.8.19"
55
+ spec.add_development_dependency "coveralls", "~> 0.8.23"
54
56
  end
@@ -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
- hash = opts[0]
26
- language = hash.key?(:language) ? hash[:language] : nil
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
@@ -8,6 +8,12 @@ module GitTrend
8
8
  default_command :list
9
9
  class_option :verbose, type: :boolean
10
10
 
11
+ class << self
12
+ def exit_on_failure?
13
+ true
14
+ end
15
+ end
16
+
11
17
  desc :version, "show version"
12
18
  def version
13
19
  say "git-trend version: #{VERSION}", :green
@@ -1,3 +1,5 @@
1
+ require "mb_string"
2
+
1
3
  module GitTrend::Formatters
2
4
  class TextFormatter
3
5
  HEADER_COLUMNS = %w(no. name lang star description)
@@ -21,13 +21,13 @@ module GitTrend
21
21
 
22
22
  def languages
23
23
  page = @agent.get(BASE_URL)
24
- page.search('#select-menu-language .select-menu-list .select-menu-item-text').inject([]) do |languages, content|
25
- languages << content.text if content.text
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('.f6.text-gray.mt-2')
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('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('a:has(svg.octicon-star)').text.strip)
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
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.5"
3
3
  end
@@ -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 889
34
- | 2 dengyuhan/magnetW Java 1738
35
- | 3 sherlock-project/sherlock Python 6225
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 9962
61
- | 2 rails/rails Ruby 43798
62
- | 3 chef/chef Ruby 5892
63
- | 4 Netflix/fast_jsonapi Ruby 4458
64
- | 5 dependabot/dependabot-core Ruby 667
65
- | 6 guard/listen Ruby 1428
66
- | 7 braintree/runbook Ruby 246
67
- | 8 solidusio/solidus Ruby 2638
68
- | 9 peatio/peatio Ruby 3228
69
- | 10 lynndylanhurley/devise_token_auth Ruby 2793
70
- | 11 mperham/sidekiq Ruby 9748
71
- | 12 CocoaPods/CocoaPods Ruby 11824
72
- | 13 ruby/ruby Ruby 16046
73
- | 14 elastic/ansible-elasticsearch Ruby 948
74
- | 15 CocoaPods/Xcodeproj Ruby 1494
75
- | 16 spree/spree Ruby 9877
76
- | 17 brotandgames/ciao Ruby 609
77
- | 18 dtan4/terraforming Ruby 2975
78
- | 19 elastic/logstash Ruby 10427
79
- | 20 plataformatec/simple_form Ruby 7432
80
- | 21 jekyll/jekyll Ruby 38385
81
- | 22 rubocop-hq/rubocop Ruby 10202
82
- | 23 github-changelog-generator/github-changelog-generator Ruby 5497
83
- | 24 sferik/rails_admin Ruby 7123
84
- | 25 rubysherpas/paranoia Ruby 2484
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 17311
204
- | 2 jekyll/jekyll Ruby 38385
205
- | 3 ruby/ruby Ruby 16046
206
- | 4 greatghoul/remote-working Ruby 4793
207
- | 5 thepracticaldev/dev.to Ruby 9962
208
- | 6 rails/rails Ruby 43798
209
- | 7 fastlane/fastlane Ruby 26315
210
- | 8 elastic/logstash Ruby 10427
211
- | 9 zendesk/ruby-kafka Ruby 831
212
- | 10 activerecord-hackery/ransack Ruby 4336
213
- | 11 education/classroom Ruby 1088
214
- | 12 faker-ruby/faker Ruby 7912
215
- | 13 discourse/discourse Ruby 28798
216
- | 14 DeathKing/Learning-SICP Ruby 5653
217
- | 15 rails/webpacker Ruby 4350
218
- | 16 bayandin/awesome-awesomeness Ruby 24662
219
- | 17 github/explore Ruby 1249
220
- | 18 hashicorp/vagrant Ruby 18766
221
- | 19 varvet/pundit Ruby 6577
222
- | 20 ytti/oxidized Ruby 1189
223
- | 21 thoughtbot/factory_bot Ruby 6562
224
- | 22 dependabot/dependabot-core Ruby 667
225
- | 23 spree/spree Ruby 9877
226
- | 24 Homebrew/homebrew-core Ruby 6188
227
- | 25 thibmaek/awesome-raspberry-pi Ruby 5695
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 889
266
- | 2 dengyuhan/magnetW Java 1738
267
- | 3 sherlock-project/sherlock Python 6225
268
- | 4 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 4003
269
- | 5 grafana/grafana TypeScript 30311
270
- | 6 Flaque/quirk TypeScript 1434
271
- | 7 2227324689/gpmall Java 232
272
- | 8 thepracticaldev/dev.to Ruby 9962
273
- | 9 google/googletest C++ 12542
274
- | 10 NVIDIA/open-gpu-doc C 499
275
- | 11 Tencent/MedicalNet Python 357
276
- | 12 didi/delta Python 597
277
- | 13 cnlh/nps Go 6027
278
- | 14 dennybritz/reinforcement-learning Jupyter Notebook 11375
279
- | 15 remoteintech/remote-jobs JavaScript 8423
280
- | 16 jackfrued/Python-100-Days Jupyter Notebook 53541
281
- | 17 rabbitmq/rabbitmq-tutorials Java 4076
282
- | 18 istio/istio Go 18981
283
- | 19 mozilla-mobile/fenix Kotlin 2198
284
- | 20 Igglybuff/awesome-piracy HTML 6987
285
- | 21 fireeye/commando-vm PowerShell 2727
286
- | 22 arpitjindal97/technology_books 3932
287
- | 23 datawhalechina/leeml-notes 2377
288
- | 24 tlbootcamp/tlroadmap Python 1282
289
- | 25 facebook/create-react-app JavaScript 70496
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 889 A web-based, highly extensible platform for develo...
299
- | 2 dengyuhan/magnetW Java 1738 磁力搜网页版 - 磁力链接聚合搜索 - https://bt.biedi...
300
- | 3 sherlock-project/sherlock Python 6225 🔎 Find usernames across social networks
301
- | 4 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 4003 Data Structures and Algorithms explained and imple...
302
- | 5 grafana/grafana TypeScript 30311 The tool for beautiful monitoring and metric analy...
303
- | 6 Flaque/quirk TypeScript 1434 ✨🐙 A GPL Licensed Cognitive Behavioral Therapy a...
304
- | 7 2227324689/gpmall Java 232 基于SpringBoot+Dubbo构建的电商平台-微服务架构
305
- | 8 thepracticaldev/dev.to Ruby 9962 Where programmers share ideas and help each other ...
306
- | 9 google/googletest C++ 12542 Googletest - Google Testing and Mocking Framework
307
- | 10 NVIDIA/open-gpu-doc C 499 Documentation of NVIDIA chip/hardware interfaces
308
- | 11 Tencent/MedicalNet Python 357 Many studies have shown that the performance on de...
309
- | 12 didi/delta Python 597 DELTA is a deep learning based natural language an...
310
- | 13 cnlh/nps Go 6027 一款轻量级、功能强大的内网穿透代理服务器。支持tcp...
311
- | 14 dennybritz/reinforcement-learning Jupyter Notebook 11375 Implementation of Reinforcement Learning Algorithm...
312
- | 15 remoteintech/remote-jobs JavaScript 8423 A list of semi to fully remote-friendly companies ...
313
- | 16 jackfrued/Python-100-Days Jupyter Notebook 53541 Python - 100天从新手到大师
314
- | 17 rabbitmq/rabbitmq-tutorials Java 4076 Tutorials for using RabbitMQ in various ways
315
- | 18 istio/istio Go 18981 Connect, secure, control, and observe services.
316
- | 19 mozilla-mobile/fenix Kotlin 2198
317
- | 20 Igglybuff/awesome-piracy HTML 6987 A curated list of awesome warez and piracy links
318
- | 21 fireeye/commando-vm PowerShell 2727 Complete Mandiant Offensive VM (Commando VM), a fu...
319
- | 22 arpitjindal97/technology_books 3932 Premium eBook free for Geeks
320
- | 23 datawhalechina/leeml-notes 2377 李宏毅《机器学习》笔记,在线阅读地址:https://data...
321
- | 24 tlbootcamp/tlroadmap Python 1282 👩🏼‍💻👨🏻‍💻Карта навыков и модель развития тимлидов
322
- | 25 facebook/create-react-app JavaScript 70496 Set up a modern web app by running one command.
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 16448
332
- | 2 chinese-poetry/chinese-poetry JavaScript 18623
333
- | 3 peterq/pan-light Go 7707
334
- | 4 sherlock-project/sherlock Python 6228
335
- | 5 facebook/hermes C++ 4182
336
- | 6 alipay/SoloPi Java 2265
337
- | 7 lenve/vhr Java 8403
338
- | 8 jwasham/coding-interview-university 85447
339
- | 9 qiurunze123/miaosha Java 9771
340
- | 10 scutan90/DeepLearning-500-questions 32385
341
- | 11 haotian-wang/google-access-helper JavaScript 2614
342
- | 12 dianping/cat Java 10814
343
- | 13 crmeb/CRMEB JavaScript 962
344
- | 14 ardanlabs/gotraining Go 5588
345
- | 15 lenve/VBlog TSQL 2725
346
- | 16 zhaoolee/ChineseBQB CSS 4690
347
- | 17 fastai/course-nlp Jupyter Notebook 1268
348
- | 18 aosabook/500lines JavaScript 22735
349
- | 19 alibaba/spring-cloud-alibaba Java 7889
350
- | 20 macrozheng/mall-learning Java 1562
351
- | 21 OpenFlutter/Flutter-Notebook Dart 4060
352
- | 22 huggingface/pytorch-transformers Python 10556
353
- | 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 4006
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 16448
363
- | 2 chinese-poetry/chinese-poetry JavaScript 18623
364
- | 3 peterq/pan-light Go 7707
365
- | 4 sherlock-project/sherlock Python 6228
366
- | 5 facebook/hermes C++ 4182
367
- | 6 alipay/SoloPi Java 2265
368
- | 7 lenve/vhr Java 8403
369
- | 8 jwasham/coding-interview-university 85447
370
- | 9 qiurunze123/miaosha Java 9771
371
- | 10 scutan90/DeepLearning-500-questions 32385
372
- | 11 haotian-wang/google-access-helper JavaScript 2614
373
- | 12 dianping/cat Java 10814
374
- | 13 crmeb/CRMEB JavaScript 962
375
- | 14 ardanlabs/gotraining Go 5588
376
- | 15 lenve/VBlog TSQL 2725
377
- | 16 zhaoolee/ChineseBQB CSS 4690
378
- | 17 fastai/course-nlp Jupyter Notebook 1268
379
- | 18 aosabook/500lines JavaScript 22735
380
- | 19 alibaba/spring-cloud-alibaba Java 7889
381
- | 20 macrozheng/mall-learning Java 1562
382
- | 21 OpenFlutter/Flutter-Notebook Dart 4060
383
- | 22 huggingface/pytorch-transformers Python 10556
384
- | 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript 4006
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
@@ -17,6 +17,7 @@
17
17
  # require "coveralls"
18
18
  # Coveralls.wear!
19
19
 
20
+ require "pry"
20
21
  require "simplecov"
21
22
  # require "codeclimate-test-reporter"
22
23
  dir = File.join(ENV["CIRCLE_ARTIFACTS"] || "coverage")
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.0
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: 2019-08-10 00:00:00.000000000 Z
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.7.0
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.7.0
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.1.8
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.1.8
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: 0.21.0
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: 0.21.0
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: '1.3'
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: '1.3'
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: 12.3.1
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: 12.3.1
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.8.0
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.8.0
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.17.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.17.0
206
+ version: 0.16.1
157
207
  - !ruby/object:Gem::Dependency
158
- name: safe_yaml
208
+ name: webmock
159
209
  requirement: !ruby/object:Gem::Requirement
160
210
  requirements:
161
211
  - - "~>"
162
212
  - !ruby/object:Gem::Version
163
- version: 1.0.4
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: 1.0.4
220
+ version: 3.8.0
171
221
  - !ruby/object:Gem::Dependency
172
- name: webmock
222
+ name: coveralls
173
223
  requirement: !ruby/object:Gem::Requirement
174
224
  requirements:
175
225
  - - "~>"
176
226
  - !ruby/object:Gem::Version
177
- version: 3.6.0
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: 3.6.0
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
- rubyforge_project:
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