{"action":"opened","number":70,"pull_request":{"url":"https://api.github.com/repos/Shopify/twine/pulls/70","id":70887069,"html_url":"https://github.com/Shopify/twine/pull/70","diff_url":"https://github.com/Shopify/twine/pull/70.diff","patch_url":"https://github.com/Shopify/twine/pull/70.patch","issue_url":"https://api.github.com/repos/Shopify/twine/issues/70","number":70,"state":"open","locked":false,"title":"Improve allow-default behavior","user":{"login":"asmockler","id":4712675,"avatar_url":"https://avatars.githubusercontent.com/u/4712675?v=3","gravatar_id":"","url":"https://api.github.com/users/asmockler","html_url":"https://github.com/asmockler","followers_url":"https://api.github.com/users/asmockler/followers","following_url":"https://api.github.com/users/asmockler/following{/other_user}","gists_url":"https://api.github.com/users/asmockler/gists{/gist_id}","starred_url":"https://api.github.com/users/asmockler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmockler/subscriptions","organizations_url":"https://api.github.com/users/asmockler/orgs","repos_url":"https://api.github.com/users/asmockler/repos","events_url":"https://api.github.com/users/asmockler/events{/privacy}","received_events_url":"https://api.github.com/users/asmockler/received_events","type":"User","site_admin":false},"body":"Currently, `allow-default` checks for a value of `'1'` explicitly, which can be a bit confusing. This PR changes its functionality to work more like the `checked` attribute - as long as it is present and has any value besides `'false'`, it will allow default.\r\n\r\ncc: @dan-menard @beefchimi @Shopify/tnt ","created_at":"2016-05-20T17:05:56Z","updated_at":"2016-05-20T17:05:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/twine/pulls/70/commits","review_comments_url":"https://api.github.com/repos/Shopify/twine/pulls/70/comments","review_comment_url":"https://api.github.com/repos/Shopify/twine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/twine/issues/70/comments","statuses_url":"https://api.github.com/repos/Shopify/twine/statuses/a264ec0b326765804ca306ec3ec38a6d82ad434d","head":{"label":"Shopify:allow-more-values-for-allow-default","ref":"allow-more-values-for-allow-default","sha":"a264ec0b326765804ca306ec3ec38a6d82ad434d","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":24009103,"name":"twine","full_name":"Shopify/twine","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/twine","description":"Twine is a minimalistic two-way binding system","fork":false,"url":"https://api.github.com/repos/Shopify/twine","forks_url":"https://api.github.com/repos/Shopify/twine/forks","keys_url":"https://api.github.com/repos/Shopify/twine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/twine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/twine/teams","hooks_url":"https://api.github.com/repos/Shopify/twine/hooks","issue_events_url":"https://api.github.com/repos/Shopify/twine/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/twine/events","assignees_url":"https://api.github.com/repos/Shopify/twine/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/twine/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/twine/tags","blobs_url":"https://api.github.com/repos/Shopify/twine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/twine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/twine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/twine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/twine/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/twine/languages","stargazers_url":"https://api.github.com/repos/Shopify/twine/stargazers","contributors_url":"https://api.github.com/repos/Shopify/twine/contributors","subscribers_url":"https://api.github.com/repos/Shopify/twine/subscribers","subscription_url":"https://api.github.com/repos/Shopify/twine/subscription","commits_url":"https://api.github.com/repos/Shopify/twine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/twine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/twine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/twine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/twine/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/twine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/twine/merges","archive_url":"https://api.github.com/repos/Shopify/twine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/twine/downloads","issues_url":"https://api.github.com/repos/Shopify/twine/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/twine/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/twine/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/twine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/twine/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/twine/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/twine/deployments","created_at":"2014-09-13T23:51:04Z","updated_at":"2016-05-08T03:07:08Z","pushed_at":"2016-05-20T17:02:09Z","git_url":"git://github.com/Shopify/twine.git","ssh_url":"git@github.com:Shopify/twine.git","clone_url":"https://github.com/Shopify/twine.git","svn_url":"https://github.com/Shopify/twine","homepage":"","size":232,"stargazers_count":64,"watchers_count":64,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":64,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"ba1ca7a1973ca76be662b634443e28bf8f948883","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":24009103,"name":"twine","full_name":"Shopify/twine","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/twine","description":"Twine is a minimalistic two-way binding system","fork":false,"url":"https://api.github.com/repos/Shopify/twine","forks_url":"https://api.github.com/repos/Shopify/twine/forks","keys_url":"https://api.github.com/repos/Shopify/twine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/twine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/twine/teams","hooks_url":"https://api.github.com/repos/Shopify/twine/hooks","issue_events_url":"https://api.github.com/repos/Shopify/twine/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/twine/events","assignees_url":"https://api.github.com/repos/Shopify/twine/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/twine/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/twine/tags","blobs_url":"https://api.github.com/repos/Shopify/twine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/twine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/twine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/twine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/twine/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/twine/languages","stargazers_url":"https://api.github.com/repos/Shopify/twine/stargazers","contributors_url":"https://api.github.com/repos/Shopify/twine/contributors","subscribers_url":"https://api.github.com/repos/Shopify/twine/subscribers","subscription_url":"https://api.github.com/repos/Shopify/twine/subscription","commits_url":"https://api.github.com/repos/Shopify/twine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/twine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/twine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/twine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/twine/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/twine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/twine/merges","archive_url":"https://api.github.com/repos/Shopify/twine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/twine/downloads","issues_url":"https://api.github.com/repos/Shopify/twine/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/twine/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/twine/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/twine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/twine/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/twine/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/twine/deployments","created_at":"2014-09-13T23:51:04Z","updated_at":"2016-05-08T03:07:08Z","pushed_at":"2016-05-20T17:02:09Z","git_url":"git://github.com/Shopify/twine.git","ssh_url":"git@github.com:Shopify/twine.git","clone_url":"https://github.com/Shopify/twine.git","svn_url":"https://github.com/Shopify/twine","homepage":"","size":232,"stargazers_count":64,"watchers_count":64,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/twine/pulls/70"},"html":{"href":"https://github.com/Shopify/twine/pull/70"},"issue":{"href":"https://api.github.com/repos/Shopify/twine/issues/70"},"comments":{"href":"https://api.github.com/repos/Shopify/twine/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/twine/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/twine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/twine/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/twine/statuses/a264ec0b326765804ca306ec3ec38a6d82ad434d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"asmockler"}}