{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Diethart/exerxises/pulls/1","id":59278329,"html_url":"https://github.com/Diethart/exerxises/pull/1","diff_url":"https://github.com/Diethart/exerxises/pull/1.diff","patch_url":"https://github.com/Diethart/exerxises/pull/1.patch","issue_url":"https://api.github.com/repos/Diethart/exerxises/issues/1","number":1,"state":"open","locked":false,"title":"Переделал режиссеров и актеров -> кол-во фильмов","user":{"login":"Diethart","id":17182934,"avatar_url":"https://avatars.githubusercontent.com/u/17182934?v=3","gravatar_id":"","url":"https://api.github.com/users/Diethart","html_url":"https://github.com/Diethart","followers_url":"https://api.github.com/users/Diethart/followers","following_url":"https://api.github.com/users/Diethart/following{/other_user}","gists_url":"https://api.github.com/users/Diethart/gists{/gist_id}","starred_url":"https://api.github.com/users/Diethart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diethart/subscriptions","organizations_url":"https://api.github.com/users/Diethart/orgs","repos_url":"https://api.github.com/users/Diethart/repos","events_url":"https://api.github.com/users/Diethart/events{/privacy}","received_events_url":"https://api.github.com/users/Diethart/received_events","type":"User","site_admin":false},"body":"Возможно переусложнил режиссеров, как group by использовать не допер. Актеров сделал так - сначала получаем список всех актеров(с повторами), затем выводим все это дело в хеш через reduce.","created_at":"2016-02-13T21:16:56Z","updated_at":"2016-02-13T21:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Diethart/exerxises/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Diethart/exerxises/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Diethart/exerxises/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Diethart/exerxises/issues/1/comments","statuses_url":"https://api.github.com/repos/Diethart/exerxises/statuses/8e007e3964752f70391868a5e6a55371d958dfc5","head":{"label":"Diethart:3rdtask","ref":"3rdtask","sha":"8e007e3964752f70391868a5e6a55371d958dfc5","user":{"login":"Diethart","id":17182934,"avatar_url":"https://avatars.githubusercontent.com/u/17182934?v=3","gravatar_id":"","url":"https://api.github.com/users/Diethart","html_url":"https://github.com/Diethart","followers_url":"https://api.github.com/users/Diethart/followers","following_url":"https://api.github.com/users/Diethart/following{/other_user}","gists_url":"https://api.github.com/users/Diethart/gists{/gist_id}","starred_url":"https://api.github.com/users/Diethart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diethart/subscriptions","organizations_url":"https://api.github.com/users/Diethart/orgs","repos_url":"https://api.github.com/users/Diethart/repos","events_url":"https://api.github.com/users/Diethart/events{/privacy}","received_events_url":"https://api.github.com/users/Diethart/received_events","type":"User","site_admin":false},"repo":{"id":51576908,"name":"exerxises","full_name":"Diethart/exerxises","owner":{"login":"Diethart","id":17182934,"avatar_url":"https://avatars.githubusercontent.com/u/17182934?v=3","gravatar_id":"","url":"https://api.github.com/users/Diethart","html_url":"https://github.com/Diethart","followers_url":"https://api.github.com/users/Diethart/followers","following_url":"https://api.github.com/users/Diethart/following{/other_user}","gists_url":"https://api.github.com/users/Diethart/gists{/gist_id}","starred_url":"https://api.github.com/users/Diethart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diethart/subscriptions","organizations_url":"https://api.github.com/users/Diethart/orgs","repos_url":"https://api.github.com/users/Diethart/repos","events_url":"https://api.github.com/users/Diethart/events{/privacy}","received_events_url":"https://api.github.com/users/Diethart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Diethart/exerxises","description":null,"fork":false,"url":"https://api.github.com/repos/Diethart/exerxises","forks_url":"https://api.github.com/repos/Diethart/exerxises/forks","keys_url":"https://api.github.com/repos/Diethart/exerxises/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Diethart/exerxises/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Diethart/exerxises/teams","hooks_url":"https://api.github.com/repos/Diethart/exerxises/hooks","issue_events_url":"https://api.github.com/repos/Diethart/exerxises/issues/events{/number}","events_url":"https://api.github.com/repos/Diethart/exerxises/events","assignees_url":"https://api.github.com/repos/Diethart/exerxises/assignees{/user}","branches_url":"https://api.github.com/repos/Diethart/exerxises/branches{/branch}","tags_url":"https://api.github.com/repos/Diethart/exerxises/tags","blobs_url":"https://api.github.com/repos/Diethart/exerxises/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Diethart/exerxises/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Diethart/exerxises/git/refs{/sha}","trees_url":"https://api.github.com/repos/Diethart/exerxises/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Diethart/exerxises/statuses/{sha}","languages_url":"https://api.github.com/repos/Diethart/exerxises/languages","stargazers_url":"https://api.github.com/repos/Diethart/exerxises/stargazers","contributors_url":"https://api.github.com/repos/Diethart/exerxises/contributors","subscribers_url":"https://api.github.com/repos/Diethart/exerxises/subscribers","subscription_url":"https://api.github.com/repos/Diethart/exerxises/subscription","commits_url":"https://api.github.com/repos/Diethart/exerxises/commits{/sha}","git_commits_url":"https://api.github.com/repos/Diethart/exerxises/git/commits{/sha}","comments_url":"https://api.github.com/repos/Diethart/exerxises/comments{/number}","issue_comment_url":"https://api.github.com/repos/Diethart/exerxises/issues/comments{/number}","contents_url":"https://api.github.com/repos/Diethart/exerxises/contents/{+path}","compare_url":"https://api.github.com/repos/Diethart/exerxises/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Diethart/exerxises/merges","archive_url":"https://api.github.com/repos/Diethart/exerxises/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Diethart/exerxises/downloads","issues_url":"https://api.github.com/repos/Diethart/exerxises/issues{/number}","pulls_url":"https://api.github.com/repos/Diethart/exerxises/pulls{/number}","milestones_url":"https://api.github.com/repos/Diethart/exerxises/milestones{/number}","notifications_url":"https://api.github.com/repos/Diethart/exerxises/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Diethart/exerxises/labels{/name}","releases_url":"https://api.github.com/repos/Diethart/exerxises/releases{/id}","deployments_url":"https://api.github.com/repos/Diethart/exerxises/deployments","created_at":"2016-02-12T09:05:14Z","updated_at":"2016-02-12T09:07:59Z","pushed_at":"2016-02-13T21:14:56Z","git_url":"git://github.com/Diethart/exerxises.git","ssh_url":"git@github.com:Diethart/exerxises.git","clone_url":"https://github.com/Diethart/exerxises.git","svn_url":"https://github.com/Diethart/exerxises","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Diethart:master","ref":"master","sha":"c84cf71fe2efc9936108272fa0734a8798cb4e00","user":{"login":"Diethart","id":17182934,"avatar_url":"https://avatars.githubusercontent.com/u/17182934?v=3","gravatar_id":"","url":"https://api.github.com/users/Diethart","html_url":"https://github.com/Diethart","followers_url":"https://api.github.com/users/Diethart/followers","following_url":"https://api.github.com/users/Diethart/following{/other_user}","gists_url":"https://api.github.com/users/Diethart/gists{/gist_id}","starred_url":"https://api.github.com/users/Diethart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diethart/subscriptions","organizations_url":"https://api.github.com/users/Diethart/orgs","repos_url":"https://api.github.com/users/Diethart/repos","events_url":"https://api.github.com/users/Diethart/events{/privacy}","received_events_url":"https://api.github.com/users/Diethart/received_events","type":"User","site_admin":false},"repo":{"id":51576908,"name":"exerxises","full_name":"Diethart/exerxises","owner":{"login":"Diethart","id":17182934,"avatar_url":"https://avatars.githubusercontent.com/u/17182934?v=3","gravatar_id":"","url":"https://api.github.com/users/Diethart","html_url":"https://github.com/Diethart","followers_url":"https://api.github.com/users/Diethart/followers","following_url":"https://api.github.com/users/Diethart/following{/other_user}","gists_url":"https://api.github.com/users/Diethart/gists{/gist_id}","starred_url":"https://api.github.com/users/Diethart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diethart/subscriptions","organizations_url":"https://api.github.com/users/Diethart/orgs","repos_url":"https://api.github.com/users/Diethart/repos","events_url":"https://api.github.com/users/Diethart/events{/privacy}","received_events_url":"https://api.github.com/users/Diethart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Diethart/exerxises","description":null,"fork":false,"url":"https://api.github.com/repos/Diethart/exerxises","forks_url":"https://api.github.com/repos/Diethart/exerxises/forks","keys_url":"https://api.github.com/repos/Diethart/exerxises/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Diethart/exerxises/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Diethart/exerxises/teams","hooks_url":"https://api.github.com/repos/Diethart/exerxises/hooks","issue_events_url":"https://api.github.com/repos/Diethart/exerxises/issues/events{/number}","events_url":"https://api.github.com/repos/Diethart/exerxises/events","assignees_url":"https://api.github.com/repos/Diethart/exerxises/assignees{/user}","branches_url":"https://api.github.com/repos/Diethart/exerxises/branches{/branch}","tags_url":"https://api.github.com/repos/Diethart/exerxises/tags","blobs_url":"https://api.github.com/repos/Diethart/exerxises/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Diethart/exerxises/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Diethart/exerxises/git/refs{/sha}","trees_url":"https://api.github.com/repos/Diethart/exerxises/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Diethart/exerxises/statuses/{sha}","languages_url":"https://api.github.com/repos/Diethart/exerxises/languages","stargazers_url":"https://api.github.com/repos/Diethart/exerxises/stargazers","contributors_url":"https://api.github.com/repos/Diethart/exerxises/contributors","subscribers_url":"https://api.github.com/repos/Diethart/exerxises/subscribers","subscription_url":"https://api.github.com/repos/Diethart/exerxises/subscription","commits_url":"https://api.github.com/repos/Diethart/exerxises/commits{/sha}","git_commits_url":"https://api.github.com/repos/Diethart/exerxises/git/commits{/sha}","comments_url":"https://api.github.com/repos/Diethart/exerxises/comments{/number}","issue_comment_url":"https://api.github.com/repos/Diethart/exerxises/issues/comments{/number}","contents_url":"https://api.github.com/repos/Diethart/exerxises/contents/{+path}","compare_url":"https://api.github.com/repos/Diethart/exerxises/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Diethart/exerxises/merges","archive_url":"https://api.github.com/repos/Diethart/exerxises/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Diethart/exerxises/downloads","issues_url":"https://api.github.com/repos/Diethart/exerxises/issues{/number}","pulls_url":"https://api.github.com/repos/Diethart/exerxises/pulls{/number}","milestones_url":"https://api.github.com/repos/Diethart/exerxises/milestones{/number}","notifications_url":"https://api.github.com/repos/Diethart/exerxises/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Diethart/exerxises/labels{/name}","releases_url":"https://api.github.com/repos/Diethart/exerxises/releases{/id}","deployments_url":"https://api.github.com/repos/Diethart/exerxises/deployments","created_at":"2016-02-12T09:05:14Z","updated_at":"2016-02-12T09:07:59Z","pushed_at":"2016-02-13T21:14:56Z","git_url":"git://github.com/Diethart/exerxises.git","ssh_url":"git@github.com:Diethart/exerxises.git","clone_url":"https://github.com/Diethart/exerxises.git","svn_url":"https://github.com/Diethart/exerxises","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Diethart/exerxises/pulls/1"},"html":{"href":"https://github.com/Diethart/exerxises/pull/1"},"issue":{"href":"https://api.github.com/repos/Diethart/exerxises/issues/1"},"comments":{"href":"https://api.github.com/repos/Diethart/exerxises/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Diethart/exerxises/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Diethart/exerxises/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Diethart/exerxises/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Diethart/exerxises/statuses/8e007e3964752f70391868a5e6a55371d958dfc5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":20,"changed_files":1}}