{"action":"opened","number":1210,"pull_request":{"url":"https://api.github.com/repos/sinonjs/sinon/pulls/1210","id":98745802,"html_url":"https://github.com/sinonjs/sinon/pull/1210","diff_url":"https://github.com/sinonjs/sinon/pull/1210.diff","patch_url":"https://github.com/sinonjs/sinon/pull/1210.patch","issue_url":"https://api.github.com/repos/sinonjs/sinon/issues/1210","number":1210,"state":"open","locked":false,"title":"Add docs for new array matchers","user":{"login":"lucasfcosta","id":6868147,"avatar_url":"https://avatars.githubusercontent.com/u/6868147?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasfcosta","html_url":"https://github.com/lucasfcosta","followers_url":"https://api.github.com/users/lucasfcosta/followers","following_url":"https://api.github.com/users/lucasfcosta/following{/other_user}","gists_url":"https://api.github.com/users/lucasfcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasfcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasfcosta/subscriptions","organizations_url":"https://api.github.com/users/lucasfcosta/orgs","repos_url":"https://api.github.com/users/lucasfcosta/repos","events_url":"https://api.github.com/users/lucasfcosta/events{/privacy}","received_events_url":"https://api.github.com/users/lucasfcosta/received_events","type":"User","site_admin":false},"body":"#### Purpose (TL;DR)\r\n\r\nThis aims to add docs for each one of the changes made at #1208 (which adds new Array Matchers).\r\n\r\n#### Solution\r\n\r\nI've read [the `CONTRIBUTING.md` file in the `docs` folder](https://github.com/sinonjs/sinon/blob/master/docs/CONTRIBUTING.md) and I think this is the correct place to add the new docs, but I'm not 100% sure, so please correct me if I'm wrong and I'll add these pieces of information to the right place.\r\n\r\nAlso, I'm not a native english speaker so please let me know if you find any spelling/grammar mistakes. It would be much appreciated 😄 \r\n\r\nPS: I've made this in a single commit, but I can split it up into multiple commits, one for each matcher, if you find it to be better.\r\n\r\n#### How to verify\r\n\r\n1. Check out this branch (see github instructions below)\r\n2. Go to the docs folder by running `cd docs` on Sinon's root folder\r\n3. Ensure you have bundler by running `gem install bundler`\r\n4. Install dependencies by running `bundle install`\r\n5. Run a local server by running `bundle exec jekyll serve`\r\n6. Go to `http://localhost:4000/releases/v2.0.0-pre.4/matchers/` and check the new docs\r\n","created_at":"2016-12-20T13:11:16Z","updated_at":"2016-12-20T13:11:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sinonjs/sinon/pulls/1210/commits","review_comments_url":"https://api.github.com/repos/sinonjs/sinon/pulls/1210/comments","review_comment_url":"https://api.github.com/repos/sinonjs/sinon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sinonjs/sinon/issues/1210/comments","statuses_url":"https://api.github.com/repos/sinonjs/sinon/statuses/009fe53ce3e231d930d681a36e69ac5a59e76dea","head":{"label":"lucasfcosta:document-new-array-matchers","ref":"document-new-array-matchers","sha":"009fe53ce3e231d930d681a36e69ac5a59e76dea","user":{"login":"lucasfcosta","id":6868147,"avatar_url":"https://avatars.githubusercontent.com/u/6868147?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasfcosta","html_url":"https://github.com/lucasfcosta","followers_url":"https://api.github.com/users/lucasfcosta/followers","following_url":"https://api.github.com/users/lucasfcosta/following{/other_user}","gists_url":"https://api.github.com/users/lucasfcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasfcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasfcosta/subscriptions","organizations_url":"https://api.github.com/users/lucasfcosta/orgs","repos_url":"https://api.github.com/users/lucasfcosta/repos","events_url":"https://api.github.com/users/lucasfcosta/events{/privacy}","received_events_url":"https://api.github.com/users/lucasfcosta/received_events","type":"User","site_admin":false},"repo":{"id":59615502,"name":"sinon","full_name":"lucasfcosta/sinon","owner":{"login":"lucasfcosta","id":6868147,"avatar_url":"https://avatars.githubusercontent.com/u/6868147?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasfcosta","html_url":"https://github.com/lucasfcosta","followers_url":"https://api.github.com/users/lucasfcosta/followers","following_url":"https://api.github.com/users/lucasfcosta/following{/other_user}","gists_url":"https://api.github.com/users/lucasfcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasfcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasfcosta/subscriptions","organizations_url":"https://api.github.com/users/lucasfcosta/orgs","repos_url":"https://api.github.com/users/lucasfcosta/repos","events_url":"https://api.github.com/users/lucasfcosta/events{/privacy}","received_events_url":"https://api.github.com/users/lucasfcosta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasfcosta/sinon","description":"Test spies, stubs and mocks for JavaScript.","fork":true,"url":"https://api.github.com/repos/lucasfcosta/sinon","forks_url":"https://api.github.com/repos/lucasfcosta/sinon/forks","keys_url":"https://api.github.com/repos/lucasfcosta/sinon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasfcosta/sinon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasfcosta/sinon/teams","hooks_url":"https://api.github.com/repos/lucasfcosta/sinon/hooks","issue_events_url":"https://api.github.com/repos/lucasfcosta/sinon/issues/events{/number}","events_url":"https://api.github.com/repos/lucasfcosta/sinon/events","assignees_url":"https://api.github.com/repos/lucasfcosta/sinon/assignees{/user}","branches_url":"https://api.github.com/repos/lucasfcosta/sinon/branches{/branch}","tags_url":"https://api.github.com/repos/lucasfcosta/sinon/tags","blobs_url":"https://api.github.com/repos/lucasfcosta/sinon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasfcosta/sinon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasfcosta/sinon/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasfcosta/sinon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasfcosta/sinon/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasfcosta/sinon/languages","stargazers_url":"https://api.github.com/repos/lucasfcosta/sinon/stargazers","contributors_url":"https://api.github.com/repos/lucasfcosta/sinon/contributors","subscribers_url":"https://api.github.com/repos/lucasfcosta/sinon/subscribers","subscription_url":"https://api.github.com/repos/lucasfcosta/sinon/subscription","commits_url":"https://api.github.com/repos/lucasfcosta/sinon/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasfcosta/sinon/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasfcosta/sinon/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasfcosta/sinon/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasfcosta/sinon/contents/{+path}","compare_url":"https://api.github.com/repos/lucasfcosta/sinon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasfcosta/sinon/merges","archive_url":"https://api.github.com/repos/lucasfcosta/sinon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasfcosta/sinon/downloads","issues_url":"https://api.github.com/repos/lucasfcosta/sinon/issues{/number}","pulls_url":"https://api.github.com/repos/lucasfcosta/sinon/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasfcosta/sinon/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasfcosta/sinon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasfcosta/sinon/labels{/name}","releases_url":"https://api.github.com/repos/lucasfcosta/sinon/releases{/id}","deployments_url":"https://api.github.com/repos/lucasfcosta/sinon/deployments","created_at":"2016-05-24T23:26:55Z","updated_at":"2016-05-24T23:26:56Z","pushed_at":"2016-12-20T13:06:53Z","git_url":"git://github.com/lucasfcosta/sinon.git","ssh_url":"git@github.com:lucasfcosta/sinon.git","clone_url":"https://github.com/lucasfcosta/sinon.git","svn_url":"https://github.com/lucasfcosta/sinon","homepage":"http://sinonjs.org/","size":2835,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"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":"sinonjs:master","ref":"master","sha":"1924a89e1f476a1c033ec869b5a79de033575b08","user":{"login":"sinonjs","id":6570253,"avatar_url":"https://avatars.githubusercontent.com/u/6570253?v=3","gravatar_id":"","url":"https://api.github.com/users/sinonjs","html_url":"https://github.com/sinonjs","followers_url":"https://api.github.com/users/sinonjs/followers","following_url":"https://api.github.com/users/sinonjs/following{/other_user}","gists_url":"https://api.github.com/users/sinonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/sinonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinonjs/subscriptions","organizations_url":"https://api.github.com/users/sinonjs/orgs","repos_url":"https://api.github.com/users/sinonjs/repos","events_url":"https://api.github.com/users/sinonjs/events{/privacy}","received_events_url":"https://api.github.com/users/sinonjs/received_events","type":"Organization","site_admin":false},"repo":{"id":747698,"name":"sinon","full_name":"sinonjs/sinon","owner":{"login":"sinonjs","id":6570253,"avatar_url":"https://avatars.githubusercontent.com/u/6570253?v=3","gravatar_id":"","url":"https://api.github.com/users/sinonjs","html_url":"https://github.com/sinonjs","followers_url":"https://api.github.com/users/sinonjs/followers","following_url":"https://api.github.com/users/sinonjs/following{/other_user}","gists_url":"https://api.github.com/users/sinonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/sinonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinonjs/subscriptions","organizations_url":"https://api.github.com/users/sinonjs/orgs","repos_url":"https://api.github.com/users/sinonjs/repos","events_url":"https://api.github.com/users/sinonjs/events{/privacy}","received_events_url":"https://api.github.com/users/sinonjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sinonjs/sinon","description":"Test spies, stubs and mocks for JavaScript.","fork":false,"url":"https://api.github.com/repos/sinonjs/sinon","forks_url":"https://api.github.com/repos/sinonjs/sinon/forks","keys_url":"https://api.github.com/repos/sinonjs/sinon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sinonjs/sinon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sinonjs/sinon/teams","hooks_url":"https://api.github.com/repos/sinonjs/sinon/hooks","issue_events_url":"https://api.github.com/repos/sinonjs/sinon/issues/events{/number}","events_url":"https://api.github.com/repos/sinonjs/sinon/events","assignees_url":"https://api.github.com/repos/sinonjs/sinon/assignees{/user}","branches_url":"https://api.github.com/repos/sinonjs/sinon/branches{/branch}","tags_url":"https://api.github.com/repos/sinonjs/sinon/tags","blobs_url":"https://api.github.com/repos/sinonjs/sinon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sinonjs/sinon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sinonjs/sinon/git/refs{/sha}","trees_url":"https://api.github.com/repos/sinonjs/sinon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sinonjs/sinon/statuses/{sha}","languages_url":"https://api.github.com/repos/sinonjs/sinon/languages","stargazers_url":"https://api.github.com/repos/sinonjs/sinon/stargazers","contributors_url":"https://api.github.com/repos/sinonjs/sinon/contributors","subscribers_url":"https://api.github.com/repos/sinonjs/sinon/subscribers","subscription_url":"https://api.github.com/repos/sinonjs/sinon/subscription","commits_url":"https://api.github.com/repos/sinonjs/sinon/commits{/sha}","git_commits_url":"https://api.github.com/repos/sinonjs/sinon/git/commits{/sha}","comments_url":"https://api.github.com/repos/sinonjs/sinon/comments{/number}","issue_comment_url":"https://api.github.com/repos/sinonjs/sinon/issues/comments{/number}","contents_url":"https://api.github.com/repos/sinonjs/sinon/contents/{+path}","compare_url":"https://api.github.com/repos/sinonjs/sinon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sinonjs/sinon/merges","archive_url":"https://api.github.com/repos/sinonjs/sinon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sinonjs/sinon/downloads","issues_url":"https://api.github.com/repos/sinonjs/sinon/issues{/number}","pulls_url":"https://api.github.com/repos/sinonjs/sinon/pulls{/number}","milestones_url":"https://api.github.com/repos/sinonjs/sinon/milestones{/number}","notifications_url":"https://api.github.com/repos/sinonjs/sinon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sinonjs/sinon/labels{/name}","releases_url":"https://api.github.com/repos/sinonjs/sinon/releases{/id}","deployments_url":"https://api.github.com/repos/sinonjs/sinon/deployments","created_at":"2010-06-29T21:15:32Z","updated_at":"2016-12-20T07:53:00Z","pushed_at":"2016-12-20T12:16:40Z","git_url":"git://github.com/sinonjs/sinon.git","ssh_url":"git@github.com:sinonjs/sinon.git","clone_url":"https://github.com/sinonjs/sinon.git","svn_url":"https://github.com/sinonjs/sinon","homepage":"http://sinonjs.org/","size":2826,"stargazers_count":3512,"watchers_count":3512,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":465,"mirror_url":null,"open_issues_count":142,"forks":465,"open_issues":142,"watchers":3512,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sinonjs/sinon/pulls/1210"},"html":{"href":"https://github.com/sinonjs/sinon/pull/1210"},"issue":{"href":"https://api.github.com/repos/sinonjs/sinon/issues/1210"},"comments":{"href":"https://api.github.com/repos/sinonjs/sinon/issues/1210/comments"},"review_comments":{"href":"https://api.github.com/repos/sinonjs/sinon/pulls/1210/comments"},"review_comment":{"href":"https://api.github.com/repos/sinonjs/sinon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sinonjs/sinon/pulls/1210/commits"},"statuses":{"href":"https://api.github.com/repos/sinonjs/sinon/statuses/009fe53ce3e231d930d681a36e69ac5a59e76dea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"lucasfcosta"}}