{"action":"closed","number":103,"pull_request":{"url":"https://api.github.com/repos/tokuhirom/plenv/pulls/103","id":50363072,"html_url":"https://github.com/tokuhirom/plenv/pull/103","diff_url":"https://github.com/tokuhirom/plenv/pull/103.diff","patch_url":"https://github.com/tokuhirom/plenv/pull/103.patch","issue_url":"https://api.github.com/repos/tokuhirom/plenv/issues/103","number":103,"state":"closed","locked":false,"title":"Misc cleanups","user":{"login":"ap","id":1683,"avatar_url":"https://avatars.githubusercontent.com/u/1683?v=3","gravatar_id":"","url":"https://api.github.com/users/ap","html_url":"https://github.com/ap","followers_url":"https://api.github.com/users/ap/followers","following_url":"https://api.github.com/users/ap/following{/other_user}","gists_url":"https://api.github.com/users/ap/gists{/gist_id}","starred_url":"https://api.github.com/users/ap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ap/subscriptions","organizations_url":"https://api.github.com/users/ap/orgs","repos_url":"https://api.github.com/users/ap/repos","events_url":"https://api.github.com/users/ap/events{/privacy}","received_events_url":"https://api.github.com/users/ap/received_events","type":"User","site_admin":false},"body":"Lots of small improvements. A few are just cleanups. But most also make things a little faster. On my system this takes `plenv init -` from 0.23s to 0.16s (~30% faster). It’s still the slowest part of my `.bashrc` but the difference when opening a new terminal is already noticeable and these are very simple patches.","created_at":"2015-11-11T09:26:20Z","updated_at":"2015-11-12T01:48:14Z","closed_at":"2015-11-12T01:48:14Z","merged_at":"2015-11-12T01:48:14Z","merge_commit_sha":"f468698e4f9b9fda969c16732073299c04a7993e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tokuhirom/plenv/pulls/103/commits","review_comments_url":"https://api.github.com/repos/tokuhirom/plenv/pulls/103/comments","review_comment_url":"https://api.github.com/repos/tokuhirom/plenv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tokuhirom/plenv/issues/103/comments","statuses_url":"https://api.github.com/repos/tokuhirom/plenv/statuses/17918b4d429d5996761d9d9885dfa8cd77ae7723","head":{"label":"ap:cleanup","ref":"cleanup","sha":"17918b4d429d5996761d9d9885dfa8cd77ae7723","user":{"login":"ap","id":1683,"avatar_url":"https://avatars.githubusercontent.com/u/1683?v=3","gravatar_id":"","url":"https://api.github.com/users/ap","html_url":"https://github.com/ap","followers_url":"https://api.github.com/users/ap/followers","following_url":"https://api.github.com/users/ap/following{/other_user}","gists_url":"https://api.github.com/users/ap/gists{/gist_id}","starred_url":"https://api.github.com/users/ap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ap/subscriptions","organizations_url":"https://api.github.com/users/ap/orgs","repos_url":"https://api.github.com/users/ap/repos","events_url":"https://api.github.com/users/ap/events{/privacy}","received_events_url":"https://api.github.com/users/ap/received_events","type":"User","site_admin":false},"repo":{"id":45968199,"name":"plenv","full_name":"ap/plenv","owner":{"login":"ap","id":1683,"avatar_url":"https://avatars.githubusercontent.com/u/1683?v=3","gravatar_id":"","url":"https://api.github.com/users/ap","html_url":"https://github.com/ap","followers_url":"https://api.github.com/users/ap/followers","following_url":"https://api.github.com/users/ap/following{/other_user}","gists_url":"https://api.github.com/users/ap/gists{/gist_id}","starred_url":"https://api.github.com/users/ap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ap/subscriptions","organizations_url":"https://api.github.com/users/ap/orgs","repos_url":"https://api.github.com/users/ap/repos","events_url":"https://api.github.com/users/ap/events{/privacy}","received_events_url":"https://api.github.com/users/ap/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ap/plenv","description":"Perl binary manager","fork":true,"url":"https://api.github.com/repos/ap/plenv","forks_url":"https://api.github.com/repos/ap/plenv/forks","keys_url":"https://api.github.com/repos/ap/plenv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ap/plenv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ap/plenv/teams","hooks_url":"https://api.github.com/repos/ap/plenv/hooks","issue_events_url":"https://api.github.com/repos/ap/plenv/issues/events{/number}","events_url":"https://api.github.com/repos/ap/plenv/events","assignees_url":"https://api.github.com/repos/ap/plenv/assignees{/user}","branches_url":"https://api.github.com/repos/ap/plenv/branches{/branch}","tags_url":"https://api.github.com/repos/ap/plenv/tags","blobs_url":"https://api.github.com/repos/ap/plenv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ap/plenv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ap/plenv/git/refs{/sha}","trees_url":"https://api.github.com/repos/ap/plenv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ap/plenv/statuses/{sha}","languages_url":"https://api.github.com/repos/ap/plenv/languages","stargazers_url":"https://api.github.com/repos/ap/plenv/stargazers","contributors_url":"https://api.github.com/repos/ap/plenv/contributors","subscribers_url":"https://api.github.com/repos/ap/plenv/subscribers","subscription_url":"https://api.github.com/repos/ap/plenv/subscription","commits_url":"https://api.github.com/repos/ap/plenv/commits{/sha}","git_commits_url":"https://api.github.com/repos/ap/plenv/git/commits{/sha}","comments_url":"https://api.github.com/repos/ap/plenv/comments{/number}","issue_comment_url":"https://api.github.com/repos/ap/plenv/issues/comments{/number}","contents_url":"https://api.github.com/repos/ap/plenv/contents/{+path}","compare_url":"https://api.github.com/repos/ap/plenv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ap/plenv/merges","archive_url":"https://api.github.com/repos/ap/plenv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ap/plenv/downloads","issues_url":"https://api.github.com/repos/ap/plenv/issues{/number}","pulls_url":"https://api.github.com/repos/ap/plenv/pulls{/number}","milestones_url":"https://api.github.com/repos/ap/plenv/milestones{/number}","notifications_url":"https://api.github.com/repos/ap/plenv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ap/plenv/labels{/name}","releases_url":"https://api.github.com/repos/ap/plenv/releases{/id}","created_at":"2015-11-11T08:06:59Z","updated_at":"2015-11-11T08:07:00Z","pushed_at":"2015-11-11T23:36:23Z","git_url":"git://github.com/ap/plenv.git","ssh_url":"git@github.com:ap/plenv.git","clone_url":"https://github.com/ap/plenv.git","svn_url":"https://github.com/ap/plenv","homepage":"","size":3058,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"tokuhirom:master","ref":"master","sha":"b0945d5bb22ce911af2bc7cac8ff6c1209d42bec","user":{"login":"tokuhirom","id":21084,"avatar_url":"https://avatars.githubusercontent.com/u/21084?v=3","gravatar_id":"","url":"https://api.github.com/users/tokuhirom","html_url":"https://github.com/tokuhirom","followers_url":"https://api.github.com/users/tokuhirom/followers","following_url":"https://api.github.com/users/tokuhirom/following{/other_user}","gists_url":"https://api.github.com/users/tokuhirom/gists{/gist_id}","starred_url":"https://api.github.com/users/tokuhirom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokuhirom/subscriptions","organizations_url":"https://api.github.com/users/tokuhirom/orgs","repos_url":"https://api.github.com/users/tokuhirom/repos","events_url":"https://api.github.com/users/tokuhirom/events{/privacy}","received_events_url":"https://api.github.com/users/tokuhirom/received_events","type":"User","site_admin":false},"repo":{"id":571655,"name":"plenv","full_name":"tokuhirom/plenv","owner":{"login":"tokuhirom","id":21084,"avatar_url":"https://avatars.githubusercontent.com/u/21084?v=3","gravatar_id":"","url":"https://api.github.com/users/tokuhirom","html_url":"https://github.com/tokuhirom","followers_url":"https://api.github.com/users/tokuhirom/followers","following_url":"https://api.github.com/users/tokuhirom/following{/other_user}","gists_url":"https://api.github.com/users/tokuhirom/gists{/gist_id}","starred_url":"https://api.github.com/users/tokuhirom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokuhirom/subscriptions","organizations_url":"https://api.github.com/users/tokuhirom/orgs","repos_url":"https://api.github.com/users/tokuhirom/repos","events_url":"https://api.github.com/users/tokuhirom/events{/privacy}","received_events_url":"https://api.github.com/users/tokuhirom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tokuhirom/plenv","description":"Perl binary manager","fork":false,"url":"https://api.github.com/repos/tokuhirom/plenv","forks_url":"https://api.github.com/repos/tokuhirom/plenv/forks","keys_url":"https://api.github.com/repos/tokuhirom/plenv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tokuhirom/plenv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tokuhirom/plenv/teams","hooks_url":"https://api.github.com/repos/tokuhirom/plenv/hooks","issue_events_url":"https://api.github.com/repos/tokuhirom/plenv/issues/events{/number}","events_url":"https://api.github.com/repos/tokuhirom/plenv/events","assignees_url":"https://api.github.com/repos/tokuhirom/plenv/assignees{/user}","branches_url":"https://api.github.com/repos/tokuhirom/plenv/branches{/branch}","tags_url":"https://api.github.com/repos/tokuhirom/plenv/tags","blobs_url":"https://api.github.com/repos/tokuhirom/plenv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tokuhirom/plenv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tokuhirom/plenv/git/refs{/sha}","trees_url":"https://api.github.com/repos/tokuhirom/plenv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tokuhirom/plenv/statuses/{sha}","languages_url":"https://api.github.com/repos/tokuhirom/plenv/languages","stargazers_url":"https://api.github.com/repos/tokuhirom/plenv/stargazers","contributors_url":"https://api.github.com/repos/tokuhirom/plenv/contributors","subscribers_url":"https://api.github.com/repos/tokuhirom/plenv/subscribers","subscription_url":"https://api.github.com/repos/tokuhirom/plenv/subscription","commits_url":"https://api.github.com/repos/tokuhirom/plenv/commits{/sha}","git_commits_url":"https://api.github.com/repos/tokuhirom/plenv/git/commits{/sha}","comments_url":"https://api.github.com/repos/tokuhirom/plenv/comments{/number}","issue_comment_url":"https://api.github.com/repos/tokuhirom/plenv/issues/comments{/number}","contents_url":"https://api.github.com/repos/tokuhirom/plenv/contents/{+path}","compare_url":"https://api.github.com/repos/tokuhirom/plenv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tokuhirom/plenv/merges","archive_url":"https://api.github.com/repos/tokuhirom/plenv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tokuhirom/plenv/downloads","issues_url":"https://api.github.com/repos/tokuhirom/plenv/issues{/number}","pulls_url":"https://api.github.com/repos/tokuhirom/plenv/pulls{/number}","milestones_url":"https://api.github.com/repos/tokuhirom/plenv/milestones{/number}","notifications_url":"https://api.github.com/repos/tokuhirom/plenv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tokuhirom/plenv/labels{/name}","releases_url":"https://api.github.com/repos/tokuhirom/plenv/releases{/id}","created_at":"2010-03-20T18:48:43Z","updated_at":"2015-11-04T13:39:36Z","pushed_at":"2015-11-12T01:48:14Z","git_url":"git://github.com/tokuhirom/plenv.git","ssh_url":"git@github.com:tokuhirom/plenv.git","clone_url":"https://github.com/tokuhirom/plenv.git","svn_url":"https://github.com/tokuhirom/plenv","homepage":"","size":3058,"stargazers_count":274,"watchers_count":274,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":10,"forks":47,"open_issues":10,"watchers":274,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tokuhirom/plenv/pulls/103"},"html":{"href":"https://github.com/tokuhirom/plenv/pull/103"},"issue":{"href":"https://api.github.com/repos/tokuhirom/plenv/issues/103"},"comments":{"href":"https://api.github.com/repos/tokuhirom/plenv/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/tokuhirom/plenv/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/tokuhirom/plenv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tokuhirom/plenv/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/tokuhirom/plenv/statuses/17918b4d429d5996761d9d9885dfa8cd77ae7723"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"miyagawa","id":3499,"avatar_url":"https://avatars.githubusercontent.com/u/3499?v=3","gravatar_id":"","url":"https://api.github.com/users/miyagawa","html_url":"https://github.com/miyagawa","followers_url":"https://api.github.com/users/miyagawa/followers","following_url":"https://api.github.com/users/miyagawa/following{/other_user}","gists_url":"https://api.github.com/users/miyagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/miyagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyagawa/subscriptions","organizations_url":"https://api.github.com/users/miyagawa/orgs","repos_url":"https://api.github.com/users/miyagawa/repos","events_url":"https://api.github.com/users/miyagawa/events{/privacy}","received_events_url":"https://api.github.com/users/miyagawa/received_events","type":"User","site_admin":false},"comments":7,"review_comments":1,"commits":8,"additions":60,"deletions":124,"changed_files":10}}