{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/1","id":34503791,"html_url":"https://github.com/runtastic/legacy_serializer/pull/1","diff_url":"https://github.com/runtastic/legacy_serializer/pull/1.diff","patch_url":"https://github.com/runtastic/legacy_serializer/pull/1.patch","issue_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues/1","number":1,"state":"closed","locked":false,"title":"Restored the tests and added tests for model serializer_class method","user":{"login":"groyoh","id":7434196,"avatar_url":"https://avatars.githubusercontent.com/u/7434196?v=3","gravatar_id":"","url":"https://api.github.com/users/groyoh","html_url":"https://github.com/groyoh","followers_url":"https://api.github.com/users/groyoh/followers","following_url":"https://api.github.com/users/groyoh/following{/other_user}","gists_url":"https://api.github.com/users/groyoh/gists{/gist_id}","starred_url":"https://api.github.com/users/groyoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groyoh/subscriptions","organizations_url":"https://api.github.com/users/groyoh/orgs","repos_url":"https://api.github.com/users/groyoh/repos","events_url":"https://api.github.com/users/groyoh/events{/privacy}","received_events_url":"https://api.github.com/users/groyoh/received_events","type":"User","site_admin":false},"body":"I restored the old specs and added a spec for the case where the model define a `serializer_class`. From there, I could be able to easily add association overriding.","created_at":"2015-04-30T21:39:21Z","updated_at":"2015-05-04T06:40:03Z","closed_at":"2015-05-04T06:40:03Z","merged_at":"2015-05-04T06:40:03Z","merge_commit_sha":"ca76a8193d7f9b1c7a99d078d8f62f9408239467","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues/1/comments","statuses_url":"https://api.github.com/repos/runtastic/legacy_serializer/statuses/8e4f6feb7320be0b9b1262a19cf30aa6a3f500c5","head":{"label":"runtastic:test_update","ref":"test_update","sha":"8e4f6feb7320be0b9b1262a19cf30aa6a3f500c5","user":{"login":"runtastic","id":4550599,"avatar_url":"https://avatars.githubusercontent.com/u/4550599?v=3","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"repo":{"id":33295208,"name":"legacy_serializer","full_name":"runtastic/legacy_serializer","owner":{"login":"runtastic","id":4550599,"avatar_url":"https://avatars.githubusercontent.com/u/4550599?v=3","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runtastic/legacy_serializer","description":"","fork":false,"url":"https://api.github.com/repos/runtastic/legacy_serializer","forks_url":"https://api.github.com/repos/runtastic/legacy_serializer/forks","keys_url":"https://api.github.com/repos/runtastic/legacy_serializer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtastic/legacy_serializer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtastic/legacy_serializer/teams","hooks_url":"https://api.github.com/repos/runtastic/legacy_serializer/hooks","issue_events_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues/events{/number}","events_url":"https://api.github.com/repos/runtastic/legacy_serializer/events","assignees_url":"https://api.github.com/repos/runtastic/legacy_serializer/assignees{/user}","branches_url":"https://api.github.com/repos/runtastic/legacy_serializer/branches{/branch}","tags_url":"https://api.github.com/repos/runtastic/legacy_serializer/tags","blobs_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtastic/legacy_serializer/statuses/{sha}","languages_url":"https://api.github.com/repos/runtastic/legacy_serializer/languages","stargazers_url":"https://api.github.com/repos/runtastic/legacy_serializer/stargazers","contributors_url":"https://api.github.com/repos/runtastic/legacy_serializer/contributors","subscribers_url":"https://api.github.com/repos/runtastic/legacy_serializer/subscribers","subscription_url":"https://api.github.com/repos/runtastic/legacy_serializer/subscription","commits_url":"https://api.github.com/repos/runtastic/legacy_serializer/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtastic/legacy_serializer/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtastic/legacy_serializer/contents/{+path}","compare_url":"https://api.github.com/repos/runtastic/legacy_serializer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtastic/legacy_serializer/merges","archive_url":"https://api.github.com/repos/runtastic/legacy_serializer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtastic/legacy_serializer/downloads","issues_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues{/number}","pulls_url":"https://api.github.com/repos/runtastic/legacy_serializer/pulls{/number}","milestones_url":"https://api.github.com/repos/runtastic/legacy_serializer/milestones{/number}","notifications_url":"https://api.github.com/repos/runtastic/legacy_serializer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtastic/legacy_serializer/labels{/name}","releases_url":"https://api.github.com/repos/runtastic/legacy_serializer/releases{/id}","created_at":"2015-04-02T07:22:01Z","updated_at":"2015-04-02T08:43:52Z","pushed_at":"2015-05-04T06:40:03Z","git_url":"git://github.com/runtastic/legacy_serializer.git","ssh_url":"git@github.com:runtastic/legacy_serializer.git","clone_url":"https://github.com/runtastic/legacy_serializer.git","svn_url":"https://github.com/runtastic/legacy_serializer","homepage":null,"size":1135,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"runtastic:master","ref":"master","sha":"719254affe76b57c0a7e932929de46f7fc422380","user":{"login":"runtastic","id":4550599,"avatar_url":"https://avatars.githubusercontent.com/u/4550599?v=3","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"repo":{"id":33295208,"name":"legacy_serializer","full_name":"runtastic/legacy_serializer","owner":{"login":"runtastic","id":4550599,"avatar_url":"https://avatars.githubusercontent.com/u/4550599?v=3","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runtastic/legacy_serializer","description":"","fork":false,"url":"https://api.github.com/repos/runtastic/legacy_serializer","forks_url":"https://api.github.com/repos/runtastic/legacy_serializer/forks","keys_url":"https://api.github.com/repos/runtastic/legacy_serializer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtastic/legacy_serializer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtastic/legacy_serializer/teams","hooks_url":"https://api.github.com/repos/runtastic/legacy_serializer/hooks","issue_events_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues/events{/number}","events_url":"https://api.github.com/repos/runtastic/legacy_serializer/events","assignees_url":"https://api.github.com/repos/runtastic/legacy_serializer/assignees{/user}","branches_url":"https://api.github.com/repos/runtastic/legacy_serializer/branches{/branch}","tags_url":"https://api.github.com/repos/runtastic/legacy_serializer/tags","blobs_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtastic/legacy_serializer/statuses/{sha}","languages_url":"https://api.github.com/repos/runtastic/legacy_serializer/languages","stargazers_url":"https://api.github.com/repos/runtastic/legacy_serializer/stargazers","contributors_url":"https://api.github.com/repos/runtastic/legacy_serializer/contributors","subscribers_url":"https://api.github.com/repos/runtastic/legacy_serializer/subscribers","subscription_url":"https://api.github.com/repos/runtastic/legacy_serializer/subscription","commits_url":"https://api.github.com/repos/runtastic/legacy_serializer/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtastic/legacy_serializer/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtastic/legacy_serializer/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtastic/legacy_serializer/contents/{+path}","compare_url":"https://api.github.com/repos/runtastic/legacy_serializer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtastic/legacy_serializer/merges","archive_url":"https://api.github.com/repos/runtastic/legacy_serializer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtastic/legacy_serializer/downloads","issues_url":"https://api.github.com/repos/runtastic/legacy_serializer/issues{/number}","pulls_url":"https://api.github.com/repos/runtastic/legacy_serializer/pulls{/number}","milestones_url":"https://api.github.com/repos/runtastic/legacy_serializer/milestones{/number}","notifications_url":"https://api.github.com/repos/runtastic/legacy_serializer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtastic/legacy_serializer/labels{/name}","releases_url":"https://api.github.com/repos/runtastic/legacy_serializer/releases{/id}","created_at":"2015-04-02T07:22:01Z","updated_at":"2015-04-02T08:43:52Z","pushed_at":"2015-05-04T06:40:03Z","git_url":"git://github.com/runtastic/legacy_serializer.git","ssh_url":"git@github.com:runtastic/legacy_serializer.git","clone_url":"https://github.com/runtastic/legacy_serializer.git","svn_url":"https://github.com/runtastic/legacy_serializer","homepage":null,"size":1135,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/1"},"html":{"href":"https://github.com/runtastic/legacy_serializer/pull/1"},"issue":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/issues/1"},"comments":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/runtastic/legacy_serializer/statuses/8e4f6feb7320be0b9b1262a19cf30aa6a3f500c5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"TheWudu","id":2425816,"avatar_url":"https://avatars.githubusercontent.com/u/2425816?v=3","gravatar_id":"","url":"https://api.github.com/users/TheWudu","html_url":"https://github.com/TheWudu","followers_url":"https://api.github.com/users/TheWudu/followers","following_url":"https://api.github.com/users/TheWudu/following{/other_user}","gists_url":"https://api.github.com/users/TheWudu/gists{/gist_id}","starred_url":"https://api.github.com/users/TheWudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheWudu/subscriptions","organizations_url":"https://api.github.com/users/TheWudu/orgs","repos_url":"https://api.github.com/users/TheWudu/repos","events_url":"https://api.github.com/users/TheWudu/events{/privacy}","received_events_url":"https://api.github.com/users/TheWudu/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1070,"deletions":24,"changed_files":23}}