{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/trotzig/import-js/pulls/11","id":31744753,"html_url":"https://github.com/trotzig/import-js/pull/11","diff_url":"https://github.com/trotzig/import-js/pull/11.diff","patch_url":"https://github.com/trotzig/import-js/pull/11.patch","issue_url":"https://api.github.com/repos/trotzig/import-js/issues/11","number":11,"state":"open","locked":false,"title":"Improve readability of write_imports","user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"body":"As discussed in https://github.com/trotzig/import-js/pull/10, we weren't\r\nvery happy with how this method reads, so we decided to apply some\r\nchanges to make it more understandable.","created_at":"2015-03-23T15:48:31Z","updated_at":"2015-03-23T15:48:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d809bf6f4262dc6ecebb07274c5457b807b4757","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/trotzig/import-js/pulls/11/commits","review_comments_url":"https://api.github.com/repos/trotzig/import-js/pulls/11/comments","review_comment_url":"https://api.github.com/repos/trotzig/import-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trotzig/import-js/issues/11/comments","statuses_url":"https://api.github.com/repos/trotzig/import-js/statuses/e42ce223af4d0b8173754000ead8d023d116e74b","head":{"label":"lencioni:readability","ref":"readability","sha":"e42ce223af4d0b8173754000ead8d023d116e74b","user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"repo":{"id":31670228,"name":"import-js","full_name":"lencioni/import-js","owner":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lencioni/import-js","description":"A vim plugin to simplify `require`ing variables, CommonJS-style","fork":true,"url":"https://api.github.com/repos/lencioni/import-js","forks_url":"https://api.github.com/repos/lencioni/import-js/forks","keys_url":"https://api.github.com/repos/lencioni/import-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lencioni/import-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lencioni/import-js/teams","hooks_url":"https://api.github.com/repos/lencioni/import-js/hooks","issue_events_url":"https://api.github.com/repos/lencioni/import-js/issues/events{/number}","events_url":"https://api.github.com/repos/lencioni/import-js/events","assignees_url":"https://api.github.com/repos/lencioni/import-js/assignees{/user}","branches_url":"https://api.github.com/repos/lencioni/import-js/branches{/branch}","tags_url":"https://api.github.com/repos/lencioni/import-js/tags","blobs_url":"https://api.github.com/repos/lencioni/import-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lencioni/import-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lencioni/import-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/lencioni/import-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lencioni/import-js/statuses/{sha}","languages_url":"https://api.github.com/repos/lencioni/import-js/languages","stargazers_url":"https://api.github.com/repos/lencioni/import-js/stargazers","contributors_url":"https://api.github.com/repos/lencioni/import-js/contributors","subscribers_url":"https://api.github.com/repos/lencioni/import-js/subscribers","subscription_url":"https://api.github.com/repos/lencioni/import-js/subscription","commits_url":"https://api.github.com/repos/lencioni/import-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/lencioni/import-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/lencioni/import-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/lencioni/import-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/lencioni/import-js/contents/{+path}","compare_url":"https://api.github.com/repos/lencioni/import-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lencioni/import-js/merges","archive_url":"https://api.github.com/repos/lencioni/import-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lencioni/import-js/downloads","issues_url":"https://api.github.com/repos/lencioni/import-js/issues{/number}","pulls_url":"https://api.github.com/repos/lencioni/import-js/pulls{/number}","milestones_url":"https://api.github.com/repos/lencioni/import-js/milestones{/number}","notifications_url":"https://api.github.com/repos/lencioni/import-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lencioni/import-js/labels{/name}","releases_url":"https://api.github.com/repos/lencioni/import-js/releases{/id}","created_at":"2015-03-04T17:32:31Z","updated_at":"2015-03-04T17:32:31Z","pushed_at":"2015-03-23T15:48:22Z","git_url":"git://github.com/lencioni/import-js.git","ssh_url":"git@github.com:lencioni/import-js.git","clone_url":"https://github.com/lencioni/import-js.git","svn_url":"https://github.com/lencioni/import-js","homepage":null,"size":340,"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":"trotzig:master","ref":"master","sha":"846bb4297300b9e9f1eea8d56186553fa3aff3ef","user":{"login":"trotzig","id":578277,"avatar_url":"https://avatars.githubusercontent.com/u/578277?v=3","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"repo":{"id":27005321,"name":"import-js","full_name":"trotzig/import-js","owner":{"login":"trotzig","id":578277,"avatar_url":"https://avatars.githubusercontent.com/u/578277?v=3","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trotzig/import-js","description":"A vim plugin to simplify `require`ing variables, CommonJS-style","fork":false,"url":"https://api.github.com/repos/trotzig/import-js","forks_url":"https://api.github.com/repos/trotzig/import-js/forks","keys_url":"https://api.github.com/repos/trotzig/import-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trotzig/import-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trotzig/import-js/teams","hooks_url":"https://api.github.com/repos/trotzig/import-js/hooks","issue_events_url":"https://api.github.com/repos/trotzig/import-js/issues/events{/number}","events_url":"https://api.github.com/repos/trotzig/import-js/events","assignees_url":"https://api.github.com/repos/trotzig/import-js/assignees{/user}","branches_url":"https://api.github.com/repos/trotzig/import-js/branches{/branch}","tags_url":"https://api.github.com/repos/trotzig/import-js/tags","blobs_url":"https://api.github.com/repos/trotzig/import-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trotzig/import-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trotzig/import-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/trotzig/import-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trotzig/import-js/statuses/{sha}","languages_url":"https://api.github.com/repos/trotzig/import-js/languages","stargazers_url":"https://api.github.com/repos/trotzig/import-js/stargazers","contributors_url":"https://api.github.com/repos/trotzig/import-js/contributors","subscribers_url":"https://api.github.com/repos/trotzig/import-js/subscribers","subscription_url":"https://api.github.com/repos/trotzig/import-js/subscription","commits_url":"https://api.github.com/repos/trotzig/import-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/trotzig/import-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/trotzig/import-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/trotzig/import-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/trotzig/import-js/contents/{+path}","compare_url":"https://api.github.com/repos/trotzig/import-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trotzig/import-js/merges","archive_url":"https://api.github.com/repos/trotzig/import-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trotzig/import-js/downloads","issues_url":"https://api.github.com/repos/trotzig/import-js/issues{/number}","pulls_url":"https://api.github.com/repos/trotzig/import-js/pulls{/number}","milestones_url":"https://api.github.com/repos/trotzig/import-js/milestones{/number}","notifications_url":"https://api.github.com/repos/trotzig/import-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trotzig/import-js/labels{/name}","releases_url":"https://api.github.com/repos/trotzig/import-js/releases{/id}","created_at":"2014-11-22T16:48:56Z","updated_at":"2015-03-22T20:44:14Z","pushed_at":"2015-03-23T15:48:32Z","git_url":"git://github.com/trotzig/import-js.git","ssh_url":"git@github.com:trotzig/import-js.git","clone_url":"https://github.com/trotzig/import-js.git","svn_url":"https://github.com/trotzig/import-js","homepage":null,"size":544,"stargazers_count":48,"watchers_count":48,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trotzig/import-js/pulls/11"},"html":{"href":"https://github.com/trotzig/import-js/pull/11"},"issue":{"href":"https://api.github.com/repos/trotzig/import-js/issues/11"},"comments":{"href":"https://api.github.com/repos/trotzig/import-js/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/trotzig/import-js/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/trotzig/import-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trotzig/import-js/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/trotzig/import-js/statuses/e42ce223af4d0b8173754000ead8d023d116e74b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":12,"changed_files":1}}