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

Fix JSON examples for commit comments #82

Merged
merged 4 commits into from
May 25, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions lib/resources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,13 @@ def json(key)
})

COMMIT_COMMENT = {
"url" => "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
"html_url" => "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
"url" => "https://api.github.com/repos/octocat/Hello-World/comments/1",
"id" => 1,
"body" => "Great stuff",
"path" => "file1.txt",
"position" => 4,
"line" => 14,
"commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"user" => USER,
"created_at" => "2011-04-14T16:00:49Z",
Expand All @@ -277,8 +279,8 @@ def json(key)
"additions" => 103,
"deletions" => 21,
"changes" => 124,
"blob_url" => "https://github.com/octocate/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
"raw_url" => "https://github.com/octocate/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
"blob_url" => "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
"raw_url" => "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
"patch" => "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
}

Expand Down
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