{"action":"closed","number":240,"pull_request":{"url":"https://api.github.com/repos/freerange/mocha/pulls/240","id":70885151,"html_url":"https://github.com/freerange/mocha/pull/240","diff_url":"https://github.com/freerange/mocha/pull/240.diff","patch_url":"https://github.com/freerange/mocha/pull/240.patch","issue_url":"https://api.github.com/repos/freerange/mocha/issues/240","number":240,"state":"closed","locked":false,"title":"adds a matches_fn parameter matcher","user":{"login":"bkoski","id":35356,"avatar_url":"https://avatars.githubusercontent.com/u/35356?v=3","gravatar_id":"","url":"https://api.github.com/users/bkoski","html_url":"https://github.com/bkoski","followers_url":"https://api.github.com/users/bkoski/followers","following_url":"https://api.github.com/users/bkoski/following{/other_user}","gists_url":"https://api.github.com/users/bkoski/gists{/gist_id}","starred_url":"https://api.github.com/users/bkoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkoski/subscriptions","organizations_url":"https://api.github.com/users/bkoski/orgs","repos_url":"https://api.github.com/users/bkoski/repos","events_url":"https://api.github.com/users/bkoski/events{/privacy}","received_events_url":"https://api.github.com/users/bkoski/received_events","type":"User","site_admin":false},"body":"This adds a `matches_fn()` parameter matcher where you can define an arbitrary lambda to check a param.\r\n\r\nThis is useful for logic not covered by other matchers (for example, if a JSON string needs to be parsed, or if there is some more complex match logic).","created_at":"2016-05-20T16:50:37Z","updated_at":"2016-05-22T13:34:39Z","closed_at":"2016-05-22T13:34:39Z","merged_at":null,"merge_commit_sha":"eece2b08795bd4fa11cd19da204cc60099af7431","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/freerange/mocha/pulls/240/commits","review_comments_url":"https://api.github.com/repos/freerange/mocha/pulls/240/comments","review_comment_url":"https://api.github.com/repos/freerange/mocha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/freerange/mocha/issues/240/comments","statuses_url":"https://api.github.com/repos/freerange/mocha/statuses/e3af85dc72c0724346c61a864c51ef6114eb3127","head":{"label":"bkoski:add-matches-fn","ref":"add-matches-fn","sha":"e3af85dc72c0724346c61a864c51ef6114eb3127","user":{"login":"bkoski","id":35356,"avatar_url":"https://avatars.githubusercontent.com/u/35356?v=3","gravatar_id":"","url":"https://api.github.com/users/bkoski","html_url":"https://github.com/bkoski","followers_url":"https://api.github.com/users/bkoski/followers","following_url":"https://api.github.com/users/bkoski/following{/other_user}","gists_url":"https://api.github.com/users/bkoski/gists{/gist_id}","starred_url":"https://api.github.com/users/bkoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkoski/subscriptions","organizations_url":"https://api.github.com/users/bkoski/orgs","repos_url":"https://api.github.com/users/bkoski/repos","events_url":"https://api.github.com/users/bkoski/events{/privacy}","received_events_url":"https://api.github.com/users/bkoski/received_events","type":"User","site_admin":false},"repo":{"id":59310013,"name":"mocha","full_name":"bkoski/mocha","owner":{"login":"bkoski","id":35356,"avatar_url":"https://avatars.githubusercontent.com/u/35356?v=3","gravatar_id":"","url":"https://api.github.com/users/bkoski","html_url":"https://github.com/bkoski","followers_url":"https://api.github.com/users/bkoski/followers","following_url":"https://api.github.com/users/bkoski/following{/other_user}","gists_url":"https://api.github.com/users/bkoski/gists{/gist_id}","starred_url":"https://api.github.com/users/bkoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkoski/subscriptions","organizations_url":"https://api.github.com/users/bkoski/orgs","repos_url":"https://api.github.com/users/bkoski/repos","events_url":"https://api.github.com/users/bkoski/events{/privacy}","received_events_url":"https://api.github.com/users/bkoski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bkoski/mocha","description":"Mocha is a mocking and stubbing library for Ruby","fork":true,"url":"https://api.github.com/repos/bkoski/mocha","forks_url":"https://api.github.com/repos/bkoski/mocha/forks","keys_url":"https://api.github.com/repos/bkoski/mocha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bkoski/mocha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bkoski/mocha/teams","hooks_url":"https://api.github.com/repos/bkoski/mocha/hooks","issue_events_url":"https://api.github.com/repos/bkoski/mocha/issues/events{/number}","events_url":"https://api.github.com/repos/bkoski/mocha/events","assignees_url":"https://api.github.com/repos/bkoski/mocha/assignees{/user}","branches_url":"https://api.github.com/repos/bkoski/mocha/branches{/branch}","tags_url":"https://api.github.com/repos/bkoski/mocha/tags","blobs_url":"https://api.github.com/repos/bkoski/mocha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bkoski/mocha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bkoski/mocha/git/refs{/sha}","trees_url":"https://api.github.com/repos/bkoski/mocha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bkoski/mocha/statuses/{sha}","languages_url":"https://api.github.com/repos/bkoski/mocha/languages","stargazers_url":"https://api.github.com/repos/bkoski/mocha/stargazers","contributors_url":"https://api.github.com/repos/bkoski/mocha/contributors","subscribers_url":"https://api.github.com/repos/bkoski/mocha/subscribers","subscription_url":"https://api.github.com/repos/bkoski/mocha/subscription","commits_url":"https://api.github.com/repos/bkoski/mocha/commits{/sha}","git_commits_url":"https://api.github.com/repos/bkoski/mocha/git/commits{/sha}","comments_url":"https://api.github.com/repos/bkoski/mocha/comments{/number}","issue_comment_url":"https://api.github.com/repos/bkoski/mocha/issues/comments{/number}","contents_url":"https://api.github.com/repos/bkoski/mocha/contents/{+path}","compare_url":"https://api.github.com/repos/bkoski/mocha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bkoski/mocha/merges","archive_url":"https://api.github.com/repos/bkoski/mocha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bkoski/mocha/downloads","issues_url":"https://api.github.com/repos/bkoski/mocha/issues{/number}","pulls_url":"https://api.github.com/repos/bkoski/mocha/pulls{/number}","milestones_url":"https://api.github.com/repos/bkoski/mocha/milestones{/number}","notifications_url":"https://api.github.com/repos/bkoski/mocha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bkoski/mocha/labels{/name}","releases_url":"https://api.github.com/repos/bkoski/mocha/releases{/id}","deployments_url":"https://api.github.com/repos/bkoski/mocha/deployments","created_at":"2016-05-20T16:35:09Z","updated_at":"2016-05-20T16:35:10Z","pushed_at":"2016-05-20T16:48:54Z","git_url":"git://github.com/bkoski/mocha.git","ssh_url":"git@github.com:bkoski/mocha.git","clone_url":"https://github.com/bkoski/mocha.git","svn_url":"https://github.com/bkoski/mocha","homepage":"http://gofreerange.com/mocha/docs","size":2294,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"freerange:master","ref":"master","sha":"599b1dcd3381945d01981d7f99f43aa0e545af12","user":{"login":"freerange","id":61936,"avatar_url":"https://avatars.githubusercontent.com/u/61936?v=3","gravatar_id":"","url":"https://api.github.com/users/freerange","html_url":"https://github.com/freerange","followers_url":"https://api.github.com/users/freerange/followers","following_url":"https://api.github.com/users/freerange/following{/other_user}","gists_url":"https://api.github.com/users/freerange/gists{/gist_id}","starred_url":"https://api.github.com/users/freerange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freerange/subscriptions","organizations_url":"https://api.github.com/users/freerange/orgs","repos_url":"https://api.github.com/users/freerange/repos","events_url":"https://api.github.com/users/freerange/events{/privacy}","received_events_url":"https://api.github.com/users/freerange/received_events","type":"Organization","site_admin":false},"repo":{"id":59509,"name":"mocha","full_name":"freerange/mocha","owner":{"login":"freerange","id":61936,"avatar_url":"https://avatars.githubusercontent.com/u/61936?v=3","gravatar_id":"","url":"https://api.github.com/users/freerange","html_url":"https://github.com/freerange","followers_url":"https://api.github.com/users/freerange/followers","following_url":"https://api.github.com/users/freerange/following{/other_user}","gists_url":"https://api.github.com/users/freerange/gists{/gist_id}","starred_url":"https://api.github.com/users/freerange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freerange/subscriptions","organizations_url":"https://api.github.com/users/freerange/orgs","repos_url":"https://api.github.com/users/freerange/repos","events_url":"https://api.github.com/users/freerange/events{/privacy}","received_events_url":"https://api.github.com/users/freerange/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/freerange/mocha","description":"Mocha is a mocking and stubbing library for Ruby","fork":false,"url":"https://api.github.com/repos/freerange/mocha","forks_url":"https://api.github.com/repos/freerange/mocha/forks","keys_url":"https://api.github.com/repos/freerange/mocha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freerange/mocha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freerange/mocha/teams","hooks_url":"https://api.github.com/repos/freerange/mocha/hooks","issue_events_url":"https://api.github.com/repos/freerange/mocha/issues/events{/number}","events_url":"https://api.github.com/repos/freerange/mocha/events","assignees_url":"https://api.github.com/repos/freerange/mocha/assignees{/user}","branches_url":"https://api.github.com/repos/freerange/mocha/branches{/branch}","tags_url":"https://api.github.com/repos/freerange/mocha/tags","blobs_url":"https://api.github.com/repos/freerange/mocha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freerange/mocha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freerange/mocha/git/refs{/sha}","trees_url":"https://api.github.com/repos/freerange/mocha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freerange/mocha/statuses/{sha}","languages_url":"https://api.github.com/repos/freerange/mocha/languages","stargazers_url":"https://api.github.com/repos/freerange/mocha/stargazers","contributors_url":"https://api.github.com/repos/freerange/mocha/contributors","subscribers_url":"https://api.github.com/repos/freerange/mocha/subscribers","subscription_url":"https://api.github.com/repos/freerange/mocha/subscription","commits_url":"https://api.github.com/repos/freerange/mocha/commits{/sha}","git_commits_url":"https://api.github.com/repos/freerange/mocha/git/commits{/sha}","comments_url":"https://api.github.com/repos/freerange/mocha/comments{/number}","issue_comment_url":"https://api.github.com/repos/freerange/mocha/issues/comments{/number}","contents_url":"https://api.github.com/repos/freerange/mocha/contents/{+path}","compare_url":"https://api.github.com/repos/freerange/mocha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freerange/mocha/merges","archive_url":"https://api.github.com/repos/freerange/mocha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freerange/mocha/downloads","issues_url":"https://api.github.com/repos/freerange/mocha/issues{/number}","pulls_url":"https://api.github.com/repos/freerange/mocha/pulls{/number}","milestones_url":"https://api.github.com/repos/freerange/mocha/milestones{/number}","notifications_url":"https://api.github.com/repos/freerange/mocha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freerange/mocha/labels{/name}","releases_url":"https://api.github.com/repos/freerange/mocha/releases{/id}","deployments_url":"https://api.github.com/repos/freerange/mocha/deployments","created_at":"2008-10-04T13:34:25Z","updated_at":"2016-05-21T02:34:43Z","pushed_at":"2016-05-20T16:50:37Z","git_url":"git://github.com/freerange/mocha.git","ssh_url":"git@github.com:freerange/mocha.git","clone_url":"https://github.com/freerange/mocha.git","svn_url":"https://github.com/freerange/mocha","homepage":"http://gofreerange.com/mocha/docs","size":3414,"stargazers_count":788,"watchers_count":788,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"open_issues_count":46,"forks":116,"open_issues":46,"watchers":788,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/freerange/mocha/pulls/240"},"html":{"href":"https://github.com/freerange/mocha/pull/240"},"issue":{"href":"https://api.github.com/repos/freerange/mocha/issues/240"},"comments":{"href":"https://api.github.com/repos/freerange/mocha/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/freerange/mocha/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/freerange/mocha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/freerange/mocha/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/freerange/mocha/statuses/e3af85dc72c0724346c61a864c51ef6114eb3127"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":68,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"floehopper"}}