{"action":"closed","number":56,"pull_request":{"url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/56","id":33280452,"html_url":"https://github.com/ritstudentgovernment/BikeShare/pull/56","diff_url":"https://github.com/ritstudentgovernment/BikeShare/pull/56.diff","patch_url":"https://github.com/ritstudentgovernment/BikeShare/pull/56.patch","issue_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/56","number":56,"state":"closed","locked":false,"title":"Repository pattern","user":{"login":"NathanCastle","id":5623999,"avatar_url":"https://avatars.githubusercontent.com/u/5623999?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanCastle","html_url":"https://github.com/NathanCastle","followers_url":"https://api.github.com/users/NathanCastle/followers","following_url":"https://api.github.com/users/NathanCastle/following{/other_user}","gists_url":"https://api.github.com/users/NathanCastle/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanCastle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanCastle/subscriptions","organizations_url":"https://api.github.com/users/NathanCastle/orgs","repos_url":"https://api.github.com/users/NathanCastle/repos","events_url":"https://api.github.com/users/NathanCastle/events{/privacy}","received_events_url":"https://api.github.com/users/NathanCastle/received_events","type":"User","site_admin":false},"body":"Preliminary testing shows that this code works. This is a fairly naive\nrefactoring, so another round of refactoring to simplify things in\naddition to just removing the repositories would be useful.","created_at":"2015-04-14T17:29:52Z","updated_at":"2015-04-14T17:34:22Z","closed_at":"2015-04-14T17:34:22Z","merged_at":"2015-04-14T17:34:22Z","merge_commit_sha":"34d3aacc73ac8a826bdbfee2453ef7062a579dbb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/56/commits","review_comments_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/56/comments","review_comment_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/56/comments","statuses_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/statuses/fae76338f556e2f46d5fc1fecc527eb0a7eeff6f","head":{"label":"ritstudentgovernment:repository-pattern","ref":"repository-pattern","sha":"fae76338f556e2f46d5fc1fecc527eb0a7eeff6f","user":{"login":"ritstudentgovernment","id":8528029,"avatar_url":"https://avatars.githubusercontent.com/u/8528029?v=3","gravatar_id":"","url":"https://api.github.com/users/ritstudentgovernment","html_url":"https://github.com/ritstudentgovernment","followers_url":"https://api.github.com/users/ritstudentgovernment/followers","following_url":"https://api.github.com/users/ritstudentgovernment/following{/other_user}","gists_url":"https://api.github.com/users/ritstudentgovernment/gists{/gist_id}","starred_url":"https://api.github.com/users/ritstudentgovernment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritstudentgovernment/subscriptions","organizations_url":"https://api.github.com/users/ritstudentgovernment/orgs","repos_url":"https://api.github.com/users/ritstudentgovernment/repos","events_url":"https://api.github.com/users/ritstudentgovernment/events{/privacy}","received_events_url":"https://api.github.com/users/ritstudentgovernment/received_events","type":"Organization","site_admin":false},"repo":{"id":22044524,"name":"BikeShare","full_name":"ritstudentgovernment/BikeShare","owner":{"login":"ritstudentgovernment","id":8528029,"avatar_url":"https://avatars.githubusercontent.com/u/8528029?v=3","gravatar_id":"","url":"https://api.github.com/users/ritstudentgovernment","html_url":"https://github.com/ritstudentgovernment","followers_url":"https://api.github.com/users/ritstudentgovernment/followers","following_url":"https://api.github.com/users/ritstudentgovernment/following{/other_user}","gists_url":"https://api.github.com/users/ritstudentgovernment/gists{/gist_id}","starred_url":"https://api.github.com/users/ritstudentgovernment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritstudentgovernment/subscriptions","organizations_url":"https://api.github.com/users/ritstudentgovernment/orgs","repos_url":"https://api.github.com/users/ritstudentgovernment/repos","events_url":"https://api.github.com/users/ritstudentgovernment/events{/privacy}","received_events_url":"https://api.github.com/users/ritstudentgovernment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ritstudentgovernment/BikeShare","description":"The official repository for the Open Source Bike Share website.","fork":false,"url":"https://api.github.com/repos/ritstudentgovernment/BikeShare","forks_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/forks","keys_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/teams","hooks_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/hooks","issue_events_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/events{/number}","events_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/events","assignees_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/assignees{/user}","branches_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/branches{/branch}","tags_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/tags","blobs_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/refs{/sha}","trees_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/statuses/{sha}","languages_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/languages","stargazers_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/stargazers","contributors_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/contributors","subscribers_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/subscribers","subscription_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/subscription","commits_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/commits{/sha}","git_commits_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/commits{/sha}","comments_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/comments{/number}","issue_comment_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/comments{/number}","contents_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/contents/{+path}","compare_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/merges","archive_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/downloads","issues_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues{/number}","pulls_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls{/number}","milestones_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/milestones{/number}","notifications_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/labels{/name}","releases_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/releases{/id}","created_at":"2014-07-20T22:04:52Z","updated_at":"2015-04-05T00:59:31Z","pushed_at":"2015-04-14T17:34:22Z","git_url":"git://github.com/ritstudentgovernment/BikeShare.git","ssh_url":"git@github.com:ritstudentgovernment/BikeShare.git","clone_url":"https://github.com/ritstudentgovernment/BikeShare.git","svn_url":"https://github.com/ritstudentgovernment/BikeShare","homepage":null,"size":4333,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"ritstudentgovernment:dev","ref":"dev","sha":"e0b32004700be1f28546349d3a544981c0cdc2ac","user":{"login":"ritstudentgovernment","id":8528029,"avatar_url":"https://avatars.githubusercontent.com/u/8528029?v=3","gravatar_id":"","url":"https://api.github.com/users/ritstudentgovernment","html_url":"https://github.com/ritstudentgovernment","followers_url":"https://api.github.com/users/ritstudentgovernment/followers","following_url":"https://api.github.com/users/ritstudentgovernment/following{/other_user}","gists_url":"https://api.github.com/users/ritstudentgovernment/gists{/gist_id}","starred_url":"https://api.github.com/users/ritstudentgovernment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritstudentgovernment/subscriptions","organizations_url":"https://api.github.com/users/ritstudentgovernment/orgs","repos_url":"https://api.github.com/users/ritstudentgovernment/repos","events_url":"https://api.github.com/users/ritstudentgovernment/events{/privacy}","received_events_url":"https://api.github.com/users/ritstudentgovernment/received_events","type":"Organization","site_admin":false},"repo":{"id":22044524,"name":"BikeShare","full_name":"ritstudentgovernment/BikeShare","owner":{"login":"ritstudentgovernment","id":8528029,"avatar_url":"https://avatars.githubusercontent.com/u/8528029?v=3","gravatar_id":"","url":"https://api.github.com/users/ritstudentgovernment","html_url":"https://github.com/ritstudentgovernment","followers_url":"https://api.github.com/users/ritstudentgovernment/followers","following_url":"https://api.github.com/users/ritstudentgovernment/following{/other_user}","gists_url":"https://api.github.com/users/ritstudentgovernment/gists{/gist_id}","starred_url":"https://api.github.com/users/ritstudentgovernment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritstudentgovernment/subscriptions","organizations_url":"https://api.github.com/users/ritstudentgovernment/orgs","repos_url":"https://api.github.com/users/ritstudentgovernment/repos","events_url":"https://api.github.com/users/ritstudentgovernment/events{/privacy}","received_events_url":"https://api.github.com/users/ritstudentgovernment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ritstudentgovernment/BikeShare","description":"The official repository for the Open Source Bike Share website.","fork":false,"url":"https://api.github.com/repos/ritstudentgovernment/BikeShare","forks_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/forks","keys_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/teams","hooks_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/hooks","issue_events_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/events{/number}","events_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/events","assignees_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/assignees{/user}","branches_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/branches{/branch}","tags_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/tags","blobs_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/refs{/sha}","trees_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/statuses/{sha}","languages_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/languages","stargazers_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/stargazers","contributors_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/contributors","subscribers_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/subscribers","subscription_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/subscription","commits_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/commits{/sha}","git_commits_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/git/commits{/sha}","comments_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/comments{/number}","issue_comment_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/comments{/number}","contents_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/contents/{+path}","compare_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/merges","archive_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/downloads","issues_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues{/number}","pulls_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls{/number}","milestones_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/milestones{/number}","notifications_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/labels{/name}","releases_url":"https://api.github.com/repos/ritstudentgovernment/BikeShare/releases{/id}","created_at":"2014-07-20T22:04:52Z","updated_at":"2015-04-05T00:59:31Z","pushed_at":"2015-04-14T17:34:22Z","git_url":"git://github.com/ritstudentgovernment/BikeShare.git","ssh_url":"git@github.com:ritstudentgovernment/BikeShare.git","clone_url":"https://github.com/ritstudentgovernment/BikeShare.git","svn_url":"https://github.com/ritstudentgovernment/BikeShare","homepage":null,"size":4333,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/56"},"html":{"href":"https://github.com/ritstudentgovernment/BikeShare/pull/56"},"issue":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/56"},"comments":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/ritstudentgovernment/BikeShare/statuses/fae76338f556e2f46d5fc1fecc527eb0a7eeff6f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"NathanCastle","id":5623999,"avatar_url":"https://avatars.githubusercontent.com/u/5623999?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanCastle","html_url":"https://github.com/NathanCastle","followers_url":"https://api.github.com/users/NathanCastle/followers","following_url":"https://api.github.com/users/NathanCastle/following{/other_user}","gists_url":"https://api.github.com/users/NathanCastle/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanCastle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanCastle/subscriptions","organizations_url":"https://api.github.com/users/NathanCastle/orgs","repos_url":"https://api.github.com/users/NathanCastle/repos","events_url":"https://api.github.com/users/NathanCastle/events{/privacy}","received_events_url":"https://api.github.com/users/NathanCastle/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":18106,"deletions":4868,"changed_files":59}}