{"action":"opened","number":70,"pull_request":{"url":"https://api.github.com/repos/osuosl/iam/pulls/70","id":70437369,"html_url":"https://github.com/osuosl/iam/pull/70","diff_url":"https://github.com/osuosl/iam/pull/70.diff","patch_url":"https://github.com/osuosl/iam/pull/70.patch","issue_url":"https://api.github.com/repos/osuosl/iam/issues/70","number":70,"state":"open","locked":false,"title":"Initial movement of `routes` methods to `routes/`","user":{"login":"ElijahCaine","id":1897147,"avatar_url":"https://avatars.githubusercontent.com/u/1897147?v=3","gravatar_id":"","url":"https://api.github.com/users/ElijahCaine","html_url":"https://github.com/ElijahCaine","followers_url":"https://api.github.com/users/ElijahCaine/followers","following_url":"https://api.github.com/users/ElijahCaine/following{/other_user}","gists_url":"https://api.github.com/users/ElijahCaine/gists{/gist_id}","starred_url":"https://api.github.com/users/ElijahCaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElijahCaine/subscriptions","organizations_url":"https://api.github.com/users/ElijahCaine/orgs","repos_url":"https://api.github.com/users/ElijahCaine/repos","events_url":"https://api.github.com/users/ElijahCaine/events{/privacy}","received_events_url":"https://api.github.com/users/ElijahCaine/received_events","type":"User","site_admin":false},"body":"<!--\r\n  This is a guideline for what a PR should look like.\r\n  Feel free to modify it to fit your specific needs.\r\n\r\n  Please list the issue this fixes in the PR\r\n-->\r\nfixes issue #69 \r\n\r\n## Changes in this PR.\r\n<!--\r\n  Please include a list of all things this PR will accomplish\r\n  Use the checkbox syntax to show what is done and what is yet to be completed.\r\n  This gives context to the diff.\r\n-->\r\n\r\n- [X] Factor all routes to appropriate `.rb` files in the `routes/` directory.\r\n- [ ] Pass Tests\r\n\r\n## Testing this PR.\r\n<!--\r\n  Please include a list of explicit instructions for testing this PR.\r\n  If the instructions are 'run `make test`' say that,\r\n  If they are more complicated be thorough.\r\n-->\r\n\r\n1. Log into the development environment.\r\n2. `rake spec`\r\n3. Tests *should* pass (They do not pass yet)\r\n\r\n### Expected Output.\r\n<!--\r\n  Please insert either a description of what should happen when testing\r\n  your PR or a code-block with terminal output.\r\n-->\r\n\r\n```\r\n$ rake spec\r\n[... some pases and the following failures: ...]\r\nrspec ./spec/routes/client_spec.rb:31 # The Clients endpoint displays a specific client by id\r\nrspec ./spec/routes/client_spec.rb:42 # The Clients endpoint responds ok when asked for clients/new\r\nrspec ./spec/routes/client_spec.rb:58 # The Clients endpoint allows us to create a new client, then redirects to the list\r\nrspec ./spec/routes/client_spec.rb:73 # The Clients endpoint allows us to edit a client, then redirects to the list\r\nrspec ./spec/routes/client_spec.rb:91 # The Clients endpoint allows us to edit a single client field then redirects to the list\r\n```\r\n\r\n@osuosl/devs ","created_at":"2016-05-17T21:54:29Z","updated_at":"2016-05-17T21:54:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"474c45a8b42f8abbd6c56a7092ccd2dc79c3f351","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osuosl/iam/pulls/70/commits","review_comments_url":"https://api.github.com/repos/osuosl/iam/pulls/70/comments","review_comment_url":"https://api.github.com/repos/osuosl/iam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osuosl/iam/issues/70/comments","statuses_url":"https://api.github.com/repos/osuosl/iam/statuses/e93d81fdae463790ac411637083efb8c1980b3fd","head":{"label":"osuosl:elijah/move-routes","ref":"elijah/move-routes","sha":"e93d81fdae463790ac411637083efb8c1980b3fd","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":50538337,"name":"iam","full_name":"osuosl/iam","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/iam","description":"Invoicing and metrics project","fork":false,"url":"https://api.github.com/repos/osuosl/iam","forks_url":"https://api.github.com/repos/osuosl/iam/forks","keys_url":"https://api.github.com/repos/osuosl/iam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/iam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/iam/teams","hooks_url":"https://api.github.com/repos/osuosl/iam/hooks","issue_events_url":"https://api.github.com/repos/osuosl/iam/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/iam/events","assignees_url":"https://api.github.com/repos/osuosl/iam/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/iam/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/iam/tags","blobs_url":"https://api.github.com/repos/osuosl/iam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/iam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/iam/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/iam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/iam/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/iam/languages","stargazers_url":"https://api.github.com/repos/osuosl/iam/stargazers","contributors_url":"https://api.github.com/repos/osuosl/iam/contributors","subscribers_url":"https://api.github.com/repos/osuosl/iam/subscribers","subscription_url":"https://api.github.com/repos/osuosl/iam/subscription","commits_url":"https://api.github.com/repos/osuosl/iam/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/iam/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/iam/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/iam/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl/iam/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/iam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/iam/merges","archive_url":"https://api.github.com/repos/osuosl/iam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/iam/downloads","issues_url":"https://api.github.com/repos/osuosl/iam/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/iam/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/iam/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/iam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/iam/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/iam/releases{/id}","deployments_url":"https://api.github.com/repos/osuosl/iam/deployments","created_at":"2016-01-27T21:16:08Z","updated_at":"2016-04-12T16:46:08Z","pushed_at":"2016-05-17T21:54:30Z","git_url":"git://github.com/osuosl/iam.git","ssh_url":"git@github.com:osuosl/iam.git","clone_url":"https://github.com/osuosl/iam.git","svn_url":"https://github.com/osuosl/iam","homepage":null,"size":6808,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"develop"}},"base":{"label":"osuosl:develop","ref":"develop","sha":"3e5f927172ef1681d7a67df07c88a79e00908584","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":50538337,"name":"iam","full_name":"osuosl/iam","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/iam","description":"Invoicing and metrics project","fork":false,"url":"https://api.github.com/repos/osuosl/iam","forks_url":"https://api.github.com/repos/osuosl/iam/forks","keys_url":"https://api.github.com/repos/osuosl/iam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/iam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/iam/teams","hooks_url":"https://api.github.com/repos/osuosl/iam/hooks","issue_events_url":"https://api.github.com/repos/osuosl/iam/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/iam/events","assignees_url":"https://api.github.com/repos/osuosl/iam/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/iam/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/iam/tags","blobs_url":"https://api.github.com/repos/osuosl/iam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/iam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/iam/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/iam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/iam/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/iam/languages","stargazers_url":"https://api.github.com/repos/osuosl/iam/stargazers","contributors_url":"https://api.github.com/repos/osuosl/iam/contributors","subscribers_url":"https://api.github.com/repos/osuosl/iam/subscribers","subscription_url":"https://api.github.com/repos/osuosl/iam/subscription","commits_url":"https://api.github.com/repos/osuosl/iam/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/iam/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/iam/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/iam/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl/iam/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/iam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/iam/merges","archive_url":"https://api.github.com/repos/osuosl/iam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/iam/downloads","issues_url":"https://api.github.com/repos/osuosl/iam/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/iam/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/iam/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/iam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/iam/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/iam/releases{/id}","deployments_url":"https://api.github.com/repos/osuosl/iam/deployments","created_at":"2016-01-27T21:16:08Z","updated_at":"2016-04-12T16:46:08Z","pushed_at":"2016-05-17T21:54:30Z","git_url":"git://github.com/osuosl/iam.git","ssh_url":"git@github.com:osuosl/iam.git","clone_url":"https://github.com/osuosl/iam.git","svn_url":"https://github.com/osuosl/iam","homepage":null,"size":6808,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/osuosl/iam/pulls/70"},"html":{"href":"https://github.com/osuosl/iam/pull/70"},"issue":{"href":"https://api.github.com/repos/osuosl/iam/issues/70"},"comments":{"href":"https://api.github.com/repos/osuosl/iam/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/osuosl/iam/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/osuosl/iam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osuosl/iam/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/osuosl/iam/statuses/e93d81fdae463790ac411637083efb8c1980b3fd"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":77,"deletions":72,"changed_files":3}}