GitHub PullRequestReviewCommentEvent at 2014-03-12 01:15:00
Repository: kochiku
Actor: robolson
Payload: {"comment":{"url":"https://api.github.com/repos/square/kochiku/pulls/comments/10502242","id":10502242,"diff_hunk":"@@ -0,0 +1,67 @@\n+module ProjectStatsHelper\n+\n+  def pass_rate_css_class(rate)\n+    case rate.to_i\n+    when 0..40 then 'bad'\n+    when 40..75 then 'decent'\n+    else 'great'\n+    end\n+  end\n+\n+  def rebuild_count_css_class(attempts)\n+    case attempts\n+    when 0..1 then 'great'","path":"app/helpers/project_stats_helper.rb","position":13,"original_position":13,"commit_id":"63995f52cda5a669f4144749728c38f94c90cb96","original_commit_id":"63995f52cda5a669f4144749728c38f94c90cb96","user":{"login":"robolson","id":6896,"avatar_url":"https://gravatar.com/avatar/3e60fc9bc7b3c1555324b2c7d1de17a9?d=https%3A%2F%2Fidenticons.github.com%2F58f1e2bfc0c0c182f1afdab7cae02402.png&r=x","gravatar_id":"3e60fc9bc7b3c1555324b2c7d1de17a9","url":"https://api.github.com/users/robolson","html_url":"https://github.com/robolson","followers_url":"https://api.github.com/users/robolson/followers","following_url":"https://api.github.com/users/robolson/following{/other_user}","gists_url":"https://api.github.com/users/robolson/gists{/gist_id}","starred_url":"https://api.github.com/users/robolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robolson/subscriptions","organizations_url":"https://api.github.com/users/robolson/orgs","repos_url":"https://api.github.com/users/robolson/repos","events_url":"https://api.github.com/users/robolson/events{/privacy}","received_events_url":"https://api.github.com/users/robolson/received_events","type":"User","site_admin":false},"body":"`attempts` will be a float so the ranges overlapping is intentional here.","created_at":"2014-03-12T01:15:00Z","updated_at":"2014-03-12T01:15:00Z","html_url":"https://github.com/square/kochiku/pull/62#discussion_r10502242","pull_request_url":"https://api.github.com/repos/square/kochiku/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/square/kochiku/pulls/comments/10502242"},"html":{"href":"https://github.com/square/kochiku/pull/62#discussion_r10502242"},"pull_request":{"href":"https://api.github.com/repos/square/kochiku/pulls/62"}}}}