{"action":"opened","number":807,"pull_request":{"url":"https://api.github.com/repos/rspec/rspec-expectations/pulls/807","id":38208315,"html_url":"https://github.com/rspec/rspec-expectations/pull/807","diff_url":"https://github.com/rspec/rspec-expectations/pull/807.diff","patch_url":"https://github.com/rspec/rspec-expectations/pull/807.patch","issue_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/807","number":807,"state":"open","locked":false,"title":"This adds the `any`-matcher","user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"body":"You guys already added the `all`-matcher. This is very helpful. Unfortunately there's no `any`-matcher available. I hope I do not oversaw a similar functionality.\r\n\r\nTo have the `any`-matcher along this would make code at cucumber/aurba easier. This PR adds this matcher. It is based on the `All`-matcher and is a sub-class of this and re-uses most code given there.\r\n\r\nBTW:\r\nThis PR also changes the behaviour of `all` when an exception - aka `ArgumentError` - is raised. Now the `matches`-call is wrapped with in a `begin; end`-block to make it check all objects and not to stop on the first one where the exception occured.","created_at":"2015-06-22T08:12:48Z","updated_at":"2015-06-22T08:12:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rspec/rspec-expectations/pulls/807/commits","review_comments_url":"https://api.github.com/repos/rspec/rspec-expectations/pulls/807/comments","review_comment_url":"https://api.github.com/repos/rspec/rspec-expectations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/807/comments","statuses_url":"https://api.github.com/repos/rspec/rspec-expectations/statuses/3621a5869cb60a7de23c66f76dbfb6df8a737991","head":{"label":"dg-ratiodata:feature/add_any_matcher","ref":"feature/add_any_matcher","sha":"3621a5869cb60a7de23c66f76dbfb6df8a737991","user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"repo":{"id":37844016,"name":"rspec-expectations","full_name":"dg-ratiodata/rspec-expectations","owner":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dg-ratiodata/rspec-expectations","description":"Provides a readable API to express expected outcomes of a code example","fork":true,"url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations","forks_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/forks","keys_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/teams","hooks_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/hooks","issue_events_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/issues/events{/number}","events_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/events","assignees_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/assignees{/user}","branches_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/branches{/branch}","tags_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/tags","blobs_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/git/refs{/sha}","trees_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/statuses/{sha}","languages_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/languages","stargazers_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/stargazers","contributors_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/contributors","subscribers_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/subscribers","subscription_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/subscription","commits_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/commits{/sha}","git_commits_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/git/commits{/sha}","comments_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/comments{/number}","issue_comment_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/issues/comments{/number}","contents_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/contents/{+path}","compare_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/merges","archive_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/downloads","issues_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/issues{/number}","pulls_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/pulls{/number}","milestones_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/milestones{/number}","notifications_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/labels{/name}","releases_url":"https://api.github.com/repos/dg-ratiodata/rspec-expectations/releases{/id}","created_at":"2015-06-22T08:06:39Z","updated_at":"2015-06-22T08:06:40Z","pushed_at":"2015-06-22T08:07:07Z","git_url":"git://github.com/dg-ratiodata/rspec-expectations.git","ssh_url":"git@github.com:dg-ratiodata/rspec-expectations.git","clone_url":"https://github.com/dg-ratiodata/rspec-expectations.git","svn_url":"https://github.com/dg-ratiodata/rspec-expectations","homepage":"http://relishapp.com/rspec/rspec-expectations","size":9682,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"rspec:master","ref":"master","sha":"d03a69b5b6be8eb7a9c3d7ff4e94ba674df30a9d","user":{"login":"rspec","id":22388,"avatar_url":"https://avatars.githubusercontent.com/u/22388?v=3","gravatar_id":"","url":"https://api.github.com/users/rspec","html_url":"https://github.com/rspec","followers_url":"https://api.github.com/users/rspec/followers","following_url":"https://api.github.com/users/rspec/following{/other_user}","gists_url":"https://api.github.com/users/rspec/gists{/gist_id}","starred_url":"https://api.github.com/users/rspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspec/subscriptions","organizations_url":"https://api.github.com/users/rspec/orgs","repos_url":"https://api.github.com/users/rspec/repos","events_url":"https://api.github.com/users/rspec/events{/privacy}","received_events_url":"https://api.github.com/users/rspec/received_events","type":"Organization","site_admin":false},"repo":{"id":238986,"name":"rspec-expectations","full_name":"rspec/rspec-expectations","owner":{"login":"rspec","id":22388,"avatar_url":"https://avatars.githubusercontent.com/u/22388?v=3","gravatar_id":"","url":"https://api.github.com/users/rspec","html_url":"https://github.com/rspec","followers_url":"https://api.github.com/users/rspec/followers","following_url":"https://api.github.com/users/rspec/following{/other_user}","gists_url":"https://api.github.com/users/rspec/gists{/gist_id}","starred_url":"https://api.github.com/users/rspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspec/subscriptions","organizations_url":"https://api.github.com/users/rspec/orgs","repos_url":"https://api.github.com/users/rspec/repos","events_url":"https://api.github.com/users/rspec/events{/privacy}","received_events_url":"https://api.github.com/users/rspec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rspec/rspec-expectations","description":"Provides a readable API to express expected outcomes of a code example","fork":false,"url":"https://api.github.com/repos/rspec/rspec-expectations","forks_url":"https://api.github.com/repos/rspec/rspec-expectations/forks","keys_url":"https://api.github.com/repos/rspec/rspec-expectations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspec/rspec-expectations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspec/rspec-expectations/teams","hooks_url":"https://api.github.com/repos/rspec/rspec-expectations/hooks","issue_events_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/events{/number}","events_url":"https://api.github.com/repos/rspec/rspec-expectations/events","assignees_url":"https://api.github.com/repos/rspec/rspec-expectations/assignees{/user}","branches_url":"https://api.github.com/repos/rspec/rspec-expectations/branches{/branch}","tags_url":"https://api.github.com/repos/rspec/rspec-expectations/tags","blobs_url":"https://api.github.com/repos/rspec/rspec-expectations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspec/rspec-expectations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspec/rspec-expectations/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspec/rspec-expectations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspec/rspec-expectations/statuses/{sha}","languages_url":"https://api.github.com/repos/rspec/rspec-expectations/languages","stargazers_url":"https://api.github.com/repos/rspec/rspec-expectations/stargazers","contributors_url":"https://api.github.com/repos/rspec/rspec-expectations/contributors","subscribers_url":"https://api.github.com/repos/rspec/rspec-expectations/subscribers","subscription_url":"https://api.github.com/repos/rspec/rspec-expectations/subscription","commits_url":"https://api.github.com/repos/rspec/rspec-expectations/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspec/rspec-expectations/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspec/rspec-expectations/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspec/rspec-expectations/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspec/rspec-expectations/contents/{+path}","compare_url":"https://api.github.com/repos/rspec/rspec-expectations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspec/rspec-expectations/merges","archive_url":"https://api.github.com/repos/rspec/rspec-expectations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspec/rspec-expectations/downloads","issues_url":"https://api.github.com/repos/rspec/rspec-expectations/issues{/number}","pulls_url":"https://api.github.com/repos/rspec/rspec-expectations/pulls{/number}","milestones_url":"https://api.github.com/repos/rspec/rspec-expectations/milestones{/number}","notifications_url":"https://api.github.com/repos/rspec/rspec-expectations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspec/rspec-expectations/labels{/name}","releases_url":"https://api.github.com/repos/rspec/rspec-expectations/releases{/id}","created_at":"2009-06-29T15:58:17Z","updated_at":"2015-06-21T11:57:49Z","pushed_at":"2015-06-12T15:35:33Z","git_url":"git://github.com/rspec/rspec-expectations.git","ssh_url":"git@github.com:rspec/rspec-expectations.git","clone_url":"https://github.com/rspec/rspec-expectations.git","svn_url":"https://github.com/rspec/rspec-expectations","homepage":"http://relishapp.com/rspec/rspec-expectations","size":9682,"stargazers_count":657,"watchers_count":657,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":210,"mirror_url":null,"open_issues_count":23,"forks":210,"open_issues":23,"watchers":657,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rspec/rspec-expectations/pulls/807"},"html":{"href":"https://github.com/rspec/rspec-expectations/pull/807"},"issue":{"href":"https://api.github.com/repos/rspec/rspec-expectations/issues/807"},"comments":{"href":"https://api.github.com/repos/rspec/rspec-expectations/issues/807/comments"},"review_comments":{"href":"https://api.github.com/repos/rspec/rspec-expectations/pulls/807/comments"},"review_comment":{"href":"https://api.github.com/repos/rspec/rspec-expectations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rspec/rspec-expectations/pulls/807/commits"},"statuses":{"href":"https://api.github.com/repos/rspec/rspec-expectations/statuses/3621a5869cb60a7de23c66f76dbfb6df8a737991"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":146,"deletions":2,"changed_files":6}}