{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/2","id":27677816,"html_url":"https://github.com/TheDeveloper/sillyname/pull/2","diff_url":"https://github.com/TheDeveloper/sillyname/pull/2.diff","patch_url":"https://github.com/TheDeveloper/sillyname/pull/2.patch","issue_url":"https://api.github.com/repos/TheDeveloper/sillyname/issues/2","number":2,"state":"closed","locked":false,"title":"Allow random generator to be injected","user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"body":"Now it is possible to inject an optional random generator to the API functions. The benefit of this is that you have more control over generation. For instance you can use an external library with a controllable seed for this purpose (same results always).","created_at":"2015-01-20T13:38:41Z","updated_at":"2015-10-22T20:17:54Z","closed_at":"2015-10-22T20:17:54Z","merged_at":"2015-10-22T20:17:54Z","merge_commit_sha":"b0c558e8ab37d1fd12aae447b506f58966b07276","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/2/commits","review_comments_url":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/2/comments","review_comment_url":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheDeveloper/sillyname/issues/2/comments","statuses_url":"https://api.github.com/repos/TheDeveloper/sillyname/statuses/08dafa24d30c3a41e321df46e6925f96a786556e","head":{"label":"bebraw:inject-random","ref":"inject-random","sha":"08dafa24d30c3a41e321df46e6925f96a786556e","user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"repo":{"id":29530858,"name":"sillyname","full_name":"bebraw/sillyname","owner":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bebraw/sillyname","description":"Random and most importantly silly name generator for node","fork":true,"url":"https://api.github.com/repos/bebraw/sillyname","forks_url":"https://api.github.com/repos/bebraw/sillyname/forks","keys_url":"https://api.github.com/repos/bebraw/sillyname/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bebraw/sillyname/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bebraw/sillyname/teams","hooks_url":"https://api.github.com/repos/bebraw/sillyname/hooks","issue_events_url":"https://api.github.com/repos/bebraw/sillyname/issues/events{/number}","events_url":"https://api.github.com/repos/bebraw/sillyname/events","assignees_url":"https://api.github.com/repos/bebraw/sillyname/assignees{/user}","branches_url":"https://api.github.com/repos/bebraw/sillyname/branches{/branch}","tags_url":"https://api.github.com/repos/bebraw/sillyname/tags","blobs_url":"https://api.github.com/repos/bebraw/sillyname/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bebraw/sillyname/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bebraw/sillyname/git/refs{/sha}","trees_url":"https://api.github.com/repos/bebraw/sillyname/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bebraw/sillyname/statuses/{sha}","languages_url":"https://api.github.com/repos/bebraw/sillyname/languages","stargazers_url":"https://api.github.com/repos/bebraw/sillyname/stargazers","contributors_url":"https://api.github.com/repos/bebraw/sillyname/contributors","subscribers_url":"https://api.github.com/repos/bebraw/sillyname/subscribers","subscription_url":"https://api.github.com/repos/bebraw/sillyname/subscription","commits_url":"https://api.github.com/repos/bebraw/sillyname/commits{/sha}","git_commits_url":"https://api.github.com/repos/bebraw/sillyname/git/commits{/sha}","comments_url":"https://api.github.com/repos/bebraw/sillyname/comments{/number}","issue_comment_url":"https://api.github.com/repos/bebraw/sillyname/issues/comments{/number}","contents_url":"https://api.github.com/repos/bebraw/sillyname/contents/{+path}","compare_url":"https://api.github.com/repos/bebraw/sillyname/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bebraw/sillyname/merges","archive_url":"https://api.github.com/repos/bebraw/sillyname/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bebraw/sillyname/downloads","issues_url":"https://api.github.com/repos/bebraw/sillyname/issues{/number}","pulls_url":"https://api.github.com/repos/bebraw/sillyname/pulls{/number}","milestones_url":"https://api.github.com/repos/bebraw/sillyname/milestones{/number}","notifications_url":"https://api.github.com/repos/bebraw/sillyname/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bebraw/sillyname/labels{/name}","releases_url":"https://api.github.com/repos/bebraw/sillyname/releases{/id}","created_at":"2015-01-20T13:25:13Z","updated_at":"2015-01-20T13:25:13Z","pushed_at":"2015-01-20T13:37:51Z","git_url":"git://github.com/bebraw/sillyname.git","ssh_url":"git@github.com:bebraw/sillyname.git","clone_url":"https://github.com/bebraw/sillyname.git","svn_url":"https://github.com/bebraw/sillyname","homepage":null,"size":99,"stargazers_count":0,"watchers_count":0,"language":"Makefile","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":"TheDeveloper:master","ref":"master","sha":"84fed76280549ee5f937d6dc42a8e2887914c21b","user":{"login":"TheDeveloper","id":432425,"avatar_url":"https://avatars.githubusercontent.com/u/432425?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDeveloper","html_url":"https://github.com/TheDeveloper","followers_url":"https://api.github.com/users/TheDeveloper/followers","following_url":"https://api.github.com/users/TheDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/TheDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDeveloper/subscriptions","organizations_url":"https://api.github.com/users/TheDeveloper/orgs","repos_url":"https://api.github.com/users/TheDeveloper/repos","events_url":"https://api.github.com/users/TheDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/TheDeveloper/received_events","type":"User","site_admin":false},"repo":{"id":6062801,"name":"sillyname","full_name":"TheDeveloper/sillyname","owner":{"login":"TheDeveloper","id":432425,"avatar_url":"https://avatars.githubusercontent.com/u/432425?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDeveloper","html_url":"https://github.com/TheDeveloper","followers_url":"https://api.github.com/users/TheDeveloper/followers","following_url":"https://api.github.com/users/TheDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/TheDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDeveloper/subscriptions","organizations_url":"https://api.github.com/users/TheDeveloper/orgs","repos_url":"https://api.github.com/users/TheDeveloper/repos","events_url":"https://api.github.com/users/TheDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/TheDeveloper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheDeveloper/sillyname","description":"Random and most importantly silly name generator for node","fork":false,"url":"https://api.github.com/repos/TheDeveloper/sillyname","forks_url":"https://api.github.com/repos/TheDeveloper/sillyname/forks","keys_url":"https://api.github.com/repos/TheDeveloper/sillyname/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheDeveloper/sillyname/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheDeveloper/sillyname/teams","hooks_url":"https://api.github.com/repos/TheDeveloper/sillyname/hooks","issue_events_url":"https://api.github.com/repos/TheDeveloper/sillyname/issues/events{/number}","events_url":"https://api.github.com/repos/TheDeveloper/sillyname/events","assignees_url":"https://api.github.com/repos/TheDeveloper/sillyname/assignees{/user}","branches_url":"https://api.github.com/repos/TheDeveloper/sillyname/branches{/branch}","tags_url":"https://api.github.com/repos/TheDeveloper/sillyname/tags","blobs_url":"https://api.github.com/repos/TheDeveloper/sillyname/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheDeveloper/sillyname/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheDeveloper/sillyname/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheDeveloper/sillyname/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheDeveloper/sillyname/statuses/{sha}","languages_url":"https://api.github.com/repos/TheDeveloper/sillyname/languages","stargazers_url":"https://api.github.com/repos/TheDeveloper/sillyname/stargazers","contributors_url":"https://api.github.com/repos/TheDeveloper/sillyname/contributors","subscribers_url":"https://api.github.com/repos/TheDeveloper/sillyname/subscribers","subscription_url":"https://api.github.com/repos/TheDeveloper/sillyname/subscription","commits_url":"https://api.github.com/repos/TheDeveloper/sillyname/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheDeveloper/sillyname/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheDeveloper/sillyname/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheDeveloper/sillyname/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheDeveloper/sillyname/contents/{+path}","compare_url":"https://api.github.com/repos/TheDeveloper/sillyname/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheDeveloper/sillyname/merges","archive_url":"https://api.github.com/repos/TheDeveloper/sillyname/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheDeveloper/sillyname/downloads","issues_url":"https://api.github.com/repos/TheDeveloper/sillyname/issues{/number}","pulls_url":"https://api.github.com/repos/TheDeveloper/sillyname/pulls{/number}","milestones_url":"https://api.github.com/repos/TheDeveloper/sillyname/milestones{/number}","notifications_url":"https://api.github.com/repos/TheDeveloper/sillyname/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheDeveloper/sillyname/labels{/name}","releases_url":"https://api.github.com/repos/TheDeveloper/sillyname/releases{/id}","created_at":"2012-10-03T16:14:57Z","updated_at":"2015-09-27T10:40:46Z","pushed_at":"2015-10-22T20:17:54Z","git_url":"git://github.com/TheDeveloper/sillyname.git","ssh_url":"git@github.com:TheDeveloper/sillyname.git","clone_url":"https://github.com/TheDeveloper/sillyname.git","svn_url":"https://github.com/TheDeveloper/sillyname","homepage":null,"size":170,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/2"},"html":{"href":"https://github.com/TheDeveloper/sillyname/pull/2"},"issue":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/issues/2"},"comments":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/TheDeveloper/sillyname/statuses/08dafa24d30c3a41e321df46e6925f96a786556e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"TheDeveloper","id":432425,"avatar_url":"https://avatars.githubusercontent.com/u/432425?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDeveloper","html_url":"https://github.com/TheDeveloper","followers_url":"https://api.github.com/users/TheDeveloper/followers","following_url":"https://api.github.com/users/TheDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/TheDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDeveloper/subscriptions","organizations_url":"https://api.github.com/users/TheDeveloper/orgs","repos_url":"https://api.github.com/users/TheDeveloper/repos","events_url":"https://api.github.com/users/TheDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/TheDeveloper/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":28,"deletions":11,"changed_files":3}}