{"action":"created","comment":{"url":"https://api.github.com/repos/publiclab/plots2/pulls/comments/200358036","pull_request_review_id":134657304,"id":200358036,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDM1ODAzNg==","diff_hunk":"@@ -0,0 +1,11 @@\n+class ChangeStatusOfComments < ActiveRecord::Migration[5.1]\n+  def up\n+    Comment.all.each do |comment|\n+      comment.status = 1\n+      comment.save({})","path":"db/migrate/20180703164027_change_status_of_comments.rb","position":5,"original_position":5,"commit_id":"7dd2ac0c2ba955c37a9626d6b61b8d401f4f37a4","original_commit_id":"7dd2ac0c2ba955c37a9626d6b61b8d401f4f37a4","user":{"login":"siaw23","id":4806407,"node_id":"MDQ6VXNlcjQ4MDY0MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/4806407?v=4","gravatar_id":"","url":"https://api.github.com/users/siaw23","html_url":"https://github.com/siaw23","followers_url":"https://api.github.com/users/siaw23/followers","following_url":"https://api.github.com/users/siaw23/following{/other_user}","gists_url":"https://api.github.com/users/siaw23/gists{/gist_id}","starred_url":"https://api.github.com/users/siaw23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siaw23/subscriptions","organizations_url":"https://api.github.com/users/siaw23/orgs","repos_url":"https://api.github.com/users/siaw23/repos","events_url":"https://api.github.com/users/siaw23/events{/privacy}","received_events_url":"https://api.github.com/users/siaw23/received_events","type":"User","site_admin":false},"body":"@Gauravano i'm curious, what's the purpose of this `comment.status = 1`","created_at":"2018-07-05T13:47:57Z","updated_at":"2018-07-05T13:48:04Z","html_url":"https://github.com/publiclab/plots2/pull/2974#discussion_r200358036","pull_request_url":"https://api.github.com/repos/publiclab/plots2/pulls/2974","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/publiclab/plots2/pulls/comments/200358036"},"html":{"href":"https://github.com/publiclab/plots2/pull/2974#discussion_r200358036"},"pull_request":{"href":"https://api.github.com/repos/publiclab/plots2/pulls/2974"}},"in_reply_to_id":199959832},"pull_request":{"url":"https://api.github.com/repos/publiclab/plots2/pulls/2974","id":199033549,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MDMzNTQ5","html_url":"https://github.com/publiclab/plots2/pull/2974","diff_url":"https://github.com/publiclab/plots2/pull/2974.diff","patch_url":"https://github.com/publiclab/plots2/pull/2974.patch","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/2974","number":2974,"state":"open","locked":false,"title":"comment status change migration","user":{"login":"Gauravano","id":20878070,"node_id":"MDQ6VXNlcjIwODc4MDcw","avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false},"body":"Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!\r\n\r\n* [x] tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with `rake test`\r\n* [x] code is in uniquely-named feature branch and has no merge conflicts\r\n* [x] PR is descriptively titled\r\n* [x] PR body includes `fixes #0000`-style reference to original issue #\r\n* [x] ask `@publiclab/reviewers` for help, in a comment below\r\n\r\n> We're happy to help you get this ready -- don't be afraid to ask for help, and **don't be discouraged** if your tests fail at first!\r\n\r\nIf tests do fail, click on the red `X` to learn why by reading the logs.\r\n\r\nPlease be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software\r\n\r\nWe have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays. \r\n\r\nThanks!\r\n","created_at":"2018-07-03T17:25:36Z","updated_at":"2018-07-05T13:48:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9041da9e340508af803641c005045ae6dffe978","assignee":{"login":"Gauravano","id":20878070,"node_id":"MDQ6VXNlcjIwODc4MDcw","avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false},"assignees":[{"login":"Gauravano","id":20878070,"node_id":"MDQ6VXNlcjIwODc4MDcw","avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":828958340,"node_id":"MDU6TGFiZWw4Mjg5NTgzNDA=","url":"https://api.github.com/repos/publiclab/plots2/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/publiclab/plots2/pulls/2974/commits","review_comments_url":"https://api.github.com/repos/publiclab/plots2/pulls/2974/comments","review_comment_url":"https://api.github.com/repos/publiclab/plots2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/2974/comments","statuses_url":"https://api.github.com/repos/publiclab/plots2/statuses/7dd2ac0c2ba955c37a9626d6b61b8d401f4f37a4","head":{"label":"Gauravano:comment_migration","ref":"comment_migration","sha":"7dd2ac0c2ba955c37a9626d6b61b8d401f4f37a4","user":{"login":"Gauravano","id":20878070,"node_id":"MDQ6VXNlcjIwODc4MDcw","avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false},"repo":{"id":117300062,"node_id":"MDEwOlJlcG9zaXRvcnkxMTczMDAwNjI=","name":"plots2","full_name":"Gauravano/plots2","owner":{"login":"Gauravano","id":20878070,"node_id":"MDQ6VXNlcjIwODc4MDcw","avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gauravano/plots2","description":"PublicLab.org - a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:","fork":true,"url":"https://api.github.com/repos/Gauravano/plots2","forks_url":"https://api.github.com/repos/Gauravano/plots2/forks","keys_url":"https://api.github.com/repos/Gauravano/plots2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gauravano/plots2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gauravano/plots2/teams","hooks_url":"https://api.github.com/repos/Gauravano/plots2/hooks","issue_events_url":"https://api.github.com/repos/Gauravano/plots2/issues/events{/number}","events_url":"https://api.github.com/repos/Gauravano/plots2/events","assignees_url":"https://api.github.com/repos/Gauravano/plots2/assignees{/user}","branches_url":"https://api.github.com/repos/Gauravano/plots2/branches{/branch}","tags_url":"https://api.github.com/repos/Gauravano/plots2/tags","blobs_url":"https://api.github.com/repos/Gauravano/plots2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gauravano/plots2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gauravano/plots2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gauravano/plots2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gauravano/plots2/statuses/{sha}","languages_url":"https://api.github.com/repos/Gauravano/plots2/languages","stargazers_url":"https://api.github.com/repos/Gauravano/plots2/stargazers","contributors_url":"https://api.github.com/repos/Gauravano/plots2/contributors","subscribers_url":"https://api.github.com/repos/Gauravano/plots2/subscribers","subscription_url":"https://api.github.com/repos/Gauravano/plots2/subscription","commits_url":"https://api.github.com/repos/Gauravano/plots2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gauravano/plots2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gauravano/plots2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gauravano/plots2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gauravano/plots2/contents/{+path}","compare_url":"https://api.github.com/repos/Gauravano/plots2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gauravano/plots2/merges","archive_url":"https://api.github.com/repos/Gauravano/plots2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gauravano/plots2/downloads","issues_url":"https://api.github.com/repos/Gauravano/plots2/issues{/number}","pulls_url":"https://api.github.com/repos/Gauravano/plots2/pulls{/number}","milestones_url":"https://api.github.com/repos/Gauravano/plots2/milestones{/number}","notifications_url":"https://api.github.com/repos/Gauravano/plots2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gauravano/plots2/labels{/name}","releases_url":"https://api.github.com/repos/Gauravano/plots2/releases{/id}","deployments_url":"https://api.github.com/repos/Gauravano/plots2/deployments","created_at":"2018-01-13T00:10:47Z","updated_at":"2018-06-29T18:59:09Z","pushed_at":"2018-07-03T17:41:57Z","git_url":"git://github.com/Gauravano/plots2.git","ssh_url":"git@github.com:Gauravano/plots2.git","clone_url":"https://github.com/Gauravano/plots2.git","svn_url":"https://github.com/Gauravano/plots2","homepage":"https://publiclab.org","size":15154,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"publiclab:master","ref":"master","sha":"73a16d10a7e1bc03c8921f593a98a639687d91a2","user":{"login":"publiclab","id":4621650,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MjE2NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4621650?v=4","gravatar_id":"","url":"https://api.github.com/users/publiclab","html_url":"https://github.com/publiclab","followers_url":"https://api.github.com/users/publiclab/followers","following_url":"https://api.github.com/users/publiclab/following{/other_user}","gists_url":"https://api.github.com/users/publiclab/gists{/gist_id}","starred_url":"https://api.github.com/users/publiclab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publiclab/subscriptions","organizations_url":"https://api.github.com/users/publiclab/orgs","repos_url":"https://api.github.com/users/publiclab/repos","events_url":"https://api.github.com/users/publiclab/events{/privacy}","received_events_url":"https://api.github.com/users/publiclab/received_events","type":"Organization","site_admin":false},"repo":{"id":10504669,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUwNDY2OQ==","name":"plots2","full_name":"publiclab/plots2","owner":{"login":"publiclab","id":4621650,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MjE2NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4621650?v=4","gravatar_id":"","url":"https://api.github.com/users/publiclab","html_url":"https://github.com/publiclab","followers_url":"https://api.github.com/users/publiclab/followers","following_url":"https://api.github.com/users/publiclab/following{/other_user}","gists_url":"https://api.github.com/users/publiclab/gists{/gist_id}","starred_url":"https://api.github.com/users/publiclab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publiclab/subscriptions","organizations_url":"https://api.github.com/users/publiclab/orgs","repos_url":"https://api.github.com/users/publiclab/repos","events_url":"https://api.github.com/users/publiclab/events{/privacy}","received_events_url":"https://api.github.com/users/publiclab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/publiclab/plots2","description":"PublicLab.org - a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:","fork":false,"url":"https://api.github.com/repos/publiclab/plots2","forks_url":"https://api.github.com/repos/publiclab/plots2/forks","keys_url":"https://api.github.com/repos/publiclab/plots2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/publiclab/plots2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/publiclab/plots2/teams","hooks_url":"https://api.github.com/repos/publiclab/plots2/hooks","issue_events_url":"https://api.github.com/repos/publiclab/plots2/issues/events{/number}","events_url":"https://api.github.com/repos/publiclab/plots2/events","assignees_url":"https://api.github.com/repos/publiclab/plots2/assignees{/user}","branches_url":"https://api.github.com/repos/publiclab/plots2/branches{/branch}","tags_url":"https://api.github.com/repos/publiclab/plots2/tags","blobs_url":"https://api.github.com/repos/publiclab/plots2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/publiclab/plots2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/publiclab/plots2/git/refs{/sha}","trees_url":"https://api.github.com/repos/publiclab/plots2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/publiclab/plots2/statuses/{sha}","languages_url":"https://api.github.com/repos/publiclab/plots2/languages","stargazers_url":"https://api.github.com/repos/publiclab/plots2/stargazers","contributors_url":"https://api.github.com/repos/publiclab/plots2/contributors","subscribers_url":"https://api.github.com/repos/publiclab/plots2/subscribers","subscription_url":"https://api.github.com/repos/publiclab/plots2/subscription","commits_url":"https://api.github.com/repos/publiclab/plots2/commits{/sha}","git_commits_url":"https://api.github.com/repos/publiclab/plots2/git/commits{/sha}","comments_url":"https://api.github.com/repos/publiclab/plots2/comments{/number}","issue_comment_url":"https://api.github.com/repos/publiclab/plots2/issues/comments{/number}","contents_url":"https://api.github.com/repos/publiclab/plots2/contents/{+path}","compare_url":"https://api.github.com/repos/publiclab/plots2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/publiclab/plots2/merges","archive_url":"https://api.github.com/repos/publiclab/plots2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/publiclab/plots2/downloads","issues_url":"https://api.github.com/repos/publiclab/plots2/issues{/number}","pulls_url":"https://api.github.com/repos/publiclab/plots2/pulls{/number}","milestones_url":"https://api.github.com/repos/publiclab/plots2/milestones{/number}","notifications_url":"https://api.github.com/repos/publiclab/plots2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/publiclab/plots2/labels{/name}","releases_url":"https://api.github.com/repos/publiclab/plots2/releases{/id}","deployments_url":"https://api.github.com/repos/publiclab/plots2/deployments","created_at":"2013-06-05T14:36:10Z","updated_at":"2018-07-04T20:51:56Z","pushed_at":"2018-07-04T23:43:55Z","git_url":"git://github.com/publiclab/plots2.git","ssh_url":"git@github.com:publiclab/plots2.git","clone_url":"https://github.com/publiclab/plots2.git","svn_url":"https://github.com/publiclab/plots2","homepage":"https://publiclab.org","size":15307,"stargazers_count":244,"watchers_count":244,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":345,"mirror_url":null,"archived":false,"open_issues_count":302,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":345,"open_issues":302,"watchers":244,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/publiclab/plots2/pulls/2974"},"html":{"href":"https://github.com/publiclab/plots2/pull/2974"},"issue":{"href":"https://api.github.com/repos/publiclab/plots2/issues/2974"},"comments":{"href":"https://api.github.com/repos/publiclab/plots2/issues/2974/comments"},"review_comments":{"href":"https://api.github.com/repos/publiclab/plots2/pulls/2974/comments"},"review_comment":{"href":"https://api.github.com/repos/publiclab/plots2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/publiclab/plots2/pulls/2974/commits"},"statuses":{"href":"https://api.github.com/repos/publiclab/plots2/statuses/7dd2ac0c2ba955c37a9626d6b61b8d401f4f37a4"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"siaw23"}}