ghuls-lib 2.0.0 → 2.0.1
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.
- checksums.yaml +4 -4
- data/lib/ghuls/lib.rb +4 -4
- 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: 05876584a0897169858d9d4223cd8fe4221fb780
|
|
4
|
+
data.tar.gz: 4097ed0f9e11bca37d51c3b86329d6c134fe9542
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 037c563e9340a33971edc46ef375f7b192286b8dd74990f787a03ca3c810d45f12e1918a58e976bb265103a585ff1eba93c3c209ef834b42513b7c0f833ff91c
|
|
7
|
+
data.tar.gz: 3fdd82d6cb36838724b54cbddde5909f9dc8bc0667127ee034c744b8957d38bd4829eeec9c9c7acf5b6f2a472ae95bf076e9ec63285e5a4038db4b62cb9b0406
|
data/lib/ghuls/lib.rb
CHANGED
|
@@ -184,11 +184,11 @@ module GHULS
|
|
|
184
184
|
# @return [Hash] The languages and their bytes, as formatted as
|
|
185
185
|
# { :Ruby => 129890, :CoffeeScript => 5970 }
|
|
186
186
|
def self.get_user_langs(username, github)
|
|
187
|
-
repos =
|
|
187
|
+
repos = get_user_repos(username, github)
|
|
188
|
+
p repos
|
|
188
189
|
langs = {}
|
|
189
|
-
repos.each do |r|
|
|
190
|
-
|
|
191
|
-
repo_langs = github.languages(r[:full_name])
|
|
190
|
+
repos[:public].each do |r|
|
|
191
|
+
repo_langs = github.languages(r)
|
|
192
192
|
repo_langs.each do |l, b|
|
|
193
193
|
if langs[l].nil?
|
|
194
194
|
langs[l] = b
|