{"action":"created","comment":{"url":"https://api.github.com/repos/hyperoslo/Stash/pulls/comments/47570775","id":47570775,"diff_hunk":"@@ -0,0 +1,43 @@\n+import UIKit\n+import XCTest","path":"Pod/Tests/TestStash.swift","position":2,"original_position":2,"commit_id":"72c4a9214f46b64cf3dfaffd6b41d3094211a619","original_commit_id":"7c442dd615a2ec1736a452ceebc9ff87ccbed151","user":{"login":"RamonGilabert","id":6138120,"avatar_url":"https://avatars.githubusercontent.com/u/6138120?v=3","gravatar_id":"","url":"https://api.github.com/users/RamonGilabert","html_url":"https://github.com/RamonGilabert","followers_url":"https://api.github.com/users/RamonGilabert/followers","following_url":"https://api.github.com/users/RamonGilabert/following{/other_user}","gists_url":"https://api.github.com/users/RamonGilabert/gists{/gist_id}","starred_url":"https://api.github.com/users/RamonGilabert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamonGilabert/subscriptions","organizations_url":"https://api.github.com/users/RamonGilabert/orgs","repos_url":"https://api.github.com/users/RamonGilabert/repos","events_url":"https://api.github.com/users/RamonGilabert/events{/privacy}","received_events_url":"https://api.github.com/users/RamonGilabert/received_events","type":"User","site_admin":false},"body":"I think this should go to hyper-says:\r\n\r\ntestThisWeirdoThingyInTheContextWhenItShouldWorkAsDesired.","created_at":"2015-12-14T22:44:31Z","updated_at":"2015-12-14T22:44:31Z","html_url":"https://github.com/hyperoslo/Stash/pull/1#discussion_r47570775","pull_request_url":"https://api.github.com/repos/hyperoslo/Stash/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/Stash/pulls/comments/47570775"},"html":{"href":"https://github.com/hyperoslo/Stash/pull/1#discussion_r47570775"},"pull_request":{"href":"https://api.github.com/repos/hyperoslo/Stash/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/hyperoslo/Stash/pulls/1","id":53610138,"html_url":"https://github.com/hyperoslo/Stash/pull/1","diff_url":"https://github.com/hyperoslo/Stash/pull/1.diff","patch_url":"https://github.com/hyperoslo/Stash/pull/1.patch","issue_url":"https://api.github.com/repos/hyperoslo/Stash/issues/1","number":1,"state":"closed","locked":false,"title":"Feature Stash core foundation","user":{"login":"zenangst","id":57446,"avatar_url":"https://avatars.githubusercontent.com/u/57446?v=3","gravatar_id":"","url":"https://api.github.com/users/zenangst","html_url":"https://github.com/zenangst","followers_url":"https://api.github.com/users/zenangst/followers","following_url":"https://api.github.com/users/zenangst/following{/other_user}","gists_url":"https://api.github.com/users/zenangst/gists{/gist_id}","starred_url":"https://api.github.com/users/zenangst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenangst/subscriptions","organizations_url":"https://api.github.com/users/zenangst/orgs","repos_url":"https://api.github.com/users/zenangst/repos","events_url":"https://api.github.com/users/zenangst/events{/privacy}","received_events_url":"https://api.github.com/users/zenangst/received_events","type":"User","site_admin":false},"body":"With this PR, Stash can get, insert, update and delete password from the keychain.\n\nInsert and update both use the same method which looks like this;\n\n```swift\nStash.setPassword(password, service: service, account: account)\n```\n\nDeleting a password for a service & account looks like this;\n\n```swift\nStash.delete(service, account: account)\n```\n\nAnd finally, when you want to get the password you use; \n\n```swift\nStash.password(service, account: account)\n```\n\nPretty straight forward, could probably be improve in terms of the public API but this is a start.","created_at":"2015-12-14T19:29:52Z","updated_at":"2015-12-14T22:44:31Z","closed_at":"2015-12-14T22:44:03Z","merged_at":"2015-12-14T22:44:03Z","merge_commit_sha":"c5ecb47c1a7f74d3f5c513af66897a87b75654c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/Stash/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/Stash/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/Stash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/Stash/issues/1/comments","statuses_url":"https://api.github.com/repos/hyperoslo/Stash/statuses/72c4a9214f46b64cf3dfaffd6b41d3094211a619","head":{"label":"hyperoslo:feature/core-foundation","ref":"feature/core-foundation","sha":"72c4a9214f46b64cf3dfaffd6b41d3094211a619","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":47980575,"name":"Stash","full_name":"hyperoslo/Stash","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Stash","description":null,"fork":false,"url":"https://api.github.com/repos/hyperoslo/Stash","forks_url":"https://api.github.com/repos/hyperoslo/Stash/forks","keys_url":"https://api.github.com/repos/hyperoslo/Stash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Stash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Stash/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Stash/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Stash/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Stash/events","assignees_url":"https://api.github.com/repos/hyperoslo/Stash/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Stash/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Stash/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Stash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Stash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Stash/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Stash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Stash/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Stash/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Stash/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Stash/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Stash/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Stash/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Stash/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Stash/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Stash/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Stash/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Stash/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Stash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Stash/merges","archive_url":"https://api.github.com/repos/hyperoslo/Stash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Stash/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Stash/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Stash/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Stash/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Stash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Stash/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Stash/releases{/id}","created_at":"2015-12-14T14:40:56Z","updated_at":"2015-12-14T22:44:05Z","pushed_at":"2015-12-14T22:44:05Z","git_url":"git://github.com/hyperoslo/Stash.git","ssh_url":"git@github.com:hyperoslo/Stash.git","clone_url":"https://github.com/hyperoslo/Stash.git","svn_url":"https://github.com/hyperoslo/Stash","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperoslo:master","ref":"master","sha":"9ea9f2f145324ad4cbd8b3484433d260139629b7","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":47980575,"name":"Stash","full_name":"hyperoslo/Stash","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Stash","description":null,"fork":false,"url":"https://api.github.com/repos/hyperoslo/Stash","forks_url":"https://api.github.com/repos/hyperoslo/Stash/forks","keys_url":"https://api.github.com/repos/hyperoslo/Stash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Stash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Stash/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Stash/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Stash/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Stash/events","assignees_url":"https://api.github.com/repos/hyperoslo/Stash/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Stash/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Stash/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Stash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Stash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Stash/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Stash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Stash/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Stash/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Stash/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Stash/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Stash/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Stash/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Stash/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Stash/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Stash/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Stash/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Stash/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Stash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Stash/merges","archive_url":"https://api.github.com/repos/hyperoslo/Stash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Stash/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Stash/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Stash/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Stash/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Stash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Stash/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Stash/releases{/id}","created_at":"2015-12-14T14:40:56Z","updated_at":"2015-12-14T22:44:05Z","pushed_at":"2015-12-14T22:44:05Z","git_url":"git://github.com/hyperoslo/Stash.git","ssh_url":"git@github.com:hyperoslo/Stash.git","clone_url":"https://github.com/hyperoslo/Stash.git","svn_url":"https://github.com/hyperoslo/Stash","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/Stash/pulls/1"},"html":{"href":"https://github.com/hyperoslo/Stash/pull/1"},"issue":{"href":"https://api.github.com/repos/hyperoslo/Stash/issues/1"},"comments":{"href":"https://api.github.com/repos/hyperoslo/Stash/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/Stash/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/Stash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/Stash/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/Stash/statuses/72c4a9214f46b64cf3dfaffd6b41d3094211a619"}}}}