Use "Core developers" and "Bitcoin-Qt contributors"

Send User-agent header to github API
This commit is contained in:
Saivann 2013-04-25 00:25:03 -04:00
parent f6a5c3b401
commit a20dca2553
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ module Jekyll
class CategoryGenerator < Generator
def fetch_contributors
contributors = JSON.parse(open("https://api.github.com/repos/bitcoin/bitcoin/contributors").read)
contributors = JSON.parse(open("https://api.github.com/repos/bitcoin/bitcoin/contributors","User-Agent"=>"Ruby/#{RUBY_VERSION}").read)
contributors.map do |x|
x['name'] = x['login'] unless x.has_key?('name')

View file

@ -13,7 +13,7 @@ title: Development - Bitcoin
<li><a href="https://en.bitcoin.it/wiki/Category:Technical">Bitcoin Wiki</a></li>
</ul>
<h2>Developers</h2>
<h2>Core developers</h2>
<ul>
<li>Satoshi Nakamoto - (<a href="/satoshinakamoto.asc">PGP</a>)</li>
<li>Gavin Andresen - <a href="mailto:gavinandresen@gmail.com">gavinandresen@gmail.com</a> (<a href="/gavinandresen.asc">PGP</a>)</li>
@ -28,7 +28,7 @@ title: Development - Bitcoin
<p>Bitcoin development is open source and any developer can contribute to the project. Everything you need is in the <a href="https://github.com/bitcoin/bitcoin">Github repository</a>. Please make sure to read and follow the development process described in the README as well as to provide good quality code and respect all guidelines.</p>
<section id="contributors">
<h2>Contributors</h2>
<h2>Bitcoin-Qt contributors</h2>
<p>(Ordered by number of commits)</p>
<div class="contributors">{% for c in site.project.contributors %}
<span>