{"action":"closed","number":59,"pull_request":{"url":"https://api.github.com/repos/preaction/Beam-Wire/pulls/59","id":60496048,"html_url":"https://github.com/preaction/Beam-Wire/pull/59","diff_url":"https://github.com/preaction/Beam-Wire/pull/59.diff","patch_url":"https://github.com/preaction/Beam-Wire/pull/59.patch","issue_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/59","number":59,"state":"closed","locked":false,"title":"Compose Roles _before_ instantiation so attrs will work in init","user":{"login":"kentfredric","id":44790,"avatar_url":"https://avatars.githubusercontent.com/u/44790?v=3","gravatar_id":"","url":"https://api.github.com/users/kentfredric","html_url":"https://github.com/kentfredric","followers_url":"https://api.github.com/users/kentfredric/followers","following_url":"https://api.github.com/users/kentfredric/following{/other_user}","gists_url":"https://api.github.com/users/kentfredric/gists{/gist_id}","starred_url":"https://api.github.com/users/kentfredric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentfredric/subscriptions","organizations_url":"https://api.github.com/users/kentfredric/orgs","repos_url":"https://api.github.com/users/kentfredric/repos","events_url":"https://api.github.com/users/kentfredric/events{/privacy}","received_events_url":"https://api.github.com/users/kentfredric/received_events","type":"User","site_admin":false},"body":"I've locally been working with this logic applied and it seems to do what I want.\r\n\r\nTests included.","created_at":"2016-02-24T11:43:00Z","updated_at":"2016-02-24T23:37:08Z","closed_at":"2016-02-24T23:37:08Z","merged_at":"2016-02-24T23:37:08Z","merge_commit_sha":"458b53f6a39906253b93f47b41b6fa53a92f9726","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/preaction/Beam-Wire/pulls/59/commits","review_comments_url":"https://api.github.com/repos/preaction/Beam-Wire/pulls/59/comments","review_comment_url":"https://api.github.com/repos/preaction/Beam-Wire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/59/comments","statuses_url":"https://api.github.com/repos/preaction/Beam-Wire/statuses/23bdf1f80c874d849ee36fed3ec88feb442cb65f","head":{"label":"kentfredric:role-with","ref":"role-with","sha":"23bdf1f80c874d849ee36fed3ec88feb442cb65f","user":{"login":"kentfredric","id":44790,"avatar_url":"https://avatars.githubusercontent.com/u/44790?v=3","gravatar_id":"","url":"https://api.github.com/users/kentfredric","html_url":"https://github.com/kentfredric","followers_url":"https://api.github.com/users/kentfredric/followers","following_url":"https://api.github.com/users/kentfredric/following{/other_user}","gists_url":"https://api.github.com/users/kentfredric/gists{/gist_id}","starred_url":"https://api.github.com/users/kentfredric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentfredric/subscriptions","organizations_url":"https://api.github.com/users/kentfredric/orgs","repos_url":"https://api.github.com/users/kentfredric/repos","events_url":"https://api.github.com/users/kentfredric/events{/privacy}","received_events_url":"https://api.github.com/users/kentfredric/received_events","type":"User","site_admin":false},"repo":{"id":52318498,"name":"Beam-Wire","full_name":"kentfredric/Beam-Wire","owner":{"login":"kentfredric","id":44790,"avatar_url":"https://avatars.githubusercontent.com/u/44790?v=3","gravatar_id":"","url":"https://api.github.com/users/kentfredric","html_url":"https://github.com/kentfredric","followers_url":"https://api.github.com/users/kentfredric/followers","following_url":"https://api.github.com/users/kentfredric/following{/other_user}","gists_url":"https://api.github.com/users/kentfredric/gists{/gist_id}","starred_url":"https://api.github.com/users/kentfredric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentfredric/subscriptions","organizations_url":"https://api.github.com/users/kentfredric/orgs","repos_url":"https://api.github.com/users/kentfredric/repos","events_url":"https://api.github.com/users/kentfredric/events{/privacy}","received_events_url":"https://api.github.com/users/kentfredric/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kentfredric/Beam-Wire","description":"A simple configuration and dependency injection container","fork":true,"url":"https://api.github.com/repos/kentfredric/Beam-Wire","forks_url":"https://api.github.com/repos/kentfredric/Beam-Wire/forks","keys_url":"https://api.github.com/repos/kentfredric/Beam-Wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kentfredric/Beam-Wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kentfredric/Beam-Wire/teams","hooks_url":"https://api.github.com/repos/kentfredric/Beam-Wire/hooks","issue_events_url":"https://api.github.com/repos/kentfredric/Beam-Wire/issues/events{/number}","events_url":"https://api.github.com/repos/kentfredric/Beam-Wire/events","assignees_url":"https://api.github.com/repos/kentfredric/Beam-Wire/assignees{/user}","branches_url":"https://api.github.com/repos/kentfredric/Beam-Wire/branches{/branch}","tags_url":"https://api.github.com/repos/kentfredric/Beam-Wire/tags","blobs_url":"https://api.github.com/repos/kentfredric/Beam-Wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kentfredric/Beam-Wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kentfredric/Beam-Wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/kentfredric/Beam-Wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kentfredric/Beam-Wire/statuses/{sha}","languages_url":"https://api.github.com/repos/kentfredric/Beam-Wire/languages","stargazers_url":"https://api.github.com/repos/kentfredric/Beam-Wire/stargazers","contributors_url":"https://api.github.com/repos/kentfredric/Beam-Wire/contributors","subscribers_url":"https://api.github.com/repos/kentfredric/Beam-Wire/subscribers","subscription_url":"https://api.github.com/repos/kentfredric/Beam-Wire/subscription","commits_url":"https://api.github.com/repos/kentfredric/Beam-Wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/kentfredric/Beam-Wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/kentfredric/Beam-Wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/kentfredric/Beam-Wire/issues/comments{/number}","contents_url":"https://api.github.com/repos/kentfredric/Beam-Wire/contents/{+path}","compare_url":"https://api.github.com/repos/kentfredric/Beam-Wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kentfredric/Beam-Wire/merges","archive_url":"https://api.github.com/repos/kentfredric/Beam-Wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kentfredric/Beam-Wire/downloads","issues_url":"https://api.github.com/repos/kentfredric/Beam-Wire/issues{/number}","pulls_url":"https://api.github.com/repos/kentfredric/Beam-Wire/pulls{/number}","milestones_url":"https://api.github.com/repos/kentfredric/Beam-Wire/milestones{/number}","notifications_url":"https://api.github.com/repos/kentfredric/Beam-Wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kentfredric/Beam-Wire/labels{/name}","releases_url":"https://api.github.com/repos/kentfredric/Beam-Wire/releases{/id}","deployments_url":"https://api.github.com/repos/kentfredric/Beam-Wire/deployments","created_at":"2016-02-23T01:04:06Z","updated_at":"2016-02-23T01:04:06Z","pushed_at":"2016-02-24T11:39:30Z","git_url":"git://github.com/kentfredric/Beam-Wire.git","ssh_url":"git@github.com:kentfredric/Beam-Wire.git","clone_url":"https://github.com/kentfredric/Beam-Wire.git","svn_url":"https://github.com/kentfredric/Beam-Wire","homepage":"","size":243,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"preaction:master","ref":"master","sha":"2ff7204c6d88e4c075344d4f78ba129c3a51e6bb","user":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"repo":{"id":8678684,"name":"Beam-Wire","full_name":"preaction/Beam-Wire","owner":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/preaction/Beam-Wire","description":"A simple configuration and dependency injection container","fork":false,"url":"https://api.github.com/repos/preaction/Beam-Wire","forks_url":"https://api.github.com/repos/preaction/Beam-Wire/forks","keys_url":"https://api.github.com/repos/preaction/Beam-Wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/preaction/Beam-Wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/preaction/Beam-Wire/teams","hooks_url":"https://api.github.com/repos/preaction/Beam-Wire/hooks","issue_events_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/events{/number}","events_url":"https://api.github.com/repos/preaction/Beam-Wire/events","assignees_url":"https://api.github.com/repos/preaction/Beam-Wire/assignees{/user}","branches_url":"https://api.github.com/repos/preaction/Beam-Wire/branches{/branch}","tags_url":"https://api.github.com/repos/preaction/Beam-Wire/tags","blobs_url":"https://api.github.com/repos/preaction/Beam-Wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/preaction/Beam-Wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/preaction/Beam-Wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/preaction/Beam-Wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/preaction/Beam-Wire/statuses/{sha}","languages_url":"https://api.github.com/repos/preaction/Beam-Wire/languages","stargazers_url":"https://api.github.com/repos/preaction/Beam-Wire/stargazers","contributors_url":"https://api.github.com/repos/preaction/Beam-Wire/contributors","subscribers_url":"https://api.github.com/repos/preaction/Beam-Wire/subscribers","subscription_url":"https://api.github.com/repos/preaction/Beam-Wire/subscription","commits_url":"https://api.github.com/repos/preaction/Beam-Wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/preaction/Beam-Wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/preaction/Beam-Wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/comments{/number}","contents_url":"https://api.github.com/repos/preaction/Beam-Wire/contents/{+path}","compare_url":"https://api.github.com/repos/preaction/Beam-Wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/preaction/Beam-Wire/merges","archive_url":"https://api.github.com/repos/preaction/Beam-Wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/preaction/Beam-Wire/downloads","issues_url":"https://api.github.com/repos/preaction/Beam-Wire/issues{/number}","pulls_url":"https://api.github.com/repos/preaction/Beam-Wire/pulls{/number}","milestones_url":"https://api.github.com/repos/preaction/Beam-Wire/milestones{/number}","notifications_url":"https://api.github.com/repos/preaction/Beam-Wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/preaction/Beam-Wire/labels{/name}","releases_url":"https://api.github.com/repos/preaction/Beam-Wire/releases{/id}","deployments_url":"https://api.github.com/repos/preaction/Beam-Wire/deployments","created_at":"2013-03-10T00:57:17Z","updated_at":"2016-02-13T17:19:05Z","pushed_at":"2016-02-24T23:37:08Z","git_url":"git://github.com/preaction/Beam-Wire.git","ssh_url":"git@github.com:preaction/Beam-Wire.git","clone_url":"https://github.com/preaction/Beam-Wire.git","svn_url":"https://github.com/preaction/Beam-Wire","homepage":"","size":250,"stargazers_count":4,"watchers_count":4,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/preaction/Beam-Wire/pulls/59"},"html":{"href":"https://github.com/preaction/Beam-Wire/pull/59"},"issue":{"href":"https://api.github.com/repos/preaction/Beam-Wire/issues/59"},"comments":{"href":"https://api.github.com/repos/preaction/Beam-Wire/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/preaction/Beam-Wire/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/preaction/Beam-Wire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/preaction/Beam-Wire/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/preaction/Beam-Wire/statuses/23bdf1f80c874d849ee36fed3ec88feb442cb65f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":79,"deletions":5,"changed_files":4}}