mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[core] update stats raketask to point to org
This commit is contained in:
parent
1baa2e8ea6
commit
ca78fbab79
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -203,9 +203,9 @@ task :changelog do
|
||||||
changelog << ''
|
changelog << ''
|
||||||
|
|
||||||
require 'multi_json'
|
require 'multi_json'
|
||||||
github_repo_data = MultiJson.decode(Excon.get('http://github.com/api/v2/json/repos/show/geemus/fog').body)
|
github_repo_data = MultiJson.decode(Excon.get('http://github.com/api/v2/json/repos/show/fog/fog').body)
|
||||||
data = github_repo_data['repository'].reject {|key, value| !['forks', 'open_issues', 'watchers'].include?(key)}
|
data = github_repo_data['repository'].reject {|key, value| !['forks', 'open_issues', 'watchers'].include?(key)}
|
||||||
github_collaborator_data = MultiJson.decode(Excon.get('http://github.com/api/v2/json/repos/show/geemus/fog/collaborators').body)
|
github_collaborator_data = MultiJson.decode(Excon.get('http://github.com/api/v2/json/repos/show/fog/fog/collaborators').body)
|
||||||
data['collaborators'] = github_collaborator_data['collaborators'].length
|
data['collaborators'] = github_collaborator_data['collaborators'].length
|
||||||
rubygems_data = MultiJson.decode(Excon.get('https://rubygems.org/api/v1/gems/fog.json').body)
|
rubygems_data = MultiJson.decode(Excon.get('https://rubygems.org/api/v1/gems/fog.json').body)
|
||||||
data['downloads'] = rubygems_data['downloads']
|
data['downloads'] = rubygems_data['downloads']
|
||||||
|
|
Loading…
Add table
Reference in a new issue