{"action":"created","comment":{"url":"https://api.github.com/repos/openmcac/basechurch/pulls/comments/33413732","id":33413732,"diff_hunk":"@@ -35,5 +36,18 @@ def fetch_user_from_token\n     def user_from_token\n       @user_from_token ||= fetch_user_from_token\n     end\n+\n+    def resource_serializer_klass\n+      @resource_serializer_klass ||= Basechurch::ResourceSerializer\n+    end\n+\n+    def set_cors_headers\n+      headers[\"Access-Control-Allow-Origin\"] = \"*\"\n+      headers[\"Access-Control-Allow-Headers\"] =\n+        \"X-AUTH-TOKEN, X-API-VERSION, X-Requested-With, Content-Type, Accept, Origin\"","path":"app/controllers/basechurch/application_controller.rb","position":20,"original_position":20,"commit_id":"63aa1d0c0d514b8b56307096da4f7559cf181637","original_commit_id":"63aa1d0c0d514b8b56307096da4f7559cf181637","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [85/80]","created_at":"2015-06-27T16:25:15Z","updated_at":"2015-06-27T16:25:15Z","html_url":"https://github.com/openmcac/basechurch/pull/34#discussion_r33413732","pull_request_url":"https://api.github.com/repos/openmcac/basechurch/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/openmcac/basechurch/pulls/comments/33413732"},"html":{"href":"https://github.com/openmcac/basechurch/pull/34#discussion_r33413732"},"pull_request":{"href":"https://api.github.com/repos/openmcac/basechurch/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/openmcac/basechurch/pulls/34","id":38195863,"html_url":"https://github.com/openmcac/basechurch/pull/34","diff_url":"https://github.com/openmcac/basechurch/pull/34.diff","patch_url":"https://github.com/openmcac/basechurch/pull/34.patch","issue_url":"https://api.github.com/repos/openmcac/basechurch/issues/34","number":34,"state":"open","locked":false,"title":"JSONAPI 1.0 compliance","user":{"login":"achan","id":549222,"avatar_url":"https://avatars.githubusercontent.com/u/549222?v=3","gravatar_id":"","url":"https://api.github.com/users/achan","html_url":"https://github.com/achan","followers_url":"https://api.github.com/users/achan/followers","following_url":"https://api.github.com/users/achan/following{/other_user}","gists_url":"https://api.github.com/users/achan/gists{/gist_id}","starred_url":"https://api.github.com/users/achan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achan/subscriptions","organizations_url":"https://api.github.com/users/achan/orgs","repos_url":"https://api.github.com/users/achan/repos","events_url":"https://api.github.com/users/achan/events{/privacy}","received_events_url":"https://api.github.com/users/achan/received_events","type":"User","site_admin":false},"body":"Update `jsonapi-resources` gem to 0.4.2 and make specs pass.","created_at":"2015-06-22T02:12:12Z","updated_at":"2015-06-27T16:25:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b827ac12692e52363f273bc39be431c533199904","assignee":{"login":"achan","id":549222,"avatar_url":"https://avatars.githubusercontent.com/u/549222?v=3","gravatar_id":"","url":"https://api.github.com/users/achan","html_url":"https://github.com/achan","followers_url":"https://api.github.com/users/achan/followers","following_url":"https://api.github.com/users/achan/following{/other_user}","gists_url":"https://api.github.com/users/achan/gists{/gist_id}","starred_url":"https://api.github.com/users/achan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achan/subscriptions","organizations_url":"https://api.github.com/users/achan/orgs","repos_url":"https://api.github.com/users/achan/repos","events_url":"https://api.github.com/users/achan/events{/privacy}","received_events_url":"https://api.github.com/users/achan/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openmcac/basechurch/pulls/34/commits","review_comments_url":"https://api.github.com/repos/openmcac/basechurch/pulls/34/comments","review_comment_url":"https://api.github.com/repos/openmcac/basechurch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmcac/basechurch/issues/34/comments","statuses_url":"https://api.github.com/repos/openmcac/basechurch/statuses/63aa1d0c0d514b8b56307096da4f7559cf181637","head":{"label":"openmcac:ac_json_api_1.0","ref":"ac_json_api_1.0","sha":"63aa1d0c0d514b8b56307096da4f7559cf181637","user":{"login":"openmcac","id":9523304,"avatar_url":"https://avatars.githubusercontent.com/u/9523304?v=3","gravatar_id":"","url":"https://api.github.com/users/openmcac","html_url":"https://github.com/openmcac","followers_url":"https://api.github.com/users/openmcac/followers","following_url":"https://api.github.com/users/openmcac/following{/other_user}","gists_url":"https://api.github.com/users/openmcac/gists{/gist_id}","starred_url":"https://api.github.com/users/openmcac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmcac/subscriptions","organizations_url":"https://api.github.com/users/openmcac/orgs","repos_url":"https://api.github.com/users/openmcac/repos","events_url":"https://api.github.com/users/openmcac/events{/privacy}","received_events_url":"https://api.github.com/users/openmcac/received_events","type":"Organization","site_admin":false},"repo":{"id":26100750,"name":"basechurch","full_name":"openmcac/basechurch","owner":{"login":"openmcac","id":9523304,"avatar_url":"https://avatars.githubusercontent.com/u/9523304?v=3","gravatar_id":"","url":"https://api.github.com/users/openmcac","html_url":"https://github.com/openmcac","followers_url":"https://api.github.com/users/openmcac/followers","following_url":"https://api.github.com/users/openmcac/following{/other_user}","gists_url":"https://api.github.com/users/openmcac/gists{/gist_id}","starred_url":"https://api.github.com/users/openmcac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmcac/subscriptions","organizations_url":"https://api.github.com/users/openmcac/orgs","repos_url":"https://api.github.com/users/openmcac/repos","events_url":"https://api.github.com/users/openmcac/events{/privacy}","received_events_url":"https://api.github.com/users/openmcac/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmcac/basechurch","description":"A mountable Rails engine to power church administration.","fork":false,"url":"https://api.github.com/repos/openmcac/basechurch","forks_url":"https://api.github.com/repos/openmcac/basechurch/forks","keys_url":"https://api.github.com/repos/openmcac/basechurch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmcac/basechurch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmcac/basechurch/teams","hooks_url":"https://api.github.com/repos/openmcac/basechurch/hooks","issue_events_url":"https://api.github.com/repos/openmcac/basechurch/issues/events{/number}","events_url":"https://api.github.com/repos/openmcac/basechurch/events","assignees_url":"https://api.github.com/repos/openmcac/basechurch/assignees{/user}","branches_url":"https://api.github.com/repos/openmcac/basechurch/branches{/branch}","tags_url":"https://api.github.com/repos/openmcac/basechurch/tags","blobs_url":"https://api.github.com/repos/openmcac/basechurch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmcac/basechurch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmcac/basechurch/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmcac/basechurch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmcac/basechurch/statuses/{sha}","languages_url":"https://api.github.com/repos/openmcac/basechurch/languages","stargazers_url":"https://api.github.com/repos/openmcac/basechurch/stargazers","contributors_url":"https://api.github.com/repos/openmcac/basechurch/contributors","subscribers_url":"https://api.github.com/repos/openmcac/basechurch/subscribers","subscription_url":"https://api.github.com/repos/openmcac/basechurch/subscription","commits_url":"https://api.github.com/repos/openmcac/basechurch/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmcac/basechurch/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmcac/basechurch/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmcac/basechurch/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmcac/basechurch/contents/{+path}","compare_url":"https://api.github.com/repos/openmcac/basechurch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmcac/basechurch/merges","archive_url":"https://api.github.com/repos/openmcac/basechurch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmcac/basechurch/downloads","issues_url":"https://api.github.com/repos/openmcac/basechurch/issues{/number}","pulls_url":"https://api.github.com/repos/openmcac/basechurch/pulls{/number}","milestones_url":"https://api.github.com/repos/openmcac/basechurch/milestones{/number}","notifications_url":"https://api.github.com/repos/openmcac/basechurch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmcac/basechurch/labels{/name}","releases_url":"https://api.github.com/repos/openmcac/basechurch/releases{/id}","created_at":"2014-11-03T02:30:12Z","updated_at":"2015-05-07T00:52:09Z","pushed_at":"2015-06-27T16:25:10Z","git_url":"git://github.com/openmcac/basechurch.git","ssh_url":"git@github.com:openmcac/basechurch.git","clone_url":"https://github.com/openmcac/basechurch.git","svn_url":"https://github.com/openmcac/basechurch","homepage":"","size":850,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"openmcac:master","ref":"master","sha":"1c14da822c70777f55f46c1b71d4c6fdd53bc585","user":{"login":"openmcac","id":9523304,"avatar_url":"https://avatars.githubusercontent.com/u/9523304?v=3","gravatar_id":"","url":"https://api.github.com/users/openmcac","html_url":"https://github.com/openmcac","followers_url":"https://api.github.com/users/openmcac/followers","following_url":"https://api.github.com/users/openmcac/following{/other_user}","gists_url":"https://api.github.com/users/openmcac/gists{/gist_id}","starred_url":"https://api.github.com/users/openmcac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmcac/subscriptions","organizations_url":"https://api.github.com/users/openmcac/orgs","repos_url":"https://api.github.com/users/openmcac/repos","events_url":"https://api.github.com/users/openmcac/events{/privacy}","received_events_url":"https://api.github.com/users/openmcac/received_events","type":"Organization","site_admin":false},"repo":{"id":26100750,"name":"basechurch","full_name":"openmcac/basechurch","owner":{"login":"openmcac","id":9523304,"avatar_url":"https://avatars.githubusercontent.com/u/9523304?v=3","gravatar_id":"","url":"https://api.github.com/users/openmcac","html_url":"https://github.com/openmcac","followers_url":"https://api.github.com/users/openmcac/followers","following_url":"https://api.github.com/users/openmcac/following{/other_user}","gists_url":"https://api.github.com/users/openmcac/gists{/gist_id}","starred_url":"https://api.github.com/users/openmcac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmcac/subscriptions","organizations_url":"https://api.github.com/users/openmcac/orgs","repos_url":"https://api.github.com/users/openmcac/repos","events_url":"https://api.github.com/users/openmcac/events{/privacy}","received_events_url":"https://api.github.com/users/openmcac/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmcac/basechurch","description":"A mountable Rails engine to power church administration.","fork":false,"url":"https://api.github.com/repos/openmcac/basechurch","forks_url":"https://api.github.com/repos/openmcac/basechurch/forks","keys_url":"https://api.github.com/repos/openmcac/basechurch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmcac/basechurch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmcac/basechurch/teams","hooks_url":"https://api.github.com/repos/openmcac/basechurch/hooks","issue_events_url":"https://api.github.com/repos/openmcac/basechurch/issues/events{/number}","events_url":"https://api.github.com/repos/openmcac/basechurch/events","assignees_url":"https://api.github.com/repos/openmcac/basechurch/assignees{/user}","branches_url":"https://api.github.com/repos/openmcac/basechurch/branches{/branch}","tags_url":"https://api.github.com/repos/openmcac/basechurch/tags","blobs_url":"https://api.github.com/repos/openmcac/basechurch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmcac/basechurch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmcac/basechurch/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmcac/basechurch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmcac/basechurch/statuses/{sha}","languages_url":"https://api.github.com/repos/openmcac/basechurch/languages","stargazers_url":"https://api.github.com/repos/openmcac/basechurch/stargazers","contributors_url":"https://api.github.com/repos/openmcac/basechurch/contributors","subscribers_url":"https://api.github.com/repos/openmcac/basechurch/subscribers","subscription_url":"https://api.github.com/repos/openmcac/basechurch/subscription","commits_url":"https://api.github.com/repos/openmcac/basechurch/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmcac/basechurch/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmcac/basechurch/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmcac/basechurch/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmcac/basechurch/contents/{+path}","compare_url":"https://api.github.com/repos/openmcac/basechurch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmcac/basechurch/merges","archive_url":"https://api.github.com/repos/openmcac/basechurch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmcac/basechurch/downloads","issues_url":"https://api.github.com/repos/openmcac/basechurch/issues{/number}","pulls_url":"https://api.github.com/repos/openmcac/basechurch/pulls{/number}","milestones_url":"https://api.github.com/repos/openmcac/basechurch/milestones{/number}","notifications_url":"https://api.github.com/repos/openmcac/basechurch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmcac/basechurch/labels{/name}","releases_url":"https://api.github.com/repos/openmcac/basechurch/releases{/id}","created_at":"2014-11-03T02:30:12Z","updated_at":"2015-05-07T00:52:09Z","pushed_at":"2015-06-27T16:25:10Z","git_url":"git://github.com/openmcac/basechurch.git","ssh_url":"git@github.com:openmcac/basechurch.git","clone_url":"https://github.com/openmcac/basechurch.git","svn_url":"https://github.com/openmcac/basechurch","homepage":"","size":850,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmcac/basechurch/pulls/34"},"html":{"href":"https://github.com/openmcac/basechurch/pull/34"},"issue":{"href":"https://api.github.com/repos/openmcac/basechurch/issues/34"},"comments":{"href":"https://api.github.com/repos/openmcac/basechurch/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/openmcac/basechurch/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/openmcac/basechurch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmcac/basechurch/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/openmcac/basechurch/statuses/63aa1d0c0d514b8b56307096da4f7559cf181637"}}}}