24pullrequests/24pullrequests — pull request #679 by tarebyte (2014-11-26 23:18:58+00:00)
Title: Use GitHub API to update humans.txt with 24pullrequests contributors

This PR is from the discussion in issue #658.

This updates the `human.txt` file via rake task in order to dynamically add the contributors to the list instead of manually adding them.

The snippet below is how I tested this since this can only be run in production

```ruby
# Before
Rails.application.config.contributors.map(&:login).each do |login|

#After
Octokit.configure do |c|
c.access_token = ENV['GITHUB_API_TOKEN'] # This is already in my environment
end

Octokit.contributors('24pullrequests/24pullrequests').map(&:login).each do |login|
```

I'm open to suggestions on other implementations or advice on how to make this better.

Thanks!