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

Commit 820c3bd

Browse files
committed
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.
1 parent a24ee36 commit 820c3bd

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

lib/resources.rb

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -568,16 +568,8 @@ def json(key)
568568
COMMIT = {
569569
"sha" => "7638417db6d59f3c431d3e1f261cc637155684cd",
570570
"url" => "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
571-
"author" => {
572-
"date" => "2010-04-10T14:10:01-07:00",
573-
"name" => "Scott Chacon",
574-
"email" => "schacon@gmail.com"
575-
},
576-
"committer" => {
577-
"date" => "2010-04-10T14:10:01-07:00",
578-
"name" => "Scott Chacon",
579-
"email" => "schacon@gmail.com"
580-
},
571+
"author" => USER,
572+
"committer" => USER,
581573
"message" => "added readme, because im a good github citizen\n",
582574
"tree" => {
583575
"url" => "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy