{"action":"closed","number":133,"pull_request":{"url":"https://api.github.com/repos/andersao/l5-repository/pulls/133","id":57744217,"html_url":"https://github.com/andersao/l5-repository/pull/133","diff_url":"https://github.com/andersao/l5-repository/pull/133.diff","patch_url":"https://github.com/andersao/l5-repository/pull/133.patch","issue_url":"https://api.github.com/repos/andersao/l5-repository/issues/133","number":133,"state":"closed","locked":false,"title":"Add support to reset scope","user":{"login":"elliottmb","id":2555214,"avatar_url":"https://avatars.githubusercontent.com/u/2555214?v=3","gravatar_id":"","url":"https://api.github.com/users/elliottmb","html_url":"https://github.com/elliottmb","followers_url":"https://api.github.com/users/elliottmb/followers","following_url":"https://api.github.com/users/elliottmb/following{/other_user}","gists_url":"https://api.github.com/users/elliottmb/gists{/gist_id}","starred_url":"https://api.github.com/users/elliottmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliottmb/subscriptions","organizations_url":"https://api.github.com/users/elliottmb/orgs","repos_url":"https://api.github.com/users/elliottmb/repos","events_url":"https://api.github.com/users/elliottmb/events{/privacy}","received_events_url":"https://api.github.com/users/elliottmb/received_events","type":"User","site_admin":false},"body":"I've been maintaining a few extensions to this project, one of which was resetting criteria and another is resetting scope. I see that the first idea was put forth and merged recently, so I thought I'd create a pull request for my other extension. \r\n\r\nThere are times where my team has been using a base repository instance through a loop and found hard resetting the scope came up a few times while needing to maintain other state. This PR adds support for that to the interface and base implementation. ","created_at":"2016-01-30T17:00:03Z","updated_at":"2016-04-01T14:03:54Z","closed_at":"2016-04-01T14:03:54Z","merged_at":"2016-04-01T14:03:54Z","merge_commit_sha":"3b6e9a006a2406c7a2ca1ee7a96588bbbe7a0ea8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andersao/l5-repository/pulls/133/commits","review_comments_url":"https://api.github.com/repos/andersao/l5-repository/pulls/133/comments","review_comment_url":"https://api.github.com/repos/andersao/l5-repository/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andersao/l5-repository/issues/133/comments","statuses_url":"https://api.github.com/repos/andersao/l5-repository/statuses/394642d9d64b3df1350addbdc604c6ca605c80b8","head":{"label":"elliottmb:master","ref":"master","sha":"394642d9d64b3df1350addbdc604c6ca605c80b8","user":{"login":"elliottmb","id":2555214,"avatar_url":"https://avatars.githubusercontent.com/u/2555214?v=3","gravatar_id":"","url":"https://api.github.com/users/elliottmb","html_url":"https://github.com/elliottmb","followers_url":"https://api.github.com/users/elliottmb/followers","following_url":"https://api.github.com/users/elliottmb/following{/other_user}","gists_url":"https://api.github.com/users/elliottmb/gists{/gist_id}","starred_url":"https://api.github.com/users/elliottmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliottmb/subscriptions","organizations_url":"https://api.github.com/users/elliottmb/orgs","repos_url":"https://api.github.com/users/elliottmb/repos","events_url":"https://api.github.com/users/elliottmb/events{/privacy}","received_events_url":"https://api.github.com/users/elliottmb/received_events","type":"User","site_admin":false},"repo":{"id":50733985,"name":"l5-repository","full_name":"elliottmb/l5-repository","owner":{"login":"elliottmb","id":2555214,"avatar_url":"https://avatars.githubusercontent.com/u/2555214?v=3","gravatar_id":"","url":"https://api.github.com/users/elliottmb","html_url":"https://github.com/elliottmb","followers_url":"https://api.github.com/users/elliottmb/followers","following_url":"https://api.github.com/users/elliottmb/following{/other_user}","gists_url":"https://api.github.com/users/elliottmb/gists{/gist_id}","starred_url":"https://api.github.com/users/elliottmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliottmb/subscriptions","organizations_url":"https://api.github.com/users/elliottmb/orgs","repos_url":"https://api.github.com/users/elliottmb/repos","events_url":"https://api.github.com/users/elliottmb/events{/privacy}","received_events_url":"https://api.github.com/users/elliottmb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elliottmb/l5-repository","description":"Laravel 5 - Repositories to abstract the database layer","fork":true,"url":"https://api.github.com/repos/elliottmb/l5-repository","forks_url":"https://api.github.com/repos/elliottmb/l5-repository/forks","keys_url":"https://api.github.com/repos/elliottmb/l5-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elliottmb/l5-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elliottmb/l5-repository/teams","hooks_url":"https://api.github.com/repos/elliottmb/l5-repository/hooks","issue_events_url":"https://api.github.com/repos/elliottmb/l5-repository/issues/events{/number}","events_url":"https://api.github.com/repos/elliottmb/l5-repository/events","assignees_url":"https://api.github.com/repos/elliottmb/l5-repository/assignees{/user}","branches_url":"https://api.github.com/repos/elliottmb/l5-repository/branches{/branch}","tags_url":"https://api.github.com/repos/elliottmb/l5-repository/tags","blobs_url":"https://api.github.com/repos/elliottmb/l5-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elliottmb/l5-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elliottmb/l5-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/elliottmb/l5-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elliottmb/l5-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/elliottmb/l5-repository/languages","stargazers_url":"https://api.github.com/repos/elliottmb/l5-repository/stargazers","contributors_url":"https://api.github.com/repos/elliottmb/l5-repository/contributors","subscribers_url":"https://api.github.com/repos/elliottmb/l5-repository/subscribers","subscription_url":"https://api.github.com/repos/elliottmb/l5-repository/subscription","commits_url":"https://api.github.com/repos/elliottmb/l5-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/elliottmb/l5-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/elliottmb/l5-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/elliottmb/l5-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/elliottmb/l5-repository/contents/{+path}","compare_url":"https://api.github.com/repos/elliottmb/l5-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elliottmb/l5-repository/merges","archive_url":"https://api.github.com/repos/elliottmb/l5-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elliottmb/l5-repository/downloads","issues_url":"https://api.github.com/repos/elliottmb/l5-repository/issues{/number}","pulls_url":"https://api.github.com/repos/elliottmb/l5-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/elliottmb/l5-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/elliottmb/l5-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elliottmb/l5-repository/labels{/name}","releases_url":"https://api.github.com/repos/elliottmb/l5-repository/releases{/id}","deployments_url":"https://api.github.com/repos/elliottmb/l5-repository/deployments","created_at":"2016-01-30T16:47:54Z","updated_at":"2016-01-30T16:47:55Z","pushed_at":"2016-01-30T16:55:56Z","git_url":"git://github.com/elliottmb/l5-repository.git","ssh_url":"git@github.com:elliottmb/l5-repository.git","clone_url":"https://github.com/elliottmb/l5-repository.git","svn_url":"https://github.com/elliottmb/l5-repository","homepage":null,"size":237,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"andersao:master","ref":"master","sha":"e5f26527630da581b05d206b12cb06df73214488","user":{"login":"andersao","id":1131667,"avatar_url":"https://avatars.githubusercontent.com/u/1131667?v=3","gravatar_id":"","url":"https://api.github.com/users/andersao","html_url":"https://github.com/andersao","followers_url":"https://api.github.com/users/andersao/followers","following_url":"https://api.github.com/users/andersao/following{/other_user}","gists_url":"https://api.github.com/users/andersao/gists{/gist_id}","starred_url":"https://api.github.com/users/andersao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersao/subscriptions","organizations_url":"https://api.github.com/users/andersao/orgs","repos_url":"https://api.github.com/users/andersao/repos","events_url":"https://api.github.com/users/andersao/events{/privacy}","received_events_url":"https://api.github.com/users/andersao/received_events","type":"User","site_admin":false},"repo":{"id":30713379,"name":"l5-repository","full_name":"andersao/l5-repository","owner":{"login":"andersao","id":1131667,"avatar_url":"https://avatars.githubusercontent.com/u/1131667?v=3","gravatar_id":"","url":"https://api.github.com/users/andersao","html_url":"https://github.com/andersao","followers_url":"https://api.github.com/users/andersao/followers","following_url":"https://api.github.com/users/andersao/following{/other_user}","gists_url":"https://api.github.com/users/andersao/gists{/gist_id}","starred_url":"https://api.github.com/users/andersao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersao/subscriptions","organizations_url":"https://api.github.com/users/andersao/orgs","repos_url":"https://api.github.com/users/andersao/repos","events_url":"https://api.github.com/users/andersao/events{/privacy}","received_events_url":"https://api.github.com/users/andersao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andersao/l5-repository","description":"Laravel 5 - Repositories to abstract the database layer","fork":false,"url":"https://api.github.com/repos/andersao/l5-repository","forks_url":"https://api.github.com/repos/andersao/l5-repository/forks","keys_url":"https://api.github.com/repos/andersao/l5-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andersao/l5-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andersao/l5-repository/teams","hooks_url":"https://api.github.com/repos/andersao/l5-repository/hooks","issue_events_url":"https://api.github.com/repos/andersao/l5-repository/issues/events{/number}","events_url":"https://api.github.com/repos/andersao/l5-repository/events","assignees_url":"https://api.github.com/repos/andersao/l5-repository/assignees{/user}","branches_url":"https://api.github.com/repos/andersao/l5-repository/branches{/branch}","tags_url":"https://api.github.com/repos/andersao/l5-repository/tags","blobs_url":"https://api.github.com/repos/andersao/l5-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andersao/l5-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andersao/l5-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/andersao/l5-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andersao/l5-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/andersao/l5-repository/languages","stargazers_url":"https://api.github.com/repos/andersao/l5-repository/stargazers","contributors_url":"https://api.github.com/repos/andersao/l5-repository/contributors","subscribers_url":"https://api.github.com/repos/andersao/l5-repository/subscribers","subscription_url":"https://api.github.com/repos/andersao/l5-repository/subscription","commits_url":"https://api.github.com/repos/andersao/l5-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/andersao/l5-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/andersao/l5-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/andersao/l5-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/andersao/l5-repository/contents/{+path}","compare_url":"https://api.github.com/repos/andersao/l5-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andersao/l5-repository/merges","archive_url":"https://api.github.com/repos/andersao/l5-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andersao/l5-repository/downloads","issues_url":"https://api.github.com/repos/andersao/l5-repository/issues{/number}","pulls_url":"https://api.github.com/repos/andersao/l5-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/andersao/l5-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/andersao/l5-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andersao/l5-repository/labels{/name}","releases_url":"https://api.github.com/repos/andersao/l5-repository/releases{/id}","deployments_url":"https://api.github.com/repos/andersao/l5-repository/deployments","created_at":"2015-02-12T17:07:54Z","updated_at":"2016-03-31T07:57:14Z","pushed_at":"2016-04-01T14:03:54Z","git_url":"git://github.com/andersao/l5-repository.git","ssh_url":"git@github.com:andersao/l5-repository.git","clone_url":"https://github.com/andersao/l5-repository.git","svn_url":"https://github.com/andersao/l5-repository","homepage":null,"size":430,"stargazers_count":626,"watchers_count":626,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":63,"forks":118,"open_issues":63,"watchers":626,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andersao/l5-repository/pulls/133"},"html":{"href":"https://github.com/andersao/l5-repository/pull/133"},"issue":{"href":"https://api.github.com/repos/andersao/l5-repository/issues/133"},"comments":{"href":"https://api.github.com/repos/andersao/l5-repository/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/andersao/l5-repository/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/andersao/l5-repository/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andersao/l5-repository/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/andersao/l5-repository/statuses/394642d9d64b3df1350addbdc604c6ca605c80b8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ionut-tanasa","id":3482283,"avatar_url":"https://avatars.githubusercontent.com/u/3482283?v=3","gravatar_id":"","url":"https://api.github.com/users/ionut-tanasa","html_url":"https://github.com/ionut-tanasa","followers_url":"https://api.github.com/users/ionut-tanasa/followers","following_url":"https://api.github.com/users/ionut-tanasa/following{/other_user}","gists_url":"https://api.github.com/users/ionut-tanasa/gists{/gist_id}","starred_url":"https://api.github.com/users/ionut-tanasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionut-tanasa/subscriptions","organizations_url":"https://api.github.com/users/ionut-tanasa/orgs","repos_url":"https://api.github.com/users/ionut-tanasa/repos","events_url":"https://api.github.com/users/ionut-tanasa/events{/privacy}","received_events_url":"https://api.github.com/users/ionut-tanasa/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":18,"deletions":0,"changed_files":2}}