GitHub PullRequestReviewCommentEvent at 2014-09-18 07:49:29
Repository: portfolio
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/comments/17713401","id":17713401,"diff_hunk":"@@ -0,0 +1,74 @@\n+class ArticlesController < ApplicationController\n+  before_action :set_article, only: [:show, :edit, :update, :destroy]\n+\n+  # GET /articles\n+  # GET /articles.json\n+  def index\n+    @articles = Article.all\n+  end\n+\n+  # GET /articles/1\n+  # GET /articles/1.json\n+  def show\n+  end\n+\n+  # GET /articles/new\n+  def new\n+    @article = Article.new\n+  end\n+\n+  # GET /articles/1/edit\n+  def edit\n+  end\n+\n+  # POST /articles\n+  # POST /articles.json\n+  def create\n+    @article = Article.new(article_params)\n+\n+    respond_to do |format|\n+      if @article.save\n+        format.html { redirect_to @article, notice: 'Article was successfully created.' }\n+        format.json { render :show, status: :created, location: @article }\n+      else\n+        format.html { render :new }\n+        format.json { render json: @article.errors, status: :unprocessable_entity }\n+      end\n+    end\n+  end\n+\n+  # PATCH/PUT /articles/1\n+  # PATCH/PUT /articles/1.json\n+  def update\n+    respond_to do |format|\n+      if @article.update(article_params)\n+        format.html { redirect_to @article, notice: 'Article was successfully updated.' }","path":"app/controllers/articles_controller.rb","position":45,"original_position":45,"commit_id":"f0ba9ae0baf716245e83c9bc23397d9bba60d1f6","original_commit_id":"f0ba9ae0baf716245e83c9bc23397d9bba60d1f6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=2","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [89/80]<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2014-09-18T07:49:29Z","updated_at":"2014-09-18T07:49:29Z","html_url":"https://github.com/philipqnguyen/portfolio/pull/5#discussion_r17713401","pull_request_url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/comments/17713401"},"html":{"href":"https://github.com/philipqnguyen/portfolio/pull/5#discussion_r17713401"},"pull_request":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5","id":21416837,"html_url":"https://github.com/philipqnguyen/portfolio/pull/5","diff_url":"https://github.com/philipqnguyen/portfolio/pull/5.diff","patch_url":"https://github.com/philipqnguyen/portfolio/pull/5.patch","issue_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues/5","number":5,"state":"open","locked":false,"title":"All tests passing. CRUD Article working","user":{"login":"philipqnguyen","id":5519675,"avatar_url":"https://avatars.githubusercontent.com/u/5519675?v=2","gravatar_id":"56dbafe3c6463f9f886c4af7f0af8921","url":"https://api.github.com/users/philipqnguyen","html_url":"https://github.com/philipqnguyen","followers_url":"https://api.github.com/users/philipqnguyen/followers","following_url":"https://api.github.com/users/philipqnguyen/following{/other_user}","gists_url":"https://api.github.com/users/philipqnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/philipqnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipqnguyen/subscriptions","organizations_url":"https://api.github.com/users/philipqnguyen/orgs","repos_url":"https://api.github.com/users/philipqnguyen/repos","events_url":"https://api.github.com/users/philipqnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/philipqnguyen/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-09-18T07:49:22Z","updated_at":"2014-09-18T07:49:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7a2b8a46acce8d45647eeddb35ac7772c533d9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5/commits","review_comments_url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5/comments","review_comment_url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/comments/{number}","comments_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues/5/comments","statuses_url":"https://api.github.com/repos/philipqnguyen/portfolio/statuses/f0ba9ae0baf716245e83c9bc23397d9bba60d1f6","head":{"label":"philipqnguyen:post_page","ref":"post_page","sha":"f0ba9ae0baf716245e83c9bc23397d9bba60d1f6","user":{"login":"philipqnguyen","id":5519675,"avatar_url":"https://avatars.githubusercontent.com/u/5519675?v=2","gravatar_id":"56dbafe3c6463f9f886c4af7f0af8921","url":"https://api.github.com/users/philipqnguyen","html_url":"https://github.com/philipqnguyen","followers_url":"https://api.github.com/users/philipqnguyen/followers","following_url":"https://api.github.com/users/philipqnguyen/following{/other_user}","gists_url":"https://api.github.com/users/philipqnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/philipqnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipqnguyen/subscriptions","organizations_url":"https://api.github.com/users/philipqnguyen/orgs","repos_url":"https://api.github.com/users/philipqnguyen/repos","events_url":"https://api.github.com/users/philipqnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/philipqnguyen/received_events","type":"User","site_admin":false},"repo":{"id":24119470,"name":"portfolio","full_name":"philipqnguyen/portfolio","owner":{"login":"philipqnguyen","id":5519675,"avatar_url":"https://avatars.githubusercontent.com/u/5519675?v=2","gravatar_id":"56dbafe3c6463f9f886c4af7f0af8921","url":"https://api.github.com/users/philipqnguyen","html_url":"https://github.com/philipqnguyen","followers_url":"https://api.github.com/users/philipqnguyen/followers","following_url":"https://api.github.com/users/philipqnguyen/following{/other_user}","gists_url":"https://api.github.com/users/philipqnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/philipqnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipqnguyen/subscriptions","organizations_url":"https://api.github.com/users/philipqnguyen/orgs","repos_url":"https://api.github.com/users/philipqnguyen/repos","events_url":"https://api.github.com/users/philipqnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/philipqnguyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philipqnguyen/portfolio","description":"","fork":false,"url":"https://api.github.com/repos/philipqnguyen/portfolio","forks_url":"https://api.github.com/repos/philipqnguyen/portfolio/forks","keys_url":"https://api.github.com/repos/philipqnguyen/portfolio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philipqnguyen/portfolio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philipqnguyen/portfolio/teams","hooks_url":"https://api.github.com/repos/philipqnguyen/portfolio/hooks","issue_events_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues/events{/number}","events_url":"https://api.github.com/repos/philipqnguyen/portfolio/events","assignees_url":"https://api.github.com/repos/philipqnguyen/portfolio/assignees{/user}","branches_url":"https://api.github.com/repos/philipqnguyen/portfolio/branches{/branch}","tags_url":"https://api.github.com/repos/philipqnguyen/portfolio/tags","blobs_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/refs{/sha}","trees_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philipqnguyen/portfolio/statuses/{sha}","languages_url":"https://api.github.com/repos/philipqnguyen/portfolio/languages","stargazers_url":"https://api.github.com/repos/philipqnguyen/portfolio/stargazers","contributors_url":"https://api.github.com/repos/philipqnguyen/portfolio/contributors","subscribers_url":"https://api.github.com/repos/philipqnguyen/portfolio/subscribers","subscription_url":"https://api.github.com/repos/philipqnguyen/portfolio/subscription","commits_url":"https://api.github.com/repos/philipqnguyen/portfolio/commits{/sha}","git_commits_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/commits{/sha}","comments_url":"https://api.github.com/repos/philipqnguyen/portfolio/comments{/number}","issue_comment_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues/comments/{number}","contents_url":"https://api.github.com/repos/philipqnguyen/portfolio/contents/{+path}","compare_url":"https://api.github.com/repos/philipqnguyen/portfolio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philipqnguyen/portfolio/merges","archive_url":"https://api.github.com/repos/philipqnguyen/portfolio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philipqnguyen/portfolio/downloads","issues_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues{/number}","pulls_url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls{/number}","milestones_url":"https://api.github.com/repos/philipqnguyen/portfolio/milestones{/number}","notifications_url":"https://api.github.com/repos/philipqnguyen/portfolio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philipqnguyen/portfolio/labels{/name}","releases_url":"https://api.github.com/repos/philipqnguyen/portfolio/releases{/id}","created_at":"2014-09-16T21:58:37Z","updated_at":"2014-09-16T23:08:47Z","pushed_at":"2014-09-18T07:48:40Z","git_url":"git://github.com/philipqnguyen/portfolio.git","ssh_url":"git@github.com:philipqnguyen/portfolio.git","clone_url":"https://github.com/philipqnguyen/portfolio.git","svn_url":"https://github.com/philipqnguyen/portfolio","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"philipqnguyen:master","ref":"master","sha":"c12cab1e03d718c23622ebab08e079e2dae0baa9","user":{"login":"philipqnguyen","id":5519675,"avatar_url":"https://avatars.githubusercontent.com/u/5519675?v=2","gravatar_id":"56dbafe3c6463f9f886c4af7f0af8921","url":"https://api.github.com/users/philipqnguyen","html_url":"https://github.com/philipqnguyen","followers_url":"https://api.github.com/users/philipqnguyen/followers","following_url":"https://api.github.com/users/philipqnguyen/following{/other_user}","gists_url":"https://api.github.com/users/philipqnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/philipqnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipqnguyen/subscriptions","organizations_url":"https://api.github.com/users/philipqnguyen/orgs","repos_url":"https://api.github.com/users/philipqnguyen/repos","events_url":"https://api.github.com/users/philipqnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/philipqnguyen/received_events","type":"User","site_admin":false},"repo":{"id":24119470,"name":"portfolio","full_name":"philipqnguyen/portfolio","owner":{"login":"philipqnguyen","id":5519675,"avatar_url":"https://avatars.githubusercontent.com/u/5519675?v=2","gravatar_id":"56dbafe3c6463f9f886c4af7f0af8921","url":"https://api.github.com/users/philipqnguyen","html_url":"https://github.com/philipqnguyen","followers_url":"https://api.github.com/users/philipqnguyen/followers","following_url":"https://api.github.com/users/philipqnguyen/following{/other_user}","gists_url":"https://api.github.com/users/philipqnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/philipqnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipqnguyen/subscriptions","organizations_url":"https://api.github.com/users/philipqnguyen/orgs","repos_url":"https://api.github.com/users/philipqnguyen/repos","events_url":"https://api.github.com/users/philipqnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/philipqnguyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philipqnguyen/portfolio","description":"","fork":false,"url":"https://api.github.com/repos/philipqnguyen/portfolio","forks_url":"https://api.github.com/repos/philipqnguyen/portfolio/forks","keys_url":"https://api.github.com/repos/philipqnguyen/portfolio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philipqnguyen/portfolio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philipqnguyen/portfolio/teams","hooks_url":"https://api.github.com/repos/philipqnguyen/portfolio/hooks","issue_events_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues/events{/number}","events_url":"https://api.github.com/repos/philipqnguyen/portfolio/events","assignees_url":"https://api.github.com/repos/philipqnguyen/portfolio/assignees{/user}","branches_url":"https://api.github.com/repos/philipqnguyen/portfolio/branches{/branch}","tags_url":"https://api.github.com/repos/philipqnguyen/portfolio/tags","blobs_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/refs{/sha}","trees_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philipqnguyen/portfolio/statuses/{sha}","languages_url":"https://api.github.com/repos/philipqnguyen/portfolio/languages","stargazers_url":"https://api.github.com/repos/philipqnguyen/portfolio/stargazers","contributors_url":"https://api.github.com/repos/philipqnguyen/portfolio/contributors","subscribers_url":"https://api.github.com/repos/philipqnguyen/portfolio/subscribers","subscription_url":"https://api.github.com/repos/philipqnguyen/portfolio/subscription","commits_url":"https://api.github.com/repos/philipqnguyen/portfolio/commits{/sha}","git_commits_url":"https://api.github.com/repos/philipqnguyen/portfolio/git/commits{/sha}","comments_url":"https://api.github.com/repos/philipqnguyen/portfolio/comments{/number}","issue_comment_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues/comments/{number}","contents_url":"https://api.github.com/repos/philipqnguyen/portfolio/contents/{+path}","compare_url":"https://api.github.com/repos/philipqnguyen/portfolio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philipqnguyen/portfolio/merges","archive_url":"https://api.github.com/repos/philipqnguyen/portfolio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philipqnguyen/portfolio/downloads","issues_url":"https://api.github.com/repos/philipqnguyen/portfolio/issues{/number}","pulls_url":"https://api.github.com/repos/philipqnguyen/portfolio/pulls{/number}","milestones_url":"https://api.github.com/repos/philipqnguyen/portfolio/milestones{/number}","notifications_url":"https://api.github.com/repos/philipqnguyen/portfolio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philipqnguyen/portfolio/labels{/name}","releases_url":"https://api.github.com/repos/philipqnguyen/portfolio/releases{/id}","created_at":"2014-09-16T21:58:37Z","updated_at":"2014-09-16T23:08:47Z","pushed_at":"2014-09-18T07:48:40Z","git_url":"git://github.com/philipqnguyen/portfolio.git","ssh_url":"git@github.com:philipqnguyen/portfolio.git","clone_url":"https://github.com/philipqnguyen/portfolio.git","svn_url":"https://github.com/philipqnguyen/portfolio","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5"},"html":{"href":"https://github.com/philipqnguyen/portfolio/pull/5"},"issue":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/issues/5"},"comments":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/philipqnguyen/portfolio/statuses/f0ba9ae0baf716245e83c9bc23397d9bba60d1f6"}}}}