{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/3","id":53754311,"html_url":"https://github.com/segmentio/metalsmith-drafts/pull/3","diff_url":"https://github.com/segmentio/metalsmith-drafts/pull/3.diff","patch_url":"https://github.com/segmentio/metalsmith-drafts/pull/3.patch","issue_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues/3","number":3,"state":"open","locked":false,"title":"Default behavior for \"draft\"","user":{"login":"stefanwalther","id":669728,"avatar_url":"https://avatars.githubusercontent.com/u/669728?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanwalther","html_url":"https://github.com/stefanwalther","followers_url":"https://api.github.com/users/stefanwalther/followers","following_url":"https://api.github.com/users/stefanwalther/following{/other_user}","gists_url":"https://api.github.com/users/stefanwalther/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanwalther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanwalther/subscriptions","organizations_url":"https://api.github.com/users/stefanwalther/orgs","repos_url":"https://api.github.com/users/stefanwalther/repos","events_url":"https://api.github.com/users/stefanwalther/events{/privacy}","received_events_url":"https://api.github.com/users/stefanwalther/received_events","type":"User","site_admin":false},"body":"This PR implements the default behavior for drafts, in particular I wanted to have all documents to be in status \"draft=true\" by default, even if draft is not defined in the document.","created_at":"2015-12-15T20:02:20Z","updated_at":"2015-12-15T20:02:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/3/commits","review_comments_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/3/comments","review_comment_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues/3/comments","statuses_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/statuses/921cd37a64e9d41453882b533f3033fedcae067c","head":{"label":"stefanwalther:draft-default","ref":"draft-default","sha":"921cd37a64e9d41453882b533f3033fedcae067c","user":{"login":"stefanwalther","id":669728,"avatar_url":"https://avatars.githubusercontent.com/u/669728?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanwalther","html_url":"https://github.com/stefanwalther","followers_url":"https://api.github.com/users/stefanwalther/followers","following_url":"https://api.github.com/users/stefanwalther/following{/other_user}","gists_url":"https://api.github.com/users/stefanwalther/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanwalther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanwalther/subscriptions","organizations_url":"https://api.github.com/users/stefanwalther/orgs","repos_url":"https://api.github.com/users/stefanwalther/repos","events_url":"https://api.github.com/users/stefanwalther/events{/privacy}","received_events_url":"https://api.github.com/users/stefanwalther/received_events","type":"User","site_admin":false},"repo":{"id":48046555,"name":"metalsmith-drafts","full_name":"stefanwalther/metalsmith-drafts","owner":{"login":"stefanwalther","id":669728,"avatar_url":"https://avatars.githubusercontent.com/u/669728?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanwalther","html_url":"https://github.com/stefanwalther","followers_url":"https://api.github.com/users/stefanwalther/followers","following_url":"https://api.github.com/users/stefanwalther/following{/other_user}","gists_url":"https://api.github.com/users/stefanwalther/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanwalther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanwalther/subscriptions","organizations_url":"https://api.github.com/users/stefanwalther/orgs","repos_url":"https://api.github.com/users/stefanwalther/repos","events_url":"https://api.github.com/users/stefanwalther/events{/privacy}","received_events_url":"https://api.github.com/users/stefanwalther/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefanwalther/metalsmith-drafts","description":"A metalsmith plugin to hide drafts.","fork":true,"url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts","forks_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/forks","keys_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/teams","hooks_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/hooks","issue_events_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/issues/events{/number}","events_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/events","assignees_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/assignees{/user}","branches_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/branches{/branch}","tags_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/tags","blobs_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/statuses/{sha}","languages_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/languages","stargazers_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/stargazers","contributors_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/contributors","subscribers_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/subscribers","subscription_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/subscription","commits_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/contents/{+path}","compare_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/merges","archive_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/downloads","issues_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/issues{/number}","pulls_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/pulls{/number}","milestones_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/milestones{/number}","notifications_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/labels{/name}","releases_url":"https://api.github.com/repos/stefanwalther/metalsmith-drafts/releases{/id}","created_at":"2015-12-15T14:02:56Z","updated_at":"2015-12-15T14:02:57Z","pushed_at":"2015-12-15T20:00:56Z","git_url":"git://github.com/stefanwalther/metalsmith-drafts.git","ssh_url":"git@github.com:stefanwalther/metalsmith-drafts.git","clone_url":"https://github.com/stefanwalther/metalsmith-drafts.git","svn_url":"https://github.com/stefanwalther/metalsmith-drafts","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"segmentio:master","ref":"master","sha":"24a26be6c5d333fd027a3a1d9310dbf27e15fcb2","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":16536767,"name":"metalsmith-drafts","full_name":"segmentio/metalsmith-drafts","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/metalsmith-drafts","description":"A metalsmith plugin to hide drafts.","fork":false,"url":"https://api.github.com/repos/segmentio/metalsmith-drafts","forks_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/forks","keys_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/teams","hooks_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/hooks","issue_events_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/events","assignees_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/tags","blobs_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/languages","stargazers_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/stargazers","contributors_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/contributors","subscribers_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/subscribers","subscription_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/subscription","commits_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues/comments{/number}","contents_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/merges","archive_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/downloads","issues_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/metalsmith-drafts/releases{/id}","created_at":"2014-02-05T06:06:30Z","updated_at":"2015-11-20T14:46:56Z","pushed_at":"2015-07-11T23:53:18Z","git_url":"git://github.com/segmentio/metalsmith-drafts.git","ssh_url":"git@github.com:segmentio/metalsmith-drafts.git","clone_url":"https://github.com/segmentio/metalsmith-drafts.git","svn_url":"https://github.com/segmentio/metalsmith-drafts","homepage":null,"size":118,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/3"},"html":{"href":"https://github.com/segmentio/metalsmith-drafts/pull/3"},"issue":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues/3"},"comments":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/segmentio/metalsmith-drafts/statuses/921cd37a64e9d41453882b533f3033fedcae067c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":123,"deletions":10,"changed_files":18}}