GitHub PullRequestReviewCommentEvent at 2014-12-09 20:29:40
Repository: xcpretty
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/supermarin/xcpretty/pulls/comments/21559687","id":21559687,"diff_hunk":"@@ -14,24 +14,29 @@ module XCPretty\n EOS\n     end\n \n+    it 'saves the file path' do\n+      path = File.expand_path('spec/fixtures/NSStringTests.m:36')\n+      Snippet.from_filepath(path).file_path.should == path\n+    end\n+\n     it \"doesn't crash when there's nothing to read\" do\n       path = File.expand_path('spec/fixtures/NSStringTests.m:64')\n-      Snippet.from_filepath(path).should == \"\\nSPEC_END\\n\"\n+      Snippet.from_filepath(path).contents.should == \"\\nSPEC_END\\n\"\n     end\n \n     it \"doesn't crash if file path is invalid\" do\n       path = 'invalid-path'\n-      Snippet.from_filepath(path).should == ''\n+      Snippet.from_filepath(path).contents.should == ''\n     end\n \n     it \"doesn't crash if a failure is on the first line\" do\n       path = File.expand_path('spec/fixtures/NSStringTests.m:0')\n-      Snippet.from_filepath(path).should == \"//\\n//  NSStringTests.m\\n//  SampleProject\\n\"\n+      Snippet.from_filepath(path).contents.should == \"//\\n//  NSStringTests.m\\n//  SampleProject\\n\"","path":"spec/xcpretty/snippet_spec.rb","position":33,"original_position":33,"commit_id":"ac85ab539a61c5b5fd51927e9d9badfec7086123","original_commit_id":"ac85ab539a61c5b5fd51927e9d9badfec7086123","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [99/80]","created_at":"2014-12-09T20:29:40Z","updated_at":"2014-12-09T20:29:40Z","html_url":"https://github.com/supermarin/xcpretty/pull/110#discussion_r21559687","pull_request_url":"https://api.github.com/repos/supermarin/xcpretty/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/supermarin/xcpretty/pulls/comments/21559687"},"html":{"href":"https://github.com/supermarin/xcpretty/pull/110#discussion_r21559687"},"pull_request":{"href":"https://api.github.com/repos/supermarin/xcpretty/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/supermarin/xcpretty/pulls/110","id":25710807,"html_url":"https://github.com/supermarin/xcpretty/pull/110","diff_url":"https://github.com/supermarin/xcpretty/pull/110.diff","patch_url":"https://github.com/supermarin/xcpretty/pull/110.patch","issue_url":"https://api.github.com/repos/supermarin/xcpretty/issues/110","number":110,"state":"open","locked":false,"title":"Support syntax highlighting for multiple languages","user":{"login":"kattrali","id":333454,"avatar_url":"https://avatars.githubusercontent.com/u/333454?v=3","gravatar_id":"","url":"https://api.github.com/users/kattrali","html_url":"https://github.com/kattrali","followers_url":"https://api.github.com/users/kattrali/followers","following_url":"https://api.github.com/users/kattrali/following{/other_user}","gists_url":"https://api.github.com/users/kattrali/gists{/gist_id}","starred_url":"https://api.github.com/users/kattrali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kattrali/subscriptions","organizations_url":"https://api.github.com/users/kattrali/orgs","repos_url":"https://api.github.com/users/kattrali/repos","events_url":"https://api.github.com/users/kattrali/events{/privacy}","received_events_url":"https://api.github.com/users/kattrali/received_events","type":"User","site_admin":false},"body":"Add an optional `language` argument to `pygmentize`, doing a dumb guess as to a file's language. Default language remains objc.","created_at":"2014-12-09T00:43:42Z","updated_at":"2014-12-09T20:29:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43599b2ef036d41ca1115f620667216492d87224","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/supermarin/xcpretty/pulls/110/commits","review_comments_url":"https://api.github.com/repos/supermarin/xcpretty/pulls/110/comments","review_comment_url":"https://api.github.com/repos/supermarin/xcpretty/pulls/comments/{number}","comments_url":"https://api.github.com/repos/supermarin/xcpretty/issues/110/comments","statuses_url":"https://api.github.com/repos/supermarin/xcpretty/statuses/ac85ab539a61c5b5fd51927e9d9badfec7086123","head":{"label":"supermarin:lang-swap","ref":"lang-swap","sha":"ac85ab539a61c5b5fd51927e9d9badfec7086123","user":{"login":"supermarin","id":627285,"avatar_url":"https://avatars.githubusercontent.com/u/627285?v=3","gravatar_id":"","url":"https://api.github.com/users/supermarin","html_url":"https://github.com/supermarin","followers_url":"https://api.github.com/users/supermarin/followers","following_url":"https://api.github.com/users/supermarin/following{/other_user}","gists_url":"https://api.github.com/users/supermarin/gists{/gist_id}","starred_url":"https://api.github.com/users/supermarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supermarin/subscriptions","organizations_url":"https://api.github.com/users/supermarin/orgs","repos_url":"https://api.github.com/users/supermarin/repos","events_url":"https://api.github.com/users/supermarin/events{/privacy}","received_events_url":"https://api.github.com/users/supermarin/received_events","type":"User","site_admin":false},"repo":{"id":15035229,"name":"xcpretty","full_name":"supermarin/xcpretty","owner":{"login":"supermarin","id":627285,"avatar_url":"https://avatars.githubusercontent.com/u/627285?v=3","gravatar_id":"","url":"https://api.github.com/users/supermarin","html_url":"https://github.com/supermarin","followers_url":"https://api.github.com/users/supermarin/followers","following_url":"https://api.github.com/users/supermarin/following{/other_user}","gists_url":"https://api.github.com/users/supermarin/gists{/gist_id}","starred_url":"https://api.github.com/users/supermarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supermarin/subscriptions","organizations_url":"https://api.github.com/users/supermarin/orgs","repos_url":"https://api.github.com/users/supermarin/repos","events_url":"https://api.github.com/users/supermarin/events{/privacy}","received_events_url":"https://api.github.com/users/supermarin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/supermarin/xcpretty","description":"Flexible and fast xcodebuild formatter","fork":false,"url":"https://api.github.com/repos/supermarin/xcpretty","forks_url":"https://api.github.com/repos/supermarin/xcpretty/forks","keys_url":"https://api.github.com/repos/supermarin/xcpretty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/supermarin/xcpretty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/supermarin/xcpretty/teams","hooks_url":"https://api.github.com/repos/supermarin/xcpretty/hooks","issue_events_url":"https://api.github.com/repos/supermarin/xcpretty/issues/events{/number}","events_url":"https://api.github.com/repos/supermarin/xcpretty/events","assignees_url":"https://api.github.com/repos/supermarin/xcpretty/assignees{/user}","branches_url":"https://api.github.com/repos/supermarin/xcpretty/branches{/branch}","tags_url":"https://api.github.com/repos/supermarin/xcpretty/tags","blobs_url":"https://api.github.com/repos/supermarin/xcpretty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/supermarin/xcpretty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/supermarin/xcpretty/git/refs{/sha}","trees_url":"https://api.github.com/repos/supermarin/xcpretty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/supermarin/xcpretty/statuses/{sha}","languages_url":"https://api.github.com/repos/supermarin/xcpretty/languages","stargazers_url":"https://api.github.com/repos/supermarin/xcpretty/stargazers","contributors_url":"https://api.github.com/repos/supermarin/xcpretty/contributors","subscribers_url":"https://api.github.com/repos/supermarin/xcpretty/subscribers","subscription_url":"https://api.github.com/repos/supermarin/xcpretty/subscription","commits_url":"https://api.github.com/repos/supermarin/xcpretty/commits{/sha}","git_commits_url":"https://api.github.com/repos/supermarin/xcpretty/git/commits{/sha}","comments_url":"https://api.github.com/repos/supermarin/xcpretty/comments{/number}","issue_comment_url":"https://api.github.com/repos/supermarin/xcpretty/issues/comments/{number}","contents_url":"https://api.github.com/repos/supermarin/xcpretty/contents/{+path}","compare_url":"https://api.github.com/repos/supermarin/xcpretty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/supermarin/xcpretty/merges","archive_url":"https://api.github.com/repos/supermarin/xcpretty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/supermarin/xcpretty/downloads","issues_url":"https://api.github.com/repos/supermarin/xcpretty/issues{/number}","pulls_url":"https://api.github.com/repos/supermarin/xcpretty/pulls{/number}","milestones_url":"https://api.github.com/repos/supermarin/xcpretty/milestones{/number}","notifications_url":"https://api.github.com/repos/supermarin/xcpretty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/supermarin/xcpretty/labels{/name}","releases_url":"https://api.github.com/repos/supermarin/xcpretty/releases{/id}","created_at":"2013-12-09T01:31:14Z","updated_at":"2014-12-09T01:28:36Z","pushed_at":"2014-12-09T20:29:33Z","git_url":"git://github.com/supermarin/xcpretty.git","ssh_url":"git@github.com:supermarin/xcpretty.git","clone_url":"https://github.com/supermarin/xcpretty.git","svn_url":"https://github.com/supermarin/xcpretty","homepage":"","size":4638,"stargazers_count":836,"watchers_count":836,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":18,"forks":46,"open_issues":18,"watchers":836,"default_branch":"master"}},"base":{"label":"supermarin:master","ref":"master","sha":"ca96bc5d66cccef0b443668705ff0d0d649e4751","user":{"login":"supermarin","id":627285,"avatar_url":"https://avatars.githubusercontent.com/u/627285?v=3","gravatar_id":"","url":"https://api.github.com/users/supermarin","html_url":"https://github.com/supermarin","followers_url":"https://api.github.com/users/supermarin/followers","following_url":"https://api.github.com/users/supermarin/following{/other_user}","gists_url":"https://api.github.com/users/supermarin/gists{/gist_id}","starred_url":"https://api.github.com/users/supermarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supermarin/subscriptions","organizations_url":"https://api.github.com/users/supermarin/orgs","repos_url":"https://api.github.com/users/supermarin/repos","events_url":"https://api.github.com/users/supermarin/events{/privacy}","received_events_url":"https://api.github.com/users/supermarin/received_events","type":"User","site_admin":false},"repo":{"id":15035229,"name":"xcpretty","full_name":"supermarin/xcpretty","owner":{"login":"supermarin","id":627285,"avatar_url":"https://avatars.githubusercontent.com/u/627285?v=3","gravatar_id":"","url":"https://api.github.com/users/supermarin","html_url":"https://github.com/supermarin","followers_url":"https://api.github.com/users/supermarin/followers","following_url":"https://api.github.com/users/supermarin/following{/other_user}","gists_url":"https://api.github.com/users/supermarin/gists{/gist_id}","starred_url":"https://api.github.com/users/supermarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supermarin/subscriptions","organizations_url":"https://api.github.com/users/supermarin/orgs","repos_url":"https://api.github.com/users/supermarin/repos","events_url":"https://api.github.com/users/supermarin/events{/privacy}","received_events_url":"https://api.github.com/users/supermarin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/supermarin/xcpretty","description":"Flexible and fast xcodebuild formatter","fork":false,"url":"https://api.github.com/repos/supermarin/xcpretty","forks_url":"https://api.github.com/repos/supermarin/xcpretty/forks","keys_url":"https://api.github.com/repos/supermarin/xcpretty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/supermarin/xcpretty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/supermarin/xcpretty/teams","hooks_url":"https://api.github.com/repos/supermarin/xcpretty/hooks","issue_events_url":"https://api.github.com/repos/supermarin/xcpretty/issues/events{/number}","events_url":"https://api.github.com/repos/supermarin/xcpretty/events","assignees_url":"https://api.github.com/repos/supermarin/xcpretty/assignees{/user}","branches_url":"https://api.github.com/repos/supermarin/xcpretty/branches{/branch}","tags_url":"https://api.github.com/repos/supermarin/xcpretty/tags","blobs_url":"https://api.github.com/repos/supermarin/xcpretty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/supermarin/xcpretty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/supermarin/xcpretty/git/refs{/sha}","trees_url":"https://api.github.com/repos/supermarin/xcpretty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/supermarin/xcpretty/statuses/{sha}","languages_url":"https://api.github.com/repos/supermarin/xcpretty/languages","stargazers_url":"https://api.github.com/repos/supermarin/xcpretty/stargazers","contributors_url":"https://api.github.com/repos/supermarin/xcpretty/contributors","subscribers_url":"https://api.github.com/repos/supermarin/xcpretty/subscribers","subscription_url":"https://api.github.com/repos/supermarin/xcpretty/subscription","commits_url":"https://api.github.com/repos/supermarin/xcpretty/commits{/sha}","git_commits_url":"https://api.github.com/repos/supermarin/xcpretty/git/commits{/sha}","comments_url":"https://api.github.com/repos/supermarin/xcpretty/comments{/number}","issue_comment_url":"https://api.github.com/repos/supermarin/xcpretty/issues/comments/{number}","contents_url":"https://api.github.com/repos/supermarin/xcpretty/contents/{+path}","compare_url":"https://api.github.com/repos/supermarin/xcpretty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/supermarin/xcpretty/merges","archive_url":"https://api.github.com/repos/supermarin/xcpretty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/supermarin/xcpretty/downloads","issues_url":"https://api.github.com/repos/supermarin/xcpretty/issues{/number}","pulls_url":"https://api.github.com/repos/supermarin/xcpretty/pulls{/number}","milestones_url":"https://api.github.com/repos/supermarin/xcpretty/milestones{/number}","notifications_url":"https://api.github.com/repos/supermarin/xcpretty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/supermarin/xcpretty/labels{/name}","releases_url":"https://api.github.com/repos/supermarin/xcpretty/releases{/id}","created_at":"2013-12-09T01:31:14Z","updated_at":"2014-12-09T01:28:36Z","pushed_at":"2014-12-09T20:29:33Z","git_url":"git://github.com/supermarin/xcpretty.git","ssh_url":"git@github.com:supermarin/xcpretty.git","clone_url":"https://github.com/supermarin/xcpretty.git","svn_url":"https://github.com/supermarin/xcpretty","homepage":"","size":4638,"stargazers_count":836,"watchers_count":836,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":18,"forks":46,"open_issues":18,"watchers":836,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/supermarin/xcpretty/pulls/110"},"html":{"href":"https://github.com/supermarin/xcpretty/pull/110"},"issue":{"href":"https://api.github.com/repos/supermarin/xcpretty/issues/110"},"comments":{"href":"https://api.github.com/repos/supermarin/xcpretty/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/supermarin/xcpretty/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/supermarin/xcpretty/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/supermarin/xcpretty/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/supermarin/xcpretty/statuses/ac85ab539a61c5b5fd51927e9d9badfec7086123"}}}}