{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/mogstad/bankside/pulls/4","id":54268189,"html_url":"https://github.com/mogstad/bankside/pull/4","diff_url":"https://github.com/mogstad/bankside/pull/4.diff","patch_url":"https://github.com/mogstad/bankside/pull/4.patch","issue_url":"https://api.github.com/repos/mogstad/bankside/issues/4","number":4,"state":"open","locked":false,"title":"Require options to be bool","user":{"login":"mogstad","id":817565,"avatar_url":"https://avatars.githubusercontent.com/u/817565?v=3","gravatar_id":"","url":"https://api.github.com/users/mogstad","html_url":"https://github.com/mogstad","followers_url":"https://api.github.com/users/mogstad/followers","following_url":"https://api.github.com/users/mogstad/following{/other_user}","gists_url":"https://api.github.com/users/mogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/mogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogstad/subscriptions","organizations_url":"https://api.github.com/users/mogstad/orgs","repos_url":"https://api.github.com/users/mogstad/repos","events_url":"https://api.github.com/users/mogstad/events{/privacy}","received_events_url":"https://api.github.com/users/mogstad/received_events","type":"User","site_admin":false},"body":"After using Bankside for a while I realized that all options I ever\r\nused was in fact booleans and it was rather annoying casting them.","created_at":"2015-12-21T15:28:45Z","updated_at":"2015-12-21T15:28:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f9cd5e822875e36bc97758720188512db72cfbc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mogstad/bankside/pulls/4/commits","review_comments_url":"https://api.github.com/repos/mogstad/bankside/pulls/4/comments","review_comment_url":"https://api.github.com/repos/mogstad/bankside/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mogstad/bankside/issues/4/comments","statuses_url":"https://api.github.com/repos/mogstad/bankside/statuses/865a41cf793ba65b53fadc07905d076edf88d75d","head":{"label":"mogstad:options_bool","ref":"options_bool","sha":"865a41cf793ba65b53fadc07905d076edf88d75d","user":{"login":"mogstad","id":817565,"avatar_url":"https://avatars.githubusercontent.com/u/817565?v=3","gravatar_id":"","url":"https://api.github.com/users/mogstad","html_url":"https://github.com/mogstad","followers_url":"https://api.github.com/users/mogstad/followers","following_url":"https://api.github.com/users/mogstad/following{/other_user}","gists_url":"https://api.github.com/users/mogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/mogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogstad/subscriptions","organizations_url":"https://api.github.com/users/mogstad/orgs","repos_url":"https://api.github.com/users/mogstad/repos","events_url":"https://api.github.com/users/mogstad/events{/privacy}","received_events_url":"https://api.github.com/users/mogstad/received_events","type":"User","site_admin":false},"repo":{"id":43518391,"name":"bankside","full_name":"mogstad/bankside","owner":{"login":"mogstad","id":817565,"avatar_url":"https://avatars.githubusercontent.com/u/817565?v=3","gravatar_id":"","url":"https://api.github.com/users/mogstad","html_url":"https://github.com/mogstad","followers_url":"https://api.github.com/users/mogstad/followers","following_url":"https://api.github.com/users/mogstad/following{/other_user}","gists_url":"https://api.github.com/users/mogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/mogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogstad/subscriptions","organizations_url":"https://api.github.com/users/mogstad/orgs","repos_url":"https://api.github.com/users/mogstad/repos","events_url":"https://api.github.com/users/mogstad/events{/privacy}","received_events_url":"https://api.github.com/users/mogstad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mogstad/bankside","description":"Bankside is a fixture generation tool written in Swift","fork":false,"url":"https://api.github.com/repos/mogstad/bankside","forks_url":"https://api.github.com/repos/mogstad/bankside/forks","keys_url":"https://api.github.com/repos/mogstad/bankside/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mogstad/bankside/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mogstad/bankside/teams","hooks_url":"https://api.github.com/repos/mogstad/bankside/hooks","issue_events_url":"https://api.github.com/repos/mogstad/bankside/issues/events{/number}","events_url":"https://api.github.com/repos/mogstad/bankside/events","assignees_url":"https://api.github.com/repos/mogstad/bankside/assignees{/user}","branches_url":"https://api.github.com/repos/mogstad/bankside/branches{/branch}","tags_url":"https://api.github.com/repos/mogstad/bankside/tags","blobs_url":"https://api.github.com/repos/mogstad/bankside/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mogstad/bankside/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mogstad/bankside/git/refs{/sha}","trees_url":"https://api.github.com/repos/mogstad/bankside/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mogstad/bankside/statuses/{sha}","languages_url":"https://api.github.com/repos/mogstad/bankside/languages","stargazers_url":"https://api.github.com/repos/mogstad/bankside/stargazers","contributors_url":"https://api.github.com/repos/mogstad/bankside/contributors","subscribers_url":"https://api.github.com/repos/mogstad/bankside/subscribers","subscription_url":"https://api.github.com/repos/mogstad/bankside/subscription","commits_url":"https://api.github.com/repos/mogstad/bankside/commits{/sha}","git_commits_url":"https://api.github.com/repos/mogstad/bankside/git/commits{/sha}","comments_url":"https://api.github.com/repos/mogstad/bankside/comments{/number}","issue_comment_url":"https://api.github.com/repos/mogstad/bankside/issues/comments{/number}","contents_url":"https://api.github.com/repos/mogstad/bankside/contents/{+path}","compare_url":"https://api.github.com/repos/mogstad/bankside/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mogstad/bankside/merges","archive_url":"https://api.github.com/repos/mogstad/bankside/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mogstad/bankside/downloads","issues_url":"https://api.github.com/repos/mogstad/bankside/issues{/number}","pulls_url":"https://api.github.com/repos/mogstad/bankside/pulls{/number}","milestones_url":"https://api.github.com/repos/mogstad/bankside/milestones{/number}","notifications_url":"https://api.github.com/repos/mogstad/bankside/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mogstad/bankside/labels{/name}","releases_url":"https://api.github.com/repos/mogstad/bankside/releases{/id}","created_at":"2015-10-01T20:10:52Z","updated_at":"2015-10-29T20:06:21Z","pushed_at":"2015-12-21T15:28:45Z","git_url":"git://github.com/mogstad/bankside.git","ssh_url":"git@github.com:mogstad/bankside.git","clone_url":"https://github.com/mogstad/bankside.git","svn_url":"https://github.com/mogstad/bankside","homepage":"","size":19,"stargazers_count":2,"watchers_count":2,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"mogstad:master","ref":"master","sha":"666e7d09425d8fd2e95a8d458049171b832597a2","user":{"login":"mogstad","id":817565,"avatar_url":"https://avatars.githubusercontent.com/u/817565?v=3","gravatar_id":"","url":"https://api.github.com/users/mogstad","html_url":"https://github.com/mogstad","followers_url":"https://api.github.com/users/mogstad/followers","following_url":"https://api.github.com/users/mogstad/following{/other_user}","gists_url":"https://api.github.com/users/mogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/mogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogstad/subscriptions","organizations_url":"https://api.github.com/users/mogstad/orgs","repos_url":"https://api.github.com/users/mogstad/repos","events_url":"https://api.github.com/users/mogstad/events{/privacy}","received_events_url":"https://api.github.com/users/mogstad/received_events","type":"User","site_admin":false},"repo":{"id":43518391,"name":"bankside","full_name":"mogstad/bankside","owner":{"login":"mogstad","id":817565,"avatar_url":"https://avatars.githubusercontent.com/u/817565?v=3","gravatar_id":"","url":"https://api.github.com/users/mogstad","html_url":"https://github.com/mogstad","followers_url":"https://api.github.com/users/mogstad/followers","following_url":"https://api.github.com/users/mogstad/following{/other_user}","gists_url":"https://api.github.com/users/mogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/mogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogstad/subscriptions","organizations_url":"https://api.github.com/users/mogstad/orgs","repos_url":"https://api.github.com/users/mogstad/repos","events_url":"https://api.github.com/users/mogstad/events{/privacy}","received_events_url":"https://api.github.com/users/mogstad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mogstad/bankside","description":"Bankside is a fixture generation tool written in Swift","fork":false,"url":"https://api.github.com/repos/mogstad/bankside","forks_url":"https://api.github.com/repos/mogstad/bankside/forks","keys_url":"https://api.github.com/repos/mogstad/bankside/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mogstad/bankside/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mogstad/bankside/teams","hooks_url":"https://api.github.com/repos/mogstad/bankside/hooks","issue_events_url":"https://api.github.com/repos/mogstad/bankside/issues/events{/number}","events_url":"https://api.github.com/repos/mogstad/bankside/events","assignees_url":"https://api.github.com/repos/mogstad/bankside/assignees{/user}","branches_url":"https://api.github.com/repos/mogstad/bankside/branches{/branch}","tags_url":"https://api.github.com/repos/mogstad/bankside/tags","blobs_url":"https://api.github.com/repos/mogstad/bankside/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mogstad/bankside/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mogstad/bankside/git/refs{/sha}","trees_url":"https://api.github.com/repos/mogstad/bankside/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mogstad/bankside/statuses/{sha}","languages_url":"https://api.github.com/repos/mogstad/bankside/languages","stargazers_url":"https://api.github.com/repos/mogstad/bankside/stargazers","contributors_url":"https://api.github.com/repos/mogstad/bankside/contributors","subscribers_url":"https://api.github.com/repos/mogstad/bankside/subscribers","subscription_url":"https://api.github.com/repos/mogstad/bankside/subscription","commits_url":"https://api.github.com/repos/mogstad/bankside/commits{/sha}","git_commits_url":"https://api.github.com/repos/mogstad/bankside/git/commits{/sha}","comments_url":"https://api.github.com/repos/mogstad/bankside/comments{/number}","issue_comment_url":"https://api.github.com/repos/mogstad/bankside/issues/comments{/number}","contents_url":"https://api.github.com/repos/mogstad/bankside/contents/{+path}","compare_url":"https://api.github.com/repos/mogstad/bankside/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mogstad/bankside/merges","archive_url":"https://api.github.com/repos/mogstad/bankside/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mogstad/bankside/downloads","issues_url":"https://api.github.com/repos/mogstad/bankside/issues{/number}","pulls_url":"https://api.github.com/repos/mogstad/bankside/pulls{/number}","milestones_url":"https://api.github.com/repos/mogstad/bankside/milestones{/number}","notifications_url":"https://api.github.com/repos/mogstad/bankside/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mogstad/bankside/labels{/name}","releases_url":"https://api.github.com/repos/mogstad/bankside/releases{/id}","created_at":"2015-10-01T20:10:52Z","updated_at":"2015-10-29T20:06:21Z","pushed_at":"2015-12-21T15:28:45Z","git_url":"git://github.com/mogstad/bankside.git","ssh_url":"git@github.com:mogstad/bankside.git","clone_url":"https://github.com/mogstad/bankside.git","svn_url":"https://github.com/mogstad/bankside","homepage":"","size":19,"stargazers_count":2,"watchers_count":2,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mogstad/bankside/pulls/4"},"html":{"href":"https://github.com/mogstad/bankside/pull/4"},"issue":{"href":"https://api.github.com/repos/mogstad/bankside/issues/4"},"comments":{"href":"https://api.github.com/repos/mogstad/bankside/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/mogstad/bankside/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/mogstad/bankside/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mogstad/bankside/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/mogstad/bankside/statuses/865a41cf793ba65b53fadc07905d076edf88d75d"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":22,"changed_files":2}}