{"action":"created","comment":{"url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/comments/243878906","pull_request_review_id":187755723,"id":243878906,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzg3ODkwNg==","diff_hunk":"@@ -8,10 +12,18 @@ def auth\n     end\n   end\n \n+  def active? value, target","path":"app/helpers/application_helper.rb","position":14,"original_position":14,"commit_id":"50b58d3561f5b54020a4dbc0c69834bff07ca0a0","original_commit_id":"50b58d3561f5b54020a4dbc0c69834bff07ca0a0","user":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"body":"コーディング規約によって異なると思いますが、引数ありのメソッドを定義する際は括弧があったほうがメソッド名が目立つ気がします。\r\n\r\n参考: [ruby-style-guide](https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md)\r\n> 引数があるとき、defは括弧と共に使いましょう。 引数がない場合は括弧は省略しましょう。","created_at":"2018-12-25T06:16:07Z","updated_at":"2018-12-25T06:17:47Z","html_url":"https://github.com/Lynns0416/task-tracker/pull/23#discussion_r243878906","pull_request_url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/comments/243878906"},"html":{"href":"https://github.com/Lynns0416/task-tracker/pull/23#discussion_r243878906"},"pull_request":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23","id":240113171,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMTEzMTcx","html_url":"https://github.com/Lynns0416/task-tracker/pull/23","diff_url":"https://github.com/Lynns0416/task-tracker/pull/23.diff","patch_url":"https://github.com/Lynns0416/task-tracker/pull/23.patch","issue_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues/23","number":23,"state":"open","locked":false,"title":"[fixed #162536545] 22. ユーザにロールを追加","user":{"login":"Lynns0416","id":13435384,"node_id":"MDQ6VXNlcjEzNDM1Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/13435384?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynns0416","html_url":"https://github.com/Lynns0416","followers_url":"https://api.github.com/users/Lynns0416/followers","following_url":"https://api.github.com/users/Lynns0416/following{/other_user}","gists_url":"https://api.github.com/users/Lynns0416/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynns0416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynns0416/subscriptions","organizations_url":"https://api.github.com/users/Lynns0416/orgs","repos_url":"https://api.github.com/users/Lynns0416/repos","events_url":"https://api.github.com/users/Lynns0416/events{/privacy}","received_events_url":"https://api.github.com/users/Lynns0416/received_events","type":"User","site_admin":false},"body":"https://www.pivotaltracker.com/story/show/162536545","created_at":"2018-12-20T10:03:30Z","updated_at":"2018-12-25T06:17:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02f3406beb58b332700cfafa094070a0b1665ce0","assignee":{"login":"iwasaki-d","id":11012221,"node_id":"MDQ6VXNlcjExMDEyMjIx","avatar_url":"https://avatars3.githubusercontent.com/u/11012221?v=4","gravatar_id":"","url":"https://api.github.com/users/iwasaki-d","html_url":"https://github.com/iwasaki-d","followers_url":"https://api.github.com/users/iwasaki-d/followers","following_url":"https://api.github.com/users/iwasaki-d/following{/other_user}","gists_url":"https://api.github.com/users/iwasaki-d/gists{/gist_id}","starred_url":"https://api.github.com/users/iwasaki-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwasaki-d/subscriptions","organizations_url":"https://api.github.com/users/iwasaki-d/orgs","repos_url":"https://api.github.com/users/iwasaki-d/repos","events_url":"https://api.github.com/users/iwasaki-d/events{/privacy}","received_events_url":"https://api.github.com/users/iwasaki-d/received_events","type":"User","site_admin":false},"assignees":[{"login":"iwasaki-d","id":11012221,"node_id":"MDQ6VXNlcjExMDEyMjIx","avatar_url":"https://avatars3.githubusercontent.com/u/11012221?v=4","gravatar_id":"","url":"https://api.github.com/users/iwasaki-d","html_url":"https://github.com/iwasaki-d","followers_url":"https://api.github.com/users/iwasaki-d/followers","following_url":"https://api.github.com/users/iwasaki-d/following{/other_user}","gists_url":"https://api.github.com/users/iwasaki-d/gists{/gist_id}","starred_url":"https://api.github.com/users/iwasaki-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwasaki-d/subscriptions","organizations_url":"https://api.github.com/users/iwasaki-d/orgs","repos_url":"https://api.github.com/users/iwasaki-d/repos","events_url":"https://api.github.com/users/iwasaki-d/events{/privacy}","received_events_url":"https://api.github.com/users/iwasaki-d/received_events","type":"User","site_admin":false},{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23/commits","review_comments_url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23/comments","review_comment_url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues/23/comments","statuses_url":"https://api.github.com/repos/Lynns0416/task-tracker/statuses/50b58d3561f5b54020a4dbc0c69834bff07ca0a0","head":{"label":"Lynns0416:22-add-role-to-users","ref":"22-add-role-to-users","sha":"50b58d3561f5b54020a4dbc0c69834bff07ca0a0","user":{"login":"Lynns0416","id":13435384,"node_id":"MDQ6VXNlcjEzNDM1Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/13435384?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynns0416","html_url":"https://github.com/Lynns0416","followers_url":"https://api.github.com/users/Lynns0416/followers","following_url":"https://api.github.com/users/Lynns0416/following{/other_user}","gists_url":"https://api.github.com/users/Lynns0416/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynns0416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynns0416/subscriptions","organizations_url":"https://api.github.com/users/Lynns0416/orgs","repos_url":"https://api.github.com/users/Lynns0416/repos","events_url":"https://api.github.com/users/Lynns0416/events{/privacy}","received_events_url":"https://api.github.com/users/Lynns0416/received_events","type":"User","site_admin":false},"repo":{"id":161132803,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExMzI4MDM=","name":"task-tracker","full_name":"Lynns0416/task-tracker","private":false,"owner":{"login":"Lynns0416","id":13435384,"node_id":"MDQ6VXNlcjEzNDM1Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/13435384?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynns0416","html_url":"https://github.com/Lynns0416","followers_url":"https://api.github.com/users/Lynns0416/followers","following_url":"https://api.github.com/users/Lynns0416/following{/other_user}","gists_url":"https://api.github.com/users/Lynns0416/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynns0416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynns0416/subscriptions","organizations_url":"https://api.github.com/users/Lynns0416/orgs","repos_url":"https://api.github.com/users/Lynns0416/repos","events_url":"https://api.github.com/users/Lynns0416/events{/privacy}","received_events_url":"https://api.github.com/users/Lynns0416/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Lynns0416/task-tracker","description":null,"fork":false,"url":"https://api.github.com/repos/Lynns0416/task-tracker","forks_url":"https://api.github.com/repos/Lynns0416/task-tracker/forks","keys_url":"https://api.github.com/repos/Lynns0416/task-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lynns0416/task-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lynns0416/task-tracker/teams","hooks_url":"https://api.github.com/repos/Lynns0416/task-tracker/hooks","issue_events_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/Lynns0416/task-tracker/events","assignees_url":"https://api.github.com/repos/Lynns0416/task-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/Lynns0416/task-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/Lynns0416/task-tracker/tags","blobs_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lynns0416/task-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/Lynns0416/task-tracker/languages","stargazers_url":"https://api.github.com/repos/Lynns0416/task-tracker/stargazers","contributors_url":"https://api.github.com/repos/Lynns0416/task-tracker/contributors","subscribers_url":"https://api.github.com/repos/Lynns0416/task-tracker/subscribers","subscription_url":"https://api.github.com/repos/Lynns0416/task-tracker/subscription","commits_url":"https://api.github.com/repos/Lynns0416/task-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lynns0416/task-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lynns0416/task-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/Lynns0416/task-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lynns0416/task-tracker/merges","archive_url":"https://api.github.com/repos/Lynns0416/task-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lynns0416/task-tracker/downloads","issues_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/Lynns0416/task-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/Lynns0416/task-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lynns0416/task-tracker/labels{/name}","releases_url":"https://api.github.com/repos/Lynns0416/task-tracker/releases{/id}","deployments_url":"https://api.github.com/repos/Lynns0416/task-tracker/deployments","created_at":"2018-12-10T07:12:19Z","updated_at":"2018-12-25T04:33:35Z","pushed_at":"2018-12-25T04:33:33Z","git_url":"git://github.com/Lynns0416/task-tracker.git","ssh_url":"git@github.com:Lynns0416/task-tracker.git","clone_url":"https://github.com/Lynns0416/task-tracker.git","svn_url":"https://github.com/Lynns0416/task-tracker","homepage":null,"size":411,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"Lynns0416:21-admin-dashboard","ref":"21-admin-dashboard","sha":"02cc6014a515a0fb24e17be33f01fcc90fbdc1a0","user":{"login":"Lynns0416","id":13435384,"node_id":"MDQ6VXNlcjEzNDM1Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/13435384?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynns0416","html_url":"https://github.com/Lynns0416","followers_url":"https://api.github.com/users/Lynns0416/followers","following_url":"https://api.github.com/users/Lynns0416/following{/other_user}","gists_url":"https://api.github.com/users/Lynns0416/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynns0416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynns0416/subscriptions","organizations_url":"https://api.github.com/users/Lynns0416/orgs","repos_url":"https://api.github.com/users/Lynns0416/repos","events_url":"https://api.github.com/users/Lynns0416/events{/privacy}","received_events_url":"https://api.github.com/users/Lynns0416/received_events","type":"User","site_admin":false},"repo":{"id":161132803,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExMzI4MDM=","name":"task-tracker","full_name":"Lynns0416/task-tracker","private":false,"owner":{"login":"Lynns0416","id":13435384,"node_id":"MDQ6VXNlcjEzNDM1Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/13435384?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynns0416","html_url":"https://github.com/Lynns0416","followers_url":"https://api.github.com/users/Lynns0416/followers","following_url":"https://api.github.com/users/Lynns0416/following{/other_user}","gists_url":"https://api.github.com/users/Lynns0416/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynns0416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynns0416/subscriptions","organizations_url":"https://api.github.com/users/Lynns0416/orgs","repos_url":"https://api.github.com/users/Lynns0416/repos","events_url":"https://api.github.com/users/Lynns0416/events{/privacy}","received_events_url":"https://api.github.com/users/Lynns0416/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Lynns0416/task-tracker","description":null,"fork":false,"url":"https://api.github.com/repos/Lynns0416/task-tracker","forks_url":"https://api.github.com/repos/Lynns0416/task-tracker/forks","keys_url":"https://api.github.com/repos/Lynns0416/task-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lynns0416/task-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lynns0416/task-tracker/teams","hooks_url":"https://api.github.com/repos/Lynns0416/task-tracker/hooks","issue_events_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/Lynns0416/task-tracker/events","assignees_url":"https://api.github.com/repos/Lynns0416/task-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/Lynns0416/task-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/Lynns0416/task-tracker/tags","blobs_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lynns0416/task-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/Lynns0416/task-tracker/languages","stargazers_url":"https://api.github.com/repos/Lynns0416/task-tracker/stargazers","contributors_url":"https://api.github.com/repos/Lynns0416/task-tracker/contributors","subscribers_url":"https://api.github.com/repos/Lynns0416/task-tracker/subscribers","subscription_url":"https://api.github.com/repos/Lynns0416/task-tracker/subscription","commits_url":"https://api.github.com/repos/Lynns0416/task-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lynns0416/task-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lynns0416/task-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lynns0416/task-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/Lynns0416/task-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lynns0416/task-tracker/merges","archive_url":"https://api.github.com/repos/Lynns0416/task-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lynns0416/task-tracker/downloads","issues_url":"https://api.github.com/repos/Lynns0416/task-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/Lynns0416/task-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/Lynns0416/task-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/Lynns0416/task-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lynns0416/task-tracker/labels{/name}","releases_url":"https://api.github.com/repos/Lynns0416/task-tracker/releases{/id}","deployments_url":"https://api.github.com/repos/Lynns0416/task-tracker/deployments","created_at":"2018-12-10T07:12:19Z","updated_at":"2018-12-25T04:33:35Z","pushed_at":"2018-12-25T04:33:33Z","git_url":"git://github.com/Lynns0416/task-tracker.git","ssh_url":"git@github.com:Lynns0416/task-tracker.git","clone_url":"https://github.com/Lynns0416/task-tracker.git","svn_url":"https://github.com/Lynns0416/task-tracker","homepage":null,"size":411,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23"},"html":{"href":"https://github.com/Lynns0416/task-tracker/pull/23"},"issue":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/issues/23"},"comments":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/Lynns0416/task-tracker/statuses/50b58d3561f5b54020a4dbc0c69834bff07ca0a0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yiworks"}}