GitHub PullRequestReviewCommentEvent at 2014-11-21 04:37:16
Repository: StandUpGuy
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/comments/20698025","id":20698025,"diff_hunk":"@@ -1,63 +1,65 @@\n require \"spec_helper\"\n-require_relative \"../lib/StandUpGuy\"\n+require_relative \"../lib/Standupguy\"\n \n-describe StandUpGuy::Core do\n+describe Standupguy::Core do\n   before do\n-    StandUpGuy::Item.any_instance.stubs(:save)\n+    Standupguy::Item.any_instance.stubs(:save)\n     @file = create_test_file!\n   end\n \n   subject{ {} }\n   it \"takes options\" do\n-    StandUpGuy::Core.new(subject)\n+    Standupguy::Core.new(subject)\n   end\n \n   it \"can generate a TEXT report\" do\n     subject.merge!(report: \"TEXT\")\n-    StandUpGuy::TextReport.expects(:new)\n-    StandUpGuy::Core.new(subject)\n+    Standupguy::TextReport.any_instance.expects(:show)\n+    Standupguy::Core.new(subject)\n   end\n \n   it \"can generate an HTML report\" do\n     subject.merge!(report: \"HTML\")\n-    StandUpGuy::HTMLReport.expects(:new)\n-    StandUpGuy::Core.new(subject)\n+    Standupguy::HTMLReport.any_instance.expects(:show)\n+    Standupguy::Core.new(subject)\n   end\n \n   it \"can generate an EMAIL report\" do\n     subject.merge!(report: \"EMAIL\")\n-    StandUpGuy::EmailReport.expects(:new)\n-    StandUpGuy::Core.new(subject)\n+    Standupguy::EmailReport.any_instance.expects(:show)\n+    Standupguy::Core.new(subject)\n   end\n \n   describe \"adding an item\" do\n     it \"can add an item\" do\n-      subject.merge!(:item => \"Test Item\", :report => \"skip\")\n-      StandUpGuy::Core.new(subject)\n+      subject.merge!(:item => \"Test Item\", :report => nil)","path":"spec/core_spec.rb","position":47,"original_position":47,"commit_id":"407feaf68400c164bca87d62cdd11c26b924b6d5","original_commit_id":"407feaf68400c164bca87d62cdd11c26b924b6d5","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":"Use the new Ruby 1.9 hash syntax.","created_at":"2014-11-21T04:37:16Z","updated_at":"2014-11-21T04:37:16Z","html_url":"https://github.com/apanzerj/StandUpGuy/pull/4#discussion_r20698025","pull_request_url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/comments/20698025"},"html":{"href":"https://github.com/apanzerj/StandUpGuy/pull/4#discussion_r20698025"},"pull_request":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4","id":24818764,"html_url":"https://github.com/apanzerj/StandUpGuy/pull/4","diff_url":"https://github.com/apanzerj/StandUpGuy/pull/4.diff","patch_url":"https://github.com/apanzerj/StandUpGuy/pull/4.patch","issue_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/4","number":4,"state":"open","locked":false,"title":"Rubocop Cleanup","user":{"login":"apanzerj","id":1709515,"avatar_url":"https://avatars.githubusercontent.com/u/1709515?v=3","gravatar_id":"","url":"https://api.github.com/users/apanzerj","html_url":"https://github.com/apanzerj","followers_url":"https://api.github.com/users/apanzerj/followers","following_url":"https://api.github.com/users/apanzerj/following{/other_user}","gists_url":"https://api.github.com/users/apanzerj/gists{/gist_id}","starred_url":"https://api.github.com/users/apanzerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apanzerj/subscriptions","organizations_url":"https://api.github.com/users/apanzerj/orgs","repos_url":"https://api.github.com/users/apanzerj/repos","events_url":"https://api.github.com/users/apanzerj/events{/privacy}","received_events_url":"https://api.github.com/users/apanzerj/received_events","type":"User","site_admin":false},"body":"Fixing all the things...","created_at":"2014-11-21T04:37:07Z","updated_at":"2014-11-21T04:37:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5db1ddec539b32cd9c22e782791e25e006ce58b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4/commits","review_comments_url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4/comments","review_comment_url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/4/comments","statuses_url":"https://api.github.com/repos/apanzerj/StandUpGuy/statuses/407feaf68400c164bca87d62cdd11c26b924b6d5","head":{"label":"apanzerj:apanzerj/rubocop_fix","ref":"apanzerj/rubocop_fix","sha":"407feaf68400c164bca87d62cdd11c26b924b6d5","user":{"login":"apanzerj","id":1709515,"avatar_url":"https://avatars.githubusercontent.com/u/1709515?v=3","gravatar_id":"","url":"https://api.github.com/users/apanzerj","html_url":"https://github.com/apanzerj","followers_url":"https://api.github.com/users/apanzerj/followers","following_url":"https://api.github.com/users/apanzerj/following{/other_user}","gists_url":"https://api.github.com/users/apanzerj/gists{/gist_id}","starred_url":"https://api.github.com/users/apanzerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apanzerj/subscriptions","organizations_url":"https://api.github.com/users/apanzerj/orgs","repos_url":"https://api.github.com/users/apanzerj/repos","events_url":"https://api.github.com/users/apanzerj/events{/privacy}","received_events_url":"https://api.github.com/users/apanzerj/received_events","type":"User","site_admin":false},"repo":{"id":25718511,"name":"StandUpGuy","full_name":"apanzerj/StandUpGuy","owner":{"login":"apanzerj","id":1709515,"avatar_url":"https://avatars.githubusercontent.com/u/1709515?v=3","gravatar_id":"","url":"https://api.github.com/users/apanzerj","html_url":"https://github.com/apanzerj","followers_url":"https://api.github.com/users/apanzerj/followers","following_url":"https://api.github.com/users/apanzerj/following{/other_user}","gists_url":"https://api.github.com/users/apanzerj/gists{/gist_id}","starred_url":"https://api.github.com/users/apanzerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apanzerj/subscriptions","organizations_url":"https://api.github.com/users/apanzerj/orgs","repos_url":"https://api.github.com/users/apanzerj/repos","events_url":"https://api.github.com/users/apanzerj/events{/privacy}","received_events_url":"https://api.github.com/users/apanzerj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apanzerj/StandUpGuy","description":"Manage your StandUp","fork":false,"url":"https://api.github.com/repos/apanzerj/StandUpGuy","forks_url":"https://api.github.com/repos/apanzerj/StandUpGuy/forks","keys_url":"https://api.github.com/repos/apanzerj/StandUpGuy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apanzerj/StandUpGuy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apanzerj/StandUpGuy/teams","hooks_url":"https://api.github.com/repos/apanzerj/StandUpGuy/hooks","issue_events_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/events{/number}","events_url":"https://api.github.com/repos/apanzerj/StandUpGuy/events","assignees_url":"https://api.github.com/repos/apanzerj/StandUpGuy/assignees{/user}","branches_url":"https://api.github.com/repos/apanzerj/StandUpGuy/branches{/branch}","tags_url":"https://api.github.com/repos/apanzerj/StandUpGuy/tags","blobs_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/refs{/sha}","trees_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apanzerj/StandUpGuy/statuses/{sha}","languages_url":"https://api.github.com/repos/apanzerj/StandUpGuy/languages","stargazers_url":"https://api.github.com/repos/apanzerj/StandUpGuy/stargazers","contributors_url":"https://api.github.com/repos/apanzerj/StandUpGuy/contributors","subscribers_url":"https://api.github.com/repos/apanzerj/StandUpGuy/subscribers","subscription_url":"https://api.github.com/repos/apanzerj/StandUpGuy/subscription","commits_url":"https://api.github.com/repos/apanzerj/StandUpGuy/commits{/sha}","git_commits_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/commits{/sha}","comments_url":"https://api.github.com/repos/apanzerj/StandUpGuy/comments{/number}","issue_comment_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/comments/{number}","contents_url":"https://api.github.com/repos/apanzerj/StandUpGuy/contents/{+path}","compare_url":"https://api.github.com/repos/apanzerj/StandUpGuy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apanzerj/StandUpGuy/merges","archive_url":"https://api.github.com/repos/apanzerj/StandUpGuy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apanzerj/StandUpGuy/downloads","issues_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues{/number}","pulls_url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls{/number}","milestones_url":"https://api.github.com/repos/apanzerj/StandUpGuy/milestones{/number}","notifications_url":"https://api.github.com/repos/apanzerj/StandUpGuy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apanzerj/StandUpGuy/labels{/name}","releases_url":"https://api.github.com/repos/apanzerj/StandUpGuy/releases{/id}","created_at":"2014-10-25T03:21:48Z","updated_at":"2014-10-25T03:22:04Z","pushed_at":"2014-11-21T04:31:04Z","git_url":"git://github.com/apanzerj/StandUpGuy.git","ssh_url":"git@github.com:apanzerj/StandUpGuy.git","clone_url":"https://github.com/apanzerj/StandUpGuy.git","svn_url":"https://github.com/apanzerj/StandUpGuy","homepage":null,"size":548,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apanzerj:master","ref":"master","sha":"fc2214245328025a8d943259496fba21f4d19e7c","user":{"login":"apanzerj","id":1709515,"avatar_url":"https://avatars.githubusercontent.com/u/1709515?v=3","gravatar_id":"","url":"https://api.github.com/users/apanzerj","html_url":"https://github.com/apanzerj","followers_url":"https://api.github.com/users/apanzerj/followers","following_url":"https://api.github.com/users/apanzerj/following{/other_user}","gists_url":"https://api.github.com/users/apanzerj/gists{/gist_id}","starred_url":"https://api.github.com/users/apanzerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apanzerj/subscriptions","organizations_url":"https://api.github.com/users/apanzerj/orgs","repos_url":"https://api.github.com/users/apanzerj/repos","events_url":"https://api.github.com/users/apanzerj/events{/privacy}","received_events_url":"https://api.github.com/users/apanzerj/received_events","type":"User","site_admin":false},"repo":{"id":25718511,"name":"StandUpGuy","full_name":"apanzerj/StandUpGuy","owner":{"login":"apanzerj","id":1709515,"avatar_url":"https://avatars.githubusercontent.com/u/1709515?v=3","gravatar_id":"","url":"https://api.github.com/users/apanzerj","html_url":"https://github.com/apanzerj","followers_url":"https://api.github.com/users/apanzerj/followers","following_url":"https://api.github.com/users/apanzerj/following{/other_user}","gists_url":"https://api.github.com/users/apanzerj/gists{/gist_id}","starred_url":"https://api.github.com/users/apanzerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apanzerj/subscriptions","organizations_url":"https://api.github.com/users/apanzerj/orgs","repos_url":"https://api.github.com/users/apanzerj/repos","events_url":"https://api.github.com/users/apanzerj/events{/privacy}","received_events_url":"https://api.github.com/users/apanzerj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apanzerj/StandUpGuy","description":"Manage your StandUp","fork":false,"url":"https://api.github.com/repos/apanzerj/StandUpGuy","forks_url":"https://api.github.com/repos/apanzerj/StandUpGuy/forks","keys_url":"https://api.github.com/repos/apanzerj/StandUpGuy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apanzerj/StandUpGuy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apanzerj/StandUpGuy/teams","hooks_url":"https://api.github.com/repos/apanzerj/StandUpGuy/hooks","issue_events_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/events{/number}","events_url":"https://api.github.com/repos/apanzerj/StandUpGuy/events","assignees_url":"https://api.github.com/repos/apanzerj/StandUpGuy/assignees{/user}","branches_url":"https://api.github.com/repos/apanzerj/StandUpGuy/branches{/branch}","tags_url":"https://api.github.com/repos/apanzerj/StandUpGuy/tags","blobs_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/refs{/sha}","trees_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apanzerj/StandUpGuy/statuses/{sha}","languages_url":"https://api.github.com/repos/apanzerj/StandUpGuy/languages","stargazers_url":"https://api.github.com/repos/apanzerj/StandUpGuy/stargazers","contributors_url":"https://api.github.com/repos/apanzerj/StandUpGuy/contributors","subscribers_url":"https://api.github.com/repos/apanzerj/StandUpGuy/subscribers","subscription_url":"https://api.github.com/repos/apanzerj/StandUpGuy/subscription","commits_url":"https://api.github.com/repos/apanzerj/StandUpGuy/commits{/sha}","git_commits_url":"https://api.github.com/repos/apanzerj/StandUpGuy/git/commits{/sha}","comments_url":"https://api.github.com/repos/apanzerj/StandUpGuy/comments{/number}","issue_comment_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/comments/{number}","contents_url":"https://api.github.com/repos/apanzerj/StandUpGuy/contents/{+path}","compare_url":"https://api.github.com/repos/apanzerj/StandUpGuy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apanzerj/StandUpGuy/merges","archive_url":"https://api.github.com/repos/apanzerj/StandUpGuy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apanzerj/StandUpGuy/downloads","issues_url":"https://api.github.com/repos/apanzerj/StandUpGuy/issues{/number}","pulls_url":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls{/number}","milestones_url":"https://api.github.com/repos/apanzerj/StandUpGuy/milestones{/number}","notifications_url":"https://api.github.com/repos/apanzerj/StandUpGuy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apanzerj/StandUpGuy/labels{/name}","releases_url":"https://api.github.com/repos/apanzerj/StandUpGuy/releases{/id}","created_at":"2014-10-25T03:21:48Z","updated_at":"2014-10-25T03:22:04Z","pushed_at":"2014-11-21T04:31:04Z","git_url":"git://github.com/apanzerj/StandUpGuy.git","ssh_url":"git@github.com:apanzerj/StandUpGuy.git","clone_url":"https://github.com/apanzerj/StandUpGuy.git","svn_url":"https://github.com/apanzerj/StandUpGuy","homepage":null,"size":548,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4"},"html":{"href":"https://github.com/apanzerj/StandUpGuy/pull/4"},"issue":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/4"},"comments":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/apanzerj/StandUpGuy/statuses/407feaf68400c164bca87d62cdd11c26b924b6d5"}}}}