git-trend 1.2.3 → 1.2.4
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/lib/git_trend/scraper.rb +2 -1
- data/lib/git_trend/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a95d0160ba13440c95712a079db95d2fb2ecf9cd7dc5d13e98b689cfd405f9a
|
4
|
+
data.tar.gz: 5c8dbde74324aa713fab251480774538fd2cf1b34b7ba940a940ca5947fa7a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17ac48678e0a3162b37eab2596abc9bc4bcc63747fd2e72f3e0f6f1c06431c17ea0c3f93843f666333399ce8d7f837f99d515fceb91af0074c4e7c383656350c
|
7
|
+
data.tar.gz: 071d73ada97ea536e3b4227b09915d88ca3d127c35c01950488b1946f9a008d944334f1426c77df9001dc60f7b988accb31f9e6f9662ce1019a6a37bbae85af1
|
data/CHANGELOG.md
CHANGED
data/lib/git_trend/scraper.rb
CHANGED
@@ -22,7 +22,8 @@ module GitTrend
|
|
22
22
|
def languages
|
23
23
|
page = @agent.get(BASE_URL)
|
24
24
|
page.search("#select-menu-language .select-menu-list .select-menu-item-text").inject([]) do |languages, content|
|
25
|
-
|
25
|
+
language = content.text.strip
|
26
|
+
languages << language if language
|
26
27
|
end
|
27
28
|
end
|
28
29
|
|
data/lib/git_trend/version.rb
CHANGED