{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/11","id":39303240,"html_url":"https://github.com/zts/chef-cookbook-managed_directory/pull/11","diff_url":"https://github.com/zts/chef-cookbook-managed_directory/pull/11.diff","patch_url":"https://github.com/zts/chef-cookbook-managed_directory/pull/11.patch","issue_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues/11","number":11,"state":"open","locked":false,"title":"Bugfix #9 clean directories","user":{"login":"gkra","id":3741190,"avatar_url":"https://avatars.githubusercontent.com/u/3741190?v=3","gravatar_id":"","url":"https://api.github.com/users/gkra","html_url":"https://github.com/gkra","followers_url":"https://api.github.com/users/gkra/followers","following_url":"https://api.github.com/users/gkra/following{/other_user}","gists_url":"https://api.github.com/users/gkra/gists{/gist_id}","starred_url":"https://api.github.com/users/gkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkra/subscriptions","organizations_url":"https://api.github.com/users/gkra/orgs","repos_url":"https://api.github.com/users/gkra/repos","events_url":"https://api.github.com/users/gkra/events{/privacy}","received_events_url":"https://api.github.com/users/gkra/received_events","type":"User","site_admin":false},"body":"- Fix bug for subdirectories when clean_directories is false. This would cause\r\n  the subdirectory to be handed to the `file` resource in the provider, which\r\n  would then cause chef-client to abort.\r\n\r\nResolves #9 ","created_at":"2015-07-06T19:42:55Z","updated_at":"2015-07-06T19:42:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"gkra","id":3741190,"avatar_url":"https://avatars.githubusercontent.com/u/3741190?v=3","gravatar_id":"","url":"https://api.github.com/users/gkra","html_url":"https://github.com/gkra","followers_url":"https://api.github.com/users/gkra/followers","following_url":"https://api.github.com/users/gkra/following{/other_user}","gists_url":"https://api.github.com/users/gkra/gists{/gist_id}","starred_url":"https://api.github.com/users/gkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkra/subscriptions","organizations_url":"https://api.github.com/users/gkra/orgs","repos_url":"https://api.github.com/users/gkra/repos","events_url":"https://api.github.com/users/gkra/events{/privacy}","received_events_url":"https://api.github.com/users/gkra/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/11/commits","review_comments_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/11/comments","review_comment_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues/11/comments","statuses_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/statuses/bffbaee3d6bf6d2d22b110b78f60a04f9d3cd961","head":{"label":"gkra:bugfix_#9_clean_directories","ref":"bugfix_#9_clean_directories","sha":"bffbaee3d6bf6d2d22b110b78f60a04f9d3cd961","user":{"login":"gkra","id":3741190,"avatar_url":"https://avatars.githubusercontent.com/u/3741190?v=3","gravatar_id":"","url":"https://api.github.com/users/gkra","html_url":"https://github.com/gkra","followers_url":"https://api.github.com/users/gkra/followers","following_url":"https://api.github.com/users/gkra/following{/other_user}","gists_url":"https://api.github.com/users/gkra/gists{/gist_id}","starred_url":"https://api.github.com/users/gkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkra/subscriptions","organizations_url":"https://api.github.com/users/gkra/orgs","repos_url":"https://api.github.com/users/gkra/repos","events_url":"https://api.github.com/users/gkra/events{/privacy}","received_events_url":"https://api.github.com/users/gkra/received_events","type":"User","site_admin":false},"repo":{"id":17158661,"name":"chef-cookbook-managed_directory","full_name":"gkra/chef-cookbook-managed_directory","owner":{"login":"gkra","id":3741190,"avatar_url":"https://avatars.githubusercontent.com/u/3741190?v=3","gravatar_id":"","url":"https://api.github.com/users/gkra","html_url":"https://github.com/gkra","followers_url":"https://api.github.com/users/gkra/followers","following_url":"https://api.github.com/users/gkra/following{/other_user}","gists_url":"https://api.github.com/users/gkra/gists{/gist_id}","starred_url":"https://api.github.com/users/gkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkra/subscriptions","organizations_url":"https://api.github.com/users/gkra/orgs","repos_url":"https://api.github.com/users/gkra/repos","events_url":"https://api.github.com/users/gkra/events{/privacy}","received_events_url":"https://api.github.com/users/gkra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gkra/chef-cookbook-managed_directory","description":"An LWRP to purge unmanaged files from a directory.","fork":true,"url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory","forks_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/forks","keys_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/teams","hooks_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/hooks","issue_events_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/issues/events{/number}","events_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/events","assignees_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/assignees{/user}","branches_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/branches{/branch}","tags_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/tags","blobs_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/statuses/{sha}","languages_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/languages","stargazers_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/stargazers","contributors_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/contributors","subscribers_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/subscribers","subscription_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/subscription","commits_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/contents/{+path}","compare_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/merges","archive_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/downloads","issues_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/issues{/number}","pulls_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/pulls{/number}","milestones_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/milestones{/number}","notifications_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/labels{/name}","releases_url":"https://api.github.com/repos/gkra/chef-cookbook-managed_directory/releases{/id}","created_at":"2014-02-25T02:29:39Z","updated_at":"2015-07-02T17:11:46Z","pushed_at":"2015-07-06T19:36:18Z","git_url":"git://github.com/gkra/chef-cookbook-managed_directory.git","ssh_url":"git@github.com:gkra/chef-cookbook-managed_directory.git","clone_url":"https://github.com/gkra/chef-cookbook-managed_directory.git","svn_url":"https://github.com/gkra/chef-cookbook-managed_directory","homepage":"","size":153,"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":"zts:master","ref":"master","sha":"57fc6309dda5b00ff94932fdd909574e751279c1","user":{"login":"zts","id":36149,"avatar_url":"https://avatars.githubusercontent.com/u/36149?v=3","gravatar_id":"","url":"https://api.github.com/users/zts","html_url":"https://github.com/zts","followers_url":"https://api.github.com/users/zts/followers","following_url":"https://api.github.com/users/zts/following{/other_user}","gists_url":"https://api.github.com/users/zts/gists{/gist_id}","starred_url":"https://api.github.com/users/zts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zts/subscriptions","organizations_url":"https://api.github.com/users/zts/orgs","repos_url":"https://api.github.com/users/zts/repos","events_url":"https://api.github.com/users/zts/events{/privacy}","received_events_url":"https://api.github.com/users/zts/received_events","type":"User","site_admin":false},"repo":{"id":3959249,"name":"chef-cookbook-managed_directory","full_name":"zts/chef-cookbook-managed_directory","owner":{"login":"zts","id":36149,"avatar_url":"https://avatars.githubusercontent.com/u/36149?v=3","gravatar_id":"","url":"https://api.github.com/users/zts","html_url":"https://github.com/zts","followers_url":"https://api.github.com/users/zts/followers","following_url":"https://api.github.com/users/zts/following{/other_user}","gists_url":"https://api.github.com/users/zts/gists{/gist_id}","starred_url":"https://api.github.com/users/zts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zts/subscriptions","organizations_url":"https://api.github.com/users/zts/orgs","repos_url":"https://api.github.com/users/zts/repos","events_url":"https://api.github.com/users/zts/events{/privacy}","received_events_url":"https://api.github.com/users/zts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zts/chef-cookbook-managed_directory","description":"An LWRP to purge unmanaged files from a directory.","fork":false,"url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory","forks_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/forks","keys_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/teams","hooks_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/hooks","issue_events_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues/events{/number}","events_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/events","assignees_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/assignees{/user}","branches_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/branches{/branch}","tags_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/tags","blobs_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/git/refs{/sha}","trees_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/statuses/{sha}","languages_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/languages","stargazers_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/stargazers","contributors_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/contributors","subscribers_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/subscribers","subscription_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/subscription","commits_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/commits{/sha}","git_commits_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/git/commits{/sha}","comments_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/comments{/number}","issue_comment_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues/comments{/number}","contents_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/contents/{+path}","compare_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/merges","archive_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/downloads","issues_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues{/number}","pulls_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls{/number}","milestones_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/milestones{/number}","notifications_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/labels{/name}","releases_url":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/releases{/id}","created_at":"2012-04-07T17:15:47Z","updated_at":"2014-11-27T08:17:37Z","pushed_at":"2015-07-06T19:42:55Z","git_url":"git://github.com/zts/chef-cookbook-managed_directory.git","ssh_url":"git@github.com:zts/chef-cookbook-managed_directory.git","clone_url":"https://github.com/zts/chef-cookbook-managed_directory.git","svn_url":"https://github.com/zts/chef-cookbook-managed_directory","homepage":"","size":295,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/11"},"html":{"href":"https://github.com/zts/chef-cookbook-managed_directory/pull/11"},"issue":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues/11"},"comments":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/zts/chef-cookbook-managed_directory/statuses/bffbaee3d6bf6d2d22b110b78f60a04f9d3cd961"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":78,"deletions":31,"changed_files":8}}