{"action":"created","comment":{"url":"https://api.github.com/repos/osuosl/iam/pulls/comments/67410738","id":67410738,"diff_hunk":"@@ -1,78 +1,18 @@\n require 'sinatra/base'\n-require_relative 'environment.rb'\n+require 'environment'\n \n # IAM - a resource usage metric collection and reporting system\n class Iam < Sinatra::Base\n+  puts 'in Iam class def'","path":"app.rb","position":7,"original_position":7,"commit_id":"f5a6b68e92d1d81ece884b9d4cd6cfe54cfa5152","original_commit_id":"f5a6b68e92d1d81ece884b9d4cd6cfe54cfa5152","user":{"login":"ElijahCaine","id":1897147,"avatar_url":"https://avatars.githubusercontent.com/u/1897147?v=3","gravatar_id":"","url":"https://api.github.com/users/ElijahCaine","html_url":"https://github.com/ElijahCaine","followers_url":"https://api.github.com/users/ElijahCaine/followers","following_url":"https://api.github.com/users/ElijahCaine/following{/other_user}","gists_url":"https://api.github.com/users/ElijahCaine/gists{/gist_id}","starred_url":"https://api.github.com/users/ElijahCaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElijahCaine/subscriptions","organizations_url":"https://api.github.com/users/ElijahCaine/orgs","repos_url":"https://api.github.com/users/ElijahCaine/repos","events_url":"https://api.github.com/users/ElijahCaine/events{/privacy}","received_events_url":"https://api.github.com/users/ElijahCaine/received_events","type":"User","site_admin":false},"body":"Sorry, debugging cruft.","created_at":"2016-06-16T19:39:49Z","updated_at":"2016-06-16T19:39:49Z","html_url":"https://github.com/osuosl/iam/pull/100#discussion_r67410738","pull_request_url":"https://api.github.com/repos/osuosl/iam/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/osuosl/iam/pulls/comments/67410738"},"html":{"href":"https://github.com/osuosl/iam/pull/100#discussion_r67410738"},"pull_request":{"href":"https://api.github.com/repos/osuosl/iam/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/osuosl/iam/pulls/100","id":74013056,"html_url":"https://github.com/osuosl/iam/pull/100","diff_url":"https://github.com/osuosl/iam/pull/100.diff","patch_url":"https://github.com/osuosl/iam/pull/100.patch","issue_url":"https://api.github.com/repos/osuosl/iam/issues/100","number":100,"state":"open","locked":false,"title":"Minor changes before the deploy.","user":{"login":"ElijahCaine","id":1897147,"avatar_url":"https://avatars.githubusercontent.com/u/1897147?v=3","gravatar_id":"","url":"https://api.github.com/users/ElijahCaine","html_url":"https://github.com/ElijahCaine","followers_url":"https://api.github.com/users/ElijahCaine/followers","following_url":"https://api.github.com/users/ElijahCaine/following{/other_user}","gists_url":"https://api.github.com/users/ElijahCaine/gists{/gist_id}","starred_url":"https://api.github.com/users/ElijahCaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElijahCaine/subscriptions","organizations_url":"https://api.github.com/users/ElijahCaine/orgs","repos_url":"https://api.github.com/users/ElijahCaine/repos","events_url":"https://api.github.com/users/ElijahCaine/events{/privacy}","received_events_url":"https://api.github.com/users/ElijahCaine/received_events","type":"User","site_admin":false},"body":"## Changes\r\n\r\n- Run `ruby app.rb` and `ruby scheduler.rb` with `rake` command.\r\n- When you run `rake` it should automatically start the app and the collector.\r\n- Added `keys` method to cache. Otherwise `scheduler.rb` breaks.\r\n\r\n## Testing\r\n\r\n```\r\n$ rake spec\r\n[... Tests still pass ...]\r\n```\r\nThe testing procedure for PR #68 is also a pretty good way to check this for validity. Run `rake` instead of `ruby scheduler.rb`.\r\n```\r\n[root@c6d98b33fa8a code]# rake\r\nMigrating to latest\r\n/usr/local/bin/ruby app.rb\r\n== Sinatra (v1.4.7) has taken the stage on 4567 for development with backup from Thin\r\nThin web server (v1.7.0 codename Dunder Mifflin)\r\nMaximum connections set to 1024\r\nListening on localhost:4567, CTRL+C to stop\r\n```\r\n\r\nRefs #83 I guess.\r\n\r\n@osuosl/devs @Kennric ","created_at":"2016-06-16T02:19:43Z","updated_at":"2016-06-16T19:39:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0128703d06259193c53a502ad0fc6741bbd688d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osuosl/iam/pulls/100/commits","review_comments_url":"https://api.github.com/repos/osuosl/iam/pulls/100/comments","review_comment_url":"https://api.github.com/repos/osuosl/iam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osuosl/iam/issues/100/comments","statuses_url":"https://api.github.com/repos/osuosl/iam/statuses/f5a6b68e92d1d81ece884b9d4cd6cfe54cfa5152","head":{"label":"osuosl:elijah/pre-deploy","ref":"elijah/pre-deploy","sha":"f5a6b68e92d1d81ece884b9d4cd6cfe54cfa5152","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":50538337,"name":"iam","full_name":"osuosl/iam","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/iam","description":"Invoicing and metrics project","fork":false,"url":"https://api.github.com/repos/osuosl/iam","forks_url":"https://api.github.com/repos/osuosl/iam/forks","keys_url":"https://api.github.com/repos/osuosl/iam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/iam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/iam/teams","hooks_url":"https://api.github.com/repos/osuosl/iam/hooks","issue_events_url":"https://api.github.com/repos/osuosl/iam/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/iam/events","assignees_url":"https://api.github.com/repos/osuosl/iam/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/iam/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/iam/tags","blobs_url":"https://api.github.com/repos/osuosl/iam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/iam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/iam/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/iam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/iam/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/iam/languages","stargazers_url":"https://api.github.com/repos/osuosl/iam/stargazers","contributors_url":"https://api.github.com/repos/osuosl/iam/contributors","subscribers_url":"https://api.github.com/repos/osuosl/iam/subscribers","subscription_url":"https://api.github.com/repos/osuosl/iam/subscription","commits_url":"https://api.github.com/repos/osuosl/iam/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/iam/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/iam/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/iam/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl/iam/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/iam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/iam/merges","archive_url":"https://api.github.com/repos/osuosl/iam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/iam/downloads","issues_url":"https://api.github.com/repos/osuosl/iam/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/iam/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/iam/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/iam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/iam/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/iam/releases{/id}","deployments_url":"https://api.github.com/repos/osuosl/iam/deployments","created_at":"2016-01-27T21:16:08Z","updated_at":"2016-04-12T16:46:08Z","pushed_at":"2016-06-16T02:19:44Z","git_url":"git://github.com/osuosl/iam.git","ssh_url":"git@github.com:osuosl/iam.git","clone_url":"https://github.com/osuosl/iam.git","svn_url":"https://github.com/osuosl/iam","homepage":null,"size":6854,"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":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"develop"}},"base":{"label":"osuosl:develop","ref":"develop","sha":"a1e1d28c37a32a34e9253604ff23d429cef0f073","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":50538337,"name":"iam","full_name":"osuosl/iam","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/iam","description":"Invoicing and metrics project","fork":false,"url":"https://api.github.com/repos/osuosl/iam","forks_url":"https://api.github.com/repos/osuosl/iam/forks","keys_url":"https://api.github.com/repos/osuosl/iam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/iam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/iam/teams","hooks_url":"https://api.github.com/repos/osuosl/iam/hooks","issue_events_url":"https://api.github.com/repos/osuosl/iam/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/iam/events","assignees_url":"https://api.github.com/repos/osuosl/iam/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/iam/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/iam/tags","blobs_url":"https://api.github.com/repos/osuosl/iam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/iam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/iam/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/iam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/iam/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/iam/languages","stargazers_url":"https://api.github.com/repos/osuosl/iam/stargazers","contributors_url":"https://api.github.com/repos/osuosl/iam/contributors","subscribers_url":"https://api.github.com/repos/osuosl/iam/subscribers","subscription_url":"https://api.github.com/repos/osuosl/iam/subscription","commits_url":"https://api.github.com/repos/osuosl/iam/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/iam/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/iam/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/iam/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl/iam/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/iam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/iam/merges","archive_url":"https://api.github.com/repos/osuosl/iam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/iam/downloads","issues_url":"https://api.github.com/repos/osuosl/iam/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/iam/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/iam/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/iam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/iam/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/iam/releases{/id}","deployments_url":"https://api.github.com/repos/osuosl/iam/deployments","created_at":"2016-01-27T21:16:08Z","updated_at":"2016-04-12T16:46:08Z","pushed_at":"2016-06-16T02:19:44Z","git_url":"git://github.com/osuosl/iam.git","ssh_url":"git@github.com:osuosl/iam.git","clone_url":"https://github.com/osuosl/iam.git","svn_url":"https://github.com/osuosl/iam","homepage":null,"size":6854,"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":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/osuosl/iam/pulls/100"},"html":{"href":"https://github.com/osuosl/iam/pull/100"},"issue":{"href":"https://api.github.com/repos/osuosl/iam/issues/100"},"comments":{"href":"https://api.github.com/repos/osuosl/iam/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/osuosl/iam/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/osuosl/iam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osuosl/iam/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/osuosl/iam/statuses/f5a6b68e92d1d81ece884b9d4cd6cfe54cfa5152"}}}}
{"actor":{"display_login":"ElijahCaine"}}