gem-gratitude 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gem-gratitude.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: bd13472005184661f1e29e46ec7b40ecd973d598
|
4
|
+
data.tar.gz: 3cae294171e04610c5231bf838aab6a043b33314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33b80625f218ea42ca5f5e723abe3c9782c044e9aea9a980d597b63e639ea787259f33596473accaad5eadae7594e63ce0f905acc116c019dec4bd7dd70cd5c7
|
7
|
+
data.tar.gz: 83943dcd28e542fbfa73f332a6f52218aacb5409bca7bea26a2f47936e818a006f3a7ec9f9fe919008b986107b27a6a59f58a1e388bfbef1f74a2bacf81f1db4
|
data/lib/gem-gratitude.rb
CHANGED
@@ -58,7 +58,7 @@ class Issue
|
|
58
58
|
@issue_count = 0
|
59
59
|
@gem_list.each do |g|
|
60
60
|
github_url = g[:homepage].split('/')
|
61
|
-
response = HTTParty.get("https://api.github.com/repos/#{github_url[-2]}/#{github_url[-1]}/issues?state=open")
|
61
|
+
response = HTTParty.get("https://api.github.com/repos/#{github_url[-2]}/#{github_url[-1]}/issues?state=open", basic_auth: {username: 'd9eaac28045e8cc35c3f520c7e639caf22b1496e', password: 'x-oauth-basic'})
|
62
62
|
json = JSON.parse(response.body)
|
63
63
|
if response.code == 200
|
64
64
|
puts "#{g[:name]}: #{g[:homepage]} - #{json.count} open issues"
|