{"action":"created","comment":{"url":"https://api.github.com/repos/eve-cq/cq.auth/pulls/comments/220296506","pull_request_review_id":158672348,"id":220296506,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDI5NjUwNg==","diff_hunk":"@@ -0,0 +1,30 @@\n+# frozen_string_literal: true\n+\n+# == Schema Information\n+#\n+# Table name: applications\n+#\n+#  id         :uuid             not null, primary key\n+#  name       :string           not null\n+#  esi_id     :string           not null\n+#  esi_secret :string           not null\n+#  created_at :datetime         not null\n+#  updated_at :datetime         not null\n+#\n+# Indexes\n+#\n+#  index_applications_on_esi_id_and_esi_secret  (esi_id,esi_secret) UNIQUE\n+#\n+\n+class Application < ApplicationRecord\n+  has_many :versions, class_name: 'ApplicationVersion', dependent: :destroy\n+  has_many :clients, through: :versions\n+\n+  validates :name, presence: true, uniqueness: { case_sensitive: false }\n+  validates :esi_id, presence: true, uniqueness: { scope: %i[esi_secret] }","path":"app/models/application.rb","position":24,"original_position":24,"commit_id":"e4d1dc227391792ce19268d2c7dcebada6be41e2","original_commit_id":"e4d1dc227391792ce19268d2c7dcebada6be41e2","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"unexpected token error","created_at":"2018-09-25T18:03:42Z","updated_at":"2018-09-25T18:03:42Z","html_url":"https://github.com/eve-cq/cq.auth/pull/3#discussion_r220296506","pull_request_url":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/eve-cq/cq.auth/pulls/comments/220296506"},"html":{"href":"https://github.com/eve-cq/cq.auth/pull/3#discussion_r220296506"},"pull_request":{"href":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3","id":218067760,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDY3NzYw","html_url":"https://github.com/eve-cq/cq.auth/pull/3","diff_url":"https://github.com/eve-cq/cq.auth/pull/3.diff","patch_url":"https://github.com/eve-cq/cq.auth/pull/3.patch","issue_url":"https://api.github.com/repos/eve-cq/cq.auth/issues/3","number":3,"state":"open","locked":false,"title":"created client application models and endpoints","user":{"login":"aaronmallen","id":931094,"node_id":"MDQ6VXNlcjkzMTA5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/931094?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronmallen","html_url":"https://github.com/aaronmallen","followers_url":"https://api.github.com/users/aaronmallen/followers","following_url":"https://api.github.com/users/aaronmallen/following{/other_user}","gists_url":"https://api.github.com/users/aaronmallen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronmallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronmallen/subscriptions","organizations_url":"https://api.github.com/users/aaronmallen/orgs","repos_url":"https://api.github.com/users/aaronmallen/repos","events_url":"https://api.github.com/users/aaronmallen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronmallen/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\n<!-- Summarize the pull request -->\r\nAdded application and client models and endpoints\r\n\r\n<!-- please include the relevant issue -->\r\n<!-- replace \"action\" with one of the github keywords to relate the issue -->\r\n\r\n\r\n## Information\r\n- [x] Contains Documentation\r\n- [x] Contains Tests\r\n- [ ] Contains Breaking Changes\r\n\r\n## Changelog\r\n<!-- What is the PR changelog? -->\r\n<!-- Follow the guidelines set by https://keepachangelog.com/en/1.0.0/ -->\r\n<!-- Remove any irrelevant sections -->\r\n\r\n### Added\r\n\r\n* `Application`\r\n* `ApplicationVersion`\r\n* `Client`\r\n* `V1::ClientController`","created_at":"2018-09-25T17:56:58Z","updated_at":"2018-09-25T18:03:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0119797f4811ae930e6dd6fdf8161e722a6622fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1052232160,"node_id":"MDU6TGFiZWwxMDUyMjMyMTYw","url":"https://api.github.com/repos/eve-cq/cq.auth/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":{"url":"https://api.github.com/repos/eve-cq/cq.auth/milestones/1","html_url":"https://github.com/eve-cq/cq.auth/milestone/1","labels_url":"https://api.github.com/repos/eve-cq/cq.auth/milestones/1/labels","id":3687897,"node_id":"MDk6TWlsZXN0b25lMzY4Nzg5Nw==","number":1,"title":"0.1.0-alpha.1","description":null,"creator":{"login":"aaronmallen","id":931094,"node_id":"MDQ6VXNlcjkzMTA5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/931094?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronmallen","html_url":"https://github.com/aaronmallen","followers_url":"https://api.github.com/users/aaronmallen/followers","following_url":"https://api.github.com/users/aaronmallen/following{/other_user}","gists_url":"https://api.github.com/users/aaronmallen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronmallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronmallen/subscriptions","organizations_url":"https://api.github.com/users/aaronmallen/orgs","repos_url":"https://api.github.com/users/aaronmallen/repos","events_url":"https://api.github.com/users/aaronmallen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronmallen/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2018-09-25T17:05:31Z","updated_at":"2018-09-25T17:56:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3/commits","review_comments_url":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3/comments","review_comment_url":"https://api.github.com/repos/eve-cq/cq.auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eve-cq/cq.auth/issues/3/comments","statuses_url":"https://api.github.com/repos/eve-cq/cq.auth/statuses/e4d1dc227391792ce19268d2c7dcebada6be41e2","head":{"label":"eve-cq:feature/clients","ref":"feature/clients","sha":"e4d1dc227391792ce19268d2c7dcebada6be41e2","user":{"login":"eve-cq","id":39608838,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NjA4ODM4","avatar_url":"https://avatars3.githubusercontent.com/u/39608838?v=4","gravatar_id":"","url":"https://api.github.com/users/eve-cq","html_url":"https://github.com/eve-cq","followers_url":"https://api.github.com/users/eve-cq/followers","following_url":"https://api.github.com/users/eve-cq/following{/other_user}","gists_url":"https://api.github.com/users/eve-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/eve-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eve-cq/subscriptions","organizations_url":"https://api.github.com/users/eve-cq/orgs","repos_url":"https://api.github.com/users/eve-cq/repos","events_url":"https://api.github.com/users/eve-cq/events{/privacy}","received_events_url":"https://api.github.com/users/eve-cq/received_events","type":"Organization","site_admin":false},"repo":{"id":148214160,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTQxNjA=","name":"cq.auth","full_name":"eve-cq/cq.auth","private":false,"owner":{"login":"eve-cq","id":39608838,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NjA4ODM4","avatar_url":"https://avatars3.githubusercontent.com/u/39608838?v=4","gravatar_id":"","url":"https://api.github.com/users/eve-cq","html_url":"https://github.com/eve-cq","followers_url":"https://api.github.com/users/eve-cq/followers","following_url":"https://api.github.com/users/eve-cq/following{/other_user}","gists_url":"https://api.github.com/users/eve-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/eve-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eve-cq/subscriptions","organizations_url":"https://api.github.com/users/eve-cq/orgs","repos_url":"https://api.github.com/users/eve-cq/repos","events_url":"https://api.github.com/users/eve-cq/events{/privacy}","received_events_url":"https://api.github.com/users/eve-cq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eve-cq/cq.auth","description":"An authorization service for Eve CQ","fork":false,"url":"https://api.github.com/repos/eve-cq/cq.auth","forks_url":"https://api.github.com/repos/eve-cq/cq.auth/forks","keys_url":"https://api.github.com/repos/eve-cq/cq.auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eve-cq/cq.auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eve-cq/cq.auth/teams","hooks_url":"https://api.github.com/repos/eve-cq/cq.auth/hooks","issue_events_url":"https://api.github.com/repos/eve-cq/cq.auth/issues/events{/number}","events_url":"https://api.github.com/repos/eve-cq/cq.auth/events","assignees_url":"https://api.github.com/repos/eve-cq/cq.auth/assignees{/user}","branches_url":"https://api.github.com/repos/eve-cq/cq.auth/branches{/branch}","tags_url":"https://api.github.com/repos/eve-cq/cq.auth/tags","blobs_url":"https://api.github.com/repos/eve-cq/cq.auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eve-cq/cq.auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eve-cq/cq.auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/eve-cq/cq.auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eve-cq/cq.auth/statuses/{sha}","languages_url":"https://api.github.com/repos/eve-cq/cq.auth/languages","stargazers_url":"https://api.github.com/repos/eve-cq/cq.auth/stargazers","contributors_url":"https://api.github.com/repos/eve-cq/cq.auth/contributors","subscribers_url":"https://api.github.com/repos/eve-cq/cq.auth/subscribers","subscription_url":"https://api.github.com/repos/eve-cq/cq.auth/subscription","commits_url":"https://api.github.com/repos/eve-cq/cq.auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/eve-cq/cq.auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/eve-cq/cq.auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/eve-cq/cq.auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/eve-cq/cq.auth/contents/{+path}","compare_url":"https://api.github.com/repos/eve-cq/cq.auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eve-cq/cq.auth/merges","archive_url":"https://api.github.com/repos/eve-cq/cq.auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eve-cq/cq.auth/downloads","issues_url":"https://api.github.com/repos/eve-cq/cq.auth/issues{/number}","pulls_url":"https://api.github.com/repos/eve-cq/cq.auth/pulls{/number}","milestones_url":"https://api.github.com/repos/eve-cq/cq.auth/milestones{/number}","notifications_url":"https://api.github.com/repos/eve-cq/cq.auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eve-cq/cq.auth/labels{/name}","releases_url":"https://api.github.com/repos/eve-cq/cq.auth/releases{/id}","deployments_url":"https://api.github.com/repos/eve-cq/cq.auth/deployments","created_at":"2018-09-10T20:21:15Z","updated_at":"2018-09-10T20:21:17Z","pushed_at":"2018-09-25T18:03:05Z","git_url":"git://github.com/eve-cq/cq.auth.git","ssh_url":"git@github.com:eve-cq/cq.auth.git","clone_url":"https://github.com/eve-cq/cq.auth.git","svn_url":"https://github.com/eve-cq/cq.auth","homepage":null,"size":103,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"eve-cq:alpha-0-1","ref":"alpha-0-1","sha":"68fe727aa406d31aad3517d4d0a4fd51e80fa8f1","user":{"login":"eve-cq","id":39608838,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NjA4ODM4","avatar_url":"https://avatars3.githubusercontent.com/u/39608838?v=4","gravatar_id":"","url":"https://api.github.com/users/eve-cq","html_url":"https://github.com/eve-cq","followers_url":"https://api.github.com/users/eve-cq/followers","following_url":"https://api.github.com/users/eve-cq/following{/other_user}","gists_url":"https://api.github.com/users/eve-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/eve-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eve-cq/subscriptions","organizations_url":"https://api.github.com/users/eve-cq/orgs","repos_url":"https://api.github.com/users/eve-cq/repos","events_url":"https://api.github.com/users/eve-cq/events{/privacy}","received_events_url":"https://api.github.com/users/eve-cq/received_events","type":"Organization","site_admin":false},"repo":{"id":148214160,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTQxNjA=","name":"cq.auth","full_name":"eve-cq/cq.auth","private":false,"owner":{"login":"eve-cq","id":39608838,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NjA4ODM4","avatar_url":"https://avatars3.githubusercontent.com/u/39608838?v=4","gravatar_id":"","url":"https://api.github.com/users/eve-cq","html_url":"https://github.com/eve-cq","followers_url":"https://api.github.com/users/eve-cq/followers","following_url":"https://api.github.com/users/eve-cq/following{/other_user}","gists_url":"https://api.github.com/users/eve-cq/gists{/gist_id}","starred_url":"https://api.github.com/users/eve-cq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eve-cq/subscriptions","organizations_url":"https://api.github.com/users/eve-cq/orgs","repos_url":"https://api.github.com/users/eve-cq/repos","events_url":"https://api.github.com/users/eve-cq/events{/privacy}","received_events_url":"https://api.github.com/users/eve-cq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eve-cq/cq.auth","description":"An authorization service for Eve CQ","fork":false,"url":"https://api.github.com/repos/eve-cq/cq.auth","forks_url":"https://api.github.com/repos/eve-cq/cq.auth/forks","keys_url":"https://api.github.com/repos/eve-cq/cq.auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eve-cq/cq.auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eve-cq/cq.auth/teams","hooks_url":"https://api.github.com/repos/eve-cq/cq.auth/hooks","issue_events_url":"https://api.github.com/repos/eve-cq/cq.auth/issues/events{/number}","events_url":"https://api.github.com/repos/eve-cq/cq.auth/events","assignees_url":"https://api.github.com/repos/eve-cq/cq.auth/assignees{/user}","branches_url":"https://api.github.com/repos/eve-cq/cq.auth/branches{/branch}","tags_url":"https://api.github.com/repos/eve-cq/cq.auth/tags","blobs_url":"https://api.github.com/repos/eve-cq/cq.auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eve-cq/cq.auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eve-cq/cq.auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/eve-cq/cq.auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eve-cq/cq.auth/statuses/{sha}","languages_url":"https://api.github.com/repos/eve-cq/cq.auth/languages","stargazers_url":"https://api.github.com/repos/eve-cq/cq.auth/stargazers","contributors_url":"https://api.github.com/repos/eve-cq/cq.auth/contributors","subscribers_url":"https://api.github.com/repos/eve-cq/cq.auth/subscribers","subscription_url":"https://api.github.com/repos/eve-cq/cq.auth/subscription","commits_url":"https://api.github.com/repos/eve-cq/cq.auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/eve-cq/cq.auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/eve-cq/cq.auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/eve-cq/cq.auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/eve-cq/cq.auth/contents/{+path}","compare_url":"https://api.github.com/repos/eve-cq/cq.auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eve-cq/cq.auth/merges","archive_url":"https://api.github.com/repos/eve-cq/cq.auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eve-cq/cq.auth/downloads","issues_url":"https://api.github.com/repos/eve-cq/cq.auth/issues{/number}","pulls_url":"https://api.github.com/repos/eve-cq/cq.auth/pulls{/number}","milestones_url":"https://api.github.com/repos/eve-cq/cq.auth/milestones{/number}","notifications_url":"https://api.github.com/repos/eve-cq/cq.auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eve-cq/cq.auth/labels{/name}","releases_url":"https://api.github.com/repos/eve-cq/cq.auth/releases{/id}","deployments_url":"https://api.github.com/repos/eve-cq/cq.auth/deployments","created_at":"2018-09-10T20:21:15Z","updated_at":"2018-09-10T20:21:17Z","pushed_at":"2018-09-25T18:03:05Z","git_url":"git://github.com/eve-cq/cq.auth.git","ssh_url":"git@github.com:eve-cq/cq.auth.git","clone_url":"https://github.com/eve-cq/cq.auth.git","svn_url":"https://github.com/eve-cq/cq.auth","homepage":null,"size":103,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3"},"html":{"href":"https://github.com/eve-cq/cq.auth/pull/3"},"issue":{"href":"https://api.github.com/repos/eve-cq/cq.auth/issues/3"},"comments":{"href":"https://api.github.com/repos/eve-cq/cq.auth/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/eve-cq/cq.auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eve-cq/cq.auth/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/eve-cq/cq.auth/statuses/e4d1dc227391792ce19268d2c7dcebada6be41e2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codeclimate"}}