{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/2","id":219835095,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5ODM1MDk1","html_url":"https://github.com/vmaraccini/ASN1Decoder/pull/2","diff_url":"https://github.com/vmaraccini/ASN1Decoder/pull/2.diff","patch_url":"https://github.com/vmaraccini/ASN1Decoder/pull/2.patch","issue_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/2","number":2,"state":"open","locked":false,"title":"Safety first","user":{"login":"vmaraccini","id":6147996,"node_id":"MDQ6VXNlcjYxNDc5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6147996?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaraccini","html_url":"https://github.com/vmaraccini","followers_url":"https://api.github.com/users/vmaraccini/followers","following_url":"https://api.github.com/users/vmaraccini/following{/other_user}","gists_url":"https://api.github.com/users/vmaraccini/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaraccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaraccini/subscriptions","organizations_url":"https://api.github.com/users/vmaraccini/orgs","repos_url":"https://api.github.com/users/vmaraccini/repos","events_url":"https://api.github.com/users/vmaraccini/events{/privacy}","received_events_url":"https://api.github.com/users/vmaraccini/received_events","type":"User","site_admin":false},"body":"**Implements several safety measures**\r\n\r\n- Use `.first` instead of `[0]`\r\n- Use `guard let` whenever possible\r\n- Remove implicitly unwrapped optionals\r\n- Change some initializers to `throws` for safety\r\n\r\nBonus:\r\n- Whitespace & organization improvements (💅 )\r\n- Rename files to match class naming","created_at":"2018-10-02T20:29:35Z","updated_at":"2018-10-02T20:29:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/2/commits","review_comments_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/2/comments","review_comment_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/2/comments","statuses_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/statuses/c2d271b5ce829a59b494ee59b3b0a31871a85f24","head":{"label":"vmaraccini:safety-first","ref":"safety-first","sha":"c2d271b5ce829a59b494ee59b3b0a31871a85f24","user":{"login":"vmaraccini","id":6147996,"node_id":"MDQ6VXNlcjYxNDc5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6147996?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaraccini","html_url":"https://github.com/vmaraccini","followers_url":"https://api.github.com/users/vmaraccini/followers","following_url":"https://api.github.com/users/vmaraccini/following{/other_user}","gists_url":"https://api.github.com/users/vmaraccini/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaraccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaraccini/subscriptions","organizations_url":"https://api.github.com/users/vmaraccini/orgs","repos_url":"https://api.github.com/users/vmaraccini/repos","events_url":"https://api.github.com/users/vmaraccini/events{/privacy}","received_events_url":"https://api.github.com/users/vmaraccini/received_events","type":"User","site_admin":false},"repo":{"id":151293541,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyOTM1NDE=","name":"ASN1Decoder","full_name":"vmaraccini/ASN1Decoder","private":false,"owner":{"login":"vmaraccini","id":6147996,"node_id":"MDQ6VXNlcjYxNDc5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6147996?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaraccini","html_url":"https://github.com/vmaraccini","followers_url":"https://api.github.com/users/vmaraccini/followers","following_url":"https://api.github.com/users/vmaraccini/following{/other_user}","gists_url":"https://api.github.com/users/vmaraccini/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaraccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaraccini/subscriptions","organizations_url":"https://api.github.com/users/vmaraccini/orgs","repos_url":"https://api.github.com/users/vmaraccini/repos","events_url":"https://api.github.com/users/vmaraccini/events{/privacy}","received_events_url":"https://api.github.com/users/vmaraccini/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vmaraccini/ASN1Decoder","description":"ASN1 DER Decoder for X.509 Certificate","fork":true,"url":"https://api.github.com/repos/vmaraccini/ASN1Decoder","forks_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/forks","keys_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/teams","hooks_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/hooks","issue_events_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/events{/number}","events_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/events","assignees_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/assignees{/user}","branches_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/branches{/branch}","tags_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/tags","blobs_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/statuses/{sha}","languages_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/languages","stargazers_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/stargazers","contributors_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/contributors","subscribers_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/subscribers","subscription_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/subscription","commits_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/contents/{+path}","compare_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/merges","archive_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/downloads","issues_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues{/number}","pulls_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls{/number}","milestones_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/milestones{/number}","notifications_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/labels{/name}","releases_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/releases{/id}","deployments_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/deployments","created_at":"2018-10-02T17:16:35Z","updated_at":"2018-10-02T17:24:38Z","pushed_at":"2018-10-02T20:15:41Z","git_url":"git://github.com/vmaraccini/ASN1Decoder.git","ssh_url":"git@github.com:vmaraccini/ASN1Decoder.git","clone_url":"https://github.com/vmaraccini/ASN1Decoder.git","svn_url":"https://github.com/vmaraccini/ASN1Decoder","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"vmaraccini:master","ref":"master","sha":"28c7f88fcf33f789ae9caf72d1607ca27dacd0a7","user":{"login":"vmaraccini","id":6147996,"node_id":"MDQ6VXNlcjYxNDc5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6147996?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaraccini","html_url":"https://github.com/vmaraccini","followers_url":"https://api.github.com/users/vmaraccini/followers","following_url":"https://api.github.com/users/vmaraccini/following{/other_user}","gists_url":"https://api.github.com/users/vmaraccini/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaraccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaraccini/subscriptions","organizations_url":"https://api.github.com/users/vmaraccini/orgs","repos_url":"https://api.github.com/users/vmaraccini/repos","events_url":"https://api.github.com/users/vmaraccini/events{/privacy}","received_events_url":"https://api.github.com/users/vmaraccini/received_events","type":"User","site_admin":false},"repo":{"id":151293541,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyOTM1NDE=","name":"ASN1Decoder","full_name":"vmaraccini/ASN1Decoder","private":false,"owner":{"login":"vmaraccini","id":6147996,"node_id":"MDQ6VXNlcjYxNDc5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6147996?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaraccini","html_url":"https://github.com/vmaraccini","followers_url":"https://api.github.com/users/vmaraccini/followers","following_url":"https://api.github.com/users/vmaraccini/following{/other_user}","gists_url":"https://api.github.com/users/vmaraccini/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaraccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaraccini/subscriptions","organizations_url":"https://api.github.com/users/vmaraccini/orgs","repos_url":"https://api.github.com/users/vmaraccini/repos","events_url":"https://api.github.com/users/vmaraccini/events{/privacy}","received_events_url":"https://api.github.com/users/vmaraccini/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vmaraccini/ASN1Decoder","description":"ASN1 DER Decoder for X.509 Certificate","fork":true,"url":"https://api.github.com/repos/vmaraccini/ASN1Decoder","forks_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/forks","keys_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/teams","hooks_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/hooks","issue_events_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/events{/number}","events_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/events","assignees_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/assignees{/user}","branches_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/branches{/branch}","tags_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/tags","blobs_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/statuses/{sha}","languages_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/languages","stargazers_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/stargazers","contributors_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/contributors","subscribers_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/subscribers","subscription_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/subscription","commits_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/contents/{+path}","compare_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/merges","archive_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/downloads","issues_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues{/number}","pulls_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls{/number}","milestones_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/milestones{/number}","notifications_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/labels{/name}","releases_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/releases{/id}","deployments_url":"https://api.github.com/repos/vmaraccini/ASN1Decoder/deployments","created_at":"2018-10-02T17:16:35Z","updated_at":"2018-10-02T17:24:38Z","pushed_at":"2018-10-02T20:15:41Z","git_url":"git://github.com/vmaraccini/ASN1Decoder.git","ssh_url":"git@github.com:vmaraccini/ASN1Decoder.git","clone_url":"https://github.com/vmaraccini/ASN1Decoder.git","svn_url":"https://github.com/vmaraccini/ASN1Decoder","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/2"},"html":{"href":"https://github.com/vmaraccini/ASN1Decoder/pull/2"},"issue":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/2"},"comments":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/vmaraccini/ASN1Decoder/statuses/c2d271b5ce829a59b494ee59b3b0a31871a85f24"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":16,"additions":74,"deletions":111,"changed_files":6}}
{"actor":{"display_login":"vmaraccini"}}