{"action":"created","comment":{"url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/comments/78107283","id":78107283,"diff_hunk":"@@ -3,22 +3,23 @@\n Logging.logger.root.level = :debug\n \n Logging.color_scheme('bright',\n-  :lines => {\n-    :info  => :green,\n-    :warn  => :yellow,\n-    :error => :red,\n-    :fatal => [:white, :on_red]\n+  lines: {\n+    info:  :green,\n+    warn:  :yellow,\n+    error: :red,\n+    fatal: [:white, :on_red]\n   }\n )\n \n console_layout = Logging.layouts.pattern(\n-  :color_scheme => $stdout.isatty ? 'bright' : nil\n+  pattern: \"%m\\n\",\n+  color_scheme: $stdout.isatty ? 'bright' : nil\n )\n \n Logging.appenders.stdout(\n   'stdout',\n-  :levels => :debug,\n-  :layout => console_layout,\n+  level: :error,","path":"lib/configuration/logging.rb","position":27,"original_position":27,"commit_id":"cd7cd36c7a53c17d9fcfd3bcf1746e1d31d9bb4d","original_commit_id":"cd7cd36c7a53c17d9fcfd3bcf1746e1d31d9bb4d","user":{"login":"macosgrove","id":1095688,"avatar_url":"https://avatars.githubusercontent.com/u/1095688?v=3","gravatar_id":"","url":"https://api.github.com/users/macosgrove","html_url":"https://github.com/macosgrove","followers_url":"https://api.github.com/users/macosgrove/followers","following_url":"https://api.github.com/users/macosgrove/following{/other_user}","gists_url":"https://api.github.com/users/macosgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/macosgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macosgrove/subscriptions","organizations_url":"https://api.github.com/users/macosgrove/orgs","repos_url":"https://api.github.com/users/macosgrove/repos","events_url":"https://api.github.com/users/macosgrove/events{/privacy}","received_events_url":"https://api.github.com/users/macosgrove/received_events","type":"User","site_admin":false},"body":"Yes, it is supposed to be `level`","created_at":"2016-09-08T23:26:44Z","updated_at":"2016-09-08T23:26:44Z","html_url":"https://github.com/envato/irs-studio-earnings-summariser/pull/1#discussion_r78107283","pull_request_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/comments/78107283"},"html":{"href":"https://github.com/envato/irs-studio-earnings-summariser/pull/1#discussion_r78107283"},"pull_request":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1","id":84421369,"html_url":"https://github.com/envato/irs-studio-earnings-summariser/pull/1","diff_url":"https://github.com/envato/irs-studio-earnings-summariser/pull/1.diff","patch_url":"https://github.com/envato/irs-studio-earnings-summariser/pull/1.patch","issue_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/1","number":1,"state":"open","locked":false,"title":"Application skeleton","user":{"login":"macosgrove","id":1095688,"avatar_url":"https://avatars.githubusercontent.com/u/1095688?v=3","gravatar_id":"","url":"https://api.github.com/users/macosgrove","html_url":"https://github.com/macosgrove","followers_url":"https://api.github.com/users/macosgrove/followers","following_url":"https://api.github.com/users/macosgrove/following{/other_user}","gists_url":"https://api.github.com/users/macosgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/macosgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macosgrove/subscriptions","organizations_url":"https://api.github.com/users/macosgrove/orgs","repos_url":"https://api.github.com/users/macosgrove/repos","events_url":"https://api.github.com/users/macosgrove/events{/privacy}","received_events_url":"https://api.github.com/users/macosgrove/received_events","type":"User","site_admin":false},"body":"Jira card [EMBM-2734](https://envato.atlassian.net/browse/EMBM-2734)\r\n\r\nWe agreed that Sqlite would suit our needs better than mysql2.\r\n\r\nI also beefed up (excuse the pun, Cash Cows!) the application skeleton to do some of the things we know it will need to do. I had some CSV processing code lying around so thought I would reuse it here. I've included basic error logging and tests.","created_at":"2016-09-08T06:29:03Z","updated_at":"2016-09-08T23:26:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"369fd723ab81dc75969fbb6f1ba4cd621a4ae52d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1/commits","review_comments_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1/comments","review_comment_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/1/comments","statuses_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/statuses/cd7cd36c7a53c17d9fcfd3bcf1746e1d31d9bb4d","head":{"label":"envato:application-skeleton","ref":"application-skeleton","sha":"cd7cd36c7a53c17d9fcfd3bcf1746e1d31d9bb4d","user":{"login":"envato","id":14786,"avatar_url":"https://avatars.githubusercontent.com/u/14786?v=3","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"repo":{"id":67572972,"name":"irs-studio-earnings-summariser","full_name":"envato/irs-studio-earnings-summariser","owner":{"login":"envato","id":14786,"avatar_url":"https://avatars.githubusercontent.com/u/14786?v=3","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/envato/irs-studio-earnings-summariser","description":"Ruby command line application that reads Studio earnings events from a csv file, summarises them, and attaches Billing Details IDs that it fetches from Identity.","fork":false,"url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser","forks_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/forks","keys_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/teams","hooks_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/hooks","issue_events_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/events{/number}","events_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/events","assignees_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/assignees{/user}","branches_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/branches{/branch}","tags_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/tags","blobs_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/refs{/sha}","trees_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/statuses/{sha}","languages_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/languages","stargazers_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/stargazers","contributors_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/contributors","subscribers_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/subscribers","subscription_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/subscription","commits_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/commits{/sha}","git_commits_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/commits{/sha}","comments_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/comments{/number}","issue_comment_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/comments{/number}","contents_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/contents/{+path}","compare_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/merges","archive_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/downloads","issues_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues{/number}","pulls_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls{/number}","milestones_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/milestones{/number}","notifications_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/labels{/name}","releases_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/releases{/id}","deployments_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/deployments","created_at":"2016-09-07T04:47:23Z","updated_at":"2016-09-07T04:51:49Z","pushed_at":"2016-09-08T06:29:03Z","git_url":"git://github.com/envato/irs-studio-earnings-summariser.git","ssh_url":"git@github.com:envato/irs-studio-earnings-summariser.git","clone_url":"https://github.com/envato/irs-studio-earnings-summariser.git","svn_url":"https://github.com/envato/irs-studio-earnings-summariser","homepage":null,"size":14,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"envato:master","ref":"master","sha":"7471b5b2a5f9220ada17d2e6f54d49395eb82696","user":{"login":"envato","id":14786,"avatar_url":"https://avatars.githubusercontent.com/u/14786?v=3","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"repo":{"id":67572972,"name":"irs-studio-earnings-summariser","full_name":"envato/irs-studio-earnings-summariser","owner":{"login":"envato","id":14786,"avatar_url":"https://avatars.githubusercontent.com/u/14786?v=3","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/envato/irs-studio-earnings-summariser","description":"Ruby command line application that reads Studio earnings events from a csv file, summarises them, and attaches Billing Details IDs that it fetches from Identity.","fork":false,"url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser","forks_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/forks","keys_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/teams","hooks_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/hooks","issue_events_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/events{/number}","events_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/events","assignees_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/assignees{/user}","branches_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/branches{/branch}","tags_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/tags","blobs_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/refs{/sha}","trees_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/statuses/{sha}","languages_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/languages","stargazers_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/stargazers","contributors_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/contributors","subscribers_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/subscribers","subscription_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/subscription","commits_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/commits{/sha}","git_commits_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/git/commits{/sha}","comments_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/comments{/number}","issue_comment_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/comments{/number}","contents_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/contents/{+path}","compare_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/merges","archive_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/downloads","issues_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues{/number}","pulls_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls{/number}","milestones_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/milestones{/number}","notifications_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/labels{/name}","releases_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/releases{/id}","deployments_url":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/deployments","created_at":"2016-09-07T04:47:23Z","updated_at":"2016-09-07T04:51:49Z","pushed_at":"2016-09-08T06:29:03Z","git_url":"git://github.com/envato/irs-studio-earnings-summariser.git","ssh_url":"git@github.com:envato/irs-studio-earnings-summariser.git","clone_url":"https://github.com/envato/irs-studio-earnings-summariser.git","svn_url":"https://github.com/envato/irs-studio-earnings-summariser","homepage":null,"size":14,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1"},"html":{"href":"https://github.com/envato/irs-studio-earnings-summariser/pull/1"},"issue":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/1"},"comments":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/envato/irs-studio-earnings-summariser/statuses/cd7cd36c7a53c17d9fcfd3bcf1746e1d31d9bb4d"}}}}
{"actor":{"display_login":"macosgrove"}}