{"action":"created","comment":{"url":"https://api.github.com/repos/ryuzee/SlideHub/pulls/comments/55131940","id":55131940,"diff_hunk":"@@ -2,6 +2,81 @@\n require 'spec_helper'\n require 'digest/md5'\n \n+module Aws\n+  module SQS\n+    class DummyClient\n+      def send_message(params = {}, options = {})\n+        nil\n+      end\n+      def receive_message(params = {})\n+        []\n+      end\n+      def delete_message(params = {})\n+        Seahorse::Client::Response.new\n+      end\n+      def delete_message_batch(params = {})\n+        Aws::SQS::Types::DeleteMessageBatchResult.new\n+      end\n+    end\n+\n+    module Types\n+      class DummyReceiveMessageResult\n+        def initialize\n+          @msg = []\n+          @msg.push(DummyMessage.new)\n+        end\n+        def messages\n+          @msg\n+        end\n+      end\n+\n+      class DummyMessage\n+        attr_accessor :receipt_handle\n+      end\n+    end\n+  end\n+\n+  module S3\n+    class DummyClient\n+      def put_object(params = {})\n+\n+      end\n+      def get_object(params = {})\n+        filename = params[:response_target]\n+        File.open(filename, 'wb') { |f| f.write('hoge') }\n+      end\n+      def delete_objects(params = {})\n+\n+      end\n+      def list_objects(params = {})","path":"spec/models/aws_engine_spec.rb","position":50,"original_position":50,"commit_id":"caef54868204c8309f1ce2a6084c87cbc2c6d5cd","original_commit_id":"caef54868204c8309f1ce2a6084c87cbc2c6d5cd","user":{"login":"ryuzee","id":272013,"avatar_url":"https://avatars.githubusercontent.com/u/272013?v=3","gravatar_id":"","url":"https://api.github.com/users/ryuzee","html_url":"https://github.com/ryuzee","followers_url":"https://api.github.com/users/ryuzee/followers","following_url":"https://api.github.com/users/ryuzee/following{/other_user}","gists_url":"https://api.github.com/users/ryuzee/gists{/gist_id}","starred_url":"https://api.github.com/users/ryuzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryuzee/subscriptions","organizations_url":"https://api.github.com/users/ryuzee/orgs","repos_url":"https://api.github.com/users/ryuzee/repos","events_url":"https://api.github.com/users/ryuzee/events{/privacy}","received_events_url":"https://api.github.com/users/ryuzee/received_events","type":"User","site_admin":false},"body":"__[rubocop]__\n* Style/EmptyLineBetweenDefs: Use empty lines between method definitions. [:ref](https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods)","created_at":"2016-03-06T02:27:27Z","updated_at":"2016-03-06T02:27:27Z","html_url":"https://github.com/ryuzee/SlideHub/pull/50#discussion_r55131940","pull_request_url":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/ryuzee/SlideHub/pulls/comments/55131940"},"html":{"href":"https://github.com/ryuzee/SlideHub/pull/50#discussion_r55131940"},"pull_request":{"href":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50","id":61831544,"html_url":"https://github.com/ryuzee/SlideHub/pull/50","diff_url":"https://github.com/ryuzee/SlideHub/pull/50.diff","patch_url":"https://github.com/ryuzee/SlideHub/pull/50.patch","issue_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/50","number":50,"state":"open","locked":false,"title":"add test for AWS","user":{"login":"ryuzee","id":272013,"avatar_url":"https://avatars.githubusercontent.com/u/272013?v=3","gravatar_id":"","url":"https://api.github.com/users/ryuzee","html_url":"https://github.com/ryuzee","followers_url":"https://api.github.com/users/ryuzee/followers","following_url":"https://api.github.com/users/ryuzee/following{/other_user}","gists_url":"https://api.github.com/users/ryuzee/gists{/gist_id}","starred_url":"https://api.github.com/users/ryuzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryuzee/subscriptions","organizations_url":"https://api.github.com/users/ryuzee/orgs","repos_url":"https://api.github.com/users/ryuzee/repos","events_url":"https://api.github.com/users/ryuzee/events{/privacy}","received_events_url":"https://api.github.com/users/ryuzee/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-06T02:27:13Z","updated_at":"2016-03-06T02:27:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9ce94f66faf8139b87bf063ed04616c882eeaa1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50/commits","review_comments_url":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50/comments","review_comment_url":"https://api.github.com/repos/ryuzee/SlideHub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/50/comments","statuses_url":"https://api.github.com/repos/ryuzee/SlideHub/statuses/caef54868204c8309f1ce2a6084c87cbc2c6d5cd","head":{"label":"ryuzee:add_aws_test","ref":"add_aws_test","sha":"caef54868204c8309f1ce2a6084c87cbc2c6d5cd","user":{"login":"ryuzee","id":272013,"avatar_url":"https://avatars.githubusercontent.com/u/272013?v=3","gravatar_id":"","url":"https://api.github.com/users/ryuzee","html_url":"https://github.com/ryuzee","followers_url":"https://api.github.com/users/ryuzee/followers","following_url":"https://api.github.com/users/ryuzee/following{/other_user}","gists_url":"https://api.github.com/users/ryuzee/gists{/gist_id}","starred_url":"https://api.github.com/users/ryuzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryuzee/subscriptions","organizations_url":"https://api.github.com/users/ryuzee/orgs","repos_url":"https://api.github.com/users/ryuzee/repos","events_url":"https://api.github.com/users/ryuzee/events{/privacy}","received_events_url":"https://api.github.com/users/ryuzee/received_events","type":"User","site_admin":false},"repo":{"id":47168038,"name":"SlideHub","full_name":"ryuzee/SlideHub","owner":{"login":"ryuzee","id":272013,"avatar_url":"https://avatars.githubusercontent.com/u/272013?v=3","gravatar_id":"","url":"https://api.github.com/users/ryuzee","html_url":"https://github.com/ryuzee","followers_url":"https://api.github.com/users/ryuzee/followers","following_url":"https://api.github.com/users/ryuzee/following{/other_user}","gists_url":"https://api.github.com/users/ryuzee/gists{/gist_id}","starred_url":"https://api.github.com/users/ryuzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryuzee/subscriptions","organizations_url":"https://api.github.com/users/ryuzee/orgs","repos_url":"https://api.github.com/users/ryuzee/repos","events_url":"https://api.github.com/users/ryuzee/events{/privacy}","received_events_url":"https://api.github.com/users/ryuzee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryuzee/SlideHub","description":"SlideHub is an Open Source Slide Sharing Application","fork":false,"url":"https://api.github.com/repos/ryuzee/SlideHub","forks_url":"https://api.github.com/repos/ryuzee/SlideHub/forks","keys_url":"https://api.github.com/repos/ryuzee/SlideHub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryuzee/SlideHub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryuzee/SlideHub/teams","hooks_url":"https://api.github.com/repos/ryuzee/SlideHub/hooks","issue_events_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/events{/number}","events_url":"https://api.github.com/repos/ryuzee/SlideHub/events","assignees_url":"https://api.github.com/repos/ryuzee/SlideHub/assignees{/user}","branches_url":"https://api.github.com/repos/ryuzee/SlideHub/branches{/branch}","tags_url":"https://api.github.com/repos/ryuzee/SlideHub/tags","blobs_url":"https://api.github.com/repos/ryuzee/SlideHub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryuzee/SlideHub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryuzee/SlideHub/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryuzee/SlideHub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryuzee/SlideHub/statuses/{sha}","languages_url":"https://api.github.com/repos/ryuzee/SlideHub/languages","stargazers_url":"https://api.github.com/repos/ryuzee/SlideHub/stargazers","contributors_url":"https://api.github.com/repos/ryuzee/SlideHub/contributors","subscribers_url":"https://api.github.com/repos/ryuzee/SlideHub/subscribers","subscription_url":"https://api.github.com/repos/ryuzee/SlideHub/subscription","commits_url":"https://api.github.com/repos/ryuzee/SlideHub/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryuzee/SlideHub/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryuzee/SlideHub/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryuzee/SlideHub/contents/{+path}","compare_url":"https://api.github.com/repos/ryuzee/SlideHub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryuzee/SlideHub/merges","archive_url":"https://api.github.com/repos/ryuzee/SlideHub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryuzee/SlideHub/downloads","issues_url":"https://api.github.com/repos/ryuzee/SlideHub/issues{/number}","pulls_url":"https://api.github.com/repos/ryuzee/SlideHub/pulls{/number}","milestones_url":"https://api.github.com/repos/ryuzee/SlideHub/milestones{/number}","notifications_url":"https://api.github.com/repos/ryuzee/SlideHub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryuzee/SlideHub/labels{/name}","releases_url":"https://api.github.com/repos/ryuzee/SlideHub/releases{/id}","deployments_url":"https://api.github.com/repos/ryuzee/SlideHub/deployments","created_at":"2015-12-01T05:36:48Z","updated_at":"2016-03-06T01:04:40Z","pushed_at":"2016-03-06T02:27:14Z","git_url":"git://github.com/ryuzee/SlideHub.git","ssh_url":"git@github.com:ryuzee/SlideHub.git","clone_url":"https://github.com/ryuzee/SlideHub.git","svn_url":"https://github.com/ryuzee/SlideHub","homepage":"http://www.ryuzee.com","size":5702,"stargazers_count":17,"watchers_count":17,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":17,"default_branch":"master"}},"base":{"label":"ryuzee:master","ref":"master","sha":"21d3f4a1ac24e031437bd7bba101556f5c2f7570","user":{"login":"ryuzee","id":272013,"avatar_url":"https://avatars.githubusercontent.com/u/272013?v=3","gravatar_id":"","url":"https://api.github.com/users/ryuzee","html_url":"https://github.com/ryuzee","followers_url":"https://api.github.com/users/ryuzee/followers","following_url":"https://api.github.com/users/ryuzee/following{/other_user}","gists_url":"https://api.github.com/users/ryuzee/gists{/gist_id}","starred_url":"https://api.github.com/users/ryuzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryuzee/subscriptions","organizations_url":"https://api.github.com/users/ryuzee/orgs","repos_url":"https://api.github.com/users/ryuzee/repos","events_url":"https://api.github.com/users/ryuzee/events{/privacy}","received_events_url":"https://api.github.com/users/ryuzee/received_events","type":"User","site_admin":false},"repo":{"id":47168038,"name":"SlideHub","full_name":"ryuzee/SlideHub","owner":{"login":"ryuzee","id":272013,"avatar_url":"https://avatars.githubusercontent.com/u/272013?v=3","gravatar_id":"","url":"https://api.github.com/users/ryuzee","html_url":"https://github.com/ryuzee","followers_url":"https://api.github.com/users/ryuzee/followers","following_url":"https://api.github.com/users/ryuzee/following{/other_user}","gists_url":"https://api.github.com/users/ryuzee/gists{/gist_id}","starred_url":"https://api.github.com/users/ryuzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryuzee/subscriptions","organizations_url":"https://api.github.com/users/ryuzee/orgs","repos_url":"https://api.github.com/users/ryuzee/repos","events_url":"https://api.github.com/users/ryuzee/events{/privacy}","received_events_url":"https://api.github.com/users/ryuzee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryuzee/SlideHub","description":"SlideHub is an Open Source Slide Sharing Application","fork":false,"url":"https://api.github.com/repos/ryuzee/SlideHub","forks_url":"https://api.github.com/repos/ryuzee/SlideHub/forks","keys_url":"https://api.github.com/repos/ryuzee/SlideHub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryuzee/SlideHub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryuzee/SlideHub/teams","hooks_url":"https://api.github.com/repos/ryuzee/SlideHub/hooks","issue_events_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/events{/number}","events_url":"https://api.github.com/repos/ryuzee/SlideHub/events","assignees_url":"https://api.github.com/repos/ryuzee/SlideHub/assignees{/user}","branches_url":"https://api.github.com/repos/ryuzee/SlideHub/branches{/branch}","tags_url":"https://api.github.com/repos/ryuzee/SlideHub/tags","blobs_url":"https://api.github.com/repos/ryuzee/SlideHub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryuzee/SlideHub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryuzee/SlideHub/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryuzee/SlideHub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryuzee/SlideHub/statuses/{sha}","languages_url":"https://api.github.com/repos/ryuzee/SlideHub/languages","stargazers_url":"https://api.github.com/repos/ryuzee/SlideHub/stargazers","contributors_url":"https://api.github.com/repos/ryuzee/SlideHub/contributors","subscribers_url":"https://api.github.com/repos/ryuzee/SlideHub/subscribers","subscription_url":"https://api.github.com/repos/ryuzee/SlideHub/subscription","commits_url":"https://api.github.com/repos/ryuzee/SlideHub/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryuzee/SlideHub/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryuzee/SlideHub/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryuzee/SlideHub/contents/{+path}","compare_url":"https://api.github.com/repos/ryuzee/SlideHub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryuzee/SlideHub/merges","archive_url":"https://api.github.com/repos/ryuzee/SlideHub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryuzee/SlideHub/downloads","issues_url":"https://api.github.com/repos/ryuzee/SlideHub/issues{/number}","pulls_url":"https://api.github.com/repos/ryuzee/SlideHub/pulls{/number}","milestones_url":"https://api.github.com/repos/ryuzee/SlideHub/milestones{/number}","notifications_url":"https://api.github.com/repos/ryuzee/SlideHub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryuzee/SlideHub/labels{/name}","releases_url":"https://api.github.com/repos/ryuzee/SlideHub/releases{/id}","deployments_url":"https://api.github.com/repos/ryuzee/SlideHub/deployments","created_at":"2015-12-01T05:36:48Z","updated_at":"2016-03-06T01:04:40Z","pushed_at":"2016-03-06T02:27:14Z","git_url":"git://github.com/ryuzee/SlideHub.git","ssh_url":"git@github.com:ryuzee/SlideHub.git","clone_url":"https://github.com/ryuzee/SlideHub.git","svn_url":"https://github.com/ryuzee/SlideHub","homepage":"http://www.ryuzee.com","size":5702,"stargazers_count":17,"watchers_count":17,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50"},"html":{"href":"https://github.com/ryuzee/SlideHub/pull/50"},"issue":{"href":"https://api.github.com/repos/ryuzee/SlideHub/issues/50"},"comments":{"href":"https://api.github.com/repos/ryuzee/SlideHub/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/ryuzee/SlideHub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryuzee/SlideHub/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/ryuzee/SlideHub/statuses/caef54868204c8309f1ce2a6084c87cbc2c6d5cd"}}}}