From a20dca25539d83caae0ccb25949f4160401bdf8d Mon Sep 17 00:00:00 2001 From: Saivann Date: Thu, 25 Apr 2013 00:25:03 -0400 Subject: [PATCH] Use "Core developers" and "Bitcoin-Qt contributors" Send User-agent header to github API --- _plugins/contributors.rb | 2 +- en/development.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_plugins/contributors.rb b/_plugins/contributors.rb index f6ef6d10..e4c24c20 100644 --- a/_plugins/contributors.rb +++ b/_plugins/contributors.rb @@ -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') diff --git a/en/development.html b/en/development.html index b822f02e..70611f22 100644 --- a/en/development.html +++ b/en/development.html @@ -13,7 +13,7 @@ title: Development - Bitcoin
  • Bitcoin Wiki
  • -

    Developers

    +

    Core developers