{"action":"created","comment":{"url":"https://api.github.com/repos/cmpt276G13/project2016/pulls/comments/55776749","id":55776749,"diff_hunk":"@@ -66,19 +66,14 @@\n     t.string   \"name\"\n     t.text     \"description\"\n     t.integer  \"level_req\"\n-    t.datetime \"created_at\",  null: false\n-    t.datetime \"updated_at\",  null: false\n-    t.text     \"pre_req\"\n-    t.text     \"other_req\"\n+    t.datetime \"created_at\",                       null: false\n+    t.datetime \"updated_at\",                       null: false\n+    t.text     \"rewards\",     default: \"--- {}\\n\"\n+    t.string   \"type\"\n+    t.text     \"target\",      default: \"--- {}\\n\"","path":"db/schema.rb","position":45,"original_position":45,"commit_id":"512f3a2c2ecd28d52784deff48c3025bc682d392","original_commit_id":"512f3a2c2ecd28d52784deff48c3025bc682d392","user":{"login":"masamim","id":9517086,"avatar_url":"https://avatars.githubusercontent.com/u/9517086?v=3","gravatar_id":"","url":"https://api.github.com/users/masamim","html_url":"https://github.com/masamim","followers_url":"https://api.github.com/users/masamim/followers","following_url":"https://api.github.com/users/masamim/following{/other_user}","gists_url":"https://api.github.com/users/masamim/gists{/gist_id}","starred_url":"https://api.github.com/users/masamim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masamim/subscriptions","organizations_url":"https://api.github.com/users/masamim/orgs","repos_url":"https://api.github.com/users/masamim/repos","events_url":"https://api.github.com/users/masamim/events{/privacy}","received_events_url":"https://api.github.com/users/masamim/received_events","type":"User","site_admin":false},"body":"@Irelevance I created some fields in the quests for rewards, type, and target. Currently, I only have two types: \"KillQuest\" and \"GatherQuest\" For the rewards and the target, there is an example in the db/seeds.rb that utilizes this.","created_at":"2016-03-11T01:10:28Z","updated_at":"2016-03-11T01:10:28Z","html_url":"https://github.com/cmpt276G13/project2016/pull/2#discussion_r55776749","pull_request_url":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/cmpt276G13/project2016/pulls/comments/55776749"},"html":{"href":"https://github.com/cmpt276G13/project2016/pull/2#discussion_r55776749"},"pull_request":{"href":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2","id":62191084,"html_url":"https://github.com/cmpt276G13/project2016/pull/2","diff_url":"https://github.com/cmpt276G13/project2016/pull/2.diff","patch_url":"https://github.com/cmpt276G13/project2016/pull/2.patch","issue_url":"https://api.github.com/repos/cmpt276G13/project2016/issues/2","number":2,"state":"open","locked":false,"title":"Quest Requirements","user":{"login":"masamim","id":9517086,"avatar_url":"https://avatars.githubusercontent.com/u/9517086?v=3","gravatar_id":"","url":"https://api.github.com/users/masamim","html_url":"https://github.com/masamim","followers_url":"https://api.github.com/users/masamim/followers","following_url":"https://api.github.com/users/masamim/following{/other_user}","gists_url":"https://api.github.com/users/masamim/gists{/gist_id}","starred_url":"https://api.github.com/users/masamim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masamim/subscriptions","organizations_url":"https://api.github.com/users/masamim/orgs","repos_url":"https://api.github.com/users/masamim/repos","events_url":"https://api.github.com/users/masamim/events{/privacy}","received_events_url":"https://api.github.com/users/masamim/received_events","type":"User","site_admin":false},"body":"Basically just changed player.rb to include a class method to determine whether completed quests are in the requirements. I also changed the view so that quests that the players don't have the requirements for will not be seen by the users. Currently there is no way to visually test this, since we cannot complete quests, yet.","created_at":"2016-03-09T07:50:08Z","updated_at":"2016-03-11T01:10:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8128ccdd4a923a92629b928afbd461e26c77270","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2/commits","review_comments_url":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2/comments","review_comment_url":"https://api.github.com/repos/cmpt276G13/project2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmpt276G13/project2016/issues/2/comments","statuses_url":"https://api.github.com/repos/cmpt276G13/project2016/statuses/512f3a2c2ecd28d52784deff48c3025bc682d392","head":{"label":"cmpt276G13:quests","ref":"quests","sha":"512f3a2c2ecd28d52784deff48c3025bc682d392","user":{"login":"cmpt276G13","id":17012360,"avatar_url":"https://avatars.githubusercontent.com/u/17012360?v=3","gravatar_id":"","url":"https://api.github.com/users/cmpt276G13","html_url":"https://github.com/cmpt276G13","followers_url":"https://api.github.com/users/cmpt276G13/followers","following_url":"https://api.github.com/users/cmpt276G13/following{/other_user}","gists_url":"https://api.github.com/users/cmpt276G13/gists{/gist_id}","starred_url":"https://api.github.com/users/cmpt276G13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmpt276G13/subscriptions","organizations_url":"https://api.github.com/users/cmpt276G13/orgs","repos_url":"https://api.github.com/users/cmpt276G13/repos","events_url":"https://api.github.com/users/cmpt276G13/events{/privacy}","received_events_url":"https://api.github.com/users/cmpt276G13/received_events","type":"User","site_admin":false},"repo":{"id":50865610,"name":"project2016","full_name":"cmpt276G13/project2016","owner":{"login":"cmpt276G13","id":17012360,"avatar_url":"https://avatars.githubusercontent.com/u/17012360?v=3","gravatar_id":"","url":"https://api.github.com/users/cmpt276G13","html_url":"https://github.com/cmpt276G13","followers_url":"https://api.github.com/users/cmpt276G13/followers","following_url":"https://api.github.com/users/cmpt276G13/following{/other_user}","gists_url":"https://api.github.com/users/cmpt276G13/gists{/gist_id}","starred_url":"https://api.github.com/users/cmpt276G13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmpt276G13/subscriptions","organizations_url":"https://api.github.com/users/cmpt276G13/orgs","repos_url":"https://api.github.com/users/cmpt276G13/repos","events_url":"https://api.github.com/users/cmpt276G13/events{/privacy}","received_events_url":"https://api.github.com/users/cmpt276G13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmpt276G13/project2016","description":"","fork":false,"url":"https://api.github.com/repos/cmpt276G13/project2016","forks_url":"https://api.github.com/repos/cmpt276G13/project2016/forks","keys_url":"https://api.github.com/repos/cmpt276G13/project2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmpt276G13/project2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmpt276G13/project2016/teams","hooks_url":"https://api.github.com/repos/cmpt276G13/project2016/hooks","issue_events_url":"https://api.github.com/repos/cmpt276G13/project2016/issues/events{/number}","events_url":"https://api.github.com/repos/cmpt276G13/project2016/events","assignees_url":"https://api.github.com/repos/cmpt276G13/project2016/assignees{/user}","branches_url":"https://api.github.com/repos/cmpt276G13/project2016/branches{/branch}","tags_url":"https://api.github.com/repos/cmpt276G13/project2016/tags","blobs_url":"https://api.github.com/repos/cmpt276G13/project2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmpt276G13/project2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmpt276G13/project2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmpt276G13/project2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmpt276G13/project2016/statuses/{sha}","languages_url":"https://api.github.com/repos/cmpt276G13/project2016/languages","stargazers_url":"https://api.github.com/repos/cmpt276G13/project2016/stargazers","contributors_url":"https://api.github.com/repos/cmpt276G13/project2016/contributors","subscribers_url":"https://api.github.com/repos/cmpt276G13/project2016/subscribers","subscription_url":"https://api.github.com/repos/cmpt276G13/project2016/subscription","commits_url":"https://api.github.com/repos/cmpt276G13/project2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmpt276G13/project2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmpt276G13/project2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmpt276G13/project2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmpt276G13/project2016/contents/{+path}","compare_url":"https://api.github.com/repos/cmpt276G13/project2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmpt276G13/project2016/merges","archive_url":"https://api.github.com/repos/cmpt276G13/project2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmpt276G13/project2016/downloads","issues_url":"https://api.github.com/repos/cmpt276G13/project2016/issues{/number}","pulls_url":"https://api.github.com/repos/cmpt276G13/project2016/pulls{/number}","milestones_url":"https://api.github.com/repos/cmpt276G13/project2016/milestones{/number}","notifications_url":"https://api.github.com/repos/cmpt276G13/project2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmpt276G13/project2016/labels{/name}","releases_url":"https://api.github.com/repos/cmpt276G13/project2016/releases{/id}","deployments_url":"https://api.github.com/repos/cmpt276G13/project2016/deployments","created_at":"2016-02-01T19:41:04Z","updated_at":"2016-02-20T19:29:54Z","pushed_at":"2016-03-11T01:03:08Z","git_url":"git://github.com/cmpt276G13/project2016.git","ssh_url":"git@github.com:cmpt276G13/project2016.git","clone_url":"https://github.com/cmpt276G13/project2016.git","svn_url":"https://github.com/cmpt276G13/project2016","homepage":null,"size":2323,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"base":{"label":"cmpt276G13:master","ref":"master","sha":"494e6c52cc57672d3223d7d9b98cc6f0d0c07757","user":{"login":"cmpt276G13","id":17012360,"avatar_url":"https://avatars.githubusercontent.com/u/17012360?v=3","gravatar_id":"","url":"https://api.github.com/users/cmpt276G13","html_url":"https://github.com/cmpt276G13","followers_url":"https://api.github.com/users/cmpt276G13/followers","following_url":"https://api.github.com/users/cmpt276G13/following{/other_user}","gists_url":"https://api.github.com/users/cmpt276G13/gists{/gist_id}","starred_url":"https://api.github.com/users/cmpt276G13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmpt276G13/subscriptions","organizations_url":"https://api.github.com/users/cmpt276G13/orgs","repos_url":"https://api.github.com/users/cmpt276G13/repos","events_url":"https://api.github.com/users/cmpt276G13/events{/privacy}","received_events_url":"https://api.github.com/users/cmpt276G13/received_events","type":"User","site_admin":false},"repo":{"id":50865610,"name":"project2016","full_name":"cmpt276G13/project2016","owner":{"login":"cmpt276G13","id":17012360,"avatar_url":"https://avatars.githubusercontent.com/u/17012360?v=3","gravatar_id":"","url":"https://api.github.com/users/cmpt276G13","html_url":"https://github.com/cmpt276G13","followers_url":"https://api.github.com/users/cmpt276G13/followers","following_url":"https://api.github.com/users/cmpt276G13/following{/other_user}","gists_url":"https://api.github.com/users/cmpt276G13/gists{/gist_id}","starred_url":"https://api.github.com/users/cmpt276G13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmpt276G13/subscriptions","organizations_url":"https://api.github.com/users/cmpt276G13/orgs","repos_url":"https://api.github.com/users/cmpt276G13/repos","events_url":"https://api.github.com/users/cmpt276G13/events{/privacy}","received_events_url":"https://api.github.com/users/cmpt276G13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmpt276G13/project2016","description":"","fork":false,"url":"https://api.github.com/repos/cmpt276G13/project2016","forks_url":"https://api.github.com/repos/cmpt276G13/project2016/forks","keys_url":"https://api.github.com/repos/cmpt276G13/project2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmpt276G13/project2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmpt276G13/project2016/teams","hooks_url":"https://api.github.com/repos/cmpt276G13/project2016/hooks","issue_events_url":"https://api.github.com/repos/cmpt276G13/project2016/issues/events{/number}","events_url":"https://api.github.com/repos/cmpt276G13/project2016/events","assignees_url":"https://api.github.com/repos/cmpt276G13/project2016/assignees{/user}","branches_url":"https://api.github.com/repos/cmpt276G13/project2016/branches{/branch}","tags_url":"https://api.github.com/repos/cmpt276G13/project2016/tags","blobs_url":"https://api.github.com/repos/cmpt276G13/project2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmpt276G13/project2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmpt276G13/project2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmpt276G13/project2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmpt276G13/project2016/statuses/{sha}","languages_url":"https://api.github.com/repos/cmpt276G13/project2016/languages","stargazers_url":"https://api.github.com/repos/cmpt276G13/project2016/stargazers","contributors_url":"https://api.github.com/repos/cmpt276G13/project2016/contributors","subscribers_url":"https://api.github.com/repos/cmpt276G13/project2016/subscribers","subscription_url":"https://api.github.com/repos/cmpt276G13/project2016/subscription","commits_url":"https://api.github.com/repos/cmpt276G13/project2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmpt276G13/project2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmpt276G13/project2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmpt276G13/project2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmpt276G13/project2016/contents/{+path}","compare_url":"https://api.github.com/repos/cmpt276G13/project2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmpt276G13/project2016/merges","archive_url":"https://api.github.com/repos/cmpt276G13/project2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmpt276G13/project2016/downloads","issues_url":"https://api.github.com/repos/cmpt276G13/project2016/issues{/number}","pulls_url":"https://api.github.com/repos/cmpt276G13/project2016/pulls{/number}","milestones_url":"https://api.github.com/repos/cmpt276G13/project2016/milestones{/number}","notifications_url":"https://api.github.com/repos/cmpt276G13/project2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmpt276G13/project2016/labels{/name}","releases_url":"https://api.github.com/repos/cmpt276G13/project2016/releases{/id}","deployments_url":"https://api.github.com/repos/cmpt276G13/project2016/deployments","created_at":"2016-02-01T19:41:04Z","updated_at":"2016-02-20T19:29:54Z","pushed_at":"2016-03-11T01:03:08Z","git_url":"git://github.com/cmpt276G13/project2016.git","ssh_url":"git@github.com:cmpt276G13/project2016.git","clone_url":"https://github.com/cmpt276G13/project2016.git","svn_url":"https://github.com/cmpt276G13/project2016","homepage":null,"size":2323,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2"},"html":{"href":"https://github.com/cmpt276G13/project2016/pull/2"},"issue":{"href":"https://api.github.com/repos/cmpt276G13/project2016/issues/2"},"comments":{"href":"https://api.github.com/repos/cmpt276G13/project2016/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/cmpt276G13/project2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmpt276G13/project2016/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/cmpt276G13/project2016/statuses/512f3a2c2ecd28d52784deff48c3025bc682d392"}}}}