{"action":"created","issue":{"url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/issues/48","repository_url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase","labels_url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/issues/48/comments","events_url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/issues/48/events","html_url":"https://github.com/couchbaselabs/nativescript-couchbase/pull/48","id":200455524,"number":48,"title":"Add Encryption","user":{"login":"danielgek","id":911198,"avatar_url":"https://avatars.githubusercontent.com/u/911198?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgek","html_url":"https://github.com/danielgek","followers_url":"https://api.github.com/users/danielgek/followers","following_url":"https://api.github.com/users/danielgek/following{/other_user}","gists_url":"https://api.github.com/users/danielgek/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgek/subscriptions","organizations_url":"https://api.github.com/users/danielgek/orgs","repos_url":"https://api.github.com/users/danielgek/repos","events_url":"https://api.github.com/users/danielgek/events{/privacy}","received_events_url":"https://api.github.com/users/danielgek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-12T19:19:15Z","updated_at":"2017-01-12T20:00:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/pulls/48","html_url":"https://github.com/couchbaselabs/nativescript-couchbase/pull/48","diff_url":"https://github.com/couchbaselabs/nativescript-couchbase/pull/48.diff","patch_url":"https://github.com/couchbaselabs/nativescript-couchbase/pull/48.patch"},"body":"### What this commit changes?\r\n\r\n- Added optional string key to constructor, if key is defined the plugin will try to open/create an encrypted database\r\n- added encryption implementation\r\n- added method to close database\r\n- added another page to ng-demo for testing the encryption\r\n\r\n### Todo list\r\n- cleanup\r\n- add more testcases to ng-demo\r\n\r\n\r\n@nraboy i don't have time right now for the todos list, but i can do it later!! if you need something else just say it ;)\r\n"},"comment":{"url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/issues/comments/272266895","html_url":"https://github.com/couchbaselabs/nativescript-couchbase/pull/48#issuecomment-272266895","issue_url":"https://api.github.com/repos/couchbaselabs/nativescript-couchbase/issues/48","id":272266895,"user":{"login":"danielgek","id":911198,"avatar_url":"https://avatars.githubusercontent.com/u/911198?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgek","html_url":"https://github.com/danielgek","followers_url":"https://api.github.com/users/danielgek/followers","following_url":"https://api.github.com/users/danielgek/following{/other_user}","gists_url":"https://api.github.com/users/danielgek/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgek/subscriptions","organizations_url":"https://api.github.com/users/danielgek/orgs","repos_url":"https://api.github.com/users/danielgek/repos","events_url":"https://api.github.com/users/danielgek/events{/privacy}","received_events_url":"https://api.github.com/users/danielgek/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T20:00:45Z","updated_at":"2017-01-12T20:00:45Z","body":"@nraboy Done ;)"}}
{"actor":{"display_login":"danielgek"}}