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

Commit

Permalink
Change commits based on my experience.
Browse files Browse the repository at this point in the history
So far, just from looking at commits on Pull Requests, it seems as if the
'author' and 'committer' fields are returning USER like data structures instead
of the structure that was there previously.
  • Loading branch information
sigmavirus24 committed May 29, 2012
1 parent a24ee36 commit 820c3bd
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lib/resources.rb
Expand Up @@ -568,16 +568,8 @@ def json(key)
COMMIT = { COMMIT = {
"sha" => "7638417db6d59f3c431d3e1f261cc637155684cd", "sha" => "7638417db6d59f3c431d3e1f261cc637155684cd",
"url" => "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", "url" => "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
"author" => { "author" => USER,
"date" => "2010-04-10T14:10:01-07:00", "committer" => USER,
"name" => "Scott Chacon",
"email" => "schacon@gmail.com"
},
"committer" => {
"date" => "2010-04-10T14:10:01-07:00",
"name" => "Scott Chacon",
"email" => "schacon@gmail.com"
},
"message" => "added readme, because im a good github citizen\n", "message" => "added readme, because im a good github citizen\n",
"tree" => { "tree" => {
"url" => "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb", "url" => "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",
Expand Down

0 comments on commit 820c3bd

Please sign in to comment.