git-trend 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/git-trend.gemspec +2 -2
- data/lib/git_trend/scraper.rb +1 -1
- data/lib/git_trend/version.rb +1 -1
- data/spec/git_trend/cli_spec.rb +36 -36
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58da331ee12316e4ca35e4378b15cb33d70f20ec014970455640ca79138ca6f4
|
4
|
+
data.tar.gz: cda64c09b0e99b0eb26bce5c9989d2c8ee010925938b1d4b3be19688fc3b4777
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb2a194c9207a1e7076edd571abc6799d2bcb49b4ff10eb6baf397451c619fde4c88dfacc106709799f07712bc300e884a4048985bdd72ed7c66801e05bd815c
|
7
|
+
data.tar.gz: 64b66d354b6a79b54332c15e39f46e761ca8bfc9dd336b0c24e7a07be7deb177bb8474338475435f70b6fcbf7a3baf23e27a792c876cf18088a6a4d0be43daa4
|
data/CHANGELOG.md
CHANGED
data/git-trend.gemspec
CHANGED
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency "addressable", ">= 2.5.1", "< 2.8.0"
|
38
38
|
spec.add_dependency "mb_string"
|
39
39
|
spec.add_dependency "mechanize", "~> 2.7.5"
|
40
|
-
spec.add_dependency "thor", ">= 0.20.0", "<
|
40
|
+
spec.add_dependency "thor", ">= 0.20.0", "< 1.1.0"
|
41
41
|
spec.add_dependency "unicode-display_width"
|
42
42
|
|
43
43
|
spec.add_development_dependency "bundler"
|
@@ -49,7 +49,7 @@ Gem::Specification.new do |spec|
|
|
49
49
|
|
50
50
|
spec.add_development_dependency "rspec", "~> 3.9.0"
|
51
51
|
spec.add_development_dependency "simplecov", "~>0.16.1"
|
52
|
-
spec.add_development_dependency "webmock", "~> 3.
|
52
|
+
spec.add_development_dependency "webmock", "~> 3.8.0"
|
53
53
|
|
54
54
|
spec.add_development_dependency "coveralls", "~> 0.8.23"
|
55
55
|
end
|
data/lib/git_trend/scraper.rb
CHANGED
@@ -57,7 +57,7 @@ module GitTrend
|
|
57
57
|
lang: content.search('span[itemprop="programmingLanguage"]').text.strip,
|
58
58
|
all_star_count: comma_to_i(icon_area.search("a:has(svg.octicon-star)").text.strip),
|
59
59
|
fork_count: comma_to_i(icon_area.search("a:has(svg.octicon-repo-forked)").text.strip),
|
60
|
-
star_count: comma_to_i(icon_area.search(".float-sm-right").text
|
60
|
+
star_count: comma_to_i(icon_area.search(".float-sm-right").text)
|
61
61
|
)
|
62
62
|
end
|
63
63
|
end
|
data/lib/git_trend/version.rb
CHANGED
data/spec/git_trend/cli_spec.rb
CHANGED
@@ -327,29 +327,29 @@ RSpec.describe GitTrend::CLI do
|
|
327
327
|
<<-'EOS'.unindent
|
328
328
|
|No. Name Lang Star
|
329
329
|
|--- ---------------------------------------------------------- ---------------- ------
|
330
|
-
| 1 0voice/interview_internal_reference Python
|
331
|
-
| 2 chinese-poetry/chinese-poetry JavaScript
|
332
|
-
| 3 peterq/pan-light Go
|
333
|
-
| 4 sherlock-project/sherlock Python
|
334
|
-
| 5 facebook/hermes C++
|
335
|
-
| 6 alipay/SoloPi Java
|
336
|
-
| 7 lenve/vhr Java
|
337
|
-
| 8 jwasham/coding-interview-university
|
338
|
-
| 9 qiurunze123/miaosha Java
|
339
|
-
| 10 scutan90/DeepLearning-500-questions
|
340
|
-
| 11 haotian-wang/google-access-helper JavaScript
|
341
|
-
| 12 dianping/cat Java
|
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
342
|
| 13 crmeb/CRMEB JavaScript 642
|
343
343
|
| 14 ardanlabs/gotraining Go 942
|
344
|
-
| 15 lenve/VBlog TSQL
|
345
|
-
| 16 zhaoolee/ChineseBQB CSS
|
344
|
+
| 15 lenve/VBlog TSQL 1090
|
345
|
+
| 16 zhaoolee/ChineseBQB CSS 2605
|
346
346
|
| 17 fastai/course-nlp Jupyter Notebook 802
|
347
347
|
| 18 aosabook/500lines JavaScript 846
|
348
|
-
| 19 alibaba/spring-cloud-alibaba Java
|
348
|
+
| 19 alibaba/spring-cloud-alibaba Java 1140
|
349
349
|
| 20 macrozheng/mall-learning Java 798
|
350
|
-
| 21 OpenFlutter/Flutter-Notebook Dart
|
351
|
-
| 22 huggingface/pytorch-transformers Python
|
352
|
-
| 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript
|
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
|
353
353
|
|
354
354
|
EOS
|
355
355
|
end
|
@@ -358,29 +358,29 @@ RSpec.describe GitTrend::CLI do
|
|
358
358
|
<<-'EOS'.unindent
|
359
359
|
|No. Name Lang Star
|
360
360
|
|--- ---------------------------------------------------------- ---------------- ------
|
361
|
-
| 1 0voice/interview_internal_reference Python
|
362
|
-
| 2 chinese-poetry/chinese-poetry JavaScript
|
363
|
-
| 3 peterq/pan-light Go
|
364
|
-
| 4 sherlock-project/sherlock Python
|
365
|
-
| 5 facebook/hermes C++
|
366
|
-
| 6 alipay/SoloPi Java
|
367
|
-
| 7 lenve/vhr Java
|
368
|
-
| 8 jwasham/coding-interview-university
|
369
|
-
| 9 qiurunze123/miaosha Java
|
370
|
-
| 10 scutan90/DeepLearning-500-questions
|
371
|
-
| 11 haotian-wang/google-access-helper JavaScript
|
372
|
-
| 12 dianping/cat Java
|
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
373
|
| 13 crmeb/CRMEB JavaScript 642
|
374
374
|
| 14 ardanlabs/gotraining Go 942
|
375
|
-
| 15 lenve/VBlog TSQL
|
376
|
-
| 16 zhaoolee/ChineseBQB CSS
|
375
|
+
| 15 lenve/VBlog TSQL 1090
|
376
|
+
| 16 zhaoolee/ChineseBQB CSS 2605
|
377
377
|
| 17 fastai/course-nlp Jupyter Notebook 802
|
378
378
|
| 18 aosabook/500lines JavaScript 846
|
379
|
-
| 19 alibaba/spring-cloud-alibaba Java
|
379
|
+
| 19 alibaba/spring-cloud-alibaba Java 1140
|
380
380
|
| 20 macrozheng/mall-learning Java 798
|
381
|
-
| 21 OpenFlutter/Flutter-Notebook Dart
|
382
|
-
| 22 huggingface/pytorch-transformers Python
|
383
|
-
| 23 amejiarosario/dsa.js-data-structures-algorithms-javascript JavaScript
|
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
|
384
384
|
|
385
385
|
EOS
|
386
386
|
end
|
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.3
|
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-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -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,7 +77,7 @@ 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
|
@@ -196,14 +196,14 @@ dependencies:
|
|
196
196
|
requirements:
|
197
197
|
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: 3.
|
199
|
+
version: 3.8.0
|
200
200
|
type: :development
|
201
201
|
prerelease: false
|
202
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
204
|
- - "~>"
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: 3.
|
206
|
+
version: 3.8.0
|
207
207
|
- !ruby/object:Gem::Dependency
|
208
208
|
name: coveralls
|
209
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -281,8 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: '0'
|
283
283
|
requirements: []
|
284
|
-
|
285
|
-
rubygems_version: 2.7.3
|
284
|
+
rubygems_version: 3.1.2
|
286
285
|
signing_key:
|
287
286
|
specification_version: 4
|
288
287
|
summary: CLI-Based tool that show Trending repository on github
|