GitHub PullRequestReviewCommentEvent at 2014-11-29 11:08:55
Repository: openproject-costs
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/21051838","id":21051838,"diff_hunk":"@@ -19,11 +19,15 @@\n \n require 'spec_helper'\n \n-describe WorkPackage, :type => :model do\n-  let(:work_package) { FactoryGirl.create(:work_package, :project => project,\n-                                                         :status => status) }\n-  let(:work_package2) { FactoryGirl.create(:work_package, :project => project2,\n-                                                          :status => status) }\n+describe WorkPackage, type: :model do\n+  let(:work_package) {\n+    FactoryGirl.create(:work_package, project: project,\n+                                      status: status)\n+  }\n+  let(:work_package2) {","path":"spec/models/work_package/ask_before_destruction_spec.rb","position":14,"original_position":14,"commit_id":"e77dbbec882e329c3fe284a6d95f0487b9b8a65d","original_commit_id":"e77dbbec882e329c3fe284a6d95f0487b9b8a65d","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":"Avoid using {...} for multi-line blocks.","created_at":"2014-11-29T11:08:55Z","updated_at":"2014-11-29T11:08:55Z","html_url":"https://github.com/finnlabs/openproject-costs/pull/117#discussion_r21051838","pull_request_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/21051838"},"html":{"href":"https://github.com/finnlabs/openproject-costs/pull/117#discussion_r21051838"},"pull_request":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117","id":25221805,"html_url":"https://github.com/finnlabs/openproject-costs/pull/117","diff_url":"https://github.com/finnlabs/openproject-costs/pull/117.diff","patch_url":"https://github.com/finnlabs/openproject-costs/pull/117.patch","issue_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/117","number":117,"state":"open","locked":false,"title":"Add Hound/Rubocop config; Make Ruby style consistent","user":{"login":"myabc","id":755,"avatar_url":"https://avatars.githubusercontent.com/u/755?v=3","gravatar_id":"","url":"https://api.github.com/users/myabc","html_url":"https://github.com/myabc","followers_url":"https://api.github.com/users/myabc/followers","following_url":"https://api.github.com/users/myabc/following{/other_user}","gists_url":"https://api.github.com/users/myabc/gists{/gist_id}","starred_url":"https://api.github.com/users/myabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myabc/subscriptions","organizations_url":"https://api.github.com/users/myabc/orgs","repos_url":"https://api.github.com/users/myabc/repos","events_url":"https://api.github.com/users/myabc/events{/privacy}","received_events_url":"https://api.github.com/users/myabc/received_events","type":"User","site_admin":false},"body":"**Analog to opf/openproject#1879 and opf/openproject#2136**","created_at":"2014-11-29T11:06:10Z","updated_at":"2014-11-29T11:08:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9eb7ede4a68a5b1cd6076585bd5efdbb5879b6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117/commits","review_comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117/comments","review_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/117/comments","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/e77dbbec882e329c3fe284a6d95f0487b9b8a65d","head":{"label":"finnlabs:feature/houndci-config-ruby-style","ref":"feature/houndci-config-ruby-style","sha":"e77dbbec882e329c3fe284a6d95f0487b9b8a65d","user":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":9640519,"name":"openproject-costs","full_name":"finnlabs/openproject-costs","owner":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finnlabs/openproject-costs","description":"OpenProject plugin to manage project costs","fork":false,"url":"https://api.github.com/repos/finnlabs/openproject-costs","forks_url":"https://api.github.com/repos/finnlabs/openproject-costs/forks","keys_url":"https://api.github.com/repos/finnlabs/openproject-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnlabs/openproject-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnlabs/openproject-costs/teams","hooks_url":"https://api.github.com/repos/finnlabs/openproject-costs/hooks","issue_events_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/events{/number}","events_url":"https://api.github.com/repos/finnlabs/openproject-costs/events","assignees_url":"https://api.github.com/repos/finnlabs/openproject-costs/assignees{/user}","branches_url":"https://api.github.com/repos/finnlabs/openproject-costs/branches{/branch}","tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/tags","blobs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/finnlabs/openproject-costs/languages","stargazers_url":"https://api.github.com/repos/finnlabs/openproject-costs/stargazers","contributors_url":"https://api.github.com/repos/finnlabs/openproject-costs/contributors","subscribers_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscribers","subscription_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscription","commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/comments/{number}","contents_url":"https://api.github.com/repos/finnlabs/openproject-costs/contents/{+path}","compare_url":"https://api.github.com/repos/finnlabs/openproject-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnlabs/openproject-costs/merges","archive_url":"https://api.github.com/repos/finnlabs/openproject-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnlabs/openproject-costs/downloads","issues_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues{/number}","pulls_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/finnlabs/openproject-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/finnlabs/openproject-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnlabs/openproject-costs/labels{/name}","releases_url":"https://api.github.com/repos/finnlabs/openproject-costs/releases{/id}","created_at":"2013-04-24T05:58:04Z","updated_at":"2014-11-27T15:31:39Z","pushed_at":"2014-11-29T10:59:34Z","git_url":"git://github.com/finnlabs/openproject-costs.git","ssh_url":"git@github.com:finnlabs/openproject-costs.git","clone_url":"https://github.com/finnlabs/openproject-costs.git","svn_url":"https://github.com/finnlabs/openproject-costs","homepage":"https://www.openproject.org/projects/costs-plugin","size":3096,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":6,"default_branch":"dev"}},"base":{"label":"finnlabs:dev","ref":"dev","sha":"127d2874fc96c1cac9ff25c5f85d44113d2bead3","user":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":9640519,"name":"openproject-costs","full_name":"finnlabs/openproject-costs","owner":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finnlabs/openproject-costs","description":"OpenProject plugin to manage project costs","fork":false,"url":"https://api.github.com/repos/finnlabs/openproject-costs","forks_url":"https://api.github.com/repos/finnlabs/openproject-costs/forks","keys_url":"https://api.github.com/repos/finnlabs/openproject-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnlabs/openproject-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnlabs/openproject-costs/teams","hooks_url":"https://api.github.com/repos/finnlabs/openproject-costs/hooks","issue_events_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/events{/number}","events_url":"https://api.github.com/repos/finnlabs/openproject-costs/events","assignees_url":"https://api.github.com/repos/finnlabs/openproject-costs/assignees{/user}","branches_url":"https://api.github.com/repos/finnlabs/openproject-costs/branches{/branch}","tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/tags","blobs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/finnlabs/openproject-costs/languages","stargazers_url":"https://api.github.com/repos/finnlabs/openproject-costs/stargazers","contributors_url":"https://api.github.com/repos/finnlabs/openproject-costs/contributors","subscribers_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscribers","subscription_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscription","commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/comments/{number}","contents_url":"https://api.github.com/repos/finnlabs/openproject-costs/contents/{+path}","compare_url":"https://api.github.com/repos/finnlabs/openproject-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnlabs/openproject-costs/merges","archive_url":"https://api.github.com/repos/finnlabs/openproject-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnlabs/openproject-costs/downloads","issues_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues{/number}","pulls_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/finnlabs/openproject-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/finnlabs/openproject-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnlabs/openproject-costs/labels{/name}","releases_url":"https://api.github.com/repos/finnlabs/openproject-costs/releases{/id}","created_at":"2013-04-24T05:58:04Z","updated_at":"2014-11-27T15:31:39Z","pushed_at":"2014-11-29T10:59:34Z","git_url":"git://github.com/finnlabs/openproject-costs.git","ssh_url":"git@github.com:finnlabs/openproject-costs.git","clone_url":"https://github.com/finnlabs/openproject-costs.git","svn_url":"https://github.com/finnlabs/openproject-costs","homepage":"https://www.openproject.org/projects/costs-plugin","size":3096,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":6,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117"},"html":{"href":"https://github.com/finnlabs/openproject-costs/pull/117"},"issue":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/issues/117"},"comments":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/e77dbbec882e329c3fe284a6d95f0487b9b8a65d"}}}}