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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ghuls/lib.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c1e0f6d62fb142e50df1486c8a9e9c7938adde0
4
- data.tar.gz: 5f2c2ff360fca846556cfc7f032d339b898041e6
3
+ metadata.gz: 854c231a6588d4e5c56be67a62dd3cce4e033daf
4
+ data.tar.gz: 47dc5e611a68cc4a64ca332194929986ffafecc9
5
5
  SHA512:
6
- metadata.gz: d8e5305988f9500adc5e696207ec2c577aa42ed47685fd16187a008e861095f307070eda4d322ffe563493b09eba6b638dba131d754e470c53a9a649c84d3ccb
7
- data.tar.gz: 92a1b1d6165721c40750e5f82a6a470a2c8074765c3fce8fddbbe69aedcdc9eb2334f6eafaa3bdcaf82179fea5f74f4a0eee7c98ebed2afae111e7cdc620a0af
6
+ metadata.gz: 387fd02a78926e93f1e4a1c2796d727d3f8ef971b044a1d3e6de6ae5cb88e25e05750ce6f989fa9c3035fffd882fd5ad79d8a360f07c3a2ddf92b93eccd5de8a
7
+ data.tar.gz: ce8a91b7760ffc57fef2a40e81a79bb9c7a2036a40247fad3670d47a0a66d1db266348deda00da1390126e0cc98f21b51c5bf48b2a2dc0e96bd5bd2db7031fc0
@@ -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?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghuls-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster