{"action":"created","comment":{"url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/comments/364010707","pull_request_review_id":339582928,"id":364010707,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2NDAxMDcwNw==","diff_hunk":"@@ -1,10 +1,14 @@\n require 'sinatra'\n-require './services/git_hub_service.rb'\n-require './poros/repos_facade.rb'\n-require './services/musix_match_service.rb'\n-require './poros/artists_facade.rb'\n-require './poros/song.rb'\n+require 'sinatra/activerecord'\n+\n+Dir[\"#{File.dirname(__FILE__)}/app/**/*.rb\"].each { |f| load(f) }\n \n get '/' do\n   \"Hello World!\"\n end\n+\n+get '/tracks' do\n+  @tracks = Track.all\n+  @tracks.first.title\n+end","path":"app.rb","position":18,"original_position":18,"commit_id":"91f36cc80e59ac3fd38940994c9283ad3dc626a9","original_commit_id":"91f36cc80e59ac3fd38940994c9283ad3dc626a9","user":{"login":"BabsLabs","id":38663414,"node_id":"MDQ6VXNlcjM4NjYzNDE0","avatar_url":"https://avatars1.githubusercontent.com/u/38663414?v=4","gravatar_id":"","url":"https://api.github.com/users/BabsLabs","html_url":"https://github.com/BabsLabs","followers_url":"https://api.github.com/users/BabsLabs/followers","following_url":"https://api.github.com/users/BabsLabs/following{/other_user}","gists_url":"https://api.github.com/users/BabsLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/BabsLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabsLabs/subscriptions","organizations_url":"https://api.github.com/users/BabsLabs/orgs","repos_url":"https://api.github.com/users/BabsLabs/repos","events_url":"https://api.github.com/users/BabsLabs/events{/privacy}","received_events_url":"https://api.github.com/users/BabsLabs/received_events","type":"User","site_admin":false},"body":"Yeah we will.","created_at":"2020-01-08T00:04:57Z","updated_at":"2020-01-08T00:04:57Z","html_url":"https://github.com/BabsLabs/code_songs_microservice/pull/13#discussion_r364010707","pull_request_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/comments/364010707"},"html":{"href":"https://github.com/BabsLabs/code_songs_microservice/pull/13#discussion_r364010707"},"pull_request":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13"}},"in_reply_to_id":364010624},"pull_request":{"url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13","id":360225262,"node_id":"MDExOlB1bGxSZXF1ZXN0MzYwMjI1MjYy","html_url":"https://github.com/BabsLabs/code_songs_microservice/pull/13","diff_url":"https://github.com/BabsLabs/code_songs_microservice/pull/13.diff","patch_url":"https://github.com/BabsLabs/code_songs_microservice/pull/13.patch","issue_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/13","number":13,"state":"open","locked":false,"title":"Database and models","user":{"login":"BabsLabs","id":38663414,"node_id":"MDQ6VXNlcjM4NjYzNDE0","avatar_url":"https://avatars1.githubusercontent.com/u/38663414?v=4","gravatar_id":"","url":"https://api.github.com/users/BabsLabs","html_url":"https://github.com/BabsLabs","followers_url":"https://api.github.com/users/BabsLabs/followers","following_url":"https://api.github.com/users/BabsLabs/following{/other_user}","gists_url":"https://api.github.com/users/BabsLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/BabsLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabsLabs/subscriptions","organizations_url":"https://api.github.com/users/BabsLabs/orgs","repos_url":"https://api.github.com/users/BabsLabs/repos","events_url":"https://api.github.com/users/BabsLabs/events{/privacy}","received_events_url":"https://api.github.com/users/BabsLabs/received_events","type":"User","site_admin":false},"body":"- Add a database gems to the gemfile\r\n- Add a database connection file database.yml\r\n- Add a database connection file for travis ci database.yml.travis\r\n- Add a Tracks table in our database\r\n- Add a model for Track\r\n- All tests written and passing!","created_at":"2020-01-08T00:02:43Z","updated_at":"2020-01-08T00:04:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"558c744340dad2f2f6fb5ff9b83d196be9f7f42d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13/commits","review_comments_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13/comments","review_comment_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/13/comments","statuses_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/statuses/91f36cc80e59ac3fd38940994c9283ad3dc626a9","head":{"label":"BabsLabs:database_and_models_bb","ref":"database_and_models_bb","sha":"91f36cc80e59ac3fd38940994c9283ad3dc626a9","user":{"login":"BabsLabs","id":38663414,"node_id":"MDQ6VXNlcjM4NjYzNDE0","avatar_url":"https://avatars1.githubusercontent.com/u/38663414?v=4","gravatar_id":"","url":"https://api.github.com/users/BabsLabs","html_url":"https://github.com/BabsLabs","followers_url":"https://api.github.com/users/BabsLabs/followers","following_url":"https://api.github.com/users/BabsLabs/following{/other_user}","gists_url":"https://api.github.com/users/BabsLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/BabsLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabsLabs/subscriptions","organizations_url":"https://api.github.com/users/BabsLabs/orgs","repos_url":"https://api.github.com/users/BabsLabs/repos","events_url":"https://api.github.com/users/BabsLabs/events{/privacy}","received_events_url":"https://api.github.com/users/BabsLabs/received_events","type":"User","site_admin":false},"repo":{"id":228467337,"node_id":"MDEwOlJlcG9zaXRvcnkyMjg0NjczMzc=","name":"code_songs_microservice","full_name":"BabsLabs/code_songs_microservice","private":false,"owner":{"login":"BabsLabs","id":38663414,"node_id":"MDQ6VXNlcjM4NjYzNDE0","avatar_url":"https://avatars1.githubusercontent.com/u/38663414?v=4","gravatar_id":"","url":"https://api.github.com/users/BabsLabs","html_url":"https://github.com/BabsLabs","followers_url":"https://api.github.com/users/BabsLabs/followers","following_url":"https://api.github.com/users/BabsLabs/following{/other_user}","gists_url":"https://api.github.com/users/BabsLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/BabsLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabsLabs/subscriptions","organizations_url":"https://api.github.com/users/BabsLabs/orgs","repos_url":"https://api.github.com/users/BabsLabs/repos","events_url":"https://api.github.com/users/BabsLabs/events{/privacy}","received_events_url":"https://api.github.com/users/BabsLabs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BabsLabs/code_songs_microservice","description":null,"fork":false,"url":"https://api.github.com/repos/BabsLabs/code_songs_microservice","forks_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/forks","keys_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/teams","hooks_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/hooks","issue_events_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/events{/number}","events_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/events","assignees_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/assignees{/user}","branches_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/branches{/branch}","tags_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/tags","blobs_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/refs{/sha}","trees_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/statuses/{sha}","languages_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/languages","stargazers_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/stargazers","contributors_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/contributors","subscribers_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/subscribers","subscription_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/subscription","commits_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/commits{/sha}","git_commits_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/commits{/sha}","comments_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/comments{/number}","issue_comment_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/comments{/number}","contents_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/contents/{+path}","compare_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/merges","archive_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/downloads","issues_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues{/number}","pulls_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls{/number}","milestones_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/milestones{/number}","notifications_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/labels{/name}","releases_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/releases{/id}","deployments_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/deployments","created_at":"2019-12-16T20:12:48Z","updated_at":"2020-01-06T19:00:42Z","pushed_at":"2020-01-08T00:02:44Z","git_url":"git://github.com/BabsLabs/code_songs_microservice.git","ssh_url":"git@github.com:BabsLabs/code_songs_microservice.git","clone_url":"https://github.com/BabsLabs/code_songs_microservice.git","svn_url":"https://github.com/BabsLabs/code_songs_microservice","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"BabsLabs:master","ref":"master","sha":"4394db7666aa0fd76bf93a5a4769af5986fa15d1","user":{"login":"BabsLabs","id":38663414,"node_id":"MDQ6VXNlcjM4NjYzNDE0","avatar_url":"https://avatars1.githubusercontent.com/u/38663414?v=4","gravatar_id":"","url":"https://api.github.com/users/BabsLabs","html_url":"https://github.com/BabsLabs","followers_url":"https://api.github.com/users/BabsLabs/followers","following_url":"https://api.github.com/users/BabsLabs/following{/other_user}","gists_url":"https://api.github.com/users/BabsLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/BabsLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabsLabs/subscriptions","organizations_url":"https://api.github.com/users/BabsLabs/orgs","repos_url":"https://api.github.com/users/BabsLabs/repos","events_url":"https://api.github.com/users/BabsLabs/events{/privacy}","received_events_url":"https://api.github.com/users/BabsLabs/received_events","type":"User","site_admin":false},"repo":{"id":228467337,"node_id":"MDEwOlJlcG9zaXRvcnkyMjg0NjczMzc=","name":"code_songs_microservice","full_name":"BabsLabs/code_songs_microservice","private":false,"owner":{"login":"BabsLabs","id":38663414,"node_id":"MDQ6VXNlcjM4NjYzNDE0","avatar_url":"https://avatars1.githubusercontent.com/u/38663414?v=4","gravatar_id":"","url":"https://api.github.com/users/BabsLabs","html_url":"https://github.com/BabsLabs","followers_url":"https://api.github.com/users/BabsLabs/followers","following_url":"https://api.github.com/users/BabsLabs/following{/other_user}","gists_url":"https://api.github.com/users/BabsLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/BabsLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabsLabs/subscriptions","organizations_url":"https://api.github.com/users/BabsLabs/orgs","repos_url":"https://api.github.com/users/BabsLabs/repos","events_url":"https://api.github.com/users/BabsLabs/events{/privacy}","received_events_url":"https://api.github.com/users/BabsLabs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BabsLabs/code_songs_microservice","description":null,"fork":false,"url":"https://api.github.com/repos/BabsLabs/code_songs_microservice","forks_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/forks","keys_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/teams","hooks_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/hooks","issue_events_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/events{/number}","events_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/events","assignees_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/assignees{/user}","branches_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/branches{/branch}","tags_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/tags","blobs_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/refs{/sha}","trees_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/statuses/{sha}","languages_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/languages","stargazers_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/stargazers","contributors_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/contributors","subscribers_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/subscribers","subscription_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/subscription","commits_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/commits{/sha}","git_commits_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/git/commits{/sha}","comments_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/comments{/number}","issue_comment_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/comments{/number}","contents_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/contents/{+path}","compare_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/merges","archive_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/downloads","issues_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues{/number}","pulls_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls{/number}","milestones_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/milestones{/number}","notifications_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/labels{/name}","releases_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/releases{/id}","deployments_url":"https://api.github.com/repos/BabsLabs/code_songs_microservice/deployments","created_at":"2019-12-16T20:12:48Z","updated_at":"2020-01-06T19:00:42Z","pushed_at":"2020-01-08T00:02:44Z","git_url":"git://github.com/BabsLabs/code_songs_microservice.git","ssh_url":"git@github.com:BabsLabs/code_songs_microservice.git","clone_url":"https://github.com/BabsLabs/code_songs_microservice.git","svn_url":"https://github.com/BabsLabs/code_songs_microservice","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13"},"html":{"href":"https://github.com/BabsLabs/code_songs_microservice/pull/13"},"issue":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/13"},"comments":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/BabsLabs/code_songs_microservice/statuses/91f36cc80e59ac3fd38940994c9283ad3dc626a9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"BabsLabs"}}