{"action":"created","comment":{"url":"https://api.github.com/repos/transitland/transitland-datastore/pulls/comments/49003712","id":49003712,"diff_hunk":"@@ -82,18 +82,18 @@\n \n   describe 'GET show' do\n     context 'as JSON' do\n-      it 'returns operators by OnestopId' do\n+      it 'returns operators by Onestop ID' do\n         get :show, id: @vta.onestop_id\n-        expect_json_types({\n+        expect_json_types('operator',\n           onestop_id: :string,\n           geometry: :object,\n           name: :string,\n           created_at: :date,\n           updated_at: :date\n-        })\n-        expect_json({ onestop_id: -> (onestop_id) {\n+        )\n+        expect_json('operator', onestop_id: -> (onestop_id) {","path":"spec/controllers/api/v1/operators_controller_spec.rb","position":17,"original_position":17,"commit_id":"20fbf753675410306cf0ee79c360b407e2781677","original_commit_id":"20fbf753675410306cf0ee79c360b407e2781677","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":"Avoid using `{...}` for multi-line blocks.<br>Use the `lambda` method for multi-line lambdas.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-01-06T20:12:33Z","updated_at":"2016-01-06T20:12:33Z","html_url":"https://github.com/transitland/transitland-datastore/pull/221#discussion_r49003712","pull_request_url":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221","_links":{"self":{"href":"https://api.github.com/repos/transitland/transitland-datastore/pulls/comments/49003712"},"html":{"href":"https://github.com/transitland/transitland-datastore/pull/221#discussion_r49003712"},"pull_request":{"href":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221","id":50164421,"html_url":"https://github.com/transitland/transitland-datastore/pull/221","diff_url":"https://github.com/transitland/transitland-datastore/pull/221.diff","patch_url":"https://github.com/transitland/transitland-datastore/pull/221.patch","issue_url":"https://api.github.com/repos/transitland/transitland-datastore/issues/221","number":221,"state":"open","locked":false,"title":"use ActiveModel Serializers to cache JSON fragments","user":{"login":"drewda","id":212369,"avatar_url":"https://avatars.githubusercontent.com/u/212369?v=3","gravatar_id":"","url":"https://api.github.com/users/drewda","html_url":"https://github.com/drewda","followers_url":"https://api.github.com/users/drewda/followers","following_url":"https://api.github.com/users/drewda/following{/other_user}","gists_url":"https://api.github.com/users/drewda/gists{/gist_id}","starred_url":"https://api.github.com/users/drewda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewda/subscriptions","organizations_url":"https://api.github.com/users/drewda/orgs","repos_url":"https://api.github.com/users/drewda/repos","events_url":"https://api.github.com/users/drewda/events{/privacy}","received_events_url":"https://api.github.com/users/drewda/received_events","type":"User","site_admin":false},"body":"see https://github.com/rails-api/active_model_serializers#caching\r\n\r\ncloses #260","created_at":"2015-11-09T19:17:19Z","updated_at":"2016-01-06T20:12:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"098739ee99337e6d995d1affe02818d9669985fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221/commits","review_comments_url":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221/comments","review_comment_url":"https://api.github.com/repos/transitland/transitland-datastore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/transitland/transitland-datastore/issues/221/comments","statuses_url":"https://api.github.com/repos/transitland/transitland-datastore/statuses/20fbf753675410306cf0ee79c360b407e2781677","head":{"label":"transitland:active-model-serializers-caching","ref":"active-model-serializers-caching","sha":"20fbf753675410306cf0ee79c360b407e2781677","user":{"login":"transitland","id":9141652,"avatar_url":"https://avatars.githubusercontent.com/u/9141652?v=3","gravatar_id":"","url":"https://api.github.com/users/transitland","html_url":"https://github.com/transitland","followers_url":"https://api.github.com/users/transitland/followers","following_url":"https://api.github.com/users/transitland/following{/other_user}","gists_url":"https://api.github.com/users/transitland/gists{/gist_id}","starred_url":"https://api.github.com/users/transitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transitland/subscriptions","organizations_url":"https://api.github.com/users/transitland/orgs","repos_url":"https://api.github.com/users/transitland/repos","events_url":"https://api.github.com/users/transitland/events{/privacy}","received_events_url":"https://api.github.com/users/transitland/received_events","type":"Organization","site_admin":false},"repo":{"id":25056419,"name":"transitland-datastore","full_name":"transitland/transitland-datastore","owner":{"login":"transitland","id":9141652,"avatar_url":"https://avatars.githubusercontent.com/u/9141652?v=3","gravatar_id":"","url":"https://api.github.com/users/transitland","html_url":"https://github.com/transitland","followers_url":"https://api.github.com/users/transitland/followers","following_url":"https://api.github.com/users/transitland/following{/other_user}","gists_url":"https://api.github.com/users/transitland/gists{/gist_id}","starred_url":"https://api.github.com/users/transitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transitland/subscriptions","organizations_url":"https://api.github.com/users/transitland/orgs","repos_url":"https://api.github.com/users/transitland/repos","events_url":"https://api.github.com/users/transitland/events{/privacy}","received_events_url":"https://api.github.com/users/transitland/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/transitland/transitland-datastore","description":"A community-run and -edited timetable and map of public transit service around the world.","fork":false,"url":"https://api.github.com/repos/transitland/transitland-datastore","forks_url":"https://api.github.com/repos/transitland/transitland-datastore/forks","keys_url":"https://api.github.com/repos/transitland/transitland-datastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/transitland/transitland-datastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/transitland/transitland-datastore/teams","hooks_url":"https://api.github.com/repos/transitland/transitland-datastore/hooks","issue_events_url":"https://api.github.com/repos/transitland/transitland-datastore/issues/events{/number}","events_url":"https://api.github.com/repos/transitland/transitland-datastore/events","assignees_url":"https://api.github.com/repos/transitland/transitland-datastore/assignees{/user}","branches_url":"https://api.github.com/repos/transitland/transitland-datastore/branches{/branch}","tags_url":"https://api.github.com/repos/transitland/transitland-datastore/tags","blobs_url":"https://api.github.com/repos/transitland/transitland-datastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/transitland/transitland-datastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/transitland/transitland-datastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/transitland/transitland-datastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/transitland/transitland-datastore/statuses/{sha}","languages_url":"https://api.github.com/repos/transitland/transitland-datastore/languages","stargazers_url":"https://api.github.com/repos/transitland/transitland-datastore/stargazers","contributors_url":"https://api.github.com/repos/transitland/transitland-datastore/contributors","subscribers_url":"https://api.github.com/repos/transitland/transitland-datastore/subscribers","subscription_url":"https://api.github.com/repos/transitland/transitland-datastore/subscription","commits_url":"https://api.github.com/repos/transitland/transitland-datastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/transitland/transitland-datastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/transitland/transitland-datastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/transitland/transitland-datastore/issues/comments{/number}","contents_url":"https://api.github.com/repos/transitland/transitland-datastore/contents/{+path}","compare_url":"https://api.github.com/repos/transitland/transitland-datastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/transitland/transitland-datastore/merges","archive_url":"https://api.github.com/repos/transitland/transitland-datastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/transitland/transitland-datastore/downloads","issues_url":"https://api.github.com/repos/transitland/transitland-datastore/issues{/number}","pulls_url":"https://api.github.com/repos/transitland/transitland-datastore/pulls{/number}","milestones_url":"https://api.github.com/repos/transitland/transitland-datastore/milestones{/number}","notifications_url":"https://api.github.com/repos/transitland/transitland-datastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/transitland/transitland-datastore/labels{/name}","releases_url":"https://api.github.com/repos/transitland/transitland-datastore/releases{/id}","created_at":"2014-10-10T23:06:07Z","updated_at":"2015-11-30T08:07:51Z","pushed_at":"2016-01-06T20:12:24Z","git_url":"git://github.com/transitland/transitland-datastore.git","ssh_url":"git@github.com:transitland/transitland-datastore.git","clone_url":"https://github.com/transitland/transitland-datastore.git","svn_url":"https://github.com/transitland/transitland-datastore","homepage":"https://transit.land/how-it-works","size":22970,"stargazers_count":24,"watchers_count":24,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":24,"default_branch":"master"}},"base":{"label":"transitland:master","ref":"master","sha":"c381f0156ca9423b8e272b0de9a4a179a852ecf6","user":{"login":"transitland","id":9141652,"avatar_url":"https://avatars.githubusercontent.com/u/9141652?v=3","gravatar_id":"","url":"https://api.github.com/users/transitland","html_url":"https://github.com/transitland","followers_url":"https://api.github.com/users/transitland/followers","following_url":"https://api.github.com/users/transitland/following{/other_user}","gists_url":"https://api.github.com/users/transitland/gists{/gist_id}","starred_url":"https://api.github.com/users/transitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transitland/subscriptions","organizations_url":"https://api.github.com/users/transitland/orgs","repos_url":"https://api.github.com/users/transitland/repos","events_url":"https://api.github.com/users/transitland/events{/privacy}","received_events_url":"https://api.github.com/users/transitland/received_events","type":"Organization","site_admin":false},"repo":{"id":25056419,"name":"transitland-datastore","full_name":"transitland/transitland-datastore","owner":{"login":"transitland","id":9141652,"avatar_url":"https://avatars.githubusercontent.com/u/9141652?v=3","gravatar_id":"","url":"https://api.github.com/users/transitland","html_url":"https://github.com/transitland","followers_url":"https://api.github.com/users/transitland/followers","following_url":"https://api.github.com/users/transitland/following{/other_user}","gists_url":"https://api.github.com/users/transitland/gists{/gist_id}","starred_url":"https://api.github.com/users/transitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transitland/subscriptions","organizations_url":"https://api.github.com/users/transitland/orgs","repos_url":"https://api.github.com/users/transitland/repos","events_url":"https://api.github.com/users/transitland/events{/privacy}","received_events_url":"https://api.github.com/users/transitland/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/transitland/transitland-datastore","description":"A community-run and -edited timetable and map of public transit service around the world.","fork":false,"url":"https://api.github.com/repos/transitland/transitland-datastore","forks_url":"https://api.github.com/repos/transitland/transitland-datastore/forks","keys_url":"https://api.github.com/repos/transitland/transitland-datastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/transitland/transitland-datastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/transitland/transitland-datastore/teams","hooks_url":"https://api.github.com/repos/transitland/transitland-datastore/hooks","issue_events_url":"https://api.github.com/repos/transitland/transitland-datastore/issues/events{/number}","events_url":"https://api.github.com/repos/transitland/transitland-datastore/events","assignees_url":"https://api.github.com/repos/transitland/transitland-datastore/assignees{/user}","branches_url":"https://api.github.com/repos/transitland/transitland-datastore/branches{/branch}","tags_url":"https://api.github.com/repos/transitland/transitland-datastore/tags","blobs_url":"https://api.github.com/repos/transitland/transitland-datastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/transitland/transitland-datastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/transitland/transitland-datastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/transitland/transitland-datastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/transitland/transitland-datastore/statuses/{sha}","languages_url":"https://api.github.com/repos/transitland/transitland-datastore/languages","stargazers_url":"https://api.github.com/repos/transitland/transitland-datastore/stargazers","contributors_url":"https://api.github.com/repos/transitland/transitland-datastore/contributors","subscribers_url":"https://api.github.com/repos/transitland/transitland-datastore/subscribers","subscription_url":"https://api.github.com/repos/transitland/transitland-datastore/subscription","commits_url":"https://api.github.com/repos/transitland/transitland-datastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/transitland/transitland-datastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/transitland/transitland-datastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/transitland/transitland-datastore/issues/comments{/number}","contents_url":"https://api.github.com/repos/transitland/transitland-datastore/contents/{+path}","compare_url":"https://api.github.com/repos/transitland/transitland-datastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/transitland/transitland-datastore/merges","archive_url":"https://api.github.com/repos/transitland/transitland-datastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/transitland/transitland-datastore/downloads","issues_url":"https://api.github.com/repos/transitland/transitland-datastore/issues{/number}","pulls_url":"https://api.github.com/repos/transitland/transitland-datastore/pulls{/number}","milestones_url":"https://api.github.com/repos/transitland/transitland-datastore/milestones{/number}","notifications_url":"https://api.github.com/repos/transitland/transitland-datastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/transitland/transitland-datastore/labels{/name}","releases_url":"https://api.github.com/repos/transitland/transitland-datastore/releases{/id}","created_at":"2014-10-10T23:06:07Z","updated_at":"2015-11-30T08:07:51Z","pushed_at":"2016-01-06T20:12:24Z","git_url":"git://github.com/transitland/transitland-datastore.git","ssh_url":"git@github.com:transitland/transitland-datastore.git","clone_url":"https://github.com/transitland/transitland-datastore.git","svn_url":"https://github.com/transitland/transitland-datastore","homepage":"https://transit.land/how-it-works","size":22970,"stargazers_count":24,"watchers_count":24,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221"},"html":{"href":"https://github.com/transitland/transitland-datastore/pull/221"},"issue":{"href":"https://api.github.com/repos/transitland/transitland-datastore/issues/221"},"comments":{"href":"https://api.github.com/repos/transitland/transitland-datastore/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/transitland/transitland-datastore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/transitland/transitland-datastore/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/transitland/transitland-datastore/statuses/20fbf753675410306cf0ee79c360b407e2781677"}}}}