{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/76739008","id":76739008,"diff_hunk":"@@ -0,0 +1,29 @@\n+- if @posts.any?\n+  - @posts.reverse_each do |post|\n+    .row\n+      .col-md-4.col-md-offset-4\n+        .panel-heading\n+          %h3.panel-title\n+            %b= post.user.email\n+            = post.title\n+        .thumbnail\n+          = image_tag post.image.url(:medium), class: 'img-responsive'\n+        .caption\n+          %h3\n+            = post.description\n+        %div.likes\n+          %span.likes-count= pluralize post.likes.count, 'like'\n+        - if post.comments.any?\n+          = link_to 'View Comments', post_path(post), class: \"btn btn-default\"\n+\n+        - if user_signed_in?\n+          = link_to \"Comment\", new_post_comment_path(post), class: \"btn btn-default\"\n+          - unless current_user.has_liked?(post)\n+            = link_to \"Like\", post_likes_path(post), method: :post, class: \"btn btn-default\"","path":"app/views/posts/index.html.haml","position":22,"original_position":22,"commit_id":"84ff99677ad8a92f84b1cb1ef8e23afb8ce9b239","original_commit_id":"84ff99677ad8a92f84b1cb1ef8e23afb8ce9b239","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [92/80]","created_at":"2016-08-30T06:54:24Z","updated_at":"2016-08-30T06:54:24Z","html_url":"https://github.com/makersacademy/instagram-challenge/pull/301#discussion_r76739008","pull_request_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/76739008"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/301#discussion_r76739008"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301","id":83217210,"html_url":"https://github.com/makersacademy/instagram-challenge/pull/301","diff_url":"https://github.com/makersacademy/instagram-challenge/pull/301.diff","patch_url":"https://github.com/makersacademy/instagram-challenge/pull/301.patch","issue_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/301","number":301,"state":"open","locked":false,"title":"Instagram-challenge","user":{"login":"agakow","id":19610399,"avatar_url":"https://avatars.githubusercontent.com/u/19610399?v=3","gravatar_id":"","url":"https://api.github.com/users/agakow","html_url":"https://github.com/agakow","followers_url":"https://api.github.com/users/agakow/followers","following_url":"https://api.github.com/users/agakow/following{/other_user}","gists_url":"https://api.github.com/users/agakow/gists{/gist_id}","starred_url":"https://api.github.com/users/agakow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agakow/subscriptions","organizations_url":"https://api.github.com/users/agakow/orgs","repos_url":"https://api.github.com/users/agakow/repos","events_url":"https://api.github.com/users/agakow/events{/privacy}","received_events_url":"https://api.github.com/users/agakow/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T06:54:02Z","updated_at":"2016-08-30T06:54:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"074a4b82750074af2a28d14abe70b8846dbf6119","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301/commits","review_comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301/comments","review_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/301/comments","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/84ff99677ad8a92f84b1cb1ef8e23afb8ce9b239","head":{"label":"agakow:master","ref":"master","sha":"84ff99677ad8a92f84b1cb1ef8e23afb8ce9b239","user":{"login":"agakow","id":19610399,"avatar_url":"https://avatars.githubusercontent.com/u/19610399?v=3","gravatar_id":"","url":"https://api.github.com/users/agakow","html_url":"https://github.com/agakow","followers_url":"https://api.github.com/users/agakow/followers","following_url":"https://api.github.com/users/agakow/following{/other_user}","gists_url":"https://api.github.com/users/agakow/gists{/gist_id}","starred_url":"https://api.github.com/users/agakow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agakow/subscriptions","organizations_url":"https://api.github.com/users/agakow/orgs","repos_url":"https://api.github.com/users/agakow/repos","events_url":"https://api.github.com/users/agakow/events{/privacy}","received_events_url":"https://api.github.com/users/agakow/received_events","type":"User","site_admin":false},"repo":{"id":66840808,"name":"instagram-challenge","full_name":"agakow/instagram-challenge","owner":{"login":"agakow","id":19610399,"avatar_url":"https://avatars.githubusercontent.com/u/19610399?v=3","gravatar_id":"","url":"https://api.github.com/users/agakow","html_url":"https://github.com/agakow","followers_url":"https://api.github.com/users/agakow/followers","following_url":"https://api.github.com/users/agakow/following{/other_user}","gists_url":"https://api.github.com/users/agakow/gists{/gist_id}","starred_url":"https://api.github.com/users/agakow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agakow/subscriptions","organizations_url":"https://api.github.com/users/agakow/orgs","repos_url":"https://api.github.com/users/agakow/repos","events_url":"https://api.github.com/users/agakow/events{/privacy}","received_events_url":"https://api.github.com/users/agakow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agakow/instagram-challenge","description":"Rebuild Instagram","fork":true,"url":"https://api.github.com/repos/agakow/instagram-challenge","forks_url":"https://api.github.com/repos/agakow/instagram-challenge/forks","keys_url":"https://api.github.com/repos/agakow/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agakow/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agakow/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/agakow/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/agakow/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/agakow/instagram-challenge/events","assignees_url":"https://api.github.com/repos/agakow/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/agakow/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/agakow/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/agakow/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agakow/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agakow/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/agakow/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agakow/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/agakow/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/agakow/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/agakow/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/agakow/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/agakow/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/agakow/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/agakow/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/agakow/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/agakow/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/agakow/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/agakow/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agakow/instagram-challenge/merges","archive_url":"https://api.github.com/repos/agakow/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agakow/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/agakow/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/agakow/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/agakow/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/agakow/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agakow/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/agakow/instagram-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/agakow/instagram-challenge/deployments","created_at":"2016-08-29T12:14:00Z","updated_at":"2016-08-30T06:52:44Z","pushed_at":"2016-08-30T06:52:41Z","git_url":"git://github.com/agakow/instagram-challenge.git","ssh_url":"git@github.com:agakow/instagram-challenge.git","clone_url":"https://github.com/agakow/instagram-challenge.git","svn_url":"https://github.com/agakow/instagram-challenge","homepage":null,"size":625975,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"6b139bbe0af003ef7c20cd6d886de9003f042ecc","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006364,"name":"instagram-challenge","full_name":"makersacademy/instagram-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/instagram-challenge","description":"Rebuild Instagram","fork":false,"url":"https://api.github.com/repos/makersacademy/instagram-challenge","forks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/instagram-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/instagram-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/deployments","created_at":"2014-11-22T17:26:37Z","updated_at":"2016-03-04T17:15:00Z","pushed_at":"2016-08-30T06:54:02Z","git_url":"git://github.com/makersacademy/instagram-challenge.git","ssh_url":"git@github.com:makersacademy/instagram-challenge.git","clone_url":"https://github.com/makersacademy/instagram-challenge.git","svn_url":"https://github.com/makersacademy/instagram-challenge","homepage":null,"size":625975,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":383,"mirror_url":null,"open_issues_count":128,"forks":383,"open_issues":128,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/301"},"issue":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/301"},"comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/84ff99677ad8a92f84b1cb1ef8e23afb8ce9b239"}}}}
{"actor":{"display_login":"houndci-bot"}}