{"action":"closed","number":126,"pull_request":{"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/126","id":55918115,"html_url":"https://github.com/alphagov/hmrc-manuals-api/pull/126","diff_url":"https://github.com/alphagov/hmrc-manuals-api/pull/126.diff","patch_url":"https://github.com/alphagov/hmrc-manuals-api/pull/126.patch","issue_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/126","number":126,"state":"closed","locked":false,"title":"Resolve issue with autoloading `API::UserController`","user":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"body":"Prior to this change, we were experiencing problems with this\r\napplication inflecting `Api` to `API` and thus failing to autoload the\r\n`gds-sso` supplied `API::UserController`.\r\n\r\nRemoving the inflection resolves this issue and the tests remain green.\r\nI did spend some time trying to ascertain whether inflecting `API` was\r\nimportant and didn't find any further evidence within this application.\r\n\r\ncc @jennyd, @benilovj ","created_at":"2016-01-13T16:12:39Z","updated_at":"2016-01-14T17:42:34Z","closed_at":"2016-01-14T17:42:34Z","merged_at":"2016-01-14T17:42:34Z","merge_commit_sha":"e3138e2415109728ca8fe0b60aea33e732e13ea2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/126/commits","review_comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/126/comments","review_comment_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/126/comments","statuses_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/837764d0ccd1fb7e735da2e73a91b5283635780b","head":{"label":"alphagov:fix-gds-sso-api-users-controller","ref":"fix-gds-sso-api-users-controller","sha":"837764d0ccd1fb7e735da2e73a91b5283635780b","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":21388859,"name":"hmrc-manuals-api","full_name":"alphagov/hmrc-manuals-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/hmrc-manuals-api","description":"Provides an API for HMRC to publish manuals to GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api","forks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/forks","keys_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/teams","hooks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/events","assignees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/tags","blobs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscription","commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/merges","archive_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/downloads","issues_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/releases{/id}","created_at":"2014-07-01T13:35:00Z","updated_at":"2016-01-13T11:44:57Z","pushed_at":"2016-01-14T17:42:34Z","git_url":"git://github.com/alphagov/hmrc-manuals-api.git","ssh_url":"git@github.com:alphagov/hmrc-manuals-api.git","clone_url":"https://github.com/alphagov/hmrc-manuals-api.git","svn_url":"https://github.com/alphagov/hmrc-manuals-api","homepage":"https://www.gov.uk/hmrc-internal-manuals/vat-government-and-public-bodies","size":394,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"f5a230dd8584f2ee418dfb8bfdf000dd1640b83d","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":21388859,"name":"hmrc-manuals-api","full_name":"alphagov/hmrc-manuals-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/hmrc-manuals-api","description":"Provides an API for HMRC to publish manuals to GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api","forks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/forks","keys_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/teams","hooks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/events","assignees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/tags","blobs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscription","commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/merges","archive_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/downloads","issues_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/releases{/id}","created_at":"2014-07-01T13:35:00Z","updated_at":"2016-01-13T11:44:57Z","pushed_at":"2016-01-14T17:42:34Z","git_url":"git://github.com/alphagov/hmrc-manuals-api.git","ssh_url":"git@github.com:alphagov/hmrc-manuals-api.git","clone_url":"https://github.com/alphagov/hmrc-manuals-api.git","svn_url":"https://github.com/alphagov/hmrc-manuals-api","homepage":"https://www.gov.uk/hmrc-internal-manuals/vat-government-and-public-bodies","size":394,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/126"},"html":{"href":"https://github.com/alphagov/hmrc-manuals-api/pull/126"},"issue":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/126"},"comments":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/837764d0ccd1fb7e735da2e73a91b5283635780b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"h-lame","id":608,"avatar_url":"https://avatars.githubusercontent.com/u/608?v=3","gravatar_id":"","url":"https://api.github.com/users/h-lame","html_url":"https://github.com/h-lame","followers_url":"https://api.github.com/users/h-lame/followers","following_url":"https://api.github.com/users/h-lame/following{/other_user}","gists_url":"https://api.github.com/users/h-lame/gists{/gist_id}","starred_url":"https://api.github.com/users/h-lame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-lame/subscriptions","organizations_url":"https://api.github.com/users/h-lame/orgs","repos_url":"https://api.github.com/users/h-lame/repos","events_url":"https://api.github.com/users/h-lame/events{/privacy}","received_events_url":"https://api.github.com/users/h-lame/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":1,"additions":0,"deletions":1,"changed_files":1}}