{"action":"created","comment":{"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments/117123944","pull_request_review_id":38803508,"id":117123944,"diff_hunk":"@@ -0,0 +1,41 @@\n+require 'spec_helper'\n+\n+RSpec.describe PushmiPullyu::SwiftDepositer do\n+  it 'not valid with nil arguments' do\n+    expect { described_class.new(nil, nil) }.to raise_error(RuntimeError)\n+  end\n+\n+  it 'valid connection established' do\n+    VCR.use_cassette('swift_connect') do\n+      swift_connection = described_class.new({ username: 'test:tester',\n+                                               password: 'testing',\n+                                               tenant: 'tester',\n+                                               endpoint: 'http://www.example.com:8080',\n+                                               auth_version: 'v1.0' },\n+                                             'ERA')\n+      expect(swift_connection).not_to be_nil\n+      expect(swift_connection).to be_an_instance_of(described_class)\n+      expect(swift_connection.swift_connection).to be_an_instance_of(OpenStack::Swift::Connection)\n+    end\n+  end\n+\n+  it 'deposit file' do\n+    VCR.use_cassette('swift_deposit') do\n+      swift_connection = described_class.new({ username: 'test:tester',\n+                                               password: 'testing',\n+                                               tenant: 'tester',\n+                                               endpoint: 'http://www.example.com:8080',\n+                                               auth_version: 'v1.0' },\n+                                             'ERA')\n+\n+      sample_file = \"#{File.dirname(__FILE__)}/../fixtures/config.yml\"","path":"spec/pushmi_pullyu/swift_depositer_spec.rb","position":31,"original_position":31,"commit_id":"aeb4144d4fcecc91fd2a832083be9f5a23a9d201","original_commit_id":"aeb4144d4fcecc91fd2a832083be9f5a23a9d201","user":{"login":"astrilet","id":11414991,"avatar_url":"https://avatars0.githubusercontent.com/u/11414991?v=3","gravatar_id":"","url":"https://api.github.com/users/astrilet","html_url":"https://github.com/astrilet","followers_url":"https://api.github.com/users/astrilet/followers","following_url":"https://api.github.com/users/astrilet/following{/other_user}","gists_url":"https://api.github.com/users/astrilet/gists{/gist_id}","starred_url":"https://api.github.com/users/astrilet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrilet/subscriptions","organizations_url":"https://api.github.com/users/astrilet/orgs","repos_url":"https://api.github.com/users/astrilet/repos","events_url":"https://api.github.com/users/astrilet/events{/privacy}","received_events_url":"https://api.github.com/users/astrilet/received_events","type":"User","site_admin":false},"body":"will do ","created_at":"2017-05-17T22:20:59Z","updated_at":"2017-05-17T22:20:59Z","html_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/57#discussion_r117123944","pull_request_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments/117123944"},"html":{"href":"https://github.com/ualbertalib/pushmi_pullyu/pull/57#discussion_r117123944"},"pull_request":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57","id":120872792,"html_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/57","diff_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/57.diff","patch_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/57.patch","issue_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/57","number":57,"state":"open","locked":false,"title":"Adding Swift component ","user":{"login":"astrilet","id":11414991,"avatar_url":"https://avatars0.githubusercontent.com/u/11414991?v=3","gravatar_id":"","url":"https://api.github.com/users/astrilet","html_url":"https://github.com/astrilet","followers_url":"https://api.github.com/users/astrilet/followers","following_url":"https://api.github.com/users/astrilet/following{/other_user}","gists_url":"https://api.github.com/users/astrilet/gists{/gist_id}","starred_url":"https://api.github.com/users/astrilet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrilet/subscriptions","organizations_url":"https://api.github.com/users/astrilet/orgs","repos_url":"https://api.github.com/users/astrilet/repos","events_url":"https://api.github.com/users/astrilet/events{/privacy}","received_events_url":"https://api.github.com/users/astrilet/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-16T16:37:35Z","updated_at":"2017-05-17T22:20:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f7e8cb3d98f97744e5f976824d972882a919a70","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57/commits","review_comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57/comments","review_comment_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/57/comments","statuses_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/aeb4144d4fcecc91fd2a832083be9f5a23a9d201","head":{"label":"ualbertalib:swift","ref":"swift","sha":"aeb4144d4fcecc91fd2a832083be9f5a23a9d201","user":{"login":"ualbertalib","id":2856757,"avatar_url":"https://avatars0.githubusercontent.com/u/2856757?v=3","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"repo":{"id":81495521,"name":"pushmi_pullyu","full_name":"ualbertalib/pushmi_pullyu","owner":{"login":"ualbertalib","id":2856757,"avatar_url":"https://avatars0.githubusercontent.com/u/2856757?v=3","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ualbertalib/pushmi_pullyu","description":"Ruby application to manage flow of content from Fedora into Swift for preservation","fork":false,"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu","forks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/forks","keys_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/teams","hooks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/hooks","issue_events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/events{/number}","events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/events","assignees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/assignees{/user}","branches_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/branches{/branch}","tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/tags","blobs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/refs{/sha}","trees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/{sha}","languages_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/languages","stargazers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/stargazers","contributors_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contributors","subscribers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscribers","subscription_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscription","commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/commits{/sha}","git_commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/commits{/sha}","comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/comments{/number}","issue_comment_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/comments{/number}","contents_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contents/{+path}","compare_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/merges","archive_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/downloads","issues_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues{/number}","pulls_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls{/number}","milestones_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/milestones{/number}","notifications_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/labels{/name}","releases_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/releases{/id}","deployments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/deployments","created_at":"2017-02-09T21:14:44Z","updated_at":"2017-05-04T18:56:39Z","pushed_at":"2017-05-17T22:19:11Z","git_url":"git://github.com/ualbertalib/pushmi_pullyu.git","ssh_url":"git@github.com:ualbertalib/pushmi_pullyu.git","clone_url":"https://github.com/ualbertalib/pushmi_pullyu.git","svn_url":"https://github.com/ualbertalib/pushmi_pullyu","homepage":null,"size":106,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":21,"forks":1,"open_issues":21,"watchers":1,"default_branch":"master"}},"base":{"label":"ualbertalib:master","ref":"master","sha":"707bfbcea4d05e9bfad9c5cfb5446a3158387c16","user":{"login":"ualbertalib","id":2856757,"avatar_url":"https://avatars0.githubusercontent.com/u/2856757?v=3","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"repo":{"id":81495521,"name":"pushmi_pullyu","full_name":"ualbertalib/pushmi_pullyu","owner":{"login":"ualbertalib","id":2856757,"avatar_url":"https://avatars0.githubusercontent.com/u/2856757?v=3","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ualbertalib/pushmi_pullyu","description":"Ruby application to manage flow of content from Fedora into Swift for preservation","fork":false,"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu","forks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/forks","keys_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/teams","hooks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/hooks","issue_events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/events{/number}","events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/events","assignees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/assignees{/user}","branches_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/branches{/branch}","tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/tags","blobs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/refs{/sha}","trees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/{sha}","languages_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/languages","stargazers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/stargazers","contributors_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contributors","subscribers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscribers","subscription_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscription","commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/commits{/sha}","git_commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/commits{/sha}","comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/comments{/number}","issue_comment_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/comments{/number}","contents_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contents/{+path}","compare_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/merges","archive_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/downloads","issues_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues{/number}","pulls_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls{/number}","milestones_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/milestones{/number}","notifications_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/labels{/name}","releases_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/releases{/id}","deployments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/deployments","created_at":"2017-02-09T21:14:44Z","updated_at":"2017-05-04T18:56:39Z","pushed_at":"2017-05-17T22:19:11Z","git_url":"git://github.com/ualbertalib/pushmi_pullyu.git","ssh_url":"git@github.com:ualbertalib/pushmi_pullyu.git","clone_url":"https://github.com/ualbertalib/pushmi_pullyu.git","svn_url":"https://github.com/ualbertalib/pushmi_pullyu","homepage":null,"size":106,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":21,"forks":1,"open_issues":21,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57"},"html":{"href":"https://github.com/ualbertalib/pushmi_pullyu/pull/57"},"issue":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/57"},"comments":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/aeb4144d4fcecc91fd2a832083be9f5a23a9d201"}}}}
{"actor":{"display_login":"astrilet"}}