ghuls-lib 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ghuls/lib.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05876584a0897169858d9d4223cd8fe4221fb780
4
- data.tar.gz: 4097ed0f9e11bca37d51c3b86329d6c134fe9542
3
+ metadata.gz: 299e01ecedca7f648fcd46e367f08fc6debdacea
4
+ data.tar.gz: 0035f3c9b4247553ef559da16d251f637a130224
5
5
  SHA512:
6
- metadata.gz: 037c563e9340a33971edc46ef375f7b192286b8dd74990f787a03ca3c810d45f12e1918a58e976bb265103a585ff1eba93c3c209ef834b42513b7c0f833ff91c
7
- data.tar.gz: 3fdd82d6cb36838724b54cbddde5909f9dc8bc0667127ee034c744b8957d38bd4829eeec9c9c7acf5b6f2a472ae95bf076e9ec63285e5a4038db4b62cb9b0406
6
+ metadata.gz: 41c8c3bfe9b9bf38efcf38a5dc7c1e40ed0e1e131a0ba23582b2b082e04e4f21329dfaddc6ed271a90167991419718aeb3ce2b6ae067c4cb7a77e18756bb4294
7
+ data.tar.gz: 830a185c4f1d08ff03937b2a92e7b69eb3e275206eace94bf11b5accaa743aea78b52d6ff459ece0e7a2aa326400afd768ffad8ef0eea89a6f4d57e572236827
data/lib/ghuls/lib.rb CHANGED
@@ -185,7 +185,6 @@ module GHULS
185
185
  # { :Ruby => 129890, :CoffeeScript => 5970 }
186
186
  def self.get_user_langs(username, github)
187
187
  repos = get_user_repos(username, github)
188
- p repos
189
188
  langs = {}
190
189
  repos[:public].each do |r|
191
190
  repo_langs = github.languages(r)
@@ -265,6 +264,7 @@ module GHULS
265
264
  def self.analyze_orgs(username, github)
266
265
  langs = get_org_langs(username, github)
267
266
  return nil if langs.empty?
267
+ return langs
268
268
  end
269
269
 
270
270
  # Performs the main analysis of the user.
@@ -275,6 +275,7 @@ module GHULS
275
275
  def self.analyze_user(username, github)
276
276
  langs = get_user_langs(username, github)
277
277
  return nil if langs.empty?
278
+ return langs
278
279
  end
279
280
 
280
281
  using StringUtility
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.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster