GitHub PullRequestEvent at 2014-07-30 07:18:53
Repository: mongoose
Actor: nelisbijl
Payload: {"action":"opened","number":2219,"pull_request":{"url":"https://api.github.com/repos/LearnBoost/mongoose/pulls/2219","id":19072880,"html_url":"https://github.com/LearnBoost/mongoose/pull/2219","diff_url":"https://github.com/LearnBoost/mongoose/pull/2219.diff","patch_url":"https://github.com/LearnBoost/mongoose/pull/2219.patch","issue_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2219","number":2219,"state":"open","title":"Conditional required","user":{"login":"nelisbijl","id":5389821,"avatar_url":"https://avatars.githubusercontent.com/u/5389821?v=1","gravatar_id":"b1bb19cb8112a78729164daad513f405","url":"https://api.github.com/users/nelisbijl","html_url":"https://github.com/nelisbijl","followers_url":"https://api.github.com/users/nelisbijl/followers","following_url":"https://api.github.com/users/nelisbijl/following{/other_user}","gists_url":"https://api.github.com/users/nelisbijl/gists{/gist_id}","starred_url":"https://api.github.com/users/nelisbijl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelisbijl/subscriptions","organizations_url":"https://api.github.com/users/nelisbijl/orgs","repos_url":"https://api.github.com/users/nelisbijl/repos","events_url":"https://api.github.com/users/nelisbijl/events{/privacy}","received_events_url":"https://api.github.com/users/nelisbijl/received_events","type":"User","site_admin":false},"body":"Allows the value for required in a schema definition to be a callback\r\nname: { type: String, required: function () { // this is doc return true/false; } }\r\n\r\nNote: this is my first pull request ever and I am struggling with Git. Hope I did things right.","created_at":"2014-07-30T07:18:51Z","updated_at":"2014-07-30T07:18:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LearnBoost/mongoose/pulls/2219/commits","review_comments_url":"https://api.github.com/repos/LearnBoost/mongoose/pulls/2219/comments","review_comment_url":"https://api.github.com/repos/LearnBoost/mongoose/pulls/comments/{number}","comments_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2219/comments","statuses_url":"https://api.github.com/repos/LearnBoost/mongoose/statuses/736c5aed44fd937b5bb5c67fad3892b20c7001b1","head":{"label":"nelisbijl:conditionalrequired","ref":"conditionalrequired","sha":"736c5aed44fd937b5bb5c67fad3892b20c7001b1","user":{"login":"nelisbijl","id":5389821,"avatar_url":"https://avatars.githubusercontent.com/u/5389821?v=1","gravatar_id":"b1bb19cb8112a78729164daad513f405","url":"https://api.github.com/users/nelisbijl","html_url":"https://github.com/nelisbijl","followers_url":"https://api.github.com/users/nelisbijl/followers","following_url":"https://api.github.com/users/nelisbijl/following{/other_user}","gists_url":"https://api.github.com/users/nelisbijl/gists{/gist_id}","starred_url":"https://api.github.com/users/nelisbijl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelisbijl/subscriptions","organizations_url":"https://api.github.com/users/nelisbijl/orgs","repos_url":"https://api.github.com/users/nelisbijl/repos","events_url":"https://api.github.com/users/nelisbijl/events{/privacy}","received_events_url":"https://api.github.com/users/nelisbijl/received_events","type":"User","site_admin":false},"repo":{"id":22369754,"name":"mongoose","full_name":"nelisbijl/mongoose","owner":{"login":"nelisbijl","id":5389821,"avatar_url":"https://avatars.githubusercontent.com/u/5389821?v=1","gravatar_id":"b1bb19cb8112a78729164daad513f405","url":"https://api.github.com/users/nelisbijl","html_url":"https://github.com/nelisbijl","followers_url":"https://api.github.com/users/nelisbijl/followers","following_url":"https://api.github.com/users/nelisbijl/following{/other_user}","gists_url":"https://api.github.com/users/nelisbijl/gists{/gist_id}","starred_url":"https://api.github.com/users/nelisbijl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelisbijl/subscriptions","organizations_url":"https://api.github.com/users/nelisbijl/orgs","repos_url":"https://api.github.com/users/nelisbijl/repos","events_url":"https://api.github.com/users/nelisbijl/events{/privacy}","received_events_url":"https://api.github.com/users/nelisbijl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nelisbijl/mongoose","description":"MongoDB object modeling designed to work in an asynchronous environment.","fork":true,"url":"https://api.github.com/repos/nelisbijl/mongoose","forks_url":"https://api.github.com/repos/nelisbijl/mongoose/forks","keys_url":"https://api.github.com/repos/nelisbijl/mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nelisbijl/mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nelisbijl/mongoose/teams","hooks_url":"https://api.github.com/repos/nelisbijl/mongoose/hooks","issue_events_url":"https://api.github.com/repos/nelisbijl/mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/nelisbijl/mongoose/events","assignees_url":"https://api.github.com/repos/nelisbijl/mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/nelisbijl/mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/nelisbijl/mongoose/tags","blobs_url":"https://api.github.com/repos/nelisbijl/mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nelisbijl/mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nelisbijl/mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/nelisbijl/mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nelisbijl/mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/nelisbijl/mongoose/languages","stargazers_url":"https://api.github.com/repos/nelisbijl/mongoose/stargazers","contributors_url":"https://api.github.com/repos/nelisbijl/mongoose/contributors","subscribers_url":"https://api.github.com/repos/nelisbijl/mongoose/subscribers","subscription_url":"https://api.github.com/repos/nelisbijl/mongoose/subscription","commits_url":"https://api.github.com/repos/nelisbijl/mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/nelisbijl/mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/nelisbijl/mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/nelisbijl/mongoose/issues/comments/{number}","contents_url":"https://api.github.com/repos/nelisbijl/mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/nelisbijl/mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nelisbijl/mongoose/merges","archive_url":"https://api.github.com/repos/nelisbijl/mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nelisbijl/mongoose/downloads","issues_url":"https://api.github.com/repos/nelisbijl/mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/nelisbijl/mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/nelisbijl/mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/nelisbijl/mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nelisbijl/mongoose/labels{/name}","releases_url":"https://api.github.com/repos/nelisbijl/mongoose/releases{/id}","created_at":"2014-07-29T06:19:46Z","updated_at":"2014-07-29T06:11:53Z","pushed_at":"2014-07-30T07:12:03Z","git_url":"git://github.com/nelisbijl/mongoose.git","ssh_url":"git@github.com:nelisbijl/mongoose.git","clone_url":"https://github.com/nelisbijl/mongoose.git","svn_url":"https://github.com/nelisbijl/mongoose","homepage":"http://mongoosejs.com","size":35997,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"3.8.x"}},"base":{"label":"LearnBoost:3.8.x","ref":"3.8.x","sha":"efb4b09c481fc5dffce889ae36c9cef54e5338ad","user":{"login":"LearnBoost","id":204174,"avatar_url":"https://avatars.githubusercontent.com/u/204174?v=1","gravatar_id":"07100ee5e8dedd7c96195b2aa422dbb5","url":"https://api.github.com/users/LearnBoost","html_url":"https://github.com/LearnBoost","followers_url":"https://api.github.com/users/LearnBoost/followers","following_url":"https://api.github.com/users/LearnBoost/following{/other_user}","gists_url":"https://api.github.com/users/LearnBoost/gists{/gist_id}","starred_url":"https://api.github.com/users/LearnBoost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearnBoost/subscriptions","organizations_url":"https://api.github.com/users/LearnBoost/orgs","repos_url":"https://api.github.com/users/LearnBoost/repos","events_url":"https://api.github.com/users/LearnBoost/events{/privacy}","received_events_url":"https://api.github.com/users/LearnBoost/received_events","type":"Organization","site_admin":false},"repo":{"id":597879,"name":"mongoose","full_name":"LearnBoost/mongoose","owner":{"login":"LearnBoost","id":204174,"avatar_url":"https://avatars.githubusercontent.com/u/204174?v=1","gravatar_id":"07100ee5e8dedd7c96195b2aa422dbb5","url":"https://api.github.com/users/LearnBoost","html_url":"https://github.com/LearnBoost","followers_url":"https://api.github.com/users/LearnBoost/followers","following_url":"https://api.github.com/users/LearnBoost/following{/other_user}","gists_url":"https://api.github.com/users/LearnBoost/gists{/gist_id}","starred_url":"https://api.github.com/users/LearnBoost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearnBoost/subscriptions","organizations_url":"https://api.github.com/users/LearnBoost/orgs","repos_url":"https://api.github.com/users/LearnBoost/repos","events_url":"https://api.github.com/users/LearnBoost/events{/privacy}","received_events_url":"https://api.github.com/users/LearnBoost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LearnBoost/mongoose","description":"MongoDB object modeling designed to work in an asynchronous environment.","fork":false,"url":"https://api.github.com/repos/LearnBoost/mongoose","forks_url":"https://api.github.com/repos/LearnBoost/mongoose/forks","keys_url":"https://api.github.com/repos/LearnBoost/mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LearnBoost/mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LearnBoost/mongoose/teams","hooks_url":"https://api.github.com/repos/LearnBoost/mongoose/hooks","issue_events_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/LearnBoost/mongoose/events","assignees_url":"https://api.github.com/repos/LearnBoost/mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/LearnBoost/mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/LearnBoost/mongoose/tags","blobs_url":"https://api.github.com/repos/LearnBoost/mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LearnBoost/mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LearnBoost/mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/LearnBoost/mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LearnBoost/mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/LearnBoost/mongoose/languages","stargazers_url":"https://api.github.com/repos/LearnBoost/mongoose/stargazers","contributors_url":"https://api.github.com/repos/LearnBoost/mongoose/contributors","subscribers_url":"https://api.github.com/repos/LearnBoost/mongoose/subscribers","subscription_url":"https://api.github.com/repos/LearnBoost/mongoose/subscription","commits_url":"https://api.github.com/repos/LearnBoost/mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/LearnBoost/mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/LearnBoost/mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/comments/{number}","contents_url":"https://api.github.com/repos/LearnBoost/mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/LearnBoost/mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LearnBoost/mongoose/merges","archive_url":"https://api.github.com/repos/LearnBoost/mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LearnBoost/mongoose/downloads","issues_url":"https://api.github.com/repos/LearnBoost/mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/LearnBoost/mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/LearnBoost/mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/LearnBoost/mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LearnBoost/mongoose/labels{/name}","releases_url":"https://api.github.com/repos/LearnBoost/mongoose/releases{/id}","created_at":"2010-04-06T21:39:05Z","updated_at":"2014-07-30T05:42:59Z","pushed_at":"2014-07-26T22:00:00Z","git_url":"git://github.com/LearnBoost/mongoose.git","ssh_url":"git@github.com:LearnBoost/mongoose.git","clone_url":"https://github.com/LearnBoost/mongoose.git","svn_url":"https://github.com/LearnBoost/mongoose","homepage":"http://mongoosejs.com","size":35997,"stargazers_count":5222,"watchers_count":5222,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":760,"mirror_url":null,"open_issues_count":354,"forks":760,"open_issues":354,"watchers":5222,"default_branch":"3.8.x"}},"_links":{"self":{"href":"https://api.github.com/repos/LearnBoost/mongoose/pulls/2219"},"html":{"href":"https://github.com/LearnBoost/mongoose/pull/2219"},"issue":{"href":"https://api.github.com/repos/LearnBoost/mongoose/issues/2219"},"comments":{"href":"https://api.github.com/repos/LearnBoost/mongoose/issues/2219/comments"},"review_comments":{"href":"https://api.github.com/repos/LearnBoost/mongoose/pulls/2219/comments"},"review_comment":{"href":"https://api.github.com/repos/LearnBoost/mongoose/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/LearnBoost/mongoose/pulls/2219/commits"},"statuses":{"href":"https://api.github.com/repos/LearnBoost/mongoose/statuses/736c5aed44fd937b5bb5c67fad3892b20c7001b1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":104,"additions":1091,"deletions":420,"changed_files":34}}