{"action":"opened","number":98,"pull_request":{"url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/98","id":225579436,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NTc5NDM2","html_url":"https://github.com/jsonapi-rb/jsonapi-rails/pull/98","diff_url":"https://github.com/jsonapi-rb/jsonapi-rails/pull/98.diff","patch_url":"https://github.com/jsonapi-rb/jsonapi-rails/pull/98.patch","issue_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues/98","number":98,"state":"open","locked":false,"title":"Teach generator respect namespaces","user":{"login":"alsemyonov","id":4524,"node_id":"MDQ6VXNlcjQ1MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4524?v=4","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"body":"Fixes the issue with namespaced models.\r\n \r\nBefore: `rails generate jsonapi:serializable Blog::Post` generates `app/serializables/blog/serializable_post.rb` file with `SerializableBlog::Post` class inside.\r\n \r\nAfter: `rails generate jsonapi:serializable Blog::Post` generates `app/serializables/blog/serializable_post.rb` file with `Blog::SerializablePost` class inside.\r\n\r\n ","created_at":"2018-10-24T23:18:28Z","updated_at":"2018-10-24T23:18:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/98/commits","review_comments_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/98/comments","review_comment_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues/98/comments","statuses_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/statuses/322eba9db8bf5e2976975ac54167b18b748ca291","head":{"label":"alsemyonov:master","ref":"master","sha":"322eba9db8bf5e2976975ac54167b18b748ca291","user":{"login":"alsemyonov","id":4524,"node_id":"MDQ6VXNlcjQ1MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4524?v=4","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"repo":{"id":154578785,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ1Nzg3ODU=","name":"jsonapi-rails","full_name":"alsemyonov/jsonapi-rails","private":false,"owner":{"login":"alsemyonov","id":4524,"node_id":"MDQ6VXNlcjQ1MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4524?v=4","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/alsemyonov/jsonapi-rails","description":"Rails gem for fast jsonapi-compliant APIs.","fork":true,"url":"https://api.github.com/repos/alsemyonov/jsonapi-rails","forks_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/forks","keys_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/teams","hooks_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/hooks","issue_events_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/issues/events{/number}","events_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/events","assignees_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/assignees{/user}","branches_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/branches{/branch}","tags_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/tags","blobs_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/languages","stargazers_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/stargazers","contributors_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/contributors","subscribers_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/subscribers","subscription_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/subscription","commits_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/contents/{+path}","compare_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/merges","archive_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/downloads","issues_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/issues{/number}","pulls_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/labels{/name}","releases_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/releases{/id}","deployments_url":"https://api.github.com/repos/alsemyonov/jsonapi-rails/deployments","created_at":"2018-10-24T22:47:08Z","updated_at":"2018-10-24T23:00:40Z","pushed_at":"2018-10-24T23:00:39Z","git_url":"git://github.com/alsemyonov/jsonapi-rails.git","ssh_url":"git@github.com:alsemyonov/jsonapi-rails.git","clone_url":"https://github.com/alsemyonov/jsonapi-rails.git","svn_url":"https://github.com/alsemyonov/jsonapi-rails","homepage":"http://jsonapi-rb.org","size":116,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jsonapi-rb:master","ref":"master","sha":"14a9421658495fe916ec1886834b6adfd764b211","user":{"login":"jsonapi-rb","id":23066863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDY2ODYz","avatar_url":"https://avatars1.githubusercontent.com/u/23066863?v=4","gravatar_id":"","url":"https://api.github.com/users/jsonapi-rb","html_url":"https://github.com/jsonapi-rb","followers_url":"https://api.github.com/users/jsonapi-rb/followers","following_url":"https://api.github.com/users/jsonapi-rb/following{/other_user}","gists_url":"https://api.github.com/users/jsonapi-rb/gists{/gist_id}","starred_url":"https://api.github.com/users/jsonapi-rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsonapi-rb/subscriptions","organizations_url":"https://api.github.com/users/jsonapi-rb/orgs","repos_url":"https://api.github.com/users/jsonapi-rb/repos","events_url":"https://api.github.com/users/jsonapi-rb/events{/privacy}","received_events_url":"https://api.github.com/users/jsonapi-rb/received_events","type":"Organization","site_admin":false},"repo":{"id":71955649,"node_id":"MDEwOlJlcG9zaXRvcnk3MTk1NTY0OQ==","name":"jsonapi-rails","full_name":"jsonapi-rb/jsonapi-rails","private":false,"owner":{"login":"jsonapi-rb","id":23066863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDY2ODYz","avatar_url":"https://avatars1.githubusercontent.com/u/23066863?v=4","gravatar_id":"","url":"https://api.github.com/users/jsonapi-rb","html_url":"https://github.com/jsonapi-rb","followers_url":"https://api.github.com/users/jsonapi-rb/followers","following_url":"https://api.github.com/users/jsonapi-rb/following{/other_user}","gists_url":"https://api.github.com/users/jsonapi-rb/gists{/gist_id}","starred_url":"https://api.github.com/users/jsonapi-rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsonapi-rb/subscriptions","organizations_url":"https://api.github.com/users/jsonapi-rb/orgs","repos_url":"https://api.github.com/users/jsonapi-rb/repos","events_url":"https://api.github.com/users/jsonapi-rb/events{/privacy}","received_events_url":"https://api.github.com/users/jsonapi-rb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/jsonapi-rb/jsonapi-rails","description":"Rails gem for fast jsonapi-compliant APIs.","fork":false,"url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails","forks_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/forks","keys_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/teams","hooks_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/hooks","issue_events_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues/events{/number}","events_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/events","assignees_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/assignees{/user}","branches_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/branches{/branch}","tags_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/tags","blobs_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/languages","stargazers_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/stargazers","contributors_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/contributors","subscribers_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/subscribers","subscription_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/subscription","commits_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/contents/{+path}","compare_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/merges","archive_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/downloads","issues_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues{/number}","pulls_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/labels{/name}","releases_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/releases{/id}","deployments_url":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/deployments","created_at":"2016-10-26T01:53:44Z","updated_at":"2018-10-22T15:19:29Z","pushed_at":"2018-10-03T05:36:54Z","git_url":"git://github.com/jsonapi-rb/jsonapi-rails.git","ssh_url":"git@github.com:jsonapi-rb/jsonapi-rails.git","clone_url":"https://github.com/jsonapi-rb/jsonapi-rails.git","svn_url":"https://github.com/jsonapi-rb/jsonapi-rails","homepage":"http://jsonapi-rb.org","size":116,"stargazers_count":167,"watchers_count":167,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":34,"open_issues":31,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/98"},"html":{"href":"https://github.com/jsonapi-rb/jsonapi-rails/pull/98"},"issue":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues/98"},"comments":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/jsonapi-rb/jsonapi-rails/statuses/322eba9db8bf5e2976975ac54167b18b748ca291"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":10,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"alsemyonov"}}