{"action":"closed","number":33,"pull_request":{"url":"https://api.github.com/repos/phly/phly_mustache/pulls/33","id":43678560,"html_url":"https://github.com/phly/phly_mustache/pull/33","diff_url":"https://github.com/phly/phly_mustache/pull/33.diff","patch_url":"https://github.com/phly/phly_mustache/pull/33.patch","issue_url":"https://api.github.com/repos/phly/phly_mustache/issues/33","number":33,"state":"closed","locked":false,"title":"[WIP] Aggregate and Namespaced resolvers","user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"body":"This brings in two resolvers I created for mwop.net, an AggregateResolver and a NamespacedResolver. \r\n\r\nThe first allows aggregating many resolvers; the first to return a non-false response short-circuits resolution\r\n\r\nThe second allows using the `namespace::template` syntax of Plates and Expressive to resolve templates. If a namespace is present, the resolver first looks in the paths associated with the namespace, and then falls back to any paths on the default namespace. If no namespace is present, only the default namespace is queried.\r\n\r\n- [x] Import both resolvers\r\n- [x] Test both resolvers\r\n- [x] Remove proxy methods from Mustache class\r\n- [x] Merge namespaced and default resolver into latter\r\n- [x] Have Mustache compose an aggregate, composing a default, instead of a default.\r\n- [ ] Document changes","created_at":"2015-08-28T22:32:12Z","updated_at":"2015-08-30T17:18:16Z","closed_at":"2015-08-30T17:18:16Z","merged_at":"2015-08-30T17:18:16Z","merge_commit_sha":"d26d98eee101d21ed747625f86a1c8db5327efed","assignee":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/phly/phly_mustache/milestones/5","html_url":"https://github.com/phly/phly_mustache/milestones/2.0.0","labels_url":"https://api.github.com/repos/phly/phly_mustache/milestones/5/labels","id":1277988,"number":5,"title":"2.0.0","description":"","creator":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-08-28T17:29:40Z","updated_at":"2015-08-30T17:18:16Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/phly/phly_mustache/pulls/33/commits","review_comments_url":"https://api.github.com/repos/phly/phly_mustache/pulls/33/comments","review_comment_url":"https://api.github.com/repos/phly/phly_mustache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phly/phly_mustache/issues/33/comments","statuses_url":"https://api.github.com/repos/phly/phly_mustache/statuses/e2b1fc66803a6f9d851b40be4492badf71439c85","head":{"label":"phly:feature/resolvers","ref":"feature/resolvers","sha":"e2b1fc66803a6f9d851b40be4492badf71439c85","user":{"login":"phly","id":5248574,"avatar_url":"https://avatars.githubusercontent.com/u/5248574?v=3","gravatar_id":"","url":"https://api.github.com/users/phly","html_url":"https://github.com/phly","followers_url":"https://api.github.com/users/phly/followers","following_url":"https://api.github.com/users/phly/following{/other_user}","gists_url":"https://api.github.com/users/phly/gists{/gist_id}","starred_url":"https://api.github.com/users/phly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phly/subscriptions","organizations_url":"https://api.github.com/users/phly/orgs","repos_url":"https://api.github.com/users/phly/repos","events_url":"https://api.github.com/users/phly/events{/privacy}","received_events_url":"https://api.github.com/users/phly/received_events","type":"Organization","site_admin":false},"repo":{"id":870109,"name":"phly_mustache","full_name":"phly/phly_mustache","owner":{"login":"phly","id":5248574,"avatar_url":"https://avatars.githubusercontent.com/u/5248574?v=3","gravatar_id":"","url":"https://api.github.com/users/phly","html_url":"https://github.com/phly","followers_url":"https://api.github.com/users/phly/followers","following_url":"https://api.github.com/users/phly/following{/other_user}","gists_url":"https://api.github.com/users/phly/gists{/gist_id}","starred_url":"https://api.github.com/users/phly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phly/subscriptions","organizations_url":"https://api.github.com/users/phly/orgs","repos_url":"https://api.github.com/users/phly/repos","events_url":"https://api.github.com/users/phly/events{/privacy}","received_events_url":"https://api.github.com/users/phly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phly/phly_mustache","description":"PHP 5.3 Mustache implementation","fork":false,"url":"https://api.github.com/repos/phly/phly_mustache","forks_url":"https://api.github.com/repos/phly/phly_mustache/forks","keys_url":"https://api.github.com/repos/phly/phly_mustache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phly/phly_mustache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phly/phly_mustache/teams","hooks_url":"https://api.github.com/repos/phly/phly_mustache/hooks","issue_events_url":"https://api.github.com/repos/phly/phly_mustache/issues/events{/number}","events_url":"https://api.github.com/repos/phly/phly_mustache/events","assignees_url":"https://api.github.com/repos/phly/phly_mustache/assignees{/user}","branches_url":"https://api.github.com/repos/phly/phly_mustache/branches{/branch}","tags_url":"https://api.github.com/repos/phly/phly_mustache/tags","blobs_url":"https://api.github.com/repos/phly/phly_mustache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phly/phly_mustache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phly/phly_mustache/git/refs{/sha}","trees_url":"https://api.github.com/repos/phly/phly_mustache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phly/phly_mustache/statuses/{sha}","languages_url":"https://api.github.com/repos/phly/phly_mustache/languages","stargazers_url":"https://api.github.com/repos/phly/phly_mustache/stargazers","contributors_url":"https://api.github.com/repos/phly/phly_mustache/contributors","subscribers_url":"https://api.github.com/repos/phly/phly_mustache/subscribers","subscription_url":"https://api.github.com/repos/phly/phly_mustache/subscription","commits_url":"https://api.github.com/repos/phly/phly_mustache/commits{/sha}","git_commits_url":"https://api.github.com/repos/phly/phly_mustache/git/commits{/sha}","comments_url":"https://api.github.com/repos/phly/phly_mustache/comments{/number}","issue_comment_url":"https://api.github.com/repos/phly/phly_mustache/issues/comments{/number}","contents_url":"https://api.github.com/repos/phly/phly_mustache/contents/{+path}","compare_url":"https://api.github.com/repos/phly/phly_mustache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phly/phly_mustache/merges","archive_url":"https://api.github.com/repos/phly/phly_mustache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phly/phly_mustache/downloads","issues_url":"https://api.github.com/repos/phly/phly_mustache/issues{/number}","pulls_url":"https://api.github.com/repos/phly/phly_mustache/pulls{/number}","milestones_url":"https://api.github.com/repos/phly/phly_mustache/milestones{/number}","notifications_url":"https://api.github.com/repos/phly/phly_mustache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phly/phly_mustache/labels{/name}","releases_url":"https://api.github.com/repos/phly/phly_mustache/releases{/id}","created_at":"2010-08-29T14:16:15Z","updated_at":"2015-08-27T16:43:21Z","pushed_at":"2015-08-30T17:18:16Z","git_url":"git://github.com/phly/phly_mustache.git","ssh_url":"git@github.com:phly/phly_mustache.git","clone_url":"https://github.com/phly/phly_mustache.git","svn_url":"https://github.com/phly/phly_mustache","homepage":"","size":1246,"stargazers_count":125,"watchers_count":125,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":5,"forks":14,"open_issues":5,"watchers":125,"default_branch":"master"}},"base":{"label":"phly:develop","ref":"develop","sha":"983cfa9d4e9a25354e2b64753880d5af1632263c","user":{"login":"phly","id":5248574,"avatar_url":"https://avatars.githubusercontent.com/u/5248574?v=3","gravatar_id":"","url":"https://api.github.com/users/phly","html_url":"https://github.com/phly","followers_url":"https://api.github.com/users/phly/followers","following_url":"https://api.github.com/users/phly/following{/other_user}","gists_url":"https://api.github.com/users/phly/gists{/gist_id}","starred_url":"https://api.github.com/users/phly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phly/subscriptions","organizations_url":"https://api.github.com/users/phly/orgs","repos_url":"https://api.github.com/users/phly/repos","events_url":"https://api.github.com/users/phly/events{/privacy}","received_events_url":"https://api.github.com/users/phly/received_events","type":"Organization","site_admin":false},"repo":{"id":870109,"name":"phly_mustache","full_name":"phly/phly_mustache","owner":{"login":"phly","id":5248574,"avatar_url":"https://avatars.githubusercontent.com/u/5248574?v=3","gravatar_id":"","url":"https://api.github.com/users/phly","html_url":"https://github.com/phly","followers_url":"https://api.github.com/users/phly/followers","following_url":"https://api.github.com/users/phly/following{/other_user}","gists_url":"https://api.github.com/users/phly/gists{/gist_id}","starred_url":"https://api.github.com/users/phly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phly/subscriptions","organizations_url":"https://api.github.com/users/phly/orgs","repos_url":"https://api.github.com/users/phly/repos","events_url":"https://api.github.com/users/phly/events{/privacy}","received_events_url":"https://api.github.com/users/phly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phly/phly_mustache","description":"PHP 5.3 Mustache implementation","fork":false,"url":"https://api.github.com/repos/phly/phly_mustache","forks_url":"https://api.github.com/repos/phly/phly_mustache/forks","keys_url":"https://api.github.com/repos/phly/phly_mustache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phly/phly_mustache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phly/phly_mustache/teams","hooks_url":"https://api.github.com/repos/phly/phly_mustache/hooks","issue_events_url":"https://api.github.com/repos/phly/phly_mustache/issues/events{/number}","events_url":"https://api.github.com/repos/phly/phly_mustache/events","assignees_url":"https://api.github.com/repos/phly/phly_mustache/assignees{/user}","branches_url":"https://api.github.com/repos/phly/phly_mustache/branches{/branch}","tags_url":"https://api.github.com/repos/phly/phly_mustache/tags","blobs_url":"https://api.github.com/repos/phly/phly_mustache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phly/phly_mustache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phly/phly_mustache/git/refs{/sha}","trees_url":"https://api.github.com/repos/phly/phly_mustache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phly/phly_mustache/statuses/{sha}","languages_url":"https://api.github.com/repos/phly/phly_mustache/languages","stargazers_url":"https://api.github.com/repos/phly/phly_mustache/stargazers","contributors_url":"https://api.github.com/repos/phly/phly_mustache/contributors","subscribers_url":"https://api.github.com/repos/phly/phly_mustache/subscribers","subscription_url":"https://api.github.com/repos/phly/phly_mustache/subscription","commits_url":"https://api.github.com/repos/phly/phly_mustache/commits{/sha}","git_commits_url":"https://api.github.com/repos/phly/phly_mustache/git/commits{/sha}","comments_url":"https://api.github.com/repos/phly/phly_mustache/comments{/number}","issue_comment_url":"https://api.github.com/repos/phly/phly_mustache/issues/comments{/number}","contents_url":"https://api.github.com/repos/phly/phly_mustache/contents/{+path}","compare_url":"https://api.github.com/repos/phly/phly_mustache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phly/phly_mustache/merges","archive_url":"https://api.github.com/repos/phly/phly_mustache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phly/phly_mustache/downloads","issues_url":"https://api.github.com/repos/phly/phly_mustache/issues{/number}","pulls_url":"https://api.github.com/repos/phly/phly_mustache/pulls{/number}","milestones_url":"https://api.github.com/repos/phly/phly_mustache/milestones{/number}","notifications_url":"https://api.github.com/repos/phly/phly_mustache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phly/phly_mustache/labels{/name}","releases_url":"https://api.github.com/repos/phly/phly_mustache/releases{/id}","created_at":"2010-08-29T14:16:15Z","updated_at":"2015-08-27T16:43:21Z","pushed_at":"2015-08-30T17:18:16Z","git_url":"git://github.com/phly/phly_mustache.git","ssh_url":"git@github.com:phly/phly_mustache.git","clone_url":"https://github.com/phly/phly_mustache.git","svn_url":"https://github.com/phly/phly_mustache","homepage":"","size":1246,"stargazers_count":125,"watchers_count":125,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":5,"forks":14,"open_issues":5,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phly/phly_mustache/pulls/33"},"html":{"href":"https://github.com/phly/phly_mustache/pull/33"},"issue":{"href":"https://api.github.com/repos/phly/phly_mustache/issues/33"},"comments":{"href":"https://api.github.com/repos/phly/phly_mustache/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/phly/phly_mustache/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/phly/phly_mustache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phly/phly_mustache/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/phly/phly_mustache/statuses/e2b1fc66803a6f9d851b40be4492badf71439c85"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":14,"additions":812,"deletions":199,"changed_files":23}}