{"action":"opened","number":123,"pull_request":{"url":"https://api.github.com/repos/rubysec/bundler-audit/pulls/123","id":50615154,"html_url":"https://github.com/rubysec/bundler-audit/pull/123","diff_url":"https://github.com/rubysec/bundler-audit/pull/123.diff","patch_url":"https://github.com/rubysec/bundler-audit/pull/123.patch","issue_url":"https://api.github.com/repos/rubysec/bundler-audit/issues/123","number":123,"state":"open","locked":false,"title":"add Advisory#pretty_id for outputting presentable id","user":{"login":"rickypai","id":1469579,"avatar_url":"https://avatars.githubusercontent.com/u/1469579?v=3","gravatar_id":"","url":"https://api.github.com/users/rickypai","html_url":"https://github.com/rickypai","followers_url":"https://api.github.com/users/rickypai/followers","following_url":"https://api.github.com/users/rickypai/following{/other_user}","gists_url":"https://api.github.com/users/rickypai/gists{/gist_id}","starred_url":"https://api.github.com/users/rickypai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickypai/subscriptions","organizations_url":"https://api.github.com/users/rickypai/orgs","repos_url":"https://api.github.com/users/rickypai/repos","events_url":"https://api.github.com/users/rickypai/events{/privacy}","received_events_url":"https://api.github.com/users/rickypai/received_events","type":"User","site_admin":false},"body":"Currently, `bundle-audit` will show CVE ids with 'CVE-' prepended but not for OSVDB ids.\r\n\r\n```\r\n$ bundle-audit\r\n\r\nName: some_gem\r\nVersion: 0.0.100\r\nAdvisory: CVE-2100-12345\r\nCriticality: Medium\r\n...\r\n\r\nName: some_gem\r\nVersion: 0.0.100\r\nAdvisory: 12345\r\nCriticality: Unknown\r\n...\r\n```\r\n\r\nThis PR adds `Advisory#pretty_id` for presentation so the CLI output is clearer for OSVDB ids.","created_at":"2015-11-13T08:24:33Z","updated_at":"2015-11-13T08:24:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubysec/bundler-audit/pulls/123/commits","review_comments_url":"https://api.github.com/repos/rubysec/bundler-audit/pulls/123/comments","review_comment_url":"https://api.github.com/repos/rubysec/bundler-audit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubysec/bundler-audit/issues/123/comments","statuses_url":"https://api.github.com/repos/rubysec/bundler-audit/statuses/14599a2d1665dcb9a009a20aad2bb2d2bfa5de4a","head":{"label":"rickypai:rpai/format_osvdb_id_in_cli","ref":"rpai/format_osvdb_id_in_cli","sha":"14599a2d1665dcb9a009a20aad2bb2d2bfa5de4a","user":{"login":"rickypai","id":1469579,"avatar_url":"https://avatars.githubusercontent.com/u/1469579?v=3","gravatar_id":"","url":"https://api.github.com/users/rickypai","html_url":"https://github.com/rickypai","followers_url":"https://api.github.com/users/rickypai/followers","following_url":"https://api.github.com/users/rickypai/following{/other_user}","gists_url":"https://api.github.com/users/rickypai/gists{/gist_id}","starred_url":"https://api.github.com/users/rickypai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickypai/subscriptions","organizations_url":"https://api.github.com/users/rickypai/orgs","repos_url":"https://api.github.com/users/rickypai/repos","events_url":"https://api.github.com/users/rickypai/events{/privacy}","received_events_url":"https://api.github.com/users/rickypai/received_events","type":"User","site_admin":false},"repo":{"id":46105995,"name":"bundler-audit","full_name":"rickypai/bundler-audit","owner":{"login":"rickypai","id":1469579,"avatar_url":"https://avatars.githubusercontent.com/u/1469579?v=3","gravatar_id":"","url":"https://api.github.com/users/rickypai","html_url":"https://github.com/rickypai","followers_url":"https://api.github.com/users/rickypai/followers","following_url":"https://api.github.com/users/rickypai/following{/other_user}","gists_url":"https://api.github.com/users/rickypai/gists{/gist_id}","starred_url":"https://api.github.com/users/rickypai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickypai/subscriptions","organizations_url":"https://api.github.com/users/rickypai/orgs","repos_url":"https://api.github.com/users/rickypai/repos","events_url":"https://api.github.com/users/rickypai/events{/privacy}","received_events_url":"https://api.github.com/users/rickypai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rickypai/bundler-audit","description":"Patch-level verification for Bundler","fork":true,"url":"https://api.github.com/repos/rickypai/bundler-audit","forks_url":"https://api.github.com/repos/rickypai/bundler-audit/forks","keys_url":"https://api.github.com/repos/rickypai/bundler-audit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rickypai/bundler-audit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rickypai/bundler-audit/teams","hooks_url":"https://api.github.com/repos/rickypai/bundler-audit/hooks","issue_events_url":"https://api.github.com/repos/rickypai/bundler-audit/issues/events{/number}","events_url":"https://api.github.com/repos/rickypai/bundler-audit/events","assignees_url":"https://api.github.com/repos/rickypai/bundler-audit/assignees{/user}","branches_url":"https://api.github.com/repos/rickypai/bundler-audit/branches{/branch}","tags_url":"https://api.github.com/repos/rickypai/bundler-audit/tags","blobs_url":"https://api.github.com/repos/rickypai/bundler-audit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rickypai/bundler-audit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rickypai/bundler-audit/git/refs{/sha}","trees_url":"https://api.github.com/repos/rickypai/bundler-audit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rickypai/bundler-audit/statuses/{sha}","languages_url":"https://api.github.com/repos/rickypai/bundler-audit/languages","stargazers_url":"https://api.github.com/repos/rickypai/bundler-audit/stargazers","contributors_url":"https://api.github.com/repos/rickypai/bundler-audit/contributors","subscribers_url":"https://api.github.com/repos/rickypai/bundler-audit/subscribers","subscription_url":"https://api.github.com/repos/rickypai/bundler-audit/subscription","commits_url":"https://api.github.com/repos/rickypai/bundler-audit/commits{/sha}","git_commits_url":"https://api.github.com/repos/rickypai/bundler-audit/git/commits{/sha}","comments_url":"https://api.github.com/repos/rickypai/bundler-audit/comments{/number}","issue_comment_url":"https://api.github.com/repos/rickypai/bundler-audit/issues/comments{/number}","contents_url":"https://api.github.com/repos/rickypai/bundler-audit/contents/{+path}","compare_url":"https://api.github.com/repos/rickypai/bundler-audit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rickypai/bundler-audit/merges","archive_url":"https://api.github.com/repos/rickypai/bundler-audit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rickypai/bundler-audit/downloads","issues_url":"https://api.github.com/repos/rickypai/bundler-audit/issues{/number}","pulls_url":"https://api.github.com/repos/rickypai/bundler-audit/pulls{/number}","milestones_url":"https://api.github.com/repos/rickypai/bundler-audit/milestones{/number}","notifications_url":"https://api.github.com/repos/rickypai/bundler-audit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rickypai/bundler-audit/labels{/name}","releases_url":"https://api.github.com/repos/rickypai/bundler-audit/releases{/id}","created_at":"2015-11-13T07:09:53Z","updated_at":"2015-11-13T07:09:54Z","pushed_at":"2015-11-13T08:21:28Z","git_url":"git://github.com/rickypai/bundler-audit.git","ssh_url":"git@github.com:rickypai/bundler-audit.git","clone_url":"https://github.com/rickypai/bundler-audit.git","svn_url":"https://github.com/rickypai/bundler-audit","homepage":null,"size":923,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubysec:master","ref":"master","sha":"4e32fca89d75f0e249671431ff38aadc02bfb28b","user":{"login":"rubysec","id":3538974,"avatar_url":"https://avatars.githubusercontent.com/u/3538974?v=3","gravatar_id":"","url":"https://api.github.com/users/rubysec","html_url":"https://github.com/rubysec","followers_url":"https://api.github.com/users/rubysec/followers","following_url":"https://api.github.com/users/rubysec/following{/other_user}","gists_url":"https://api.github.com/users/rubysec/gists{/gist_id}","starred_url":"https://api.github.com/users/rubysec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubysec/subscriptions","organizations_url":"https://api.github.com/users/rubysec/orgs","repos_url":"https://api.github.com/users/rubysec/repos","events_url":"https://api.github.com/users/rubysec/events{/privacy}","received_events_url":"https://api.github.com/users/rubysec/received_events","type":"Organization","site_admin":false},"repo":{"id":8133216,"name":"bundler-audit","full_name":"rubysec/bundler-audit","owner":{"login":"rubysec","id":3538974,"avatar_url":"https://avatars.githubusercontent.com/u/3538974?v=3","gravatar_id":"","url":"https://api.github.com/users/rubysec","html_url":"https://github.com/rubysec","followers_url":"https://api.github.com/users/rubysec/followers","following_url":"https://api.github.com/users/rubysec/following{/other_user}","gists_url":"https://api.github.com/users/rubysec/gists{/gist_id}","starred_url":"https://api.github.com/users/rubysec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubysec/subscriptions","organizations_url":"https://api.github.com/users/rubysec/orgs","repos_url":"https://api.github.com/users/rubysec/repos","events_url":"https://api.github.com/users/rubysec/events{/privacy}","received_events_url":"https://api.github.com/users/rubysec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubysec/bundler-audit","description":"Patch-level verification for Bundler","fork":false,"url":"https://api.github.com/repos/rubysec/bundler-audit","forks_url":"https://api.github.com/repos/rubysec/bundler-audit/forks","keys_url":"https://api.github.com/repos/rubysec/bundler-audit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubysec/bundler-audit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubysec/bundler-audit/teams","hooks_url":"https://api.github.com/repos/rubysec/bundler-audit/hooks","issue_events_url":"https://api.github.com/repos/rubysec/bundler-audit/issues/events{/number}","events_url":"https://api.github.com/repos/rubysec/bundler-audit/events","assignees_url":"https://api.github.com/repos/rubysec/bundler-audit/assignees{/user}","branches_url":"https://api.github.com/repos/rubysec/bundler-audit/branches{/branch}","tags_url":"https://api.github.com/repos/rubysec/bundler-audit/tags","blobs_url":"https://api.github.com/repos/rubysec/bundler-audit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubysec/bundler-audit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubysec/bundler-audit/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubysec/bundler-audit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubysec/bundler-audit/statuses/{sha}","languages_url":"https://api.github.com/repos/rubysec/bundler-audit/languages","stargazers_url":"https://api.github.com/repos/rubysec/bundler-audit/stargazers","contributors_url":"https://api.github.com/repos/rubysec/bundler-audit/contributors","subscribers_url":"https://api.github.com/repos/rubysec/bundler-audit/subscribers","subscription_url":"https://api.github.com/repos/rubysec/bundler-audit/subscription","commits_url":"https://api.github.com/repos/rubysec/bundler-audit/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubysec/bundler-audit/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubysec/bundler-audit/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubysec/bundler-audit/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubysec/bundler-audit/contents/{+path}","compare_url":"https://api.github.com/repos/rubysec/bundler-audit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubysec/bundler-audit/merges","archive_url":"https://api.github.com/repos/rubysec/bundler-audit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubysec/bundler-audit/downloads","issues_url":"https://api.github.com/repos/rubysec/bundler-audit/issues{/number}","pulls_url":"https://api.github.com/repos/rubysec/bundler-audit/pulls{/number}","milestones_url":"https://api.github.com/repos/rubysec/bundler-audit/milestones{/number}","notifications_url":"https://api.github.com/repos/rubysec/bundler-audit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubysec/bundler-audit/labels{/name}","releases_url":"https://api.github.com/repos/rubysec/bundler-audit/releases{/id}","created_at":"2013-02-11T05:41:07Z","updated_at":"2015-11-11T08:00:49Z","pushed_at":"2015-11-13T07:55:14Z","git_url":"git://github.com/rubysec/bundler-audit.git","ssh_url":"git@github.com:rubysec/bundler-audit.git","clone_url":"https://github.com/rubysec/bundler-audit.git","svn_url":"https://github.com/rubysec/bundler-audit","homepage":null,"size":923,"stargazers_count":841,"watchers_count":841,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":35,"forks":61,"open_issues":35,"watchers":841,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubysec/bundler-audit/pulls/123"},"html":{"href":"https://github.com/rubysec/bundler-audit/pull/123"},"issue":{"href":"https://api.github.com/repos/rubysec/bundler-audit/issues/123"},"comments":{"href":"https://api.github.com/repos/rubysec/bundler-audit/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/rubysec/bundler-audit/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/rubysec/bundler-audit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubysec/bundler-audit/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/rubysec/bundler-audit/statuses/14599a2d1665dcb9a009a20aad2bb2d2bfa5de4a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":41,"deletions":8,"changed_files":3}}