{"action":"created","comment":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments/46574595","id":46574595,"diff_hunk":"@@ -2,4 +2,26 @@\n \n RSpec.describe NewsItemsController, type: :controller do\n \n+  context 'when accessing a published news_item' do","path":"spec/controllers/news_item_controller_spec.rb","position":4,"original_position":4,"commit_id":"4fa3567a4b6a94000d7bf8832682e66dbe616d23","original_commit_id":"4fa3567a4b6a94000d7bf8832682e66dbe616d23","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-12-03T16:30:13Z","updated_at":"2015-12-03T16:30:13Z","html_url":"https://github.com/montrealrb/Montreal.rb/pull/89#discussion_r46574595","pull_request_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments/46574595"},"html":{"href":"https://github.com/montrealrb/Montreal.rb/pull/89#discussion_r46574595"},"pull_request":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89","id":52336319,"html_url":"https://github.com/montrealrb/Montreal.rb/pull/89","diff_url":"https://github.com/montrealrb/Montreal.rb/pull/89.diff","patch_url":"https://github.com/montrealrb/Montreal.rb/pull/89.patch","issue_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/89","number":89,"state":"open","locked":false,"title":"Markdown support (phase 1)","user":{"login":"cawel","id":15407,"avatar_url":"https://avatars.githubusercontent.com/u/15407?v=3","gravatar_id":"","url":"https://api.github.com/users/cawel","html_url":"https://github.com/cawel","followers_url":"https://api.github.com/users/cawel/followers","following_url":"https://api.github.com/users/cawel/following{/other_user}","gists_url":"https://api.github.com/users/cawel/gists{/gist_id}","starred_url":"https://api.github.com/users/cawel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cawel/subscriptions","organizations_url":"https://api.github.com/users/cawel/orgs","repos_url":"https://api.github.com/users/cawel/repos","events_url":"https://api.github.com/users/cawel/events{/privacy}","received_events_url":"https://api.github.com/users/cawel/received_events","type":"User","site_admin":false},"body":"New stuff:\r\n\r\n* Add markdown support for those models: `Event`, `NewsItem`, `Organization`, `Page`.\r\n\r\nNote 1: when the 'show' route was missing, in an attempt to minimize confusion between features (different people working simultaneously on different features), I created the 'show' template _only_ when the corresponding (non-admin) controller was present in the codebase. Hence, I left out the `Talk` and `Job` models.\r\n\r\nNote 2: the `filter` attribute has been ignored, as was requested by @benichu .\r\n\r\nCode reviews are welcome of course, even tough it's pretty basic at this point.","created_at":"2015-12-02T00:14:35Z","updated_at":"2015-12-03T16:30:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"289791e2355ee96e31c30d7a816eadfa3f90a51a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89/commits","review_comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89/comments","review_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/89/comments","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/4fa3567a4b6a94000d7bf8832682e66dbe616d23","head":{"label":"montrealrb:markdown-support","ref":"markdown-support","sha":"4fa3567a4b6a94000d7bf8832682e66dbe616d23","user":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"repo":{"id":10808048,"name":"Montreal.rb","full_name":"montrealrb/Montreal.rb","owner":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/montrealrb/Montreal.rb","description":"The new Montreal.rb website","fork":false,"url":"https://api.github.com/repos/montrealrb/Montreal.rb","forks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/forks","keys_url":"https://api.github.com/repos/montrealrb/Montreal.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/montrealrb/Montreal.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/montrealrb/Montreal.rb/teams","hooks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/hooks","issue_events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/events{/number}","events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/events","assignees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/assignees{/user}","branches_url":"https://api.github.com/repos/montrealrb/Montreal.rb/branches{/branch}","tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/tags","blobs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/montrealrb/Montreal.rb/languages","stargazers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/stargazers","contributors_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contributors","subscribers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscribers","subscription_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscription","commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contents/{+path}","compare_url":"https://api.github.com/repos/montrealrb/Montreal.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/montrealrb/Montreal.rb/merges","archive_url":"https://api.github.com/repos/montrealrb/Montreal.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/montrealrb/Montreal.rb/downloads","issues_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues{/number}","pulls_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/montrealrb/Montreal.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/montrealrb/Montreal.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/montrealrb/Montreal.rb/labels{/name}","releases_url":"https://api.github.com/repos/montrealrb/Montreal.rb/releases{/id}","created_at":"2013-06-19T23:11:36Z","updated_at":"2015-11-25T16:48:09Z","pushed_at":"2015-12-03T16:30:09Z","git_url":"git://github.com/montrealrb/Montreal.rb.git","ssh_url":"git@github.com:montrealrb/Montreal.rb.git","clone_url":"https://github.com/montrealrb/Montreal.rb.git","svn_url":"https://github.com/montrealrb/Montreal.rb","homepage":null,"size":376,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":42,"forks":21,"open_issues":42,"watchers":9,"default_branch":"master"}},"base":{"label":"montrealrb:master","ref":"master","sha":"76a53be465a271a215582b83457806c5d49410c1","user":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"repo":{"id":10808048,"name":"Montreal.rb","full_name":"montrealrb/Montreal.rb","owner":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/montrealrb/Montreal.rb","description":"The new Montreal.rb website","fork":false,"url":"https://api.github.com/repos/montrealrb/Montreal.rb","forks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/forks","keys_url":"https://api.github.com/repos/montrealrb/Montreal.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/montrealrb/Montreal.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/montrealrb/Montreal.rb/teams","hooks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/hooks","issue_events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/events{/number}","events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/events","assignees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/assignees{/user}","branches_url":"https://api.github.com/repos/montrealrb/Montreal.rb/branches{/branch}","tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/tags","blobs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/montrealrb/Montreal.rb/languages","stargazers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/stargazers","contributors_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contributors","subscribers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscribers","subscription_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscription","commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contents/{+path}","compare_url":"https://api.github.com/repos/montrealrb/Montreal.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/montrealrb/Montreal.rb/merges","archive_url":"https://api.github.com/repos/montrealrb/Montreal.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/montrealrb/Montreal.rb/downloads","issues_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues{/number}","pulls_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/montrealrb/Montreal.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/montrealrb/Montreal.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/montrealrb/Montreal.rb/labels{/name}","releases_url":"https://api.github.com/repos/montrealrb/Montreal.rb/releases{/id}","created_at":"2013-06-19T23:11:36Z","updated_at":"2015-11-25T16:48:09Z","pushed_at":"2015-12-03T16:30:09Z","git_url":"git://github.com/montrealrb/Montreal.rb.git","ssh_url":"git@github.com:montrealrb/Montreal.rb.git","clone_url":"https://github.com/montrealrb/Montreal.rb.git","svn_url":"https://github.com/montrealrb/Montreal.rb","homepage":null,"size":376,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":42,"forks":21,"open_issues":42,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89"},"html":{"href":"https://github.com/montrealrb/Montreal.rb/pull/89"},"issue":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/89"},"comments":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/4fa3567a4b6a94000d7bf8832682e66dbe616d23"}}}}