Skip to content
Browse files

Change commits based on my experience.

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...
1 parent a24ee36 commit 820c3bd546d4091ae4841c44a9e3d66eec61193f @sigmavirus24 sigmavirus24 committed
Showing with 2 additions and 10 deletions.
  1. +2 −10 lib/resources.rb
View
12 lib/resources.rb
@@ -568,16 +568,8 @@ def json(key)
COMMIT = {
"sha" => "7638417db6d59f3c431d3e1f261cc637155684cd",
"url" => "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
- "author" => {
- "date" => "2010-04-10T14:10:01-07:00",
- "name" => "Scott Chacon",
- "email" => "schacon@gmail.com"
- },
- "committer" => {
- "date" => "2010-04-10T14:10:01-07:00",
- "name" => "Scott Chacon",
- "email" => "schacon@gmail.com"
- },
+ "author" => USER,
+ "committer" => USER,
"message" => "added readme, because im a good github citizen\n",
"tree" => {
"url" => "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",

0 comments on commit 820c3bd

Please sign in to comment.
Something went wrong with that request. Please try again.