repocrawler 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/repocrawler/crawler.rb +3 -3
- data/lib/repocrawler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ab3747a5b36603d08eb5ca33753f0a24c0beecd
|
4
|
+
data.tar.gz: 2ce5e186bf27b9b4ccb74369ae3812791aee969a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cba188f10db34cc895bb95b04e4f9b5093240377bd9e2ebe7c9bbba4809fb16856ce6c2d0587fbed503978485db5d2f7917cf7e0b82b15c570d39b631a71b606
|
7
|
+
data.tar.gz: a80e53c3903919c2862d66418af70264de8f08c16d33064b38c53d1314352b5cce84fc6af8b7b53eefe17ebdf0935b9ce0b50862fb964bc73de59ddfc01d1f42
|
data/lib/repocrawler/crawler.rb
CHANGED
@@ -26,12 +26,12 @@ module Repos
|
|
26
26
|
})
|
27
27
|
|
28
28
|
if last_year_commit_activity['message'] === 'Not Found'
|
29
|
-
|
29
|
+
last_year_commit_activity = nil
|
30
30
|
else
|
31
31
|
last_year_commit_activity.delete_if {|record| record['total'] == 0}
|
32
32
|
end
|
33
33
|
|
34
|
-
|
34
|
+
last_year_commit_activity
|
35
35
|
|
36
36
|
end
|
37
37
|
|
@@ -43,7 +43,7 @@ module Repos
|
|
43
43
|
if contributors['message'] === 'Not Found'
|
44
44
|
contributors = nil
|
45
45
|
else
|
46
|
-
contributors.map do |contributor|
|
46
|
+
contributors.map! do |contributor|
|
47
47
|
{
|
48
48
|
'name' => contributor['login'],
|
49
49
|
'contributions' => contributor['contributions']
|
data/lib/repocrawler/version.rb
CHANGED