{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/23","id":57681269,"html_url":"https://github.com/inviqa/chef-magento-ng/pull/23","diff_url":"https://github.com/inviqa/chef-magento-ng/pull/23.diff","patch_url":"https://github.com/inviqa/chef-magento-ng/pull/23.patch","issue_url":"https://api.github.com/repos/inviqa/chef-magento-ng/issues/23","number":23,"state":"closed","locked":false,"title":"Add spec for logrotate with capistrano.","user":{"login":"kierenevans","id":1554709,"avatar_url":"https://avatars.githubusercontent.com/u/1554709?v=3","gravatar_id":"","url":"https://api.github.com/users/kierenevans","html_url":"https://github.com/kierenevans","followers_url":"https://api.github.com/users/kierenevans/followers","following_url":"https://api.github.com/users/kierenevans/following{/other_user}","gists_url":"https://api.github.com/users/kierenevans/gists{/gist_id}","starred_url":"https://api.github.com/users/kierenevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kierenevans/subscriptions","organizations_url":"https://api.github.com/users/kierenevans/orgs","repos_url":"https://api.github.com/users/kierenevans/repos","events_url":"https://api.github.com/users/kierenevans/events{/privacy}","received_events_url":"https://api.github.com/users/kierenevans/received_events","type":"User","site_admin":false},"body":"Logrotate with capistrano uses a different config path when under capistrano, so it's good to capture that difference with a spec to allow fast feedback.\r\n\r\nAlso moves over to the chefspec matcher provided by the logrotate cookbook which does a nice thing to hide the fact it's a definition rather than a LWRP being used: https://github.com/stevendanna/logrotate/blob/master/libraries/matchers.rb","created_at":"2016-01-29T18:02:16Z","updated_at":"2016-01-29T20:18:56Z","closed_at":"2016-01-29T20:18:56Z","merged_at":"2016-01-29T20:18:56Z","merge_commit_sha":"9620a3bc4c1f0ec22ef7351c93387e42f5955969","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/23/commits","review_comments_url":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/23/comments","review_comment_url":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inviqa/chef-magento-ng/issues/23/comments","statuses_url":"https://api.github.com/repos/inviqa/chef-magento-ng/statuses/8c44f8ced0ded2de1eec3d6e062ae74810343d2c","head":{"label":"kierenevans:feature/use-logrotate-matcher","ref":"feature/use-logrotate-matcher","sha":"8c44f8ced0ded2de1eec3d6e062ae74810343d2c","user":{"login":"kierenevans","id":1554709,"avatar_url":"https://avatars.githubusercontent.com/u/1554709?v=3","gravatar_id":"","url":"https://api.github.com/users/kierenevans","html_url":"https://github.com/kierenevans","followers_url":"https://api.github.com/users/kierenevans/followers","following_url":"https://api.github.com/users/kierenevans/following{/other_user}","gists_url":"https://api.github.com/users/kierenevans/gists{/gist_id}","starred_url":"https://api.github.com/users/kierenevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kierenevans/subscriptions","organizations_url":"https://api.github.com/users/kierenevans/orgs","repos_url":"https://api.github.com/users/kierenevans/repos","events_url":"https://api.github.com/users/kierenevans/events{/privacy}","received_events_url":"https://api.github.com/users/kierenevans/received_events","type":"User","site_admin":false},"repo":{"id":41482220,"name":"chef-magento-ng","full_name":"kierenevans/chef-magento-ng","owner":{"login":"kierenevans","id":1554709,"avatar_url":"https://avatars.githubusercontent.com/u/1554709?v=3","gravatar_id":"","url":"https://api.github.com/users/kierenevans","html_url":"https://github.com/kierenevans","followers_url":"https://api.github.com/users/kierenevans/followers","following_url":"https://api.github.com/users/kierenevans/following{/other_user}","gists_url":"https://api.github.com/users/kierenevans/gists{/gist_id}","starred_url":"https://api.github.com/users/kierenevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kierenevans/subscriptions","organizations_url":"https://api.github.com/users/kierenevans/orgs","repos_url":"https://api.github.com/users/kierenevans/repos","events_url":"https://api.github.com/users/kierenevans/events{/privacy}","received_events_url":"https://api.github.com/users/kierenevans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kierenevans/chef-magento-ng","description":"","fork":true,"url":"https://api.github.com/repos/kierenevans/chef-magento-ng","forks_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/forks","keys_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/teams","hooks_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/hooks","issue_events_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/issues/events{/number}","events_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/events","assignees_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/assignees{/user}","branches_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/branches{/branch}","tags_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/tags","blobs_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/languages","stargazers_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/stargazers","contributors_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/contributors","subscribers_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/subscribers","subscription_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/subscription","commits_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/contents/{+path}","compare_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/merges","archive_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/downloads","issues_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/issues{/number}","pulls_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/labels{/name}","releases_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/releases{/id}","deployments_url":"https://api.github.com/repos/kierenevans/chef-magento-ng/deployments","created_at":"2015-08-27T11:13:04Z","updated_at":"2015-08-27T11:14:04Z","pushed_at":"2016-01-29T18:15:33Z","git_url":"git://github.com/kierenevans/chef-magento-ng.git","ssh_url":"git@github.com:kierenevans/chef-magento-ng.git","clone_url":"https://github.com/kierenevans/chef-magento-ng.git","svn_url":"https://github.com/kierenevans/chef-magento-ng","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"inviqa:master","ref":"master","sha":"da2093e1fe3b34986c3ddd19ae87a86fc6a448d1","user":{"login":"inviqa","id":1774575,"avatar_url":"https://avatars.githubusercontent.com/u/1774575?v=3","gravatar_id":"","url":"https://api.github.com/users/inviqa","html_url":"https://github.com/inviqa","followers_url":"https://api.github.com/users/inviqa/followers","following_url":"https://api.github.com/users/inviqa/following{/other_user}","gists_url":"https://api.github.com/users/inviqa/gists{/gist_id}","starred_url":"https://api.github.com/users/inviqa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inviqa/subscriptions","organizations_url":"https://api.github.com/users/inviqa/orgs","repos_url":"https://api.github.com/users/inviqa/repos","events_url":"https://api.github.com/users/inviqa/events{/privacy}","received_events_url":"https://api.github.com/users/inviqa/received_events","type":"Organization","site_admin":false},"repo":{"id":35507216,"name":"chef-magento-ng","full_name":"inviqa/chef-magento-ng","owner":{"login":"inviqa","id":1774575,"avatar_url":"https://avatars.githubusercontent.com/u/1774575?v=3","gravatar_id":"","url":"https://api.github.com/users/inviqa","html_url":"https://github.com/inviqa","followers_url":"https://api.github.com/users/inviqa/followers","following_url":"https://api.github.com/users/inviqa/following{/other_user}","gists_url":"https://api.github.com/users/inviqa/gists{/gist_id}","starred_url":"https://api.github.com/users/inviqa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inviqa/subscriptions","organizations_url":"https://api.github.com/users/inviqa/orgs","repos_url":"https://api.github.com/users/inviqa/repos","events_url":"https://api.github.com/users/inviqa/events{/privacy}","received_events_url":"https://api.github.com/users/inviqa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inviqa/chef-magento-ng","description":"","fork":false,"url":"https://api.github.com/repos/inviqa/chef-magento-ng","forks_url":"https://api.github.com/repos/inviqa/chef-magento-ng/forks","keys_url":"https://api.github.com/repos/inviqa/chef-magento-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inviqa/chef-magento-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inviqa/chef-magento-ng/teams","hooks_url":"https://api.github.com/repos/inviqa/chef-magento-ng/hooks","issue_events_url":"https://api.github.com/repos/inviqa/chef-magento-ng/issues/events{/number}","events_url":"https://api.github.com/repos/inviqa/chef-magento-ng/events","assignees_url":"https://api.github.com/repos/inviqa/chef-magento-ng/assignees{/user}","branches_url":"https://api.github.com/repos/inviqa/chef-magento-ng/branches{/branch}","tags_url":"https://api.github.com/repos/inviqa/chef-magento-ng/tags","blobs_url":"https://api.github.com/repos/inviqa/chef-magento-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inviqa/chef-magento-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inviqa/chef-magento-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/inviqa/chef-magento-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inviqa/chef-magento-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/inviqa/chef-magento-ng/languages","stargazers_url":"https://api.github.com/repos/inviqa/chef-magento-ng/stargazers","contributors_url":"https://api.github.com/repos/inviqa/chef-magento-ng/contributors","subscribers_url":"https://api.github.com/repos/inviqa/chef-magento-ng/subscribers","subscription_url":"https://api.github.com/repos/inviqa/chef-magento-ng/subscription","commits_url":"https://api.github.com/repos/inviqa/chef-magento-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/inviqa/chef-magento-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/inviqa/chef-magento-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/inviqa/chef-magento-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/inviqa/chef-magento-ng/contents/{+path}","compare_url":"https://api.github.com/repos/inviqa/chef-magento-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inviqa/chef-magento-ng/merges","archive_url":"https://api.github.com/repos/inviqa/chef-magento-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inviqa/chef-magento-ng/downloads","issues_url":"https://api.github.com/repos/inviqa/chef-magento-ng/issues{/number}","pulls_url":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/inviqa/chef-magento-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/inviqa/chef-magento-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inviqa/chef-magento-ng/labels{/name}","releases_url":"https://api.github.com/repos/inviqa/chef-magento-ng/releases{/id}","deployments_url":"https://api.github.com/repos/inviqa/chef-magento-ng/deployments","created_at":"2015-05-12T19:03:57Z","updated_at":"2016-01-28T09:40:34Z","pushed_at":"2016-01-29T20:18:56Z","git_url":"git://github.com/inviqa/chef-magento-ng.git","ssh_url":"git@github.com:inviqa/chef-magento-ng.git","clone_url":"https://github.com/inviqa/chef-magento-ng.git","svn_url":"https://github.com/inviqa/chef-magento-ng","homepage":"https://supermarket.chef.io/cookbooks/magento-ng","size":69,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/23"},"html":{"href":"https://github.com/inviqa/chef-magento-ng/pull/23"},"issue":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/issues/23"},"comments":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/inviqa/chef-magento-ng/statuses/8c44f8ced0ded2de1eec3d6e062ae74810343d2c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andytson","id":199783,"avatar_url":"https://avatars.githubusercontent.com/u/199783?v=3","gravatar_id":"","url":"https://api.github.com/users/andytson","html_url":"https://github.com/andytson","followers_url":"https://api.github.com/users/andytson/followers","following_url":"https://api.github.com/users/andytson/following{/other_user}","gists_url":"https://api.github.com/users/andytson/gists{/gist_id}","starred_url":"https://api.github.com/users/andytson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andytson/subscriptions","organizations_url":"https://api.github.com/users/andytson/orgs","repos_url":"https://api.github.com/users/andytson/repos","events_url":"https://api.github.com/users/andytson/events{/privacy}","received_events_url":"https://api.github.com/users/andytson/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":4,"changed_files":1}}