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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gem-gratitude.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 710b23fb9fd552becbb23b9d7eeba0cf33be1116
4
- data.tar.gz: 967e71f8ab49ade409700c025d81b42ac8d121b4
3
+ metadata.gz: bd13472005184661f1e29e46ec7b40ecd973d598
4
+ data.tar.gz: 3cae294171e04610c5231bf838aab6a043b33314
5
5
  SHA512:
6
- metadata.gz: 67d739213d01adbc80976f7593c33a2e963c9b73d3f6844e406b868141b9e6f3499002136bdd4a242dda434073fce7c2daff0a45acafe165fb2c2c802648859a
7
- data.tar.gz: 05a30bb51db7d9b7c95af8273fc7c728692185067969a7f2f5c6c917b89be600f001e2d1dc02d1f521ad8a86de248678bd8673bd708c4bb103047c8b01953831
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-gratitude
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bartlett