{"action":"created","comment":{"url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/comments/225150212","pull_request_review_id":164685317,"id":225150212,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTE1MDIxMg==","diff_hunk":"@@ -236,6 +239,10 @@ def past_events\n     events.past\n   end\n \n+  def resources_from_past_events\n+    Resource.where(recipient_type: 'Event', recipient_id: all_past_events.map(&:id)) - resources","path":"app/models/user.rb","position":34,"original_position":34,"commit_id":"7c18d44ba21ea026dd0bcf43976f36c7bd8f41c3","original_commit_id":"7c18d44ba21ea026dd0bcf43976f36c7bd8f41c3","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"Metrics/LineLength: Line is too long. [96/80]","created_at":"2018-10-15T12:41:58Z","updated_at":"2018-10-15T12:41:59Z","html_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend/pull/169#discussion_r225150212","pull_request_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/comments/225150212"},"html":{"href":"https://github.com/TechMeetupsNG/techmeetupsng-backend/pull/169#discussion_r225150212"},"pull_request":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169","id":222891595,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyODkxNTk1","html_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend/pull/169","diff_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend/pull/169.diff","patch_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend/pull/169.patch","issue_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/169","number":169,"state":"open","locked":false,"title":"allow user view his/her profile and make changes","user":{"login":"innocentamadi","id":12391897,"node_id":"MDQ6VXNlcjEyMzkxODk3","avatar_url":"https://avatars3.githubusercontent.com/u/12391897?v=4","gravatar_id":"","url":"https://api.github.com/users/innocentamadi","html_url":"https://github.com/innocentamadi","followers_url":"https://api.github.com/users/innocentamadi/followers","following_url":"https://api.github.com/users/innocentamadi/following{/other_user}","gists_url":"https://api.github.com/users/innocentamadi/gists{/gist_id}","starred_url":"https://api.github.com/users/innocentamadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innocentamadi/subscriptions","organizations_url":"https://api.github.com/users/innocentamadi/orgs","repos_url":"https://api.github.com/users/innocentamadi/repos","events_url":"https://api.github.com/users/innocentamadi/events{/privacy}","received_events_url":"https://api.github.com/users/innocentamadi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-15T12:41:40Z","updated_at":"2018-10-15T12:41:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7f812cca0f46013efcf690535aa7e3dcc7f815b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169/commits","review_comments_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169/comments","review_comment_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/169/comments","statuses_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/statuses/7c18d44ba21ea026dd0bcf43976f36c7bd8f41c3","head":{"label":"TechMeetupsNG:feature/#200-charles-can-visit-his-profile","ref":"feature/#200-charles-can-visit-his-profile","sha":"7c18d44ba21ea026dd0bcf43976f36c7bd8f41c3","user":{"login":"TechMeetupsNG","id":33851215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODUxMjE1","avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"repo":{"id":112009283,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIwMDkyODM=","name":"techmeetupsng-backend","full_name":"TechMeetupsNG/techmeetupsng-backend","private":false,"owner":{"login":"TechMeetupsNG","id":33851215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODUxMjE1","avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend","description":null,"fork":false,"url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend","forks_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/forks","keys_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/teams","hooks_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/hooks","issue_events_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/events{/number}","events_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/events","assignees_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/assignees{/user}","branches_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/branches{/branch}","tags_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/tags","blobs_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/languages","stargazers_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/stargazers","contributors_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/contributors","subscribers_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/subscribers","subscription_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/subscription","commits_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/contents/{+path}","compare_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/merges","archive_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/downloads","issues_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues{/number}","pulls_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/labels{/name}","releases_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/releases{/id}","deployments_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/deployments","created_at":"2017-11-25T14:21:20Z","updated_at":"2018-10-11T08:06:00Z","pushed_at":"2018-10-15T12:41:41Z","git_url":"git://github.com/TechMeetupsNG/techmeetupsng-backend.git","ssh_url":"git@github.com:TechMeetupsNG/techmeetupsng-backend.git","clone_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend.git","svn_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend","homepage":null,"size":2808,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"TechMeetupsNG:develop","ref":"develop","sha":"507533b1d2d0b01cd0afa6253323b4e51aa96e87","user":{"login":"TechMeetupsNG","id":33851215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODUxMjE1","avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"repo":{"id":112009283,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIwMDkyODM=","name":"techmeetupsng-backend","full_name":"TechMeetupsNG/techmeetupsng-backend","private":false,"owner":{"login":"TechMeetupsNG","id":33851215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODUxMjE1","avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend","description":null,"fork":false,"url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend","forks_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/forks","keys_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/teams","hooks_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/hooks","issue_events_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/events{/number}","events_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/events","assignees_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/assignees{/user}","branches_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/branches{/branch}","tags_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/tags","blobs_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/languages","stargazers_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/stargazers","contributors_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/contributors","subscribers_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/subscribers","subscription_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/subscription","commits_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/contents/{+path}","compare_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/merges","archive_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/downloads","issues_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues{/number}","pulls_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/labels{/name}","releases_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/releases{/id}","deployments_url":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/deployments","created_at":"2017-11-25T14:21:20Z","updated_at":"2018-10-11T08:06:00Z","pushed_at":"2018-10-15T12:41:41Z","git_url":"git://github.com/TechMeetupsNG/techmeetupsng-backend.git","ssh_url":"git@github.com:TechMeetupsNG/techmeetupsng-backend.git","clone_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend.git","svn_url":"https://github.com/TechMeetupsNG/techmeetupsng-backend","homepage":null,"size":2808,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169"},"html":{"href":"https://github.com/TechMeetupsNG/techmeetupsng-backend/pull/169"},"issue":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/169"},"comments":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/TechMeetupsNG/techmeetupsng-backend/statuses/7c18d44ba21ea026dd0bcf43976f36c7bd8f41c3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}