{"action":"created","comment":{"url":"https://api.github.com/repos/wallerjake/toolshed/pulls/comments/40627470","id":40627470,"diff_hunk":"@@ -0,0 +1,34 @@\n+require 'commands/commands_helper'\n+require 'toolshed/commands/scp/upload'\n+require 'net/scp'\n+\n+module Test\n+  module Commands\n+    module SCP\n+      class UploadTest < Test::Unit::TestCase\n+        def setup\n+          Toolshed::Logger.instance.instance_variable_set(:@logs, { debug: [], fatal: [], info: [], warn: [] })\n+          Toolshed.expects(:die).at_least(0).returns('Exiting')","path":"test/commands/scp/upload_test.rb","position":11,"original_position":11,"commit_id":"e42784e9191c1f34a69246509088f6671617cd60","original_commit_id":"e42784e9191c1f34a69246509088f6671617cd60","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-09-29T02:01:09Z","updated_at":"2015-09-29T02:01:09Z","html_url":"https://github.com/wallerjake/toolshed/pull/53#discussion_r40627470","pull_request_url":"https://api.github.com/repos/wallerjake/toolshed/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/wallerjake/toolshed/pulls/comments/40627470"},"html":{"href":"https://github.com/wallerjake/toolshed/pull/53#discussion_r40627470"},"pull_request":{"href":"https://api.github.com/repos/wallerjake/toolshed/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/wallerjake/toolshed/pulls/53","id":46229263,"html_url":"https://github.com/wallerjake/toolshed/pull/53","diff_url":"https://github.com/wallerjake/toolshed/pull/53.diff","patch_url":"https://github.com/wallerjake/toolshed/pull/53.patch","issue_url":"https://api.github.com/repos/wallerjake/toolshed/issues/53","number":53,"state":"open","locked":false,"title":"Develop","user":{"login":"wallerjake","id":2738064,"avatar_url":"https://avatars.githubusercontent.com/u/2738064?v=3","gravatar_id":"","url":"https://api.github.com/users/wallerjake","html_url":"https://github.com/wallerjake","followers_url":"https://api.github.com/users/wallerjake/followers","following_url":"https://api.github.com/users/wallerjake/following{/other_user}","gists_url":"https://api.github.com/users/wallerjake/gists{/gist_id}","starred_url":"https://api.github.com/users/wallerjake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallerjake/subscriptions","organizations_url":"https://api.github.com/users/wallerjake/orgs","repos_url":"https://api.github.com/users/wallerjake/repos","events_url":"https://api.github.com/users/wallerjake/events{/privacy}","received_events_url":"https://api.github.com/users/wallerjake/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-29T02:00:57Z","updated_at":"2015-09-29T02:01:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f29046f3cd3654706d2e663a7f97a80c5e4e8119","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wallerjake/toolshed/pulls/53/commits","review_comments_url":"https://api.github.com/repos/wallerjake/toolshed/pulls/53/comments","review_comment_url":"https://api.github.com/repos/wallerjake/toolshed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wallerjake/toolshed/issues/53/comments","statuses_url":"https://api.github.com/repos/wallerjake/toolshed/statuses/e42784e9191c1f34a69246509088f6671617cd60","head":{"label":"wallerjake:develop","ref":"develop","sha":"e42784e9191c1f34a69246509088f6671617cd60","user":{"login":"wallerjake","id":2738064,"avatar_url":"https://avatars.githubusercontent.com/u/2738064?v=3","gravatar_id":"","url":"https://api.github.com/users/wallerjake","html_url":"https://github.com/wallerjake","followers_url":"https://api.github.com/users/wallerjake/followers","following_url":"https://api.github.com/users/wallerjake/following{/other_user}","gists_url":"https://api.github.com/users/wallerjake/gists{/gist_id}","starred_url":"https://api.github.com/users/wallerjake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallerjake/subscriptions","organizations_url":"https://api.github.com/users/wallerjake/orgs","repos_url":"https://api.github.com/users/wallerjake/repos","events_url":"https://api.github.com/users/wallerjake/events{/privacy}","received_events_url":"https://api.github.com/users/wallerjake/received_events","type":"User","site_admin":false},"repo":{"id":16379937,"name":"toolshed","full_name":"wallerjake/toolshed","owner":{"login":"wallerjake","id":2738064,"avatar_url":"https://avatars.githubusercontent.com/u/2738064?v=3","gravatar_id":"","url":"https://api.github.com/users/wallerjake","html_url":"https://github.com/wallerjake","followers_url":"https://api.github.com/users/wallerjake/followers","following_url":"https://api.github.com/users/wallerjake/following{/other_user}","gists_url":"https://api.github.com/users/wallerjake/gists{/gist_id}","starred_url":"https://api.github.com/users/wallerjake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallerjake/subscriptions","organizations_url":"https://api.github.com/users/wallerjake/orgs","repos_url":"https://api.github.com/users/wallerjake/repos","events_url":"https://api.github.com/users/wallerjake/events{/privacy}","received_events_url":"https://api.github.com/users/wallerjake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallerjake/toolshed","description":"Ruby Gem that will provide a small tool set for a developer","fork":false,"url":"https://api.github.com/repos/wallerjake/toolshed","forks_url":"https://api.github.com/repos/wallerjake/toolshed/forks","keys_url":"https://api.github.com/repos/wallerjake/toolshed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallerjake/toolshed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallerjake/toolshed/teams","hooks_url":"https://api.github.com/repos/wallerjake/toolshed/hooks","issue_events_url":"https://api.github.com/repos/wallerjake/toolshed/issues/events{/number}","events_url":"https://api.github.com/repos/wallerjake/toolshed/events","assignees_url":"https://api.github.com/repos/wallerjake/toolshed/assignees{/user}","branches_url":"https://api.github.com/repos/wallerjake/toolshed/branches{/branch}","tags_url":"https://api.github.com/repos/wallerjake/toolshed/tags","blobs_url":"https://api.github.com/repos/wallerjake/toolshed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallerjake/toolshed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallerjake/toolshed/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallerjake/toolshed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallerjake/toolshed/statuses/{sha}","languages_url":"https://api.github.com/repos/wallerjake/toolshed/languages","stargazers_url":"https://api.github.com/repos/wallerjake/toolshed/stargazers","contributors_url":"https://api.github.com/repos/wallerjake/toolshed/contributors","subscribers_url":"https://api.github.com/repos/wallerjake/toolshed/subscribers","subscription_url":"https://api.github.com/repos/wallerjake/toolshed/subscription","commits_url":"https://api.github.com/repos/wallerjake/toolshed/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallerjake/toolshed/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallerjake/toolshed/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallerjake/toolshed/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallerjake/toolshed/contents/{+path}","compare_url":"https://api.github.com/repos/wallerjake/toolshed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallerjake/toolshed/merges","archive_url":"https://api.github.com/repos/wallerjake/toolshed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallerjake/toolshed/downloads","issues_url":"https://api.github.com/repos/wallerjake/toolshed/issues{/number}","pulls_url":"https://api.github.com/repos/wallerjake/toolshed/pulls{/number}","milestones_url":"https://api.github.com/repos/wallerjake/toolshed/milestones{/number}","notifications_url":"https://api.github.com/repos/wallerjake/toolshed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallerjake/toolshed/labels{/name}","releases_url":"https://api.github.com/repos/wallerjake/toolshed/releases{/id}","created_at":"2014-01-30T14:46:34Z","updated_at":"2015-07-01T15:51:43Z","pushed_at":"2015-09-29T02:00:57Z","git_url":"git://github.com/wallerjake/toolshed.git","ssh_url":"git@github.com:wallerjake/toolshed.git","clone_url":"https://github.com/wallerjake/toolshed.git","svn_url":"https://github.com/wallerjake/toolshed","homepage":null,"size":957,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"wallerjake:master","ref":"master","sha":"b744823d2cbe9d7d168349ea33f2d56434ebb3f2","user":{"login":"wallerjake","id":2738064,"avatar_url":"https://avatars.githubusercontent.com/u/2738064?v=3","gravatar_id":"","url":"https://api.github.com/users/wallerjake","html_url":"https://github.com/wallerjake","followers_url":"https://api.github.com/users/wallerjake/followers","following_url":"https://api.github.com/users/wallerjake/following{/other_user}","gists_url":"https://api.github.com/users/wallerjake/gists{/gist_id}","starred_url":"https://api.github.com/users/wallerjake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallerjake/subscriptions","organizations_url":"https://api.github.com/users/wallerjake/orgs","repos_url":"https://api.github.com/users/wallerjake/repos","events_url":"https://api.github.com/users/wallerjake/events{/privacy}","received_events_url":"https://api.github.com/users/wallerjake/received_events","type":"User","site_admin":false},"repo":{"id":16379937,"name":"toolshed","full_name":"wallerjake/toolshed","owner":{"login":"wallerjake","id":2738064,"avatar_url":"https://avatars.githubusercontent.com/u/2738064?v=3","gravatar_id":"","url":"https://api.github.com/users/wallerjake","html_url":"https://github.com/wallerjake","followers_url":"https://api.github.com/users/wallerjake/followers","following_url":"https://api.github.com/users/wallerjake/following{/other_user}","gists_url":"https://api.github.com/users/wallerjake/gists{/gist_id}","starred_url":"https://api.github.com/users/wallerjake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallerjake/subscriptions","organizations_url":"https://api.github.com/users/wallerjake/orgs","repos_url":"https://api.github.com/users/wallerjake/repos","events_url":"https://api.github.com/users/wallerjake/events{/privacy}","received_events_url":"https://api.github.com/users/wallerjake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallerjake/toolshed","description":"Ruby Gem that will provide a small tool set for a developer","fork":false,"url":"https://api.github.com/repos/wallerjake/toolshed","forks_url":"https://api.github.com/repos/wallerjake/toolshed/forks","keys_url":"https://api.github.com/repos/wallerjake/toolshed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallerjake/toolshed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallerjake/toolshed/teams","hooks_url":"https://api.github.com/repos/wallerjake/toolshed/hooks","issue_events_url":"https://api.github.com/repos/wallerjake/toolshed/issues/events{/number}","events_url":"https://api.github.com/repos/wallerjake/toolshed/events","assignees_url":"https://api.github.com/repos/wallerjake/toolshed/assignees{/user}","branches_url":"https://api.github.com/repos/wallerjake/toolshed/branches{/branch}","tags_url":"https://api.github.com/repos/wallerjake/toolshed/tags","blobs_url":"https://api.github.com/repos/wallerjake/toolshed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallerjake/toolshed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallerjake/toolshed/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallerjake/toolshed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallerjake/toolshed/statuses/{sha}","languages_url":"https://api.github.com/repos/wallerjake/toolshed/languages","stargazers_url":"https://api.github.com/repos/wallerjake/toolshed/stargazers","contributors_url":"https://api.github.com/repos/wallerjake/toolshed/contributors","subscribers_url":"https://api.github.com/repos/wallerjake/toolshed/subscribers","subscription_url":"https://api.github.com/repos/wallerjake/toolshed/subscription","commits_url":"https://api.github.com/repos/wallerjake/toolshed/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallerjake/toolshed/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallerjake/toolshed/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallerjake/toolshed/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallerjake/toolshed/contents/{+path}","compare_url":"https://api.github.com/repos/wallerjake/toolshed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallerjake/toolshed/merges","archive_url":"https://api.github.com/repos/wallerjake/toolshed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallerjake/toolshed/downloads","issues_url":"https://api.github.com/repos/wallerjake/toolshed/issues{/number}","pulls_url":"https://api.github.com/repos/wallerjake/toolshed/pulls{/number}","milestones_url":"https://api.github.com/repos/wallerjake/toolshed/milestones{/number}","notifications_url":"https://api.github.com/repos/wallerjake/toolshed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallerjake/toolshed/labels{/name}","releases_url":"https://api.github.com/repos/wallerjake/toolshed/releases{/id}","created_at":"2014-01-30T14:46:34Z","updated_at":"2015-07-01T15:51:43Z","pushed_at":"2015-09-29T02:00:57Z","git_url":"git://github.com/wallerjake/toolshed.git","ssh_url":"git@github.com:wallerjake/toolshed.git","clone_url":"https://github.com/wallerjake/toolshed.git","svn_url":"https://github.com/wallerjake/toolshed","homepage":null,"size":957,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wallerjake/toolshed/pulls/53"},"html":{"href":"https://github.com/wallerjake/toolshed/pull/53"},"issue":{"href":"https://api.github.com/repos/wallerjake/toolshed/issues/53"},"comments":{"href":"https://api.github.com/repos/wallerjake/toolshed/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/wallerjake/toolshed/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/wallerjake/toolshed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wallerjake/toolshed/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/wallerjake/toolshed/statuses/e42784e9191c1f34a69246509088f6671617cd60"}}}}