{"action":"created","comment":{"url":"https://api.github.com/repos/solidusio/solidus/pulls/comments/74678703","id":74678703,"diff_hunk":"@@ -63,6 +67,13 @@ def load_user_roles\n         end\n       end\n \n+      def valid_token?\n+        begin","path":"api/app/controllers/spree/api/base_controller.rb","position":18,"original_position":18,"commit_id":"951f7f135e75dc869daa56647e116e47b77ebe73","original_commit_id":"951f7f135e75dc869daa56647e116e47b77ebe73","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Redundant `begin` block detected.","created_at":"2016-08-13T01:22:55Z","updated_at":"2016-08-13T01:22:55Z","html_url":"https://github.com/solidusio/solidus/pull/1388#discussion_r74678703","pull_request_url":"https://api.github.com/repos/solidusio/solidus/pulls/1388","_links":{"self":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/comments/74678703"},"html":{"href":"https://github.com/solidusio/solidus/pull/1388#discussion_r74678703"},"pull_request":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1388"}}},"pull_request":{"url":"https://api.github.com/repos/solidusio/solidus/pulls/1388","id":81202986,"html_url":"https://github.com/solidusio/solidus/pull/1388","diff_url":"https://github.com/solidusio/solidus/pull/1388.diff","patch_url":"https://github.com/solidusio/solidus/pull/1388.patch","issue_url":"https://api.github.com/repos/solidusio/solidus/issues/1388","number":1388,"state":"open","locked":false,"title":"Added preference for opting to use json web tokens","user":{"login":"skukx","id":1091314,"avatar_url":"https://avatars.githubusercontent.com/u/1091314?v=3","gravatar_id":"","url":"https://api.github.com/users/skukx","html_url":"https://github.com/skukx","followers_url":"https://api.github.com/users/skukx/followers","following_url":"https://api.github.com/users/skukx/following{/other_user}","gists_url":"https://api.github.com/users/skukx/gists{/gist_id}","starred_url":"https://api.github.com/users/skukx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skukx/subscriptions","organizations_url":"https://api.github.com/users/skukx/orgs","repos_url":"https://api.github.com/users/skukx/repos","events_url":"https://api.github.com/users/skukx/events{/privacy}","received_events_url":"https://api.github.com/users/skukx/received_events","type":"User","site_admin":false},"body":"TODO: Write migration to add column to user for `spree_api_access` then api authentication method to obtain json web token from server.","created_at":"2016-08-13T01:22:51Z","updated_at":"2016-08-13T01:22:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b42a3a608ab1aab55e1f67291482dd518218d81","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/solidusio/solidus/pulls/1388/commits","review_comments_url":"https://api.github.com/repos/solidusio/solidus/pulls/1388/comments","review_comment_url":"https://api.github.com/repos/solidusio/solidus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solidusio/solidus/issues/1388/comments","statuses_url":"https://api.github.com/repos/solidusio/solidus/statuses/951f7f135e75dc869daa56647e116e47b77ebe73","head":{"label":"skukx:jwt","ref":"jwt","sha":"951f7f135e75dc869daa56647e116e47b77ebe73","user":{"login":"skukx","id":1091314,"avatar_url":"https://avatars.githubusercontent.com/u/1091314?v=3","gravatar_id":"","url":"https://api.github.com/users/skukx","html_url":"https://github.com/skukx","followers_url":"https://api.github.com/users/skukx/followers","following_url":"https://api.github.com/users/skukx/following{/other_user}","gists_url":"https://api.github.com/users/skukx/gists{/gist_id}","starred_url":"https://api.github.com/users/skukx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skukx/subscriptions","organizations_url":"https://api.github.com/users/skukx/orgs","repos_url":"https://api.github.com/users/skukx/repos","events_url":"https://api.github.com/users/skukx/events{/privacy}","received_events_url":"https://api.github.com/users/skukx/received_events","type":"User","site_admin":false},"repo":{"id":65418701,"name":"solidus","full_name":"skukx/solidus","owner":{"login":"skukx","id":1091314,"avatar_url":"https://avatars.githubusercontent.com/u/1091314?v=3","gravatar_id":"","url":"https://api.github.com/users/skukx","html_url":"https://github.com/skukx","followers_url":"https://api.github.com/users/skukx/followers","following_url":"https://api.github.com/users/skukx/following{/other_user}","gists_url":"https://api.github.com/users/skukx/gists{/gist_id}","starred_url":"https://api.github.com/users/skukx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skukx/subscriptions","organizations_url":"https://api.github.com/users/skukx/orgs","repos_url":"https://api.github.com/users/skukx/repos","events_url":"https://api.github.com/users/skukx/events{/privacy}","received_events_url":"https://api.github.com/users/skukx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skukx/solidus","description":"Solidus, Rails eCommerce System","fork":true,"url":"https://api.github.com/repos/skukx/solidus","forks_url":"https://api.github.com/repos/skukx/solidus/forks","keys_url":"https://api.github.com/repos/skukx/solidus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skukx/solidus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skukx/solidus/teams","hooks_url":"https://api.github.com/repos/skukx/solidus/hooks","issue_events_url":"https://api.github.com/repos/skukx/solidus/issues/events{/number}","events_url":"https://api.github.com/repos/skukx/solidus/events","assignees_url":"https://api.github.com/repos/skukx/solidus/assignees{/user}","branches_url":"https://api.github.com/repos/skukx/solidus/branches{/branch}","tags_url":"https://api.github.com/repos/skukx/solidus/tags","blobs_url":"https://api.github.com/repos/skukx/solidus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skukx/solidus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skukx/solidus/git/refs{/sha}","trees_url":"https://api.github.com/repos/skukx/solidus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skukx/solidus/statuses/{sha}","languages_url":"https://api.github.com/repos/skukx/solidus/languages","stargazers_url":"https://api.github.com/repos/skukx/solidus/stargazers","contributors_url":"https://api.github.com/repos/skukx/solidus/contributors","subscribers_url":"https://api.github.com/repos/skukx/solidus/subscribers","subscription_url":"https://api.github.com/repos/skukx/solidus/subscription","commits_url":"https://api.github.com/repos/skukx/solidus/commits{/sha}","git_commits_url":"https://api.github.com/repos/skukx/solidus/git/commits{/sha}","comments_url":"https://api.github.com/repos/skukx/solidus/comments{/number}","issue_comment_url":"https://api.github.com/repos/skukx/solidus/issues/comments{/number}","contents_url":"https://api.github.com/repos/skukx/solidus/contents/{+path}","compare_url":"https://api.github.com/repos/skukx/solidus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skukx/solidus/merges","archive_url":"https://api.github.com/repos/skukx/solidus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skukx/solidus/downloads","issues_url":"https://api.github.com/repos/skukx/solidus/issues{/number}","pulls_url":"https://api.github.com/repos/skukx/solidus/pulls{/number}","milestones_url":"https://api.github.com/repos/skukx/solidus/milestones{/number}","notifications_url":"https://api.github.com/repos/skukx/solidus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skukx/solidus/labels{/name}","releases_url":"https://api.github.com/repos/skukx/solidus/releases{/id}","deployments_url":"https://api.github.com/repos/skukx/solidus/deployments","created_at":"2016-08-10T21:48:36Z","updated_at":"2016-08-10T21:48:40Z","pushed_at":"2016-08-13T01:17:40Z","git_url":"git://github.com/skukx/solidus.git","ssh_url":"git@github.com:skukx/solidus.git","clone_url":"https://github.com/skukx/solidus.git","svn_url":"https://github.com/skukx/solidus","homepage":"https://solidus.io/","size":64104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"solidusio:master","ref":"master","sha":"5aa44df116bb88b1ee6feda445fdd5a7b8833aac","user":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"repo":{"id":30985840,"name":"solidus","full_name":"solidusio/solidus","owner":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solidusio/solidus","description":"Solidus, Rails eCommerce System","fork":false,"url":"https://api.github.com/repos/solidusio/solidus","forks_url":"https://api.github.com/repos/solidusio/solidus/forks","keys_url":"https://api.github.com/repos/solidusio/solidus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solidusio/solidus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solidusio/solidus/teams","hooks_url":"https://api.github.com/repos/solidusio/solidus/hooks","issue_events_url":"https://api.github.com/repos/solidusio/solidus/issues/events{/number}","events_url":"https://api.github.com/repos/solidusio/solidus/events","assignees_url":"https://api.github.com/repos/solidusio/solidus/assignees{/user}","branches_url":"https://api.github.com/repos/solidusio/solidus/branches{/branch}","tags_url":"https://api.github.com/repos/solidusio/solidus/tags","blobs_url":"https://api.github.com/repos/solidusio/solidus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solidusio/solidus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solidusio/solidus/git/refs{/sha}","trees_url":"https://api.github.com/repos/solidusio/solidus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solidusio/solidus/statuses/{sha}","languages_url":"https://api.github.com/repos/solidusio/solidus/languages","stargazers_url":"https://api.github.com/repos/solidusio/solidus/stargazers","contributors_url":"https://api.github.com/repos/solidusio/solidus/contributors","subscribers_url":"https://api.github.com/repos/solidusio/solidus/subscribers","subscription_url":"https://api.github.com/repos/solidusio/solidus/subscription","commits_url":"https://api.github.com/repos/solidusio/solidus/commits{/sha}","git_commits_url":"https://api.github.com/repos/solidusio/solidus/git/commits{/sha}","comments_url":"https://api.github.com/repos/solidusio/solidus/comments{/number}","issue_comment_url":"https://api.github.com/repos/solidusio/solidus/issues/comments{/number}","contents_url":"https://api.github.com/repos/solidusio/solidus/contents/{+path}","compare_url":"https://api.github.com/repos/solidusio/solidus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solidusio/solidus/merges","archive_url":"https://api.github.com/repos/solidusio/solidus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solidusio/solidus/downloads","issues_url":"https://api.github.com/repos/solidusio/solidus/issues{/number}","pulls_url":"https://api.github.com/repos/solidusio/solidus/pulls{/number}","milestones_url":"https://api.github.com/repos/solidusio/solidus/milestones{/number}","notifications_url":"https://api.github.com/repos/solidusio/solidus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solidusio/solidus/labels{/name}","releases_url":"https://api.github.com/repos/solidusio/solidus/releases{/id}","deployments_url":"https://api.github.com/repos/solidusio/solidus/deployments","created_at":"2015-02-18T20:41:58Z","updated_at":"2016-08-11T16:04:25Z","pushed_at":"2016-08-13T01:22:51Z","git_url":"git://github.com/solidusio/solidus.git","ssh_url":"git@github.com:solidusio/solidus.git","clone_url":"https://github.com/solidusio/solidus.git","svn_url":"https://github.com/solidusio/solidus","homepage":"https://solidus.io/","size":70535,"stargazers_count":1043,"watchers_count":1043,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":320,"mirror_url":null,"open_issues_count":155,"forks":320,"open_issues":155,"watchers":1043,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1388"},"html":{"href":"https://github.com/solidusio/solidus/pull/1388"},"issue":{"href":"https://api.github.com/repos/solidusio/solidus/issues/1388"},"comments":{"href":"https://api.github.com/repos/solidusio/solidus/issues/1388/comments"},"review_comments":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1388/comments"},"review_comment":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1388/commits"},"statuses":{"href":"https://api.github.com/repos/solidusio/solidus/statuses/951f7f135e75dc869daa56647e116e47b77ebe73"}}}}
{"actor":{"display_login":"houndci-bot"}}