{"action":"created","comment":{"url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/comments/33323104","id":33323104,"diff_hunk":"@@ -0,0 +1,34 @@\n+module DegreeStatusHelper\n+  def degree_progress_statistics(user)\n+    [\n+      { label: \"Required Courses\",\n+        statistic: progress_bar_for(user, :required_course) },\n+      { label: \"Distribution Courses\",\n+        statistic: progress_bar_for(user, :distribution_requirement) },\n+      { label: \"Free Elective Courses\",\n+        statistic: progress_bar_for(user, :free_elective) },\n+      { label: \"Total\",\n+        statistic: progress_bar_for(user, :total_credits) }\n+    ]\n+  end\n+\n+  def degree_general_statistics(user)\n+    [\n+      { label: \"Duration\",\n+        statistic: user.degree_statistics.duration_pretty },\n+      { label: \"Average Courses Per Quarter\",\n+        statistic: user.taken_courses.size / user.degree_statistics.duration_in_quarters },\n+      { label: \"GPA\", statistic: \"4.0\" }\n+    ]\n+  end\n+\n+  private\n+\n+  # progress_type takes a symbol or String argument (:required_course, :free_elective,","path":"app/helpers/degree_status_helper.rb","position":27,"original_position":27,"commit_id":"b6559afeac6a5652d96cb65435aeefbb8d815bc9","original_commit_id":"b6559afeac6a5652d96cb65435aeefbb8d815bc9","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. [86/80]","created_at":"2015-06-26T01:50:47Z","updated_at":"2015-06-26T01:50:47Z","html_url":"https://github.com/robwise/drexel_msis_planner/pull/74#discussion_r33323104","pull_request_url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/comments/33323104"},"html":{"href":"https://github.com/robwise/drexel_msis_planner/pull/74#discussion_r33323104"},"pull_request":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74","id":38399434,"html_url":"https://github.com/robwise/drexel_msis_planner/pull/74","diff_url":"https://github.com/robwise/drexel_msis_planner/pull/74.diff","patch_url":"https://github.com/robwise/drexel_msis_planner/pull/74.patch","issue_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/74","number":74,"state":"open","locked":false,"title":"turn off helper and asset generators. Switch schema.rb to use SQL","user":{"login":"robwise","id":6173488,"avatar_url":"https://avatars.githubusercontent.com/u/6173488?v=3","gravatar_id":"","url":"https://api.github.com/users/robwise","html_url":"https://github.com/robwise","followers_url":"https://api.github.com/users/robwise/followers","following_url":"https://api.github.com/users/robwise/following{/other_user}","gists_url":"https://api.github.com/users/robwise/gists{/gist_id}","starred_url":"https://api.github.com/users/robwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwise/subscriptions","organizations_url":"https://api.github.com/users/robwise/orgs","repos_url":"https://api.github.com/users/robwise/repos","events_url":"https://api.github.com/users/robwise/events{/privacy}","received_events_url":"https://api.github.com/users/robwise/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-06-24T01:18:04Z","updated_at":"2015-06-26T01:50:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f5157cc1049fed52d5da94b5cf7b69d1a2d117c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74/commits","review_comments_url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74/comments","review_comment_url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/74/comments","statuses_url":"https://api.github.com/repos/robwise/drexel_msis_planner/statuses/b6559afeac6a5652d96cb65435aeefbb8d815bc9","head":{"label":"robwise:change-application-config","ref":"change-application-config","sha":"b6559afeac6a5652d96cb65435aeefbb8d815bc9","user":{"login":"robwise","id":6173488,"avatar_url":"https://avatars.githubusercontent.com/u/6173488?v=3","gravatar_id":"","url":"https://api.github.com/users/robwise","html_url":"https://github.com/robwise","followers_url":"https://api.github.com/users/robwise/followers","following_url":"https://api.github.com/users/robwise/following{/other_user}","gists_url":"https://api.github.com/users/robwise/gists{/gist_id}","starred_url":"https://api.github.com/users/robwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwise/subscriptions","organizations_url":"https://api.github.com/users/robwise/orgs","repos_url":"https://api.github.com/users/robwise/repos","events_url":"https://api.github.com/users/robwise/events{/privacy}","received_events_url":"https://api.github.com/users/robwise/received_events","type":"User","site_admin":false},"repo":{"id":23376886,"name":"drexel_msis_planner","full_name":"robwise/drexel_msis_planner","owner":{"login":"robwise","id":6173488,"avatar_url":"https://avatars.githubusercontent.com/u/6173488?v=3","gravatar_id":"","url":"https://api.github.com/users/robwise","html_url":"https://github.com/robwise","followers_url":"https://api.github.com/users/robwise/followers","following_url":"https://api.github.com/users/robwise/following{/other_user}","gists_url":"https://api.github.com/users/robwise/gists{/gist_id}","starred_url":"https://api.github.com/users/robwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwise/subscriptions","organizations_url":"https://api.github.com/users/robwise/orgs","repos_url":"https://api.github.com/users/robwise/repos","events_url":"https://api.github.com/users/robwise/events{/privacy}","received_events_url":"https://api.github.com/users/robwise/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robwise/drexel_msis_planner","description":"Ruby on Rails project for a degree planner for MSIS students at Drexel University","fork":false,"url":"https://api.github.com/repos/robwise/drexel_msis_planner","forks_url":"https://api.github.com/repos/robwise/drexel_msis_planner/forks","keys_url":"https://api.github.com/repos/robwise/drexel_msis_planner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robwise/drexel_msis_planner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robwise/drexel_msis_planner/teams","hooks_url":"https://api.github.com/repos/robwise/drexel_msis_planner/hooks","issue_events_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/events{/number}","events_url":"https://api.github.com/repos/robwise/drexel_msis_planner/events","assignees_url":"https://api.github.com/repos/robwise/drexel_msis_planner/assignees{/user}","branches_url":"https://api.github.com/repos/robwise/drexel_msis_planner/branches{/branch}","tags_url":"https://api.github.com/repos/robwise/drexel_msis_planner/tags","blobs_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/refs{/sha}","trees_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robwise/drexel_msis_planner/statuses/{sha}","languages_url":"https://api.github.com/repos/robwise/drexel_msis_planner/languages","stargazers_url":"https://api.github.com/repos/robwise/drexel_msis_planner/stargazers","contributors_url":"https://api.github.com/repos/robwise/drexel_msis_planner/contributors","subscribers_url":"https://api.github.com/repos/robwise/drexel_msis_planner/subscribers","subscription_url":"https://api.github.com/repos/robwise/drexel_msis_planner/subscription","commits_url":"https://api.github.com/repos/robwise/drexel_msis_planner/commits{/sha}","git_commits_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/commits{/sha}","comments_url":"https://api.github.com/repos/robwise/drexel_msis_planner/comments{/number}","issue_comment_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/comments{/number}","contents_url":"https://api.github.com/repos/robwise/drexel_msis_planner/contents/{+path}","compare_url":"https://api.github.com/repos/robwise/drexel_msis_planner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robwise/drexel_msis_planner/merges","archive_url":"https://api.github.com/repos/robwise/drexel_msis_planner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robwise/drexel_msis_planner/downloads","issues_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues{/number}","pulls_url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls{/number}","milestones_url":"https://api.github.com/repos/robwise/drexel_msis_planner/milestones{/number}","notifications_url":"https://api.github.com/repos/robwise/drexel_msis_planner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robwise/drexel_msis_planner/labels{/name}","releases_url":"https://api.github.com/repos/robwise/drexel_msis_planner/releases{/id}","created_at":"2014-08-27T04:35:46Z","updated_at":"2015-05-07T00:23:17Z","pushed_at":"2015-06-26T01:50:42Z","git_url":"git://github.com/robwise/drexel_msis_planner.git","ssh_url":"git@github.com:robwise/drexel_msis_planner.git","clone_url":"https://github.com/robwise/drexel_msis_planner.git","svn_url":"https://github.com/robwise/drexel_msis_planner","homepage":"https://still-sands-7957.herokuapp.com/","size":1244,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"robwise:master","ref":"master","sha":"c38f41c45329a0fdca4161f11da9ddf9fec90018","user":{"login":"robwise","id":6173488,"avatar_url":"https://avatars.githubusercontent.com/u/6173488?v=3","gravatar_id":"","url":"https://api.github.com/users/robwise","html_url":"https://github.com/robwise","followers_url":"https://api.github.com/users/robwise/followers","following_url":"https://api.github.com/users/robwise/following{/other_user}","gists_url":"https://api.github.com/users/robwise/gists{/gist_id}","starred_url":"https://api.github.com/users/robwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwise/subscriptions","organizations_url":"https://api.github.com/users/robwise/orgs","repos_url":"https://api.github.com/users/robwise/repos","events_url":"https://api.github.com/users/robwise/events{/privacy}","received_events_url":"https://api.github.com/users/robwise/received_events","type":"User","site_admin":false},"repo":{"id":23376886,"name":"drexel_msis_planner","full_name":"robwise/drexel_msis_planner","owner":{"login":"robwise","id":6173488,"avatar_url":"https://avatars.githubusercontent.com/u/6173488?v=3","gravatar_id":"","url":"https://api.github.com/users/robwise","html_url":"https://github.com/robwise","followers_url":"https://api.github.com/users/robwise/followers","following_url":"https://api.github.com/users/robwise/following{/other_user}","gists_url":"https://api.github.com/users/robwise/gists{/gist_id}","starred_url":"https://api.github.com/users/robwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwise/subscriptions","organizations_url":"https://api.github.com/users/robwise/orgs","repos_url":"https://api.github.com/users/robwise/repos","events_url":"https://api.github.com/users/robwise/events{/privacy}","received_events_url":"https://api.github.com/users/robwise/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robwise/drexel_msis_planner","description":"Ruby on Rails project for a degree planner for MSIS students at Drexel University","fork":false,"url":"https://api.github.com/repos/robwise/drexel_msis_planner","forks_url":"https://api.github.com/repos/robwise/drexel_msis_planner/forks","keys_url":"https://api.github.com/repos/robwise/drexel_msis_planner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robwise/drexel_msis_planner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robwise/drexel_msis_planner/teams","hooks_url":"https://api.github.com/repos/robwise/drexel_msis_planner/hooks","issue_events_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/events{/number}","events_url":"https://api.github.com/repos/robwise/drexel_msis_planner/events","assignees_url":"https://api.github.com/repos/robwise/drexel_msis_planner/assignees{/user}","branches_url":"https://api.github.com/repos/robwise/drexel_msis_planner/branches{/branch}","tags_url":"https://api.github.com/repos/robwise/drexel_msis_planner/tags","blobs_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/refs{/sha}","trees_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robwise/drexel_msis_planner/statuses/{sha}","languages_url":"https://api.github.com/repos/robwise/drexel_msis_planner/languages","stargazers_url":"https://api.github.com/repos/robwise/drexel_msis_planner/stargazers","contributors_url":"https://api.github.com/repos/robwise/drexel_msis_planner/contributors","subscribers_url":"https://api.github.com/repos/robwise/drexel_msis_planner/subscribers","subscription_url":"https://api.github.com/repos/robwise/drexel_msis_planner/subscription","commits_url":"https://api.github.com/repos/robwise/drexel_msis_planner/commits{/sha}","git_commits_url":"https://api.github.com/repos/robwise/drexel_msis_planner/git/commits{/sha}","comments_url":"https://api.github.com/repos/robwise/drexel_msis_planner/comments{/number}","issue_comment_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/comments{/number}","contents_url":"https://api.github.com/repos/robwise/drexel_msis_planner/contents/{+path}","compare_url":"https://api.github.com/repos/robwise/drexel_msis_planner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robwise/drexel_msis_planner/merges","archive_url":"https://api.github.com/repos/robwise/drexel_msis_planner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robwise/drexel_msis_planner/downloads","issues_url":"https://api.github.com/repos/robwise/drexel_msis_planner/issues{/number}","pulls_url":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls{/number}","milestones_url":"https://api.github.com/repos/robwise/drexel_msis_planner/milestones{/number}","notifications_url":"https://api.github.com/repos/robwise/drexel_msis_planner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robwise/drexel_msis_planner/labels{/name}","releases_url":"https://api.github.com/repos/robwise/drexel_msis_planner/releases{/id}","created_at":"2014-08-27T04:35:46Z","updated_at":"2015-05-07T00:23:17Z","pushed_at":"2015-06-26T01:50:42Z","git_url":"git://github.com/robwise/drexel_msis_planner.git","ssh_url":"git@github.com:robwise/drexel_msis_planner.git","clone_url":"https://github.com/robwise/drexel_msis_planner.git","svn_url":"https://github.com/robwise/drexel_msis_planner","homepage":"https://still-sands-7957.herokuapp.com/","size":1244,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74"},"html":{"href":"https://github.com/robwise/drexel_msis_planner/pull/74"},"issue":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/74"},"comments":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/robwise/drexel_msis_planner/statuses/b6559afeac6a5652d96cb65435aeefbb8d815bc9"}}}}