{"action":"created","comment":{"url":"https://api.github.com/repos/atom/fs-plus/pulls/comments/30251994","id":30251994,"diff_hunk":"@@ -639,3 +639,52 @@ describe \"fs\", ->\n \n       expect(fs.existsSync(filePath)).toBe false\n       expect(fs.existsSync(newFilePath)).toBe true\n+\n+\n+  describe '.isBinaryExtension', ->\n+\n+    it 'returns true for a recognized binary file extension', ->\n+      expect(fs.isBinaryExtension('.DS_Store')).toBe true\n+\n+    it 'returns false for non-binary file extension', ->\n+      expect(fs.isBinaryExtension('.bz2')).toBe false\n+\n+  describe \".isCompressedExtension\", ->\n+","path":"spec/fs-plus-spec.coffee","position":15,"original_position":15,"commit_id":"80ff276bb44a57e192b77a19bb913c81912551c1","original_commit_id":"80ff276bb44a57e192b77a19bb913c81912551c1","user":{"login":"mnquintana","id":823545,"avatar_url":"https://avatars.githubusercontent.com/u/823545?v=3","gravatar_id":"","url":"https://api.github.com/users/mnquintana","html_url":"https://github.com/mnquintana","followers_url":"https://api.github.com/users/mnquintana/followers","following_url":"https://api.github.com/users/mnquintana/following{/other_user}","gists_url":"https://api.github.com/users/mnquintana/gists{/gist_id}","starred_url":"https://api.github.com/users/mnquintana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnquintana/subscriptions","organizations_url":"https://api.github.com/users/mnquintana/orgs","repos_url":"https://api.github.com/users/mnquintana/repos","events_url":"https://api.github.com/users/mnquintana/events{/privacy}","received_events_url":"https://api.github.com/users/mnquintana/received_events","type":"User","site_admin":false},"body":":fire: Extra line here","created_at":"2015-05-13T17:04:16Z","updated_at":"2015-05-13T17:04:16Z","html_url":"https://github.com/atom/fs-plus/pull/20#discussion_r30251994","pull_request_url":"https://api.github.com/repos/atom/fs-plus/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/atom/fs-plus/pulls/comments/30251994"},"html":{"href":"https://github.com/atom/fs-plus/pull/20#discussion_r30251994"},"pull_request":{"href":"https://api.github.com/repos/atom/fs-plus/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/atom/fs-plus/pulls/20","id":35284750,"html_url":"https://github.com/atom/fs-plus/pull/20","diff_url":"https://github.com/atom/fs-plus/pull/20.diff","patch_url":"https://github.com/atom/fs-plus/pull/20.patch","issue_url":"https://api.github.com/repos/atom/fs-plus/issues/20","number":20,"state":"open","locked":false,"title":"Make extension helpers O(1) instead of O(n)","user":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"body":"Rather than an array, use an object to determine whether a given\r\nextension matches the chosen type. This gives a constant look up time\r\nrather than linear look up time of `indexOf`. There's no inherent order\r\nin the extensions, so the ordering of an array is not needed.","created_at":"2015-05-13T00:35:27Z","updated_at":"2015-05-13T17:04:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d041eb4a04ba1f6c9c8f767f960436334c76aa45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/fs-plus/pulls/20/commits","review_comments_url":"https://api.github.com/repos/atom/fs-plus/pulls/20/comments","review_comment_url":"https://api.github.com/repos/atom/fs-plus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/fs-plus/issues/20/comments","statuses_url":"https://api.github.com/repos/atom/fs-plus/statuses/80ff276bb44a57e192b77a19bb913c81912551c1","head":{"label":"ssorallen:constant-extension-runtime","ref":"constant-extension-runtime","sha":"80ff276bb44a57e192b77a19bb913c81912551c1","user":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"repo":{"id":35517234,"name":"fs-plus","full_name":"ssorallen/fs-plus","owner":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssorallen/fs-plus","description":"node's fs module with some helpful additions","fork":true,"url":"https://api.github.com/repos/ssorallen/fs-plus","forks_url":"https://api.github.com/repos/ssorallen/fs-plus/forks","keys_url":"https://api.github.com/repos/ssorallen/fs-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssorallen/fs-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssorallen/fs-plus/teams","hooks_url":"https://api.github.com/repos/ssorallen/fs-plus/hooks","issue_events_url":"https://api.github.com/repos/ssorallen/fs-plus/issues/events{/number}","events_url":"https://api.github.com/repos/ssorallen/fs-plus/events","assignees_url":"https://api.github.com/repos/ssorallen/fs-plus/assignees{/user}","branches_url":"https://api.github.com/repos/ssorallen/fs-plus/branches{/branch}","tags_url":"https://api.github.com/repos/ssorallen/fs-plus/tags","blobs_url":"https://api.github.com/repos/ssorallen/fs-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssorallen/fs-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssorallen/fs-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssorallen/fs-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssorallen/fs-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/ssorallen/fs-plus/languages","stargazers_url":"https://api.github.com/repos/ssorallen/fs-plus/stargazers","contributors_url":"https://api.github.com/repos/ssorallen/fs-plus/contributors","subscribers_url":"https://api.github.com/repos/ssorallen/fs-plus/subscribers","subscription_url":"https://api.github.com/repos/ssorallen/fs-plus/subscription","commits_url":"https://api.github.com/repos/ssorallen/fs-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssorallen/fs-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssorallen/fs-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssorallen/fs-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssorallen/fs-plus/contents/{+path}","compare_url":"https://api.github.com/repos/ssorallen/fs-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssorallen/fs-plus/merges","archive_url":"https://api.github.com/repos/ssorallen/fs-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssorallen/fs-plus/downloads","issues_url":"https://api.github.com/repos/ssorallen/fs-plus/issues{/number}","pulls_url":"https://api.github.com/repos/ssorallen/fs-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/ssorallen/fs-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/ssorallen/fs-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssorallen/fs-plus/labels{/name}","releases_url":"https://api.github.com/repos/ssorallen/fs-plus/releases{/id}","created_at":"2015-05-12T23:14:01Z","updated_at":"2015-05-12T23:14:02Z","pushed_at":"2015-05-13T16:25:17Z","git_url":"git://github.com/ssorallen/fs-plus.git","ssh_url":"git@github.com:ssorallen/fs-plus.git","clone_url":"https://github.com/ssorallen/fs-plus.git","svn_url":"https://github.com/ssorallen/fs-plus","homepage":"http://atom.github.io/fs-plus","size":664,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"92d084b0b5a2d94b5088cb1ff257646491819ad7","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":14024325,"name":"fs-plus","full_name":"atom/fs-plus","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/fs-plus","description":"node's fs module with some helpful additions","fork":false,"url":"https://api.github.com/repos/atom/fs-plus","forks_url":"https://api.github.com/repos/atom/fs-plus/forks","keys_url":"https://api.github.com/repos/atom/fs-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/fs-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/fs-plus/teams","hooks_url":"https://api.github.com/repos/atom/fs-plus/hooks","issue_events_url":"https://api.github.com/repos/atom/fs-plus/issues/events{/number}","events_url":"https://api.github.com/repos/atom/fs-plus/events","assignees_url":"https://api.github.com/repos/atom/fs-plus/assignees{/user}","branches_url":"https://api.github.com/repos/atom/fs-plus/branches{/branch}","tags_url":"https://api.github.com/repos/atom/fs-plus/tags","blobs_url":"https://api.github.com/repos/atom/fs-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/fs-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/fs-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/fs-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/fs-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/fs-plus/languages","stargazers_url":"https://api.github.com/repos/atom/fs-plus/stargazers","contributors_url":"https://api.github.com/repos/atom/fs-plus/contributors","subscribers_url":"https://api.github.com/repos/atom/fs-plus/subscribers","subscription_url":"https://api.github.com/repos/atom/fs-plus/subscription","commits_url":"https://api.github.com/repos/atom/fs-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/fs-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/fs-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/fs-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/fs-plus/contents/{+path}","compare_url":"https://api.github.com/repos/atom/fs-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/fs-plus/merges","archive_url":"https://api.github.com/repos/atom/fs-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/fs-plus/downloads","issues_url":"https://api.github.com/repos/atom/fs-plus/issues{/number}","pulls_url":"https://api.github.com/repos/atom/fs-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/fs-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/fs-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/fs-plus/labels{/name}","releases_url":"https://api.github.com/repos/atom/fs-plus/releases{/id}","created_at":"2013-10-31T17:59:01Z","updated_at":"2015-05-05T15:52:53Z","pushed_at":"2015-05-13T16:25:18Z","git_url":"git://github.com/atom/fs-plus.git","ssh_url":"git@github.com:atom/fs-plus.git","clone_url":"https://github.com/atom/fs-plus.git","svn_url":"https://github.com/atom/fs-plus","homepage":"http://atom.github.io/fs-plus","size":664,"stargazers_count":17,"watchers_count":17,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/fs-plus/pulls/20"},"html":{"href":"https://github.com/atom/fs-plus/pull/20"},"issue":{"href":"https://api.github.com/repos/atom/fs-plus/issues/20"},"comments":{"href":"https://api.github.com/repos/atom/fs-plus/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/fs-plus/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/fs-plus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/fs-plus/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/atom/fs-plus/statuses/80ff276bb44a57e192b77a19bb913c81912551c1"}}}}