{"action":"created","comment":{"url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/comments/59662387","id":59662387,"diff_hunk":"@@ -56,12 +56,12 @@ def create_new_vote(name, user:, movie:)\n   end\n \n   def users_having_votes(users, votes)\n-    users.reduce(Set.new) do |mem, user|\n-      movies = votes.reduce([]) do |mem, vote|\n-        mem.concat(store.movies_voted_by_user(user: user, vote: vote))\n+    users.reduce(Set.new) do |user_set, user|\n+      movies = votes.reduce([]) do |vote_list, vote|\n+        vote_list.concat(store.movies_voted_by_user(user: user, vote: vote))\n       end\n \n-      mem.merge(movies)\n+      user_set.merge(movies)","path":"lib/movie_mates.rb","position":49,"original_position":49,"commit_id":"11d3684f54e452d69fa1eeedafc0ea3fdbdd6b87","original_commit_id":"11d3684f54e452d69fa1eeedafc0ea3fdbdd6b87","user":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"body":"Mal nombre!","created_at":"2016-04-14T04:37:20Z","updated_at":"2016-04-14T04:37:20Z","html_url":"https://github.com/Ferdy89/movie_mates/pull/32#discussion_r59662387","pull_request_url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/comments/59662387"},"html":{"href":"https://github.com/Ferdy89/movie_mates/pull/32#discussion_r59662387"},"pull_request":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32","id":65926539,"html_url":"https://github.com/Ferdy89/movie_mates/pull/32","diff_url":"https://github.com/Ferdy89/movie_mates/pull/32.diff","patch_url":"https://github.com/Ferdy89/movie_mates/pull/32.patch","issue_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues/32","number":32,"state":"open","locked":false,"title":"Cleaning up","user":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"body":"Tú añades funcionalidad, yo refactorizo y limpio, ok?","created_at":"2016-04-10T23:09:07Z","updated_at":"2016-04-14T04:37:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95d690d3dfc3ee4be9a29b6b00aa6ed62f688add","assignee":{"login":"woqer","id":4426659,"avatar_url":"https://avatars.githubusercontent.com/u/4426659?v=3","gravatar_id":"","url":"https://api.github.com/users/woqer","html_url":"https://github.com/woqer","followers_url":"https://api.github.com/users/woqer/followers","following_url":"https://api.github.com/users/woqer/following{/other_user}","gists_url":"https://api.github.com/users/woqer/gists{/gist_id}","starred_url":"https://api.github.com/users/woqer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woqer/subscriptions","organizations_url":"https://api.github.com/users/woqer/orgs","repos_url":"https://api.github.com/users/woqer/repos","events_url":"https://api.github.com/users/woqer/events{/privacy}","received_events_url":"https://api.github.com/users/woqer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32/commits","review_comments_url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32/comments","review_comment_url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues/32/comments","statuses_url":"https://api.github.com/repos/Ferdy89/movie_mates/statuses/11d3684f54e452d69fa1eeedafc0ea3fdbdd6b87","head":{"label":"Ferdy89:ferras_cleanup","ref":"ferras_cleanup","sha":"11d3684f54e452d69fa1eeedafc0ea3fdbdd6b87","user":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"repo":{"id":53218731,"name":"movie_mates","full_name":"Ferdy89/movie_mates","owner":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ferdy89/movie_mates","description":"Find the right movie to watch with the right friends","fork":false,"url":"https://api.github.com/repos/Ferdy89/movie_mates","forks_url":"https://api.github.com/repos/Ferdy89/movie_mates/forks","keys_url":"https://api.github.com/repos/Ferdy89/movie_mates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ferdy89/movie_mates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ferdy89/movie_mates/teams","hooks_url":"https://api.github.com/repos/Ferdy89/movie_mates/hooks","issue_events_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues/events{/number}","events_url":"https://api.github.com/repos/Ferdy89/movie_mates/events","assignees_url":"https://api.github.com/repos/Ferdy89/movie_mates/assignees{/user}","branches_url":"https://api.github.com/repos/Ferdy89/movie_mates/branches{/branch}","tags_url":"https://api.github.com/repos/Ferdy89/movie_mates/tags","blobs_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ferdy89/movie_mates/statuses/{sha}","languages_url":"https://api.github.com/repos/Ferdy89/movie_mates/languages","stargazers_url":"https://api.github.com/repos/Ferdy89/movie_mates/stargazers","contributors_url":"https://api.github.com/repos/Ferdy89/movie_mates/contributors","subscribers_url":"https://api.github.com/repos/Ferdy89/movie_mates/subscribers","subscription_url":"https://api.github.com/repos/Ferdy89/movie_mates/subscription","commits_url":"https://api.github.com/repos/Ferdy89/movie_mates/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ferdy89/movie_mates/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ferdy89/movie_mates/contents/{+path}","compare_url":"https://api.github.com/repos/Ferdy89/movie_mates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ferdy89/movie_mates/merges","archive_url":"https://api.github.com/repos/Ferdy89/movie_mates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ferdy89/movie_mates/downloads","issues_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues{/number}","pulls_url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls{/number}","milestones_url":"https://api.github.com/repos/Ferdy89/movie_mates/milestones{/number}","notifications_url":"https://api.github.com/repos/Ferdy89/movie_mates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ferdy89/movie_mates/labels{/name}","releases_url":"https://api.github.com/repos/Ferdy89/movie_mates/releases{/id}","deployments_url":"https://api.github.com/repos/Ferdy89/movie_mates/deployments","created_at":"2016-03-05T19:17:35Z","updated_at":"2016-03-09T22:43:06Z","pushed_at":"2016-04-10T23:39:17Z","git_url":"git://github.com/Ferdy89/movie_mates.git","ssh_url":"git@github.com:Ferdy89/movie_mates.git","clone_url":"https://github.com/Ferdy89/movie_mates.git","svn_url":"https://github.com/Ferdy89/movie_mates","homepage":null,"size":6560,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Ferdy89:master","ref":"master","sha":"4cf18c693d98267c09e1855c7eb0fb96f28008dd","user":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"repo":{"id":53218731,"name":"movie_mates","full_name":"Ferdy89/movie_mates","owner":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ferdy89/movie_mates","description":"Find the right movie to watch with the right friends","fork":false,"url":"https://api.github.com/repos/Ferdy89/movie_mates","forks_url":"https://api.github.com/repos/Ferdy89/movie_mates/forks","keys_url":"https://api.github.com/repos/Ferdy89/movie_mates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ferdy89/movie_mates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ferdy89/movie_mates/teams","hooks_url":"https://api.github.com/repos/Ferdy89/movie_mates/hooks","issue_events_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues/events{/number}","events_url":"https://api.github.com/repos/Ferdy89/movie_mates/events","assignees_url":"https://api.github.com/repos/Ferdy89/movie_mates/assignees{/user}","branches_url":"https://api.github.com/repos/Ferdy89/movie_mates/branches{/branch}","tags_url":"https://api.github.com/repos/Ferdy89/movie_mates/tags","blobs_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ferdy89/movie_mates/statuses/{sha}","languages_url":"https://api.github.com/repos/Ferdy89/movie_mates/languages","stargazers_url":"https://api.github.com/repos/Ferdy89/movie_mates/stargazers","contributors_url":"https://api.github.com/repos/Ferdy89/movie_mates/contributors","subscribers_url":"https://api.github.com/repos/Ferdy89/movie_mates/subscribers","subscription_url":"https://api.github.com/repos/Ferdy89/movie_mates/subscription","commits_url":"https://api.github.com/repos/Ferdy89/movie_mates/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ferdy89/movie_mates/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ferdy89/movie_mates/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ferdy89/movie_mates/contents/{+path}","compare_url":"https://api.github.com/repos/Ferdy89/movie_mates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ferdy89/movie_mates/merges","archive_url":"https://api.github.com/repos/Ferdy89/movie_mates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ferdy89/movie_mates/downloads","issues_url":"https://api.github.com/repos/Ferdy89/movie_mates/issues{/number}","pulls_url":"https://api.github.com/repos/Ferdy89/movie_mates/pulls{/number}","milestones_url":"https://api.github.com/repos/Ferdy89/movie_mates/milestones{/number}","notifications_url":"https://api.github.com/repos/Ferdy89/movie_mates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ferdy89/movie_mates/labels{/name}","releases_url":"https://api.github.com/repos/Ferdy89/movie_mates/releases{/id}","deployments_url":"https://api.github.com/repos/Ferdy89/movie_mates/deployments","created_at":"2016-03-05T19:17:35Z","updated_at":"2016-03-09T22:43:06Z","pushed_at":"2016-04-10T23:39:17Z","git_url":"git://github.com/Ferdy89/movie_mates.git","ssh_url":"git@github.com:Ferdy89/movie_mates.git","clone_url":"https://github.com/Ferdy89/movie_mates.git","svn_url":"https://github.com/Ferdy89/movie_mates","homepage":null,"size":6560,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32"},"html":{"href":"https://github.com/Ferdy89/movie_mates/pull/32"},"issue":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/issues/32"},"comments":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/Ferdy89/movie_mates/statuses/11d3684f54e452d69fa1eeedafc0ea3fdbdd6b87"}}}}