{"action":"closed","number":351,"pull_request":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/351","id":67141865,"html_url":"https://github.com/jagi/meteor-astronomy/pull/351","diff_url":"https://github.com/jagi/meteor-astronomy/pull/351.diff","patch_url":"https://github.com/jagi/meteor-astronomy/pull/351.patch","issue_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/351","number":351,"state":"closed","locked":false,"title":"Fix client validation for classes without assigned collection","user":{"login":"Ben305","id":2217367,"avatar_url":"https://avatars.githubusercontent.com/u/2217367?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben305","html_url":"https://github.com/Ben305","followers_url":"https://api.github.com/users/Ben305/followers","following_url":"https://api.github.com/users/Ben305/following{/other_user}","gists_url":"https://api.github.com/users/Ben305/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben305/subscriptions","organizations_url":"https://api.github.com/users/Ben305/orgs","repos_url":"https://api.github.com/users/Ben305/repos","events_url":"https://api.github.com/users/Ben305/events{/privacy}","received_events_url":"https://api.github.com/users/Ben305/received_events","type":"User","site_admin":false},"body":"In https://github.com/jagi/meteor-astronomy/commit/53f7338f86c329adf144d1a3f31e19b76467d54a a new method `callMeteorMethod` was introduced for making server calls. \r\n\r\nBefore this change, calls to `validate` for class objects without collections were executed successfully, because if no collection existed, a fallback to `Meteor.connection` was implemented. With the introduction of `callMeteorMethod`, this fallback got lost and so calls to `validate` for classes without a collection were not possible any longer.\r\n\r\nThis PR fixes this problem.","created_at":"2016-04-20T07:46:04Z","updated_at":"2016-04-21T09:36:14Z","closed_at":"2016-04-21T09:36:14Z","merged_at":"2016-04-21T09:36:14Z","merge_commit_sha":"9b54ea31de367ff85fc8311ab222d12e2a973d30","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/351/commits","review_comments_url":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/351/comments","review_comment_url":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/351/comments","statuses_url":"https://api.github.com/repos/jagi/meteor-astronomy/statuses/7d6200875e54e03d6e18e9581a3238811a26cd07","head":{"label":"Ben305:fix-client-validation","ref":"fix-client-validation","sha":"7d6200875e54e03d6e18e9581a3238811a26cd07","user":{"login":"Ben305","id":2217367,"avatar_url":"https://avatars.githubusercontent.com/u/2217367?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben305","html_url":"https://github.com/Ben305","followers_url":"https://api.github.com/users/Ben305/followers","following_url":"https://api.github.com/users/Ben305/following{/other_user}","gists_url":"https://api.github.com/users/Ben305/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben305/subscriptions","organizations_url":"https://api.github.com/users/Ben305/orgs","repos_url":"https://api.github.com/users/Ben305/repos","events_url":"https://api.github.com/users/Ben305/events{/privacy}","received_events_url":"https://api.github.com/users/Ben305/received_events","type":"User","site_admin":false},"repo":{"id":56665878,"name":"meteor-astronomy","full_name":"Ben305/meteor-astronomy","owner":{"login":"Ben305","id":2217367,"avatar_url":"https://avatars.githubusercontent.com/u/2217367?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben305","html_url":"https://github.com/Ben305","followers_url":"https://api.github.com/users/Ben305/followers","following_url":"https://api.github.com/users/Ben305/following{/other_user}","gists_url":"https://api.github.com/users/Ben305/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben305/subscriptions","organizations_url":"https://api.github.com/users/Ben305/orgs","repos_url":"https://api.github.com/users/Ben305/repos","events_url":"https://api.github.com/users/Ben305/events{/privacy}","received_events_url":"https://api.github.com/users/Ben305/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ben305/meteor-astronomy","description":"Model layer for Meteor","fork":true,"url":"https://api.github.com/repos/Ben305/meteor-astronomy","forks_url":"https://api.github.com/repos/Ben305/meteor-astronomy/forks","keys_url":"https://api.github.com/repos/Ben305/meteor-astronomy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ben305/meteor-astronomy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ben305/meteor-astronomy/teams","hooks_url":"https://api.github.com/repos/Ben305/meteor-astronomy/hooks","issue_events_url":"https://api.github.com/repos/Ben305/meteor-astronomy/issues/events{/number}","events_url":"https://api.github.com/repos/Ben305/meteor-astronomy/events","assignees_url":"https://api.github.com/repos/Ben305/meteor-astronomy/assignees{/user}","branches_url":"https://api.github.com/repos/Ben305/meteor-astronomy/branches{/branch}","tags_url":"https://api.github.com/repos/Ben305/meteor-astronomy/tags","blobs_url":"https://api.github.com/repos/Ben305/meteor-astronomy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ben305/meteor-astronomy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ben305/meteor-astronomy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ben305/meteor-astronomy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ben305/meteor-astronomy/statuses/{sha}","languages_url":"https://api.github.com/repos/Ben305/meteor-astronomy/languages","stargazers_url":"https://api.github.com/repos/Ben305/meteor-astronomy/stargazers","contributors_url":"https://api.github.com/repos/Ben305/meteor-astronomy/contributors","subscribers_url":"https://api.github.com/repos/Ben305/meteor-astronomy/subscribers","subscription_url":"https://api.github.com/repos/Ben305/meteor-astronomy/subscription","commits_url":"https://api.github.com/repos/Ben305/meteor-astronomy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ben305/meteor-astronomy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ben305/meteor-astronomy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ben305/meteor-astronomy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ben305/meteor-astronomy/contents/{+path}","compare_url":"https://api.github.com/repos/Ben305/meteor-astronomy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ben305/meteor-astronomy/merges","archive_url":"https://api.github.com/repos/Ben305/meteor-astronomy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ben305/meteor-astronomy/downloads","issues_url":"https://api.github.com/repos/Ben305/meteor-astronomy/issues{/number}","pulls_url":"https://api.github.com/repos/Ben305/meteor-astronomy/pulls{/number}","milestones_url":"https://api.github.com/repos/Ben305/meteor-astronomy/milestones{/number}","notifications_url":"https://api.github.com/repos/Ben305/meteor-astronomy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ben305/meteor-astronomy/labels{/name}","releases_url":"https://api.github.com/repos/Ben305/meteor-astronomy/releases{/id}","deployments_url":"https://api.github.com/repos/Ben305/meteor-astronomy/deployments","created_at":"2016-04-20T07:34:35Z","updated_at":"2016-04-20T07:34:36Z","pushed_at":"2016-04-21T08:07:46Z","git_url":"git://github.com/Ben305/meteor-astronomy.git","ssh_url":"git@github.com:Ben305/meteor-astronomy.git","clone_url":"https://github.com/Ben305/meteor-astronomy.git","svn_url":"https://github.com/Ben305/meteor-astronomy","homepage":"https://atmospherejs.com/jagi/astronomy","size":1600,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"jagi:v2","ref":"v2","sha":"769bd43d325d1b5df7d114b4599eff82e5e09b74","user":{"login":"jagi","id":1051229,"avatar_url":"https://avatars.githubusercontent.com/u/1051229?v=3","gravatar_id":"","url":"https://api.github.com/users/jagi","html_url":"https://github.com/jagi","followers_url":"https://api.github.com/users/jagi/followers","following_url":"https://api.github.com/users/jagi/following{/other_user}","gists_url":"https://api.github.com/users/jagi/gists{/gist_id}","starred_url":"https://api.github.com/users/jagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagi/subscriptions","organizations_url":"https://api.github.com/users/jagi/orgs","repos_url":"https://api.github.com/users/jagi/repos","events_url":"https://api.github.com/users/jagi/events{/privacy}","received_events_url":"https://api.github.com/users/jagi/received_events","type":"User","site_admin":false},"repo":{"id":30525892,"name":"meteor-astronomy","full_name":"jagi/meteor-astronomy","owner":{"login":"jagi","id":1051229,"avatar_url":"https://avatars.githubusercontent.com/u/1051229?v=3","gravatar_id":"","url":"https://api.github.com/users/jagi","html_url":"https://github.com/jagi","followers_url":"https://api.github.com/users/jagi/followers","following_url":"https://api.github.com/users/jagi/following{/other_user}","gists_url":"https://api.github.com/users/jagi/gists{/gist_id}","starred_url":"https://api.github.com/users/jagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagi/subscriptions","organizations_url":"https://api.github.com/users/jagi/orgs","repos_url":"https://api.github.com/users/jagi/repos","events_url":"https://api.github.com/users/jagi/events{/privacy}","received_events_url":"https://api.github.com/users/jagi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jagi/meteor-astronomy","description":"Model layer for Meteor","fork":false,"url":"https://api.github.com/repos/jagi/meteor-astronomy","forks_url":"https://api.github.com/repos/jagi/meteor-astronomy/forks","keys_url":"https://api.github.com/repos/jagi/meteor-astronomy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jagi/meteor-astronomy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jagi/meteor-astronomy/teams","hooks_url":"https://api.github.com/repos/jagi/meteor-astronomy/hooks","issue_events_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/events{/number}","events_url":"https://api.github.com/repos/jagi/meteor-astronomy/events","assignees_url":"https://api.github.com/repos/jagi/meteor-astronomy/assignees{/user}","branches_url":"https://api.github.com/repos/jagi/meteor-astronomy/branches{/branch}","tags_url":"https://api.github.com/repos/jagi/meteor-astronomy/tags","blobs_url":"https://api.github.com/repos/jagi/meteor-astronomy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jagi/meteor-astronomy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jagi/meteor-astronomy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jagi/meteor-astronomy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jagi/meteor-astronomy/statuses/{sha}","languages_url":"https://api.github.com/repos/jagi/meteor-astronomy/languages","stargazers_url":"https://api.github.com/repos/jagi/meteor-astronomy/stargazers","contributors_url":"https://api.github.com/repos/jagi/meteor-astronomy/contributors","subscribers_url":"https://api.github.com/repos/jagi/meteor-astronomy/subscribers","subscription_url":"https://api.github.com/repos/jagi/meteor-astronomy/subscription","commits_url":"https://api.github.com/repos/jagi/meteor-astronomy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jagi/meteor-astronomy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jagi/meteor-astronomy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jagi/meteor-astronomy/contents/{+path}","compare_url":"https://api.github.com/repos/jagi/meteor-astronomy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jagi/meteor-astronomy/merges","archive_url":"https://api.github.com/repos/jagi/meteor-astronomy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jagi/meteor-astronomy/downloads","issues_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues{/number}","pulls_url":"https://api.github.com/repos/jagi/meteor-astronomy/pulls{/number}","milestones_url":"https://api.github.com/repos/jagi/meteor-astronomy/milestones{/number}","notifications_url":"https://api.github.com/repos/jagi/meteor-astronomy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jagi/meteor-astronomy/labels{/name}","releases_url":"https://api.github.com/repos/jagi/meteor-astronomy/releases{/id}","deployments_url":"https://api.github.com/repos/jagi/meteor-astronomy/deployments","created_at":"2015-02-09T08:30:24Z","updated_at":"2016-04-20T13:38:59Z","pushed_at":"2016-04-21T09:36:14Z","git_url":"git://github.com/jagi/meteor-astronomy.git","ssh_url":"git@github.com:jagi/meteor-astronomy.git","clone_url":"https://github.com/jagi/meteor-astronomy.git","svn_url":"https://github.com/jagi/meteor-astronomy","homepage":"https://atmospherejs.com/jagi/astronomy","size":1662,"stargazers_count":447,"watchers_count":447,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":33,"forks":26,"open_issues":33,"watchers":447,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/351"},"html":{"href":"https://github.com/jagi/meteor-astronomy/pull/351"},"issue":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/issues/351"},"comments":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/issues/351/comments"},"review_comments":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/351/comments"},"review_comment":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/pulls/351/commits"},"statuses":{"href":"https://api.github.com/repos/jagi/meteor-astronomy/statuses/7d6200875e54e03d6e18e9581a3238811a26cd07"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jagi","id":1051229,"avatar_url":"https://avatars.githubusercontent.com/u/1051229?v=3","gravatar_id":"","url":"https://api.github.com/users/jagi","html_url":"https://github.com/jagi","followers_url":"https://api.github.com/users/jagi/followers","following_url":"https://api.github.com/users/jagi/following{/other_user}","gists_url":"https://api.github.com/users/jagi/gists{/gist_id}","starred_url":"https://api.github.com/users/jagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagi/subscriptions","organizations_url":"https://api.github.com/users/jagi/orgs","repos_url":"https://api.github.com/users/jagi/repos","events_url":"https://api.github.com/users/jagi/events{/privacy}","received_events_url":"https://api.github.com/users/jagi/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":25,"deletions":4,"changed_files":3}}