git-trend 1.1.2 → 1.1.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 +3 -0
- data/lib/git_trend/scraper.rb +1 -1
- data/lib/git_trend/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d7d6056d338848b20c9fe4e9fe1ad9a85298fe5
|
4
|
+
data.tar.gz: 74ee4093e0160730e21b7078920f4b81249bfddd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38a35e21824b53c209708d72825f479d4a36f2dfb6853d395d7706c8cb8a8a96224bf7a155ba09506a98cff39a5bbe26095ecbe91ff3deab4d1b32b5a2c3fca7
|
7
|
+
data.tar.gz: 3cd08d846cf726e91799d51d8fe3730eeab7719a7a78b57d00359ca9605c7bb241177e0f0741e923e12b28b507a764b88650e853348405ebb641d7ccbf997b50
|
data/CHANGELOG.md
CHANGED
data/lib/git_trend/scraper.rb
CHANGED
@@ -58,7 +58,7 @@ module GitTrend
|
|
58
58
|
lang: content.search('span[itemprop="programmingLanguage"]').text.strip,
|
59
59
|
all_star_count: content.search('a[aria-label="Stargazers"]').text.strip.delete(",").to_i,
|
60
60
|
fork_count: content.search('a[aria-label="Forks"]').text.strip.delete(",").to_i,
|
61
|
-
star_count: content.search("span.float-right").text.strip.match(/(
|
61
|
+
star_count: content.search("span.float-right").text.strip.match(/(.+)? stars/).to_a[1].delete(",").to_i
|
62
62
|
)
|
63
63
|
end
|
64
64
|
end
|
data/lib/git_trend/version.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.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rochefort
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|