{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/5","id":187624526,"html_url":"https://github.com/sam0x17/crystal-mongo-orm/pull/5","diff_url":"https://github.com/sam0x17/crystal-mongo-orm/pull/5.diff","patch_url":"https://github.com/sam0x17/crystal-mongo-orm/pull/5.patch","issue_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues/5","number":5,"state":"open","locked":false,"title":"Steffanperry/class name support","user":{"login":"SteffanPerry","id":784089,"avatar_url":"https://avatars0.githubusercontent.com/u/784089?v=4","gravatar_id":"","url":"https://api.github.com/users/SteffanPerry","html_url":"https://github.com/SteffanPerry","followers_url":"https://api.github.com/users/SteffanPerry/followers","following_url":"https://api.github.com/users/SteffanPerry/following{/other_user}","gists_url":"https://api.github.com/users/SteffanPerry/gists{/gist_id}","starred_url":"https://api.github.com/users/SteffanPerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteffanPerry/subscriptions","organizations_url":"https://api.github.com/users/SteffanPerry/orgs","repos_url":"https://api.github.com/users/SteffanPerry/repos","events_url":"https://api.github.com/users/SteffanPerry/events{/privacy}","received_events_url":"https://api.github.com/users/SteffanPerry/received_events","type":"User","site_admin":false},"body":"Adds ability to declare class name for module support similar to ruby implementation\r\n\r\n`\r\nmodule Products\r\n  class Thing < Mongo::ORM::Document\r\n    belongs_to :widget\r\n  end\r\nend\r\n\r\nclass Widget\r\n  has_many things, class_name: Products::Thing\r\nend\r\n`","created_at":"2018-05-12T14:47:30Z","updated_at":"2018-05-12T14:47:30Z","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/sam0x17/crystal-mongo-orm/pulls/5/commits","review_comments_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/5/comments","review_comment_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues/5/comments","statuses_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/statuses/335597d455b90ed1a01955ea8cde539ff39331b0","head":{"label":"SteffanPerry:steffanperry/class_name_support","ref":"steffanperry/class_name_support","sha":"335597d455b90ed1a01955ea8cde539ff39331b0","user":{"login":"SteffanPerry","id":784089,"avatar_url":"https://avatars0.githubusercontent.com/u/784089?v=4","gravatar_id":"","url":"https://api.github.com/users/SteffanPerry","html_url":"https://github.com/SteffanPerry","followers_url":"https://api.github.com/users/SteffanPerry/followers","following_url":"https://api.github.com/users/SteffanPerry/following{/other_user}","gists_url":"https://api.github.com/users/SteffanPerry/gists{/gist_id}","starred_url":"https://api.github.com/users/SteffanPerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteffanPerry/subscriptions","organizations_url":"https://api.github.com/users/SteffanPerry/orgs","repos_url":"https://api.github.com/users/SteffanPerry/repos","events_url":"https://api.github.com/users/SteffanPerry/events{/privacy}","received_events_url":"https://api.github.com/users/SteffanPerry/received_events","type":"User","site_admin":false},"repo":{"id":131364517,"name":"crystal-mongo-orm","full_name":"SteffanPerry/crystal-mongo-orm","owner":{"login":"SteffanPerry","id":784089,"avatar_url":"https://avatars0.githubusercontent.com/u/784089?v=4","gravatar_id":"","url":"https://api.github.com/users/SteffanPerry","html_url":"https://github.com/SteffanPerry","followers_url":"https://api.github.com/users/SteffanPerry/followers","following_url":"https://api.github.com/users/SteffanPerry/following{/other_user}","gists_url":"https://api.github.com/users/SteffanPerry/gists{/gist_id}","starred_url":"https://api.github.com/users/SteffanPerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteffanPerry/subscriptions","organizations_url":"https://api.github.com/users/SteffanPerry/orgs","repos_url":"https://api.github.com/users/SteffanPerry/repos","events_url":"https://api.github.com/users/SteffanPerry/events{/privacy}","received_events_url":"https://api.github.com/users/SteffanPerry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SteffanPerry/crystal-mongo-orm","description":"Mongo ORM: A simple ORM for using MongoDB with the crystal programming language, designed for use with Amber. Based loosely on Granite ORM. Supports Rails-esque models, associations and embedded documents.","fork":true,"url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm","forks_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/forks","keys_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/teams","hooks_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/hooks","issue_events_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/issues/events{/number}","events_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/events","assignees_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/assignees{/user}","branches_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/branches{/branch}","tags_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/tags","blobs_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/git/refs{/sha}","trees_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/statuses/{sha}","languages_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/languages","stargazers_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/stargazers","contributors_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/contributors","subscribers_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/subscribers","subscription_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/subscription","commits_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/commits{/sha}","git_commits_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/git/commits{/sha}","comments_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/comments{/number}","issue_comment_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/issues/comments{/number}","contents_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/contents/{+path}","compare_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/merges","archive_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/downloads","issues_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/issues{/number}","pulls_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/pulls{/number}","milestones_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/milestones{/number}","notifications_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/labels{/name}","releases_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/releases{/id}","deployments_url":"https://api.github.com/repos/SteffanPerry/crystal-mongo-orm/deployments","created_at":"2018-04-28T02:31:46Z","updated_at":"2018-04-28T02:31:48Z","pushed_at":"2018-04-28T13:33:55Z","git_url":"git://github.com/SteffanPerry/crystal-mongo-orm.git","ssh_url":"git@github.com:SteffanPerry/crystal-mongo-orm.git","clone_url":"https://github.com/SteffanPerry/crystal-mongo-orm.git","svn_url":"https://github.com/SteffanPerry/crystal-mongo-orm","homepage":"","size":47,"stargazers_count":0,"watchers_count":0,"language":"Crystal","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sam0x17:master","ref":"master","sha":"42a8923593a8b1f824d84e79d049d95e8344f99d","user":{"login":"sam0x17","id":1855021,"avatar_url":"https://avatars3.githubusercontent.com/u/1855021?v=4","gravatar_id":"","url":"https://api.github.com/users/sam0x17","html_url":"https://github.com/sam0x17","followers_url":"https://api.github.com/users/sam0x17/followers","following_url":"https://api.github.com/users/sam0x17/following{/other_user}","gists_url":"https://api.github.com/users/sam0x17/gists{/gist_id}","starred_url":"https://api.github.com/users/sam0x17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam0x17/subscriptions","organizations_url":"https://api.github.com/users/sam0x17/orgs","repos_url":"https://api.github.com/users/sam0x17/repos","events_url":"https://api.github.com/users/sam0x17/events{/privacy}","received_events_url":"https://api.github.com/users/sam0x17/received_events","type":"User","site_admin":false},"repo":{"id":110388178,"name":"crystal-mongo-orm","full_name":"sam0x17/crystal-mongo-orm","owner":{"login":"sam0x17","id":1855021,"avatar_url":"https://avatars3.githubusercontent.com/u/1855021?v=4","gravatar_id":"","url":"https://api.github.com/users/sam0x17","html_url":"https://github.com/sam0x17","followers_url":"https://api.github.com/users/sam0x17/followers","following_url":"https://api.github.com/users/sam0x17/following{/other_user}","gists_url":"https://api.github.com/users/sam0x17/gists{/gist_id}","starred_url":"https://api.github.com/users/sam0x17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam0x17/subscriptions","organizations_url":"https://api.github.com/users/sam0x17/orgs","repos_url":"https://api.github.com/users/sam0x17/repos","events_url":"https://api.github.com/users/sam0x17/events{/privacy}","received_events_url":"https://api.github.com/users/sam0x17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sam0x17/crystal-mongo-orm","description":"Mongo ORM: A simple ORM for using MongoDB with the crystal programming language, designed for use with Amber. Based loosely on Granite ORM. Supports Rails-esque models, associations and embedded documents.","fork":false,"url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm","forks_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/forks","keys_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/teams","hooks_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/hooks","issue_events_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues/events{/number}","events_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/events","assignees_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/assignees{/user}","branches_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/branches{/branch}","tags_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/tags","blobs_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/git/refs{/sha}","trees_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/statuses/{sha}","languages_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/languages","stargazers_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/stargazers","contributors_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/contributors","subscribers_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/subscribers","subscription_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/subscription","commits_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/commits{/sha}","git_commits_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/git/commits{/sha}","comments_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/comments{/number}","issue_comment_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues/comments{/number}","contents_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/contents/{+path}","compare_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/merges","archive_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/downloads","issues_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues{/number}","pulls_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls{/number}","milestones_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/milestones{/number}","notifications_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/labels{/name}","releases_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/releases{/id}","deployments_url":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/deployments","created_at":"2017-11-11T23:16:52Z","updated_at":"2018-04-24T14:44:29Z","pushed_at":"2018-04-22T11:11:10Z","git_url":"git://github.com/sam0x17/crystal-mongo-orm.git","ssh_url":"git@github.com:sam0x17/crystal-mongo-orm.git","clone_url":"https://github.com/sam0x17/crystal-mongo-orm.git","svn_url":"https://github.com/sam0x17/crystal-mongo-orm","homepage":"","size":44,"stargazers_count":12,"watchers_count":12,"language":"Crystal","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":4,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/5"},"html":{"href":"https://github.com/sam0x17/crystal-mongo-orm/pull/5"},"issue":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues/5"},"comments":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/sam0x17/crystal-mongo-orm/statuses/335597d455b90ed1a01955ea8cde539ff39331b0"}},"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":3,"additions":44,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"SteffanPerry"}}