{"action":"created","comment":{"url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/comments/204920305","pull_request_review_id":140090550,"id":204920305,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDkyMDMwNQ==","diff_hunk":"@@ -7,54 +7,99 @@\n class SalesAnalystTest < Minitest::Test\n \n   def setup\n-    @sales_engine = SalesEngine.from_csv({\n-          :items     => \"./data/items.csv\",\n-          :merchants => \"./data/merchants.csv\",\n-          })\n+    @item_1 = Item.new({:id => 263395237, :name => \"Pencil\", :description => \"You can use it to write things\", :unit_price  => BigDecimal.new(10.99,4), :merchant_id => 12334141, :created_at  => Time.now, :updated_at  => Time.now})","path":"test/sales_analyst_test.rb","position":8,"original_position":8,"commit_id":"3c16912d006f1549ccc8ae0531bdb3ab66e7d606","original_commit_id":"3c16912d006f1549ccc8ae0531bdb3ab66e7d606","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Naming/VariableNumber: Use normalcase for variable numbers.<br>Layout/SpaceInsideHashLiteralBraces: Space inside { missing.<br>Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.<br>Style/HashSyntax: Use the new Ruby 1.9 hash syntax.<br>Style/NumericLiterals: Use underscores(_) as decimal mark and separate every 3 digits with them.<br>Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.<br>Metrics/LineLength: Line is too long. [230/80]<br>Layout/ExtraSpacing: Unnecessary spacing detected.<br>Layout/SpaceAroundOperators: Operator => should be surrounded by a single space.<br>Lint/BigDecimalNew: BigDecimal.new() is deprecated. Use BigDecimal() instead.<br>Layout/SpaceAfterComma: Space missing after comma.<br>Layout/SpaceInsideHashLiteralBraces: Space inside } missing.","created_at":"2018-07-24T21:39:35Z","updated_at":"2018-07-24T21:39:36Z","html_url":"https://github.com/NickLindeberg/black_thursday/pull/14#discussion_r204920305","pull_request_url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/comments/204920305"},"html":{"href":"https://github.com/NickLindeberg/black_thursday/pull/14#discussion_r204920305"},"pull_request":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14","id":203662684,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNjYyNjg0","html_url":"https://github.com/NickLindeberg/black_thursday/pull/14","diff_url":"https://github.com/NickLindeberg/black_thursday/pull/14.diff","patch_url":"https://github.com/NickLindeberg/black_thursday/pull/14.patch","issue_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/14","number":14,"state":"open","locked":false,"title":"Sales analyst updates","user":{"login":"KathleenYruegas","id":37309438,"node_id":"MDQ6VXNlcjM3MzA5NDM4","avatar_url":"https://avatars3.githubusercontent.com/u/37309438?v=4","gravatar_id":"","url":"https://api.github.com/users/KathleenYruegas","html_url":"https://github.com/KathleenYruegas","followers_url":"https://api.github.com/users/KathleenYruegas/followers","following_url":"https://api.github.com/users/KathleenYruegas/following{/other_user}","gists_url":"https://api.github.com/users/KathleenYruegas/gists{/gist_id}","starred_url":"https://api.github.com/users/KathleenYruegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KathleenYruegas/subscriptions","organizations_url":"https://api.github.com/users/KathleenYruegas/orgs","repos_url":"https://api.github.com/users/KathleenYruegas/repos","events_url":"https://api.github.com/users/KathleenYruegas/events{/privacy}","received_events_url":"https://api.github.com/users/KathleenYruegas/received_events","type":"User","site_admin":false},"body":"Adds methods and tests for golden items","created_at":"2018-07-24T21:39:22Z","updated_at":"2018-07-24T21:39:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11d98bdb65150452cc9bdbc14cb58c7c7ee4ec81","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14/commits","review_comments_url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14/comments","review_comment_url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/14/comments","statuses_url":"https://api.github.com/repos/NickLindeberg/black_thursday/statuses/3c16912d006f1549ccc8ae0531bdb3ab66e7d606","head":{"label":"NickLindeberg:sales_analyst_updates","ref":"sales_analyst_updates","sha":"3c16912d006f1549ccc8ae0531bdb3ab66e7d606","user":{"login":"NickLindeberg","id":39312419,"node_id":"MDQ6VXNlcjM5MzEyNDE5","avatar_url":"https://avatars3.githubusercontent.com/u/39312419?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLindeberg","html_url":"https://github.com/NickLindeberg","followers_url":"https://api.github.com/users/NickLindeberg/followers","following_url":"https://api.github.com/users/NickLindeberg/following{/other_user}","gists_url":"https://api.github.com/users/NickLindeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLindeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLindeberg/subscriptions","organizations_url":"https://api.github.com/users/NickLindeberg/orgs","repos_url":"https://api.github.com/users/NickLindeberg/repos","events_url":"https://api.github.com/users/NickLindeberg/events{/privacy}","received_events_url":"https://api.github.com/users/NickLindeberg/received_events","type":"User","site_admin":false},"repo":{"id":141748583,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3NDg1ODM=","name":"black_thursday","full_name":"NickLindeberg/black_thursday","owner":{"login":"NickLindeberg","id":39312419,"node_id":"MDQ6VXNlcjM5MzEyNDE5","avatar_url":"https://avatars3.githubusercontent.com/u/39312419?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLindeberg","html_url":"https://github.com/NickLindeberg","followers_url":"https://api.github.com/users/NickLindeberg/followers","following_url":"https://api.github.com/users/NickLindeberg/following{/other_user}","gists_url":"https://api.github.com/users/NickLindeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLindeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLindeberg/subscriptions","organizations_url":"https://api.github.com/users/NickLindeberg/orgs","repos_url":"https://api.github.com/users/NickLindeberg/repos","events_url":"https://api.github.com/users/NickLindeberg/events{/privacy}","received_events_url":"https://api.github.com/users/NickLindeberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NickLindeberg/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/NickLindeberg/black_thursday","forks_url":"https://api.github.com/repos/NickLindeberg/black_thursday/forks","keys_url":"https://api.github.com/repos/NickLindeberg/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NickLindeberg/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NickLindeberg/black_thursday/teams","hooks_url":"https://api.github.com/repos/NickLindeberg/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/NickLindeberg/black_thursday/events","assignees_url":"https://api.github.com/repos/NickLindeberg/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/NickLindeberg/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/NickLindeberg/black_thursday/tags","blobs_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NickLindeberg/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/NickLindeberg/black_thursday/languages","stargazers_url":"https://api.github.com/repos/NickLindeberg/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/NickLindeberg/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/NickLindeberg/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/NickLindeberg/black_thursday/subscription","commits_url":"https://api.github.com/repos/NickLindeberg/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/NickLindeberg/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/NickLindeberg/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/NickLindeberg/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NickLindeberg/black_thursday/merges","archive_url":"https://api.github.com/repos/NickLindeberg/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NickLindeberg/black_thursday/downloads","issues_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/NickLindeberg/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/NickLindeberg/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NickLindeberg/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/NickLindeberg/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/NickLindeberg/black_thursday/deployments","created_at":"2018-07-20T19:08:15Z","updated_at":"2018-07-24T16:44:28Z","pushed_at":"2018-07-24T21:39:23Z","git_url":"git://github.com/NickLindeberg/black_thursday.git","ssh_url":"git@github.com:NickLindeberg/black_thursday.git","clone_url":"https://github.com/NickLindeberg/black_thursday.git","svn_url":"https://github.com/NickLindeberg/black_thursday","homepage":null,"size":1718,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"NickLindeberg:master","ref":"master","sha":"4d4c6cd8378d48aa04ac07ef8ccc9c953bde9452","user":{"login":"NickLindeberg","id":39312419,"node_id":"MDQ6VXNlcjM5MzEyNDE5","avatar_url":"https://avatars3.githubusercontent.com/u/39312419?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLindeberg","html_url":"https://github.com/NickLindeberg","followers_url":"https://api.github.com/users/NickLindeberg/followers","following_url":"https://api.github.com/users/NickLindeberg/following{/other_user}","gists_url":"https://api.github.com/users/NickLindeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLindeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLindeberg/subscriptions","organizations_url":"https://api.github.com/users/NickLindeberg/orgs","repos_url":"https://api.github.com/users/NickLindeberg/repos","events_url":"https://api.github.com/users/NickLindeberg/events{/privacy}","received_events_url":"https://api.github.com/users/NickLindeberg/received_events","type":"User","site_admin":false},"repo":{"id":141748583,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3NDg1ODM=","name":"black_thursday","full_name":"NickLindeberg/black_thursday","owner":{"login":"NickLindeberg","id":39312419,"node_id":"MDQ6VXNlcjM5MzEyNDE5","avatar_url":"https://avatars3.githubusercontent.com/u/39312419?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLindeberg","html_url":"https://github.com/NickLindeberg","followers_url":"https://api.github.com/users/NickLindeberg/followers","following_url":"https://api.github.com/users/NickLindeberg/following{/other_user}","gists_url":"https://api.github.com/users/NickLindeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLindeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLindeberg/subscriptions","organizations_url":"https://api.github.com/users/NickLindeberg/orgs","repos_url":"https://api.github.com/users/NickLindeberg/repos","events_url":"https://api.github.com/users/NickLindeberg/events{/privacy}","received_events_url":"https://api.github.com/users/NickLindeberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NickLindeberg/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/NickLindeberg/black_thursday","forks_url":"https://api.github.com/repos/NickLindeberg/black_thursday/forks","keys_url":"https://api.github.com/repos/NickLindeberg/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NickLindeberg/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NickLindeberg/black_thursday/teams","hooks_url":"https://api.github.com/repos/NickLindeberg/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/NickLindeberg/black_thursday/events","assignees_url":"https://api.github.com/repos/NickLindeberg/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/NickLindeberg/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/NickLindeberg/black_thursday/tags","blobs_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NickLindeberg/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/NickLindeberg/black_thursday/languages","stargazers_url":"https://api.github.com/repos/NickLindeberg/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/NickLindeberg/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/NickLindeberg/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/NickLindeberg/black_thursday/subscription","commits_url":"https://api.github.com/repos/NickLindeberg/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/NickLindeberg/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/NickLindeberg/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/NickLindeberg/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/NickLindeberg/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NickLindeberg/black_thursday/merges","archive_url":"https://api.github.com/repos/NickLindeberg/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NickLindeberg/black_thursday/downloads","issues_url":"https://api.github.com/repos/NickLindeberg/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/NickLindeberg/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/NickLindeberg/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NickLindeberg/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/NickLindeberg/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/NickLindeberg/black_thursday/deployments","created_at":"2018-07-20T19:08:15Z","updated_at":"2018-07-24T16:44:28Z","pushed_at":"2018-07-24T21:39:23Z","git_url":"git://github.com/NickLindeberg/black_thursday.git","ssh_url":"git@github.com:NickLindeberg/black_thursday.git","clone_url":"https://github.com/NickLindeberg/black_thursday.git","svn_url":"https://github.com/NickLindeberg/black_thursday","homepage":null,"size":1718,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":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/NickLindeberg/black_thursday/pulls/14"},"html":{"href":"https://github.com/NickLindeberg/black_thursday/pull/14"},"issue":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/14"},"comments":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/NickLindeberg/black_thursday/statuses/3c16912d006f1549ccc8ae0531bdb3ab66e7d606"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}