Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from frankcarey/master
Browse files Browse the repository at this point in the history
Version doesn't automatically pick up in composer.
  • Loading branch information
ornicar committed Feb 11, 2012
2 parents 18b8c19 + c5c8e6c commit dc1beb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "ornicar/github-api", "name": "ornicar/github-api",
"type": "library", "type": "library",
"description": "GitHub API", "description": "GitHub API",
"version": "3.3",
"homepage": "https://github.com/ornicar/php-github-api", "homepage": "https://github.com/ornicar/php-github-api",
"keywords": ["github", "api", "gist"], "keywords": ["github", "api", "gist"],
"license": "MIT", "license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions lib/Github/HttpClient.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ abstract class Github_HttpClient implements Github_HttpClientInterface
* @var array * @var array
*/ */
protected $options = array( protected $options = array(
'protocol' => 'http', 'protocol' => 'https',
'url' => ':protocol://github.com/api/v2/:format/:path', 'url' => ':protocol://api.github.com/:path',
'format' => 'json', 'format' => 'json',
'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)', 'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)',
'http_port' => 80, 'http_port' => 443,
'timeout' => 10, 'timeout' => 10,
'login' => null, 'login' => null,
'token' => null 'token' => null
Expand Down

0 comments on commit dc1beb0

Please sign in to comment.