{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/comments/29041914","id":29041914,"diff_hunk":"@@ -0,0 +1,26 @@\n+# coding: utf-8\n+lib = File.expand_path(\"../lib\", __FILE__)\n+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)\n+require \"drs/auth_client/version\"\n+\n+Gem::Specification.new do |spec|\n+  spec.name          = \"drs-auth_client\"\n+  spec.version       = Drs::AuthClient::VERSION\n+  spec.authors       = [\"Jakub Novotny\"]\n+  spec.email         = [\"novotny.jakub@gmail.com\"]","path":"drs-auth_client/drs-auth_client.gemspec","position":10,"original_position":10,"commit_id":"91b43b21d105d2ddbf3ea6b22ebf0fa384ed5e82","original_commit_id":"91b43b21d105d2ddbf3ea6b22ebf0fa384ed5e82","user":{"login":"novotnyjakub","id":986720,"avatar_url":"https://avatars.githubusercontent.com/u/986720?v=3","gravatar_id":"","url":"https://api.github.com/users/novotnyjakub","html_url":"https://github.com/novotnyjakub","followers_url":"https://api.github.com/users/novotnyjakub/followers","following_url":"https://api.github.com/users/novotnyjakub/following{/other_user}","gists_url":"https://api.github.com/users/novotnyjakub/gists{/gist_id}","starred_url":"https://api.github.com/users/novotnyjakub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novotnyjakub/subscriptions","organizations_url":"https://api.github.com/users/novotnyjakub/orgs","repos_url":"https://api.github.com/users/novotnyjakub/repos","events_url":"https://api.github.com/users/novotnyjakub/events{/privacy}","received_events_url":"https://api.github.com/users/novotnyjakub/received_events","type":"User","site_admin":false},"body":"Good spot, thanks, I generated this using Bundler. ","created_at":"2015-04-24T11:39:59Z","updated_at":"2015-04-24T11:39:59Z","html_url":"https://github.com/ministryofjustice/defence-request-service-auth/pull/56#discussion_r29041914","pull_request_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/comments/29041914"},"html":{"href":"https://github.com/ministryofjustice/defence-request-service-auth/pull/56#discussion_r29041914"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56","id":33961021,"html_url":"https://github.com/ministryofjustice/defence-request-service-auth/pull/56","diff_url":"https://github.com/ministryofjustice/defence-request-service-auth/pull/56.diff","patch_url":"https://github.com/ministryofjustice/defence-request-service-auth/pull/56.patch","issue_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/56","number":56,"state":"open","locked":false,"title":"Introduce api client gem","user":{"login":"novotnyjakub","id":986720,"avatar_url":"https://avatars.githubusercontent.com/u/986720?v=3","gravatar_id":"","url":"https://api.github.com/users/novotnyjakub","html_url":"https://github.com/novotnyjakub","followers_url":"https://api.github.com/users/novotnyjakub/followers","following_url":"https://api.github.com/users/novotnyjakub/following{/other_user}","gists_url":"https://api.github.com/users/novotnyjakub/gists{/gist_id}","starred_url":"https://api.github.com/users/novotnyjakub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novotnyjakub/subscriptions","organizations_url":"https://api.github.com/users/novotnyjakub/orgs","repos_url":"https://api.github.com/users/novotnyjakub/repos","events_url":"https://api.github.com/users/novotnyjakub/events{/privacy}","received_events_url":"https://api.github.com/users/novotnyjakub/received_events","type":"User","site_admin":false},"body":"Basic principle is explained in the Readme, but feel free to ask about arch decisions. ","created_at":"2015-04-23T14:32:37Z","updated_at":"2015-04-24T11:39:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0308fe97709277ac003c9babcd3414c17efdd6a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/56/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/statuses/91b43b21d105d2ddbf3ea6b22ebf0fa384ed5e82","head":{"label":"ministryofjustice:introduce_api_client_rebased","ref":"introduce_api_client_rebased","sha":"91b43b21d105d2ddbf3ea6b22ebf0fa384ed5e82","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":32030127,"name":"defence-request-service-auth","full_name":"ministryofjustice/defence-request-service-auth","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/defence-request-service-auth","description":"DSDS - Defence Solicitor Request Service - Directory Service","fork":false,"url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth","forks_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/forks","keys_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/events","assignees_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/merges","archive_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/releases{/id}","created_at":"2015-03-11T17:03:26Z","updated_at":"2015-04-23T16:08:42Z","pushed_at":"2015-04-24T09:47:59Z","git_url":"git://github.com/ministryofjustice/defence-request-service-auth.git","ssh_url":"git@github.com:ministryofjustice/defence-request-service-auth.git","clone_url":"https://github.com/ministryofjustice/defence-request-service-auth.git","svn_url":"https://github.com/ministryofjustice/defence-request-service-auth","homepage":"","size":1436,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"a228d3bad86e7adce8714155b579bf34eb2310d3","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":32030127,"name":"defence-request-service-auth","full_name":"ministryofjustice/defence-request-service-auth","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/defence-request-service-auth","description":"DSDS - Defence Solicitor Request Service - Directory Service","fork":false,"url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth","forks_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/forks","keys_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/events","assignees_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/merges","archive_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/releases{/id}","created_at":"2015-03-11T17:03:26Z","updated_at":"2015-04-23T16:08:42Z","pushed_at":"2015-04-24T09:47:59Z","git_url":"git://github.com/ministryofjustice/defence-request-service-auth.git","ssh_url":"git@github.com:ministryofjustice/defence-request-service-auth.git","clone_url":"https://github.com/ministryofjustice/defence-request-service-auth.git","svn_url":"https://github.com/ministryofjustice/defence-request-service-auth","homepage":"","size":1436,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56"},"html":{"href":"https://github.com/ministryofjustice/defence-request-service-auth/pull/56"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/56"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/defence-request-service-auth/statuses/91b43b21d105d2ddbf3ea6b22ebf0fa384ed5e82"}}}}