{"action":"created","comment":{"url":"https://api.github.com/repos/justarrived/just_match_api/pulls/comments/52104464","id":52104464,"diff_hunk":"@@ -0,0 +1,44 @@\n+require 'spec_helper'\n+\n+RSpec.describe FieldsParams do\n+  let(:params) do\n+    {\n+      jobs: \"id,name,email\",","path":"spec/support/fields_params_spec.rb","position":6,"original_position":6,"commit_id":"cb549fb6ba131b65984bb71d62f422ba4ba2ff01","original_commit_id":"cb549fb6ba131b65984bb71d62f422ba4ba2ff01","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":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-02-06T17:23:10Z","updated_at":"2016-02-06T17:23:10Z","html_url":"https://github.com/justarrived/just_match_api/pull/178#discussion_r52104464","pull_request_url":"https://api.github.com/repos/justarrived/just_match_api/pulls/178","_links":{"self":{"href":"https://api.github.com/repos/justarrived/just_match_api/pulls/comments/52104464"},"html":{"href":"https://github.com/justarrived/just_match_api/pull/178#discussion_r52104464"},"pull_request":{"href":"https://api.github.com/repos/justarrived/just_match_api/pulls/178"}}},"pull_request":{"url":"https://api.github.com/repos/justarrived/just_match_api/pulls/178","id":58524990,"html_url":"https://github.com/justarrived/just_match_api/pull/178","diff_url":"https://github.com/justarrived/just_match_api/pull/178.diff","patch_url":"https://github.com/justarrived/just_match_api/pull/178.patch","issue_url":"https://api.github.com/repos/justarrived/just_match_api/issues/178","number":178,"state":"open","locked":false,"title":"Add implementation for JsonApi fields params","user":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"body":"As per specification: http://jsonapi.org/format/#fetching-sparse-fieldsets\r\n\r\nCloses #177","created_at":"2016-02-06T17:23:03Z","updated_at":"2016-02-06T17:23:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0079d91f794b5b9b7dd81442412763ccee3346a0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/justarrived/just_match_api/pulls/178/commits","review_comments_url":"https://api.github.com/repos/justarrived/just_match_api/pulls/178/comments","review_comment_url":"https://api.github.com/repos/justarrived/just_match_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justarrived/just_match_api/issues/178/comments","statuses_url":"https://api.github.com/repos/justarrived/just_match_api/statuses/cb549fb6ba131b65984bb71d62f422ba4ba2ff01","head":{"label":"justarrived:fields-params","ref":"fields-params","sha":"cb549fb6ba131b65984bb71d62f422ba4ba2ff01","user":{"login":"justarrived","id":16261728,"avatar_url":"https://avatars.githubusercontent.com/u/16261728?v=3","gravatar_id":"","url":"https://api.github.com/users/justarrived","html_url":"https://github.com/justarrived","followers_url":"https://api.github.com/users/justarrived/followers","following_url":"https://api.github.com/users/justarrived/following{/other_user}","gists_url":"https://api.github.com/users/justarrived/gists{/gist_id}","starred_url":"https://api.github.com/users/justarrived/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justarrived/subscriptions","organizations_url":"https://api.github.com/users/justarrived/orgs","repos_url":"https://api.github.com/users/justarrived/repos","events_url":"https://api.github.com/users/justarrived/events{/privacy}","received_events_url":"https://api.github.com/users/justarrived/received_events","type":"Organization","site_admin":false},"repo":{"id":47429013,"name":"just_match_api","full_name":"justarrived/just_match_api","owner":{"login":"justarrived","id":16261728,"avatar_url":"https://avatars.githubusercontent.com/u/16261728?v=3","gravatar_id":"","url":"https://api.github.com/users/justarrived","html_url":"https://github.com/justarrived","followers_url":"https://api.github.com/users/justarrived/followers","following_url":"https://api.github.com/users/justarrived/following{/other_user}","gists_url":"https://api.github.com/users/justarrived/gists{/gist_id}","starred_url":"https://api.github.com/users/justarrived/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justarrived/subscriptions","organizations_url":"https://api.github.com/users/justarrived/orgs","repos_url":"https://api.github.com/users/justarrived/repos","events_url":"https://api.github.com/users/justarrived/events{/privacy}","received_events_url":"https://api.github.com/users/justarrived/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/justarrived/just_match_api","description":"JustMatch API","fork":false,"url":"https://api.github.com/repos/justarrived/just_match_api","forks_url":"https://api.github.com/repos/justarrived/just_match_api/forks","keys_url":"https://api.github.com/repos/justarrived/just_match_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justarrived/just_match_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justarrived/just_match_api/teams","hooks_url":"https://api.github.com/repos/justarrived/just_match_api/hooks","issue_events_url":"https://api.github.com/repos/justarrived/just_match_api/issues/events{/number}","events_url":"https://api.github.com/repos/justarrived/just_match_api/events","assignees_url":"https://api.github.com/repos/justarrived/just_match_api/assignees{/user}","branches_url":"https://api.github.com/repos/justarrived/just_match_api/branches{/branch}","tags_url":"https://api.github.com/repos/justarrived/just_match_api/tags","blobs_url":"https://api.github.com/repos/justarrived/just_match_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justarrived/just_match_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justarrived/just_match_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/justarrived/just_match_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justarrived/just_match_api/statuses/{sha}","languages_url":"https://api.github.com/repos/justarrived/just_match_api/languages","stargazers_url":"https://api.github.com/repos/justarrived/just_match_api/stargazers","contributors_url":"https://api.github.com/repos/justarrived/just_match_api/contributors","subscribers_url":"https://api.github.com/repos/justarrived/just_match_api/subscribers","subscription_url":"https://api.github.com/repos/justarrived/just_match_api/subscription","commits_url":"https://api.github.com/repos/justarrived/just_match_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/justarrived/just_match_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/justarrived/just_match_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/justarrived/just_match_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/justarrived/just_match_api/contents/{+path}","compare_url":"https://api.github.com/repos/justarrived/just_match_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justarrived/just_match_api/merges","archive_url":"https://api.github.com/repos/justarrived/just_match_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justarrived/just_match_api/downloads","issues_url":"https://api.github.com/repos/justarrived/just_match_api/issues{/number}","pulls_url":"https://api.github.com/repos/justarrived/just_match_api/pulls{/number}","milestones_url":"https://api.github.com/repos/justarrived/just_match_api/milestones{/number}","notifications_url":"https://api.github.com/repos/justarrived/just_match_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justarrived/just_match_api/labels{/name}","releases_url":"https://api.github.com/repos/justarrived/just_match_api/releases{/id}","deployments_url":"https://api.github.com/repos/justarrived/just_match_api/deployments","created_at":"2015-12-04T21:11:17Z","updated_at":"2016-01-12T10:35:06Z","pushed_at":"2016-02-06T17:23:03Z","git_url":"git://github.com/justarrived/just_match_api.git","ssh_url":"git@github.com:justarrived/just_match_api.git","clone_url":"https://github.com/justarrived/just_match_api.git","svn_url":"https://github.com/justarrived/just_match_api","homepage":"https://just-match-api.herokuapp.com/api_docs","size":614,"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":37,"forks":3,"open_issues":37,"watchers":2,"default_branch":"master"}},"base":{"label":"justarrived:master","ref":"master","sha":"8cfa598089ceb147e3667e8deb3b16d3c1da9797","user":{"login":"justarrived","id":16261728,"avatar_url":"https://avatars.githubusercontent.com/u/16261728?v=3","gravatar_id":"","url":"https://api.github.com/users/justarrived","html_url":"https://github.com/justarrived","followers_url":"https://api.github.com/users/justarrived/followers","following_url":"https://api.github.com/users/justarrived/following{/other_user}","gists_url":"https://api.github.com/users/justarrived/gists{/gist_id}","starred_url":"https://api.github.com/users/justarrived/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justarrived/subscriptions","organizations_url":"https://api.github.com/users/justarrived/orgs","repos_url":"https://api.github.com/users/justarrived/repos","events_url":"https://api.github.com/users/justarrived/events{/privacy}","received_events_url":"https://api.github.com/users/justarrived/received_events","type":"Organization","site_admin":false},"repo":{"id":47429013,"name":"just_match_api","full_name":"justarrived/just_match_api","owner":{"login":"justarrived","id":16261728,"avatar_url":"https://avatars.githubusercontent.com/u/16261728?v=3","gravatar_id":"","url":"https://api.github.com/users/justarrived","html_url":"https://github.com/justarrived","followers_url":"https://api.github.com/users/justarrived/followers","following_url":"https://api.github.com/users/justarrived/following{/other_user}","gists_url":"https://api.github.com/users/justarrived/gists{/gist_id}","starred_url":"https://api.github.com/users/justarrived/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justarrived/subscriptions","organizations_url":"https://api.github.com/users/justarrived/orgs","repos_url":"https://api.github.com/users/justarrived/repos","events_url":"https://api.github.com/users/justarrived/events{/privacy}","received_events_url":"https://api.github.com/users/justarrived/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/justarrived/just_match_api","description":"JustMatch API","fork":false,"url":"https://api.github.com/repos/justarrived/just_match_api","forks_url":"https://api.github.com/repos/justarrived/just_match_api/forks","keys_url":"https://api.github.com/repos/justarrived/just_match_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justarrived/just_match_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justarrived/just_match_api/teams","hooks_url":"https://api.github.com/repos/justarrived/just_match_api/hooks","issue_events_url":"https://api.github.com/repos/justarrived/just_match_api/issues/events{/number}","events_url":"https://api.github.com/repos/justarrived/just_match_api/events","assignees_url":"https://api.github.com/repos/justarrived/just_match_api/assignees{/user}","branches_url":"https://api.github.com/repos/justarrived/just_match_api/branches{/branch}","tags_url":"https://api.github.com/repos/justarrived/just_match_api/tags","blobs_url":"https://api.github.com/repos/justarrived/just_match_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justarrived/just_match_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justarrived/just_match_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/justarrived/just_match_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justarrived/just_match_api/statuses/{sha}","languages_url":"https://api.github.com/repos/justarrived/just_match_api/languages","stargazers_url":"https://api.github.com/repos/justarrived/just_match_api/stargazers","contributors_url":"https://api.github.com/repos/justarrived/just_match_api/contributors","subscribers_url":"https://api.github.com/repos/justarrived/just_match_api/subscribers","subscription_url":"https://api.github.com/repos/justarrived/just_match_api/subscription","commits_url":"https://api.github.com/repos/justarrived/just_match_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/justarrived/just_match_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/justarrived/just_match_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/justarrived/just_match_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/justarrived/just_match_api/contents/{+path}","compare_url":"https://api.github.com/repos/justarrived/just_match_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justarrived/just_match_api/merges","archive_url":"https://api.github.com/repos/justarrived/just_match_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justarrived/just_match_api/downloads","issues_url":"https://api.github.com/repos/justarrived/just_match_api/issues{/number}","pulls_url":"https://api.github.com/repos/justarrived/just_match_api/pulls{/number}","milestones_url":"https://api.github.com/repos/justarrived/just_match_api/milestones{/number}","notifications_url":"https://api.github.com/repos/justarrived/just_match_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justarrived/just_match_api/labels{/name}","releases_url":"https://api.github.com/repos/justarrived/just_match_api/releases{/id}","deployments_url":"https://api.github.com/repos/justarrived/just_match_api/deployments","created_at":"2015-12-04T21:11:17Z","updated_at":"2016-01-12T10:35:06Z","pushed_at":"2016-02-06T17:23:03Z","git_url":"git://github.com/justarrived/just_match_api.git","ssh_url":"git@github.com:justarrived/just_match_api.git","clone_url":"https://github.com/justarrived/just_match_api.git","svn_url":"https://github.com/justarrived/just_match_api","homepage":"https://just-match-api.herokuapp.com/api_docs","size":614,"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":37,"forks":3,"open_issues":37,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justarrived/just_match_api/pulls/178"},"html":{"href":"https://github.com/justarrived/just_match_api/pull/178"},"issue":{"href":"https://api.github.com/repos/justarrived/just_match_api/issues/178"},"comments":{"href":"https://api.github.com/repos/justarrived/just_match_api/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/justarrived/just_match_api/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/justarrived/just_match_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justarrived/just_match_api/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/justarrived/just_match_api/statuses/cb549fb6ba131b65984bb71d62f422ba4ba2ff01"}}}}