Permalink
Browse files

Merge pull request #26 from frankcarey/master

Version doesn't automatically pick up in composer.
  • Loading branch information...
2 parents 18b8c19 + c5c8e6c commit dc1beb086b99791e3956be4fc7043c28cd7f8d7c @ornicar committed Feb 11, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −0 composer.json
  2. +3 −3 lib/Github/HttpClient.php
View
@@ -2,6 +2,7 @@
"name": "ornicar/github-api",
"type": "library",
"description": "GitHub API",
+ "version": "3.3",
"homepage": "https://github.com/ornicar/php-github-api",
"keywords": ["github", "api", "gist"],
"license": "MIT",
@@ -13,11 +13,11 @@
* @var array
*/
protected $options = array(
- 'protocol' => 'http',
- 'url' => ':protocol://github.com/api/v2/:format/:path',
+ 'protocol' => 'https',
+ 'url' => ':protocol://api.github.com/:path',
'format' => 'json',
'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)',
- 'http_port' => 80,
+ 'http_port' => 443,
'timeout' => 10,
'login' => null,
'token' => null

0 comments on commit dc1beb0

Please sign in to comment.