{"action":"created","comment":{"url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/comments/81376166","pull_request_review_id":2362049,"id":81376166,"diff_hunk":"@@ -1,4 +1,21 @@\n class Game < ApplicationRecord\n+  include AASM\n+\n+  aasm :whine_transitions => false do\n+    state :under_review, initial: true\n+    state :rejected\n+    state :unreleased\n+    state :released\n+    state :incompatible\n+\n+    event :approve do\n+      transitions from: [:under_review, :rejected, :incompatible], to: :unreleased\n+    end","path":"app/models/game.rb","position":13,"original_position":13,"commit_id":"82331bb4434accc444e7312dca11f29af4c3c205","original_commit_id":"82331bb4434accc444e7312dca11f29af4c3c205","user":{"login":"whilestevego","id":5523172,"avatar_url":"https://avatars.githubusercontent.com/u/5523172?v=3","gravatar_id":"","url":"https://api.github.com/users/whilestevego","html_url":"https://github.com/whilestevego","followers_url":"https://api.github.com/users/whilestevego/followers","following_url":"https://api.github.com/users/whilestevego/following{/other_user}","gists_url":"https://api.github.com/users/whilestevego/gists{/gist_id}","starred_url":"https://api.github.com/users/whilestevego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whilestevego/subscriptions","organizations_url":"https://api.github.com/users/whilestevego/orgs","repos_url":"https://api.github.com/users/whilestevego/repos","events_url":"https://api.github.com/users/whilestevego/events{/privacy}","received_events_url":"https://api.github.com/users/whilestevego/received_events","type":"User","site_admin":false},"body":"Add an empty line after this `end`","created_at":"2016-09-30T16:52:31Z","updated_at":"2016-09-30T16:54:42Z","html_url":"https://github.com/CodeCoreYVR/indie_arcade/pull/92#discussion_r81376166","pull_request_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92","_links":{"self":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/comments/81376166"},"html":{"href":"https://github.com/CodeCoreYVR/indie_arcade/pull/92#discussion_r81376166"},"pull_request":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92","id":87368253,"html_url":"https://github.com/CodeCoreYVR/indie_arcade/pull/92","diff_url":"https://github.com/CodeCoreYVR/indie_arcade/pull/92.diff","patch_url":"https://github.com/CodeCoreYVR/indie_arcade/pull/92.patch","issue_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/92","number":92,"state":"open","locked":false,"title":"FSM functionality","user":{"login":"mokbeili","id":20523376,"avatar_url":"https://avatars.githubusercontent.com/u/20523376?v=3","gravatar_id":"","url":"https://api.github.com/users/mokbeili","html_url":"https://github.com/mokbeili","followers_url":"https://api.github.com/users/mokbeili/followers","following_url":"https://api.github.com/users/mokbeili/following{/other_user}","gists_url":"https://api.github.com/users/mokbeili/gists{/gist_id}","starred_url":"https://api.github.com/users/mokbeili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokbeili/subscriptions","organizations_url":"https://api.github.com/users/mokbeili/orgs","repos_url":"https://api.github.com/users/mokbeili/repos","events_url":"https://api.github.com/users/mokbeili/events{/privacy}","received_events_url":"https://api.github.com/users/mokbeili/received_events","type":"User","site_admin":false},"body":"- Finalized FSM functionality for admin users. \r\n   . Admins are able to approve/reject games in admin show page. \r\n- Removed byebug from sessions#create.","created_at":"2016-09-29T18:32:46Z","updated_at":"2016-09-30T16:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f70cac987c052878918ad8773a28e91e960ac120","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92/commits","review_comments_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92/comments","review_comment_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/92/comments","statuses_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/statuses/82331bb4434accc444e7312dca11f29af4c3c205","head":{"label":"CodeCoreYVR:FSM_functionality","ref":"FSM_functionality","sha":"82331bb4434accc444e7312dca11f29af4c3c205","user":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"repo":{"id":67845309,"name":"indie_arcade","full_name":"CodeCoreYVR/indie_arcade","owner":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeCoreYVR/indie_arcade","description":null,"fork":false,"url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade","forks_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/forks","keys_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/teams","hooks_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/hooks","issue_events_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/events{/number}","events_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/events","assignees_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/assignees{/user}","branches_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/branches{/branch}","tags_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/tags","blobs_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/languages","stargazers_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/stargazers","contributors_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/contributors","subscribers_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/subscribers","subscription_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/subscription","commits_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/contents/{+path}","compare_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/merges","archive_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/downloads","issues_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues{/number}","pulls_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/labels{/name}","releases_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/releases{/id}","deployments_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/deployments","created_at":"2016-09-10T02:14:33Z","updated_at":"2016-09-27T22:19:58Z","pushed_at":"2016-09-30T16:22:03Z","git_url":"git://github.com/CodeCoreYVR/indie_arcade.git","ssh_url":"git@github.com:CodeCoreYVR/indie_arcade.git","clone_url":"https://github.com/CodeCoreYVR/indie_arcade.git","svn_url":"https://github.com/CodeCoreYVR/indie_arcade","homepage":null,"size":10430,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":2,"default_branch":"integration"}},"base":{"label":"CodeCoreYVR:integration","ref":"integration","sha":"6a1c5717f035f3f9cadebda2106134decc2ae39e","user":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"repo":{"id":67845309,"name":"indie_arcade","full_name":"CodeCoreYVR/indie_arcade","owner":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeCoreYVR/indie_arcade","description":null,"fork":false,"url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade","forks_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/forks","keys_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/teams","hooks_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/hooks","issue_events_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/events{/number}","events_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/events","assignees_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/assignees{/user}","branches_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/branches{/branch}","tags_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/tags","blobs_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/languages","stargazers_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/stargazers","contributors_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/contributors","subscribers_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/subscribers","subscription_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/subscription","commits_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/contents/{+path}","compare_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/merges","archive_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/downloads","issues_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues{/number}","pulls_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/labels{/name}","releases_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/releases{/id}","deployments_url":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/deployments","created_at":"2016-09-10T02:14:33Z","updated_at":"2016-09-27T22:19:58Z","pushed_at":"2016-09-30T16:22:03Z","git_url":"git://github.com/CodeCoreYVR/indie_arcade.git","ssh_url":"git@github.com:CodeCoreYVR/indie_arcade.git","clone_url":"https://github.com/CodeCoreYVR/indie_arcade.git","svn_url":"https://github.com/CodeCoreYVR/indie_arcade","homepage":null,"size":10430,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":2,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92"},"html":{"href":"https://github.com/CodeCoreYVR/indie_arcade/pull/92"},"issue":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/92"},"comments":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/CodeCoreYVR/indie_arcade/statuses/82331bb4434accc444e7312dca11f29af4c3c205"}}}}
{"actor":{"display_login":"whilestevego"}}