GitHub PullRequestReviewCommentEvent at 2014-12-15 15:47:42
Repository: offsite_payments
Actor: j-mutter
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/offsite_payments/pulls/comments/21833481","id":21833481,"diff_hunk":"@@ -0,0 +1,29 @@\n+require 'test_helper'\n+\n+class RealexNotificationTest < Test::Unit::TestCase\n+  include OffsitePayments::Integrations\n+\n+  def setup\n+    @notification = Realex::Notification.new(http_raw_data, :credential4 => 'shared-secret')\n+  end\n+\n+  def test_accessors\n+    assert @notification.verified?\n+    assert @notification.complete?\n+    assert_equal \"Completed\", @notification.status\n+    assert_equal 50.0, @notification.gross\n+    # assert_equal \"\", @notification.currency","path":"test/unit/integrations/realex/realex_notification_test.rb","position":15,"original_position":15,"commit_id":"83ef846b31239d31bce500a78c78399ee2559bad","original_commit_id":"83ef846b31239d31bce500a78c78399ee2559bad","user":{"login":"j-mutter","id":1273044,"avatar_url":"https://avatars.githubusercontent.com/u/1273044?v=3","gravatar_id":"","url":"https://api.github.com/users/j-mutter","html_url":"https://github.com/j-mutter","followers_url":"https://api.github.com/users/j-mutter/followers","following_url":"https://api.github.com/users/j-mutter/following{/other_user}","gists_url":"https://api.github.com/users/j-mutter/gists{/gist_id}","starred_url":"https://api.github.com/users/j-mutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-mutter/subscriptions","organizations_url":"https://api.github.com/users/j-mutter/orgs","repos_url":"https://api.github.com/users/j-mutter/repos","events_url":"https://api.github.com/users/j-mutter/events{/privacy}","received_events_url":"https://api.github.com/users/j-mutter/received_events","type":"User","site_admin":false},"body":"Can be deleted?","created_at":"2014-12-15T15:47:42Z","updated_at":"2014-12-15T15:47:42Z","html_url":"https://github.com/Shopify/offsite_payments/pull/94#discussion_r21833481","pull_request_url":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94","_links":{"self":{"href":"https://api.github.com/repos/Shopify/offsite_payments/pulls/comments/21833481"},"html":{"href":"https://github.com/Shopify/offsite_payments/pull/94#discussion_r21833481"},"pull_request":{"href":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94","id":25511377,"html_url":"https://github.com/Shopify/offsite_payments/pull/94","diff_url":"https://github.com/Shopify/offsite_payments/pull/94.diff","patch_url":"https://github.com/Shopify/offsite_payments/pull/94.patch","issue_url":"https://api.github.com/repos/Shopify/offsite_payments/issues/94","number":94,"state":"open","locked":false,"title":"Reapplying realex gateway addition changes","user":{"login":"andrewpaliga","id":2962326,"avatar_url":"https://avatars.githubusercontent.com/u/2962326?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewpaliga","html_url":"https://github.com/andrewpaliga","followers_url":"https://api.github.com/users/andrewpaliga/followers","following_url":"https://api.github.com/users/andrewpaliga/following{/other_user}","gists_url":"https://api.github.com/users/andrewpaliga/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewpaliga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewpaliga/subscriptions","organizations_url":"https://api.github.com/users/andrewpaliga/orgs","repos_url":"https://api.github.com/users/andrewpaliga/repos","events_url":"https://api.github.com/users/andrewpaliga/events{/privacy}","received_events_url":"https://api.github.com/users/andrewpaliga/received_events","type":"User","site_admin":false},"body":"@davidjrice fyi -- I reapplied your changes against most recent master. ","created_at":"2014-12-04T17:03:56Z","updated_at":"2014-12-15T15:47:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"319b3ef4738ec87b16d66320d98fb94c4ce9ddbe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94/commits","review_comments_url":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94/comments","review_comment_url":"https://api.github.com/repos/Shopify/offsite_payments/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Shopify/offsite_payments/issues/94/comments","statuses_url":"https://api.github.com/repos/Shopify/offsite_payments/statuses/83ef846b31239d31bce500a78c78399ee2559bad","head":{"label":"Shopify:realex","ref":"realex","sha":"83ef846b31239d31bce500a78c78399ee2559bad","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":20425338,"name":"offsite_payments","full_name":"Shopify/offsite_payments","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/offsite_payments","description":"A simple and unified API to handle dozens of different offsite payment pages.","fork":false,"url":"https://api.github.com/repos/Shopify/offsite_payments","forks_url":"https://api.github.com/repos/Shopify/offsite_payments/forks","keys_url":"https://api.github.com/repos/Shopify/offsite_payments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/offsite_payments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/offsite_payments/teams","hooks_url":"https://api.github.com/repos/Shopify/offsite_payments/hooks","issue_events_url":"https://api.github.com/repos/Shopify/offsite_payments/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/offsite_payments/events","assignees_url":"https://api.github.com/repos/Shopify/offsite_payments/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/offsite_payments/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/offsite_payments/tags","blobs_url":"https://api.github.com/repos/Shopify/offsite_payments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/offsite_payments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/offsite_payments/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/offsite_payments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/offsite_payments/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/offsite_payments/languages","stargazers_url":"https://api.github.com/repos/Shopify/offsite_payments/stargazers","contributors_url":"https://api.github.com/repos/Shopify/offsite_payments/contributors","subscribers_url":"https://api.github.com/repos/Shopify/offsite_payments/subscribers","subscription_url":"https://api.github.com/repos/Shopify/offsite_payments/subscription","commits_url":"https://api.github.com/repos/Shopify/offsite_payments/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/offsite_payments/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/offsite_payments/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/offsite_payments/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shopify/offsite_payments/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/offsite_payments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/offsite_payments/merges","archive_url":"https://api.github.com/repos/Shopify/offsite_payments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/offsite_payments/downloads","issues_url":"https://api.github.com/repos/Shopify/offsite_payments/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/offsite_payments/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/offsite_payments/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/offsite_payments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/offsite_payments/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/offsite_payments/releases{/id}","created_at":"2014-06-03T01:11:00Z","updated_at":"2014-12-06T23:25:24Z","pushed_at":"2014-12-05T20:10:35Z","git_url":"git://github.com/Shopify/offsite_payments.git","ssh_url":"git@github.com:Shopify/offsite_payments.git","clone_url":"https://github.com/Shopify/offsite_payments.git","svn_url":"https://github.com/Shopify/offsite_payments","homepage":"","size":981,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":56,"forks":47,"open_issues":56,"watchers":29,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"672e1419ce7a3d87bcd5e3c1874c9b8a4559120a","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":20425338,"name":"offsite_payments","full_name":"Shopify/offsite_payments","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/offsite_payments","description":"A simple and unified API to handle dozens of different offsite payment pages.","fork":false,"url":"https://api.github.com/repos/Shopify/offsite_payments","forks_url":"https://api.github.com/repos/Shopify/offsite_payments/forks","keys_url":"https://api.github.com/repos/Shopify/offsite_payments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/offsite_payments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/offsite_payments/teams","hooks_url":"https://api.github.com/repos/Shopify/offsite_payments/hooks","issue_events_url":"https://api.github.com/repos/Shopify/offsite_payments/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/offsite_payments/events","assignees_url":"https://api.github.com/repos/Shopify/offsite_payments/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/offsite_payments/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/offsite_payments/tags","blobs_url":"https://api.github.com/repos/Shopify/offsite_payments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/offsite_payments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/offsite_payments/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/offsite_payments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/offsite_payments/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/offsite_payments/languages","stargazers_url":"https://api.github.com/repos/Shopify/offsite_payments/stargazers","contributors_url":"https://api.github.com/repos/Shopify/offsite_payments/contributors","subscribers_url":"https://api.github.com/repos/Shopify/offsite_payments/subscribers","subscription_url":"https://api.github.com/repos/Shopify/offsite_payments/subscription","commits_url":"https://api.github.com/repos/Shopify/offsite_payments/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/offsite_payments/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/offsite_payments/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/offsite_payments/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shopify/offsite_payments/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/offsite_payments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/offsite_payments/merges","archive_url":"https://api.github.com/repos/Shopify/offsite_payments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/offsite_payments/downloads","issues_url":"https://api.github.com/repos/Shopify/offsite_payments/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/offsite_payments/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/offsite_payments/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/offsite_payments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/offsite_payments/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/offsite_payments/releases{/id}","created_at":"2014-06-03T01:11:00Z","updated_at":"2014-12-06T23:25:24Z","pushed_at":"2014-12-05T20:10:35Z","git_url":"git://github.com/Shopify/offsite_payments.git","ssh_url":"git@github.com:Shopify/offsite_payments.git","clone_url":"https://github.com/Shopify/offsite_payments.git","svn_url":"https://github.com/Shopify/offsite_payments","homepage":"","size":981,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":56,"forks":47,"open_issues":56,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94"},"html":{"href":"https://github.com/Shopify/offsite_payments/pull/94"},"issue":{"href":"https://api.github.com/repos/Shopify/offsite_payments/issues/94"},"comments":{"href":"https://api.github.com/repos/Shopify/offsite_payments/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/offsite_payments/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Shopify/offsite_payments/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/offsite_payments/statuses/83ef846b31239d31bce500a78c78399ee2559bad"}}}}