ghuls-lib 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ghuls/lib.rb +2 -0
- 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: 854c231a6588d4e5c56be67a62dd3cce4e033daf
|
4
|
+
data.tar.gz: 47dc5e611a68cc4a64ca332194929986ffafecc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 387fd02a78926e93f1e4a1c2796d727d3f8ef971b044a1d3e6de6ae5cb88e25e05750ce6f989fa9c3035fffd882fd5ad79d8a360f07c3a2ddf92b93eccd5de8a
|
7
|
+
data.tar.gz: ce8a91b7760ffc57fef2a40e81a79bb9c7a2036a40247fad3670d47a0a66d1db266348deda00da1390126e0cc98f21b51c5bf48b2a2dc0e96bd5bd2db7031fc0
|
data/lib/ghuls/lib.rb
CHANGED
@@ -164,6 +164,7 @@ module GHULS
|
|
164
164
|
repos = get_user_repos(username, github)
|
165
165
|
langs = {}
|
166
166
|
repos[:public].each do |r|
|
167
|
+
next if repos[:forks].include? r
|
167
168
|
repo_langs = github.languages(r)
|
168
169
|
repo_langs.each do |l, b|
|
169
170
|
if langs[l].nil?
|
@@ -184,6 +185,7 @@ module GHULS
|
|
184
185
|
org_repos = get_org_repos(username, github)
|
185
186
|
langs = {}
|
186
187
|
org_repos[:public].each do |r|
|
188
|
+
next if org_repos[:forks].include? r
|
187
189
|
repo_langs = github.languages(r)
|
188
190
|
repo_langs.each do |l, b|
|
189
191
|
if langs[l].nil?
|