{"action":"created","comment":{"url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/comments/25221624","id":25221624,"diff_hunk":"@@ -325,6 +325,35 @@ test(\"clear will destroy everything for a given type\", function() {\n   equal(catsAfter.get(\"length\"), 1);\n });\n \n+test(\"clear without type will destroy everything\", function() {\n+  store.push(\"person\", {\n+    id: 9,\n+    firstName: \"Brandon\",\n+    lastName: \"Williams\",\n+    cat_id: 1\n+  });\n+\n+  store.push(\"person\", {\n+    id: 8,\n+    firstName: \"Toran\",\n+    lastName: \"Billups\",\n+    cat_id: 1\n+  });\n+\n+  store.push(\"cat\", {\n+    id: 1,\n+    color: \"red\"\n+  });\n+\n+  equal(store.find(\"person\").get(\"length\"), 2);\n+  equal(store.find(\"cat\").get(\"length\"), 1);\n+\n+  store.clear();","path":"tests/unit/store-test.js","position":27,"original_position":27,"commit_id":"9be10f8bdea08450a42eaec44250bb9ddc9dc484","original_commit_id":"9be10f8bdea08450a42eaec44250bb9ddc9dc484","user":{"login":"toranb","id":147411,"avatar_url":"https://avatars.githubusercontent.com/u/147411?v=3","gravatar_id":"","url":"https://api.github.com/users/toranb","html_url":"https://github.com/toranb","followers_url":"https://api.github.com/users/toranb/followers","following_url":"https://api.github.com/users/toranb/following{/other_user}","gists_url":"https://api.github.com/users/toranb/gists{/gist_id}","starred_url":"https://api.github.com/users/toranb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toranb/subscriptions","organizations_url":"https://api.github.com/users/toranb/orgs","repos_url":"https://api.github.com/users/toranb/repos","events_url":"https://api.github.com/users/toranb/events{/privacy}","received_events_url":"https://api.github.com/users/toranb/received_events","type":"User","site_admin":false},"body":"I love how this reads :) thanks for taking the time to polish this!","created_at":"2015-02-24T01:38:01Z","updated_at":"2015-02-24T01:38:01Z","html_url":"https://github.com/toranb/ember-cli-simple-store/pull/1#discussion_r25221624","pull_request_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/comments/25221624"},"html":{"href":"https://github.com/toranb/ember-cli-simple-store/pull/1#discussion_r25221624"},"pull_request":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1","id":29849740,"html_url":"https://github.com/toranb/ember-cli-simple-store/pull/1","diff_url":"https://github.com/toranb/ember-cli-simple-store/pull/1.diff","patch_url":"https://github.com/toranb/ember-cli-simple-store/pull/1.patch","issue_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues/1","number":1,"state":"open","locked":false,"title":"Adding the ability to clear all types from store","user":{"login":"williamsbdev","id":2402655,"avatar_url":"https://avatars.githubusercontent.com/u/2402655?v=3","gravatar_id":"","url":"https://api.github.com/users/williamsbdev","html_url":"https://github.com/williamsbdev","followers_url":"https://api.github.com/users/williamsbdev/followers","following_url":"https://api.github.com/users/williamsbdev/following{/other_user}","gists_url":"https://api.github.com/users/williamsbdev/gists{/gist_id}","starred_url":"https://api.github.com/users/williamsbdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamsbdev/subscriptions","organizations_url":"https://api.github.com/users/williamsbdev/orgs","repos_url":"https://api.github.com/users/williamsbdev/repos","events_url":"https://api.github.com/users/williamsbdev/events{/privacy}","received_events_url":"https://api.github.com/users/williamsbdev/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-23T21:58:19Z","updated_at":"2015-02-24T01:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f68f9e1c6f6368ca5cc669d7e3f0e3fbe2a41669","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1/commits","review_comments_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1/comments","review_comment_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues/1/comments","statuses_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/statuses/9be10f8bdea08450a42eaec44250bb9ddc9dc484","head":{"label":"williamsbdev:master","ref":"master","sha":"9be10f8bdea08450a42eaec44250bb9ddc9dc484","user":{"login":"williamsbdev","id":2402655,"avatar_url":"https://avatars.githubusercontent.com/u/2402655?v=3","gravatar_id":"","url":"https://api.github.com/users/williamsbdev","html_url":"https://github.com/williamsbdev","followers_url":"https://api.github.com/users/williamsbdev/followers","following_url":"https://api.github.com/users/williamsbdev/following{/other_user}","gists_url":"https://api.github.com/users/williamsbdev/gists{/gist_id}","starred_url":"https://api.github.com/users/williamsbdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamsbdev/subscriptions","organizations_url":"https://api.github.com/users/williamsbdev/orgs","repos_url":"https://api.github.com/users/williamsbdev/repos","events_url":"https://api.github.com/users/williamsbdev/events{/privacy}","received_events_url":"https://api.github.com/users/williamsbdev/received_events","type":"User","site_admin":false},"repo":{"id":29635209,"name":"ember-cli-simple-store","full_name":"williamsbdev/ember-cli-simple-store","owner":{"login":"williamsbdev","id":2402655,"avatar_url":"https://avatars.githubusercontent.com/u/2402655?v=3","gravatar_id":"","url":"https://api.github.com/users/williamsbdev","html_url":"https://github.com/williamsbdev","followers_url":"https://api.github.com/users/williamsbdev/followers","following_url":"https://api.github.com/users/williamsbdev/following{/other_user}","gists_url":"https://api.github.com/users/williamsbdev/gists{/gist_id}","starred_url":"https://api.github.com/users/williamsbdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamsbdev/subscriptions","organizations_url":"https://api.github.com/users/williamsbdev/orgs","repos_url":"https://api.github.com/users/williamsbdev/repos","events_url":"https://api.github.com/users/williamsbdev/events{/privacy}","received_events_url":"https://api.github.com/users/williamsbdev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/williamsbdev/ember-cli-simple-store","description":"ember-cli addon that provides a simple identity map for ember.js web applications","fork":true,"url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store","forks_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/forks","keys_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/teams","hooks_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/hooks","issue_events_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/issues/events{/number}","events_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/events","assignees_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/assignees{/user}","branches_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/branches{/branch}","tags_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/tags","blobs_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/statuses/{sha}","languages_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/languages","stargazers_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/stargazers","contributors_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/contributors","subscribers_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/subscribers","subscription_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/subscription","commits_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/contents/{+path}","compare_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/merges","archive_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/downloads","issues_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/issues{/number}","pulls_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/pulls{/number}","milestones_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/milestones{/number}","notifications_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/labels{/name}","releases_url":"https://api.github.com/repos/williamsbdev/ember-cli-simple-store/releases{/id}","created_at":"2015-01-22T00:51:24Z","updated_at":"2015-02-24T01:35:07Z","pushed_at":"2015-02-24T01:35:06Z","git_url":"git://github.com/williamsbdev/ember-cli-simple-store.git","ssh_url":"git@github.com:williamsbdev/ember-cli-simple-store.git","clone_url":"https://github.com/williamsbdev/ember-cli-simple-store.git","svn_url":"https://github.com/williamsbdev/ember-cli-simple-store","homepage":null,"size":124,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"toranb:master","ref":"master","sha":"c537a5858c2ad518e44f7a05c2500603e237df63","user":{"login":"toranb","id":147411,"avatar_url":"https://avatars.githubusercontent.com/u/147411?v=3","gravatar_id":"","url":"https://api.github.com/users/toranb","html_url":"https://github.com/toranb","followers_url":"https://api.github.com/users/toranb/followers","following_url":"https://api.github.com/users/toranb/following{/other_user}","gists_url":"https://api.github.com/users/toranb/gists{/gist_id}","starred_url":"https://api.github.com/users/toranb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toranb/subscriptions","organizations_url":"https://api.github.com/users/toranb/orgs","repos_url":"https://api.github.com/users/toranb/repos","events_url":"https://api.github.com/users/toranb/events{/privacy}","received_events_url":"https://api.github.com/users/toranb/received_events","type":"User","site_admin":false},"repo":{"id":28704264,"name":"ember-cli-simple-store","full_name":"toranb/ember-cli-simple-store","owner":{"login":"toranb","id":147411,"avatar_url":"https://avatars.githubusercontent.com/u/147411?v=3","gravatar_id":"","url":"https://api.github.com/users/toranb","html_url":"https://github.com/toranb","followers_url":"https://api.github.com/users/toranb/followers","following_url":"https://api.github.com/users/toranb/following{/other_user}","gists_url":"https://api.github.com/users/toranb/gists{/gist_id}","starred_url":"https://api.github.com/users/toranb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toranb/subscriptions","organizations_url":"https://api.github.com/users/toranb/orgs","repos_url":"https://api.github.com/users/toranb/repos","events_url":"https://api.github.com/users/toranb/events{/privacy}","received_events_url":"https://api.github.com/users/toranb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toranb/ember-cli-simple-store","description":"ember-cli addon that provides a simple identity map for ember.js web applications","fork":false,"url":"https://api.github.com/repos/toranb/ember-cli-simple-store","forks_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/forks","keys_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/teams","hooks_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/hooks","issue_events_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues/events{/number}","events_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/events","assignees_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/assignees{/user}","branches_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/branches{/branch}","tags_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/tags","blobs_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/statuses/{sha}","languages_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/languages","stargazers_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/stargazers","contributors_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/contributors","subscribers_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/subscribers","subscription_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/subscription","commits_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/contents/{+path}","compare_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/merges","archive_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/downloads","issues_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues{/number}","pulls_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls{/number}","milestones_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/milestones{/number}","notifications_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/labels{/name}","releases_url":"https://api.github.com/repos/toranb/ember-cli-simple-store/releases{/id}","created_at":"2015-01-02T05:14:31Z","updated_at":"2015-02-12T03:35:05Z","pushed_at":"2015-02-07T20:00:28Z","git_url":"git://github.com/toranb/ember-cli-simple-store.git","ssh_url":"git@github.com:toranb/ember-cli-simple-store.git","clone_url":"https://github.com/toranb/ember-cli-simple-store.git","svn_url":"https://github.com/toranb/ember-cli-simple-store","homepage":null,"size":207,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1"},"html":{"href":"https://github.com/toranb/ember-cli-simple-store/pull/1"},"issue":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues/1"},"comments":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/toranb/ember-cli-simple-store/statuses/9be10f8bdea08450a42eaec44250bb9ddc9dc484"}}}}