{"action":"created","comment":{"url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments/32887096","id":32887096,"diff_hunk":"@@ -1,13 +1,20 @@\n require 'bigdecimal'\n \n class Item\n-  attr_reader :name, :created_at, :unit_price, :updated_at, :merchant_id, :id, :description, :repository\n+  attr_reader :name,\n+              :created_at,\n+              :unit_price,\n+              :updated_at,\n+              :merchant_id,\n+              :id,\n+              :description,\n+              :repository\n \n   def initialize(data, repository)\n     @id          = data[:id].to_i\n     @name        = data[:name]\n     @description = data[:description]\n-    @unit_price  = (BigDecimal.new(data[:unit_price])/100).to_f\n+    @unit_price  = BigDecimal.new(data[:unit_price])/100","path":"lib/item.rb","position":19,"original_position":19,"commit_id":"ff59d8349009f3b33c87839e04ca287d330b25e6","original_commit_id":"ff59d8349009f3b33c87839e04ca287d330b25e6","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":"Unnecessary spacing detected.<br>Surrounding space missing for operator '/'.","created_at":"2015-06-20T19:11:47Z","updated_at":"2015-06-20T19:11:47Z","html_url":"https://github.com/marlabrizel/sales_engine/pull/42#discussion_r32887096","pull_request_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments/32887096"},"html":{"href":"https://github.com/marlabrizel/sales_engine/pull/42#discussion_r32887096"},"pull_request":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42","id":38172725,"html_url":"https://github.com/marlabrizel/sales_engine/pull/42","diff_url":"https://github.com/marlabrizel/sales_engine/pull/42.diff","patch_url":"https://github.com/marlabrizel/sales_engine/pull/42.patch","issue_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/42","number":42,"state":"open","locked":false,"title":"Fix spec harness","user":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"body":"Fix searching and relationships failures in test harness. ouch.","created_at":"2015-06-20T19:11:43Z","updated_at":"2015-06-20T19:11:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d37569a13bb63bd1b4286422fe70d0ea7c6eca4e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42/commits","review_comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42/comments","review_comment_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/42/comments","statuses_url":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/ff59d8349009f3b33c87839e04ca287d330b25e6","head":{"label":"marlabrizel:fix-spec-harness","ref":"fix-spec-harness","sha":"ff59d8349009f3b33c87839e04ca287d330b25e6","user":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"repo":{"id":37489691,"name":"sales_engine","full_name":"marlabrizel/sales_engine","owner":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marlabrizel/sales_engine","description":"","fork":false,"url":"https://api.github.com/repos/marlabrizel/sales_engine","forks_url":"https://api.github.com/repos/marlabrizel/sales_engine/forks","keys_url":"https://api.github.com/repos/marlabrizel/sales_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marlabrizel/sales_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marlabrizel/sales_engine/teams","hooks_url":"https://api.github.com/repos/marlabrizel/sales_engine/hooks","issue_events_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/events{/number}","events_url":"https://api.github.com/repos/marlabrizel/sales_engine/events","assignees_url":"https://api.github.com/repos/marlabrizel/sales_engine/assignees{/user}","branches_url":"https://api.github.com/repos/marlabrizel/sales_engine/branches{/branch}","tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/tags","blobs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/marlabrizel/sales_engine/languages","stargazers_url":"https://api.github.com/repos/marlabrizel/sales_engine/stargazers","contributors_url":"https://api.github.com/repos/marlabrizel/sales_engine/contributors","subscribers_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscribers","subscription_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscription","commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/marlabrizel/sales_engine/contents/{+path}","compare_url":"https://api.github.com/repos/marlabrizel/sales_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marlabrizel/sales_engine/merges","archive_url":"https://api.github.com/repos/marlabrizel/sales_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marlabrizel/sales_engine/downloads","issues_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues{/number}","pulls_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/marlabrizel/sales_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/marlabrizel/sales_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marlabrizel/sales_engine/labels{/name}","releases_url":"https://api.github.com/repos/marlabrizel/sales_engine/releases{/id}","created_at":"2015-06-15T20:31:30Z","updated_at":"2015-06-17T14:35:49Z","pushed_at":"2015-06-20T19:11:43Z","git_url":"git://github.com/marlabrizel/sales_engine.git","ssh_url":"git@github.com:marlabrizel/sales_engine.git","clone_url":"https://github.com/marlabrizel/sales_engine.git","svn_url":"https://github.com/marlabrizel/sales_engine","homepage":null,"size":1234,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"marlabrizel:master","ref":"master","sha":"721323b5b13ab4352e9eecb4e3f8ff3931b40eb3","user":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"repo":{"id":37489691,"name":"sales_engine","full_name":"marlabrizel/sales_engine","owner":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marlabrizel/sales_engine","description":"","fork":false,"url":"https://api.github.com/repos/marlabrizel/sales_engine","forks_url":"https://api.github.com/repos/marlabrizel/sales_engine/forks","keys_url":"https://api.github.com/repos/marlabrizel/sales_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marlabrizel/sales_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marlabrizel/sales_engine/teams","hooks_url":"https://api.github.com/repos/marlabrizel/sales_engine/hooks","issue_events_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/events{/number}","events_url":"https://api.github.com/repos/marlabrizel/sales_engine/events","assignees_url":"https://api.github.com/repos/marlabrizel/sales_engine/assignees{/user}","branches_url":"https://api.github.com/repos/marlabrizel/sales_engine/branches{/branch}","tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/tags","blobs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/marlabrizel/sales_engine/languages","stargazers_url":"https://api.github.com/repos/marlabrizel/sales_engine/stargazers","contributors_url":"https://api.github.com/repos/marlabrizel/sales_engine/contributors","subscribers_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscribers","subscription_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscription","commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/marlabrizel/sales_engine/contents/{+path}","compare_url":"https://api.github.com/repos/marlabrizel/sales_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marlabrizel/sales_engine/merges","archive_url":"https://api.github.com/repos/marlabrizel/sales_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marlabrizel/sales_engine/downloads","issues_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues{/number}","pulls_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/marlabrizel/sales_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/marlabrizel/sales_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marlabrizel/sales_engine/labels{/name}","releases_url":"https://api.github.com/repos/marlabrizel/sales_engine/releases{/id}","created_at":"2015-06-15T20:31:30Z","updated_at":"2015-06-17T14:35:49Z","pushed_at":"2015-06-20T19:11:43Z","git_url":"git://github.com/marlabrizel/sales_engine.git","ssh_url":"git@github.com:marlabrizel/sales_engine.git","clone_url":"https://github.com/marlabrizel/sales_engine.git","svn_url":"https://github.com/marlabrizel/sales_engine","homepage":null,"size":1234,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42"},"html":{"href":"https://github.com/marlabrizel/sales_engine/pull/42"},"issue":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/issues/42"},"comments":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/ff59d8349009f3b33c87839e04ca287d330b25e6"}}}}