{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/junegunn/redis-stat/pulls/35","id":30579730,"html_url":"https://github.com/junegunn/redis-stat/pull/35","diff_url":"https://github.com/junegunn/redis-stat/pull/35.diff","patch_url":"https://github.com/junegunn/redis-stat/pull/35.patch","issue_url":"https://api.github.com/repos/junegunn/redis-stat/issues/35","number":35,"state":"open","locked":false,"title":"Some refactoring","user":{"login":"matugm","id":1369748,"avatar_url":"https://avatars.githubusercontent.com/u/1369748?v=3","gravatar_id":"","url":"https://api.github.com/users/matugm","html_url":"https://github.com/matugm","followers_url":"https://api.github.com/users/matugm/followers","following_url":"https://api.github.com/users/matugm/following{/other_user}","gists_url":"https://api.github.com/users/matugm/gists{/gist_id}","starred_url":"https://api.github.com/users/matugm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matugm/subscriptions","organizations_url":"https://api.github.com/users/matugm/orgs","repos_url":"https://api.github.com/users/matugm/repos","events_url":"https://api.github.com/users/matugm/events{/privacy}","received_events_url":"https://api.github.com/users/matugm/received_events","type":"User","site_admin":false},"body":"inject -> each_with_object\r\nHash[] is not nedeed here since we already have a hash.\r\nThe select seems to be there to remove empty values, in my opinion this is best handled by setting defaults. It seems like this is already being handled somewhere else or it's not being covered by test.","created_at":"2015-03-05T17:55:03Z","updated_at":"2015-03-05T17:55:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/junegunn/redis-stat/pulls/35/commits","review_comments_url":"https://api.github.com/repos/junegunn/redis-stat/pulls/35/comments","review_comment_url":"https://api.github.com/repos/junegunn/redis-stat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/junegunn/redis-stat/issues/35/comments","statuses_url":"https://api.github.com/repos/junegunn/redis-stat/statuses/8d7c3ab02cd78d347ee6116ba97d0889c50dfa68","head":{"label":"matugm:refactoring","ref":"refactoring","sha":"8d7c3ab02cd78d347ee6116ba97d0889c50dfa68","user":{"login":"matugm","id":1369748,"avatar_url":"https://avatars.githubusercontent.com/u/1369748?v=3","gravatar_id":"","url":"https://api.github.com/users/matugm","html_url":"https://github.com/matugm","followers_url":"https://api.github.com/users/matugm/followers","following_url":"https://api.github.com/users/matugm/following{/other_user}","gists_url":"https://api.github.com/users/matugm/gists{/gist_id}","starred_url":"https://api.github.com/users/matugm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matugm/subscriptions","organizations_url":"https://api.github.com/users/matugm/orgs","repos_url":"https://api.github.com/users/matugm/repos","events_url":"https://api.github.com/users/matugm/events{/privacy}","received_events_url":"https://api.github.com/users/matugm/received_events","type":"User","site_admin":false},"repo":{"id":31726981,"name":"redis-stat","full_name":"matugm/redis-stat","owner":{"login":"matugm","id":1369748,"avatar_url":"https://avatars.githubusercontent.com/u/1369748?v=3","gravatar_id":"","url":"https://api.github.com/users/matugm","html_url":"https://github.com/matugm","followers_url":"https://api.github.com/users/matugm/followers","following_url":"https://api.github.com/users/matugm/following{/other_user}","gists_url":"https://api.github.com/users/matugm/gists{/gist_id}","starred_url":"https://api.github.com/users/matugm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matugm/subscriptions","organizations_url":"https://api.github.com/users/matugm/orgs","repos_url":"https://api.github.com/users/matugm/repos","events_url":"https://api.github.com/users/matugm/events{/privacy}","received_events_url":"https://api.github.com/users/matugm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matugm/redis-stat","description":"A real-time Redis monitoring tool","fork":true,"url":"https://api.github.com/repos/matugm/redis-stat","forks_url":"https://api.github.com/repos/matugm/redis-stat/forks","keys_url":"https://api.github.com/repos/matugm/redis-stat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matugm/redis-stat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matugm/redis-stat/teams","hooks_url":"https://api.github.com/repos/matugm/redis-stat/hooks","issue_events_url":"https://api.github.com/repos/matugm/redis-stat/issues/events{/number}","events_url":"https://api.github.com/repos/matugm/redis-stat/events","assignees_url":"https://api.github.com/repos/matugm/redis-stat/assignees{/user}","branches_url":"https://api.github.com/repos/matugm/redis-stat/branches{/branch}","tags_url":"https://api.github.com/repos/matugm/redis-stat/tags","blobs_url":"https://api.github.com/repos/matugm/redis-stat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matugm/redis-stat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matugm/redis-stat/git/refs{/sha}","trees_url":"https://api.github.com/repos/matugm/redis-stat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matugm/redis-stat/statuses/{sha}","languages_url":"https://api.github.com/repos/matugm/redis-stat/languages","stargazers_url":"https://api.github.com/repos/matugm/redis-stat/stargazers","contributors_url":"https://api.github.com/repos/matugm/redis-stat/contributors","subscribers_url":"https://api.github.com/repos/matugm/redis-stat/subscribers","subscription_url":"https://api.github.com/repos/matugm/redis-stat/subscription","commits_url":"https://api.github.com/repos/matugm/redis-stat/commits{/sha}","git_commits_url":"https://api.github.com/repos/matugm/redis-stat/git/commits{/sha}","comments_url":"https://api.github.com/repos/matugm/redis-stat/comments{/number}","issue_comment_url":"https://api.github.com/repos/matugm/redis-stat/issues/comments{/number}","contents_url":"https://api.github.com/repos/matugm/redis-stat/contents/{+path}","compare_url":"https://api.github.com/repos/matugm/redis-stat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matugm/redis-stat/merges","archive_url":"https://api.github.com/repos/matugm/redis-stat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matugm/redis-stat/downloads","issues_url":"https://api.github.com/repos/matugm/redis-stat/issues{/number}","pulls_url":"https://api.github.com/repos/matugm/redis-stat/pulls{/number}","milestones_url":"https://api.github.com/repos/matugm/redis-stat/milestones{/number}","notifications_url":"https://api.github.com/repos/matugm/redis-stat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matugm/redis-stat/labels{/name}","releases_url":"https://api.github.com/repos/matugm/redis-stat/releases{/id}","created_at":"2015-03-05T17:42:29Z","updated_at":"2015-03-05T17:42:29Z","pushed_at":"2015-03-05T17:45:16Z","git_url":"git://github.com/matugm/redis-stat.git","ssh_url":"git@github.com:matugm/redis-stat.git","clone_url":"https://github.com/matugm/redis-stat.git","svn_url":"https://github.com/matugm/redis-stat","homepage":"","size":2436,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"junegunn:master","ref":"master","sha":"8eca2537d8897c59319660698728add4affc8012","user":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"repo":{"id":5141498,"name":"redis-stat","full_name":"junegunn/redis-stat","owner":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/junegunn/redis-stat","description":"A real-time Redis monitoring tool","fork":false,"url":"https://api.github.com/repos/junegunn/redis-stat","forks_url":"https://api.github.com/repos/junegunn/redis-stat/forks","keys_url":"https://api.github.com/repos/junegunn/redis-stat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/junegunn/redis-stat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/junegunn/redis-stat/teams","hooks_url":"https://api.github.com/repos/junegunn/redis-stat/hooks","issue_events_url":"https://api.github.com/repos/junegunn/redis-stat/issues/events{/number}","events_url":"https://api.github.com/repos/junegunn/redis-stat/events","assignees_url":"https://api.github.com/repos/junegunn/redis-stat/assignees{/user}","branches_url":"https://api.github.com/repos/junegunn/redis-stat/branches{/branch}","tags_url":"https://api.github.com/repos/junegunn/redis-stat/tags","blobs_url":"https://api.github.com/repos/junegunn/redis-stat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/junegunn/redis-stat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/junegunn/redis-stat/git/refs{/sha}","trees_url":"https://api.github.com/repos/junegunn/redis-stat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/junegunn/redis-stat/statuses/{sha}","languages_url":"https://api.github.com/repos/junegunn/redis-stat/languages","stargazers_url":"https://api.github.com/repos/junegunn/redis-stat/stargazers","contributors_url":"https://api.github.com/repos/junegunn/redis-stat/contributors","subscribers_url":"https://api.github.com/repos/junegunn/redis-stat/subscribers","subscription_url":"https://api.github.com/repos/junegunn/redis-stat/subscription","commits_url":"https://api.github.com/repos/junegunn/redis-stat/commits{/sha}","git_commits_url":"https://api.github.com/repos/junegunn/redis-stat/git/commits{/sha}","comments_url":"https://api.github.com/repos/junegunn/redis-stat/comments{/number}","issue_comment_url":"https://api.github.com/repos/junegunn/redis-stat/issues/comments{/number}","contents_url":"https://api.github.com/repos/junegunn/redis-stat/contents/{+path}","compare_url":"https://api.github.com/repos/junegunn/redis-stat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/junegunn/redis-stat/merges","archive_url":"https://api.github.com/repos/junegunn/redis-stat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/junegunn/redis-stat/downloads","issues_url":"https://api.github.com/repos/junegunn/redis-stat/issues{/number}","pulls_url":"https://api.github.com/repos/junegunn/redis-stat/pulls{/number}","milestones_url":"https://api.github.com/repos/junegunn/redis-stat/milestones{/number}","notifications_url":"https://api.github.com/repos/junegunn/redis-stat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/junegunn/redis-stat/labels{/name}","releases_url":"https://api.github.com/repos/junegunn/redis-stat/releases{/id}","created_at":"2012-07-22T12:47:19Z","updated_at":"2015-03-04T03:23:05Z","pushed_at":"2015-02-18T12:02:19Z","git_url":"git://github.com/junegunn/redis-stat.git","ssh_url":"git@github.com:junegunn/redis-stat.git","clone_url":"https://github.com/junegunn/redis-stat.git","svn_url":"https://github.com/junegunn/redis-stat","homepage":"","size":2436,"stargazers_count":394,"watchers_count":394,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":7,"forks":44,"open_issues":7,"watchers":394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/junegunn/redis-stat/pulls/35"},"html":{"href":"https://github.com/junegunn/redis-stat/pull/35"},"issue":{"href":"https://api.github.com/repos/junegunn/redis-stat/issues/35"},"comments":{"href":"https://api.github.com/repos/junegunn/redis-stat/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/junegunn/redis-stat/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/junegunn/redis-stat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/junegunn/redis-stat/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/junegunn/redis-stat/statuses/8d7c3ab02cd78d347ee6116ba97d0889c50dfa68"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":8,"changed_files":2}}