{"action":"opened","number":89,"pull_request":{"url":"https://api.github.com/repos/rubysec/bundler-audit/pulls/89","id":32293296,"html_url":"https://github.com/rubysec/bundler-audit/pull/89","diff_url":"https://github.com/rubysec/bundler-audit/pull/89.diff","patch_url":"https://github.com/rubysec/bundler-audit/pull/89.patch","issue_url":"https://api.github.com/repos/rubysec/bundler-audit/issues/89","number":89,"state":"open","locked":false,"title":"Add option to update before running check","user":{"login":"adrianmacneil","id":637671,"avatar_url":"https://avatars.githubusercontent.com/u/637671?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianmacneil","html_url":"https://github.com/adrianmacneil","followers_url":"https://api.github.com/users/adrianmacneil/followers","following_url":"https://api.github.com/users/adrianmacneil/following{/other_user}","gists_url":"https://api.github.com/users/adrianmacneil/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianmacneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianmacneil/subscriptions","organizations_url":"https://api.github.com/users/adrianmacneil/orgs","repos_url":"https://api.github.com/users/adrianmacneil/repos","events_url":"https://api.github.com/users/adrianmacneil/events{/privacy}","received_events_url":"https://api.github.com/users/adrianmacneil/received_events","type":"User","site_admin":false},"body":"I've integrated bundler-audit into our CI (it's fantastic btw, thanks for all the work on this).\r\n\r\nHowever, it's difficult to run more than one command at a time. Right now I'm solving this with a script which runs `bundle-audit update && bundle-audit check`, but I figured it would make sense to natively support the option to update the database and run a check in a single command.\r\n\r\nLet me know what you think.","created_at":"2015-03-31T06:00:23Z","updated_at":"2015-03-31T06:00:23Z","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/89/commits","review_comments_url":"https://api.github.com/repos/rubysec/bundler-audit/pulls/89/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/89/comments","statuses_url":"https://api.github.com/repos/rubysec/bundler-audit/statuses/5dc924dc9ae9ba942991f1de3fea39ca710657db","head":{"label":"adrianmacneil:check-update","ref":"check-update","sha":"5dc924dc9ae9ba942991f1de3fea39ca710657db","user":{"login":"adrianmacneil","id":637671,"avatar_url":"https://avatars.githubusercontent.com/u/637671?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianmacneil","html_url":"https://github.com/adrianmacneil","followers_url":"https://api.github.com/users/adrianmacneil/followers","following_url":"https://api.github.com/users/adrianmacneil/following{/other_user}","gists_url":"https://api.github.com/users/adrianmacneil/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianmacneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianmacneil/subscriptions","organizations_url":"https://api.github.com/users/adrianmacneil/orgs","repos_url":"https://api.github.com/users/adrianmacneil/repos","events_url":"https://api.github.com/users/adrianmacneil/events{/privacy}","received_events_url":"https://api.github.com/users/adrianmacneil/received_events","type":"User","site_admin":false},"repo":{"id":33166444,"name":"bundler-audit","full_name":"adrianmacneil/bundler-audit","owner":{"login":"adrianmacneil","id":637671,"avatar_url":"https://avatars.githubusercontent.com/u/637671?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianmacneil","html_url":"https://github.com/adrianmacneil","followers_url":"https://api.github.com/users/adrianmacneil/followers","following_url":"https://api.github.com/users/adrianmacneil/following{/other_user}","gists_url":"https://api.github.com/users/adrianmacneil/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianmacneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianmacneil/subscriptions","organizations_url":"https://api.github.com/users/adrianmacneil/orgs","repos_url":"https://api.github.com/users/adrianmacneil/repos","events_url":"https://api.github.com/users/adrianmacneil/events{/privacy}","received_events_url":"https://api.github.com/users/adrianmacneil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adrianmacneil/bundler-audit","description":"Patch-level verification for Bundler","fork":true,"url":"https://api.github.com/repos/adrianmacneil/bundler-audit","forks_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/forks","keys_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/teams","hooks_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/hooks","issue_events_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/issues/events{/number}","events_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/events","assignees_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/assignees{/user}","branches_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/branches{/branch}","tags_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/tags","blobs_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/statuses/{sha}","languages_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/languages","stargazers_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/stargazers","contributors_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/contributors","subscribers_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/subscribers","subscription_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/subscription","commits_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/contents/{+path}","compare_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/merges","archive_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/downloads","issues_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/issues{/number}","pulls_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/pulls{/number}","milestones_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/milestones{/number}","notifications_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/labels{/name}","releases_url":"https://api.github.com/repos/adrianmacneil/bundler-audit/releases{/id}","created_at":"2015-03-31T05:20:52Z","updated_at":"2015-03-31T05:20:53Z","pushed_at":"2015-03-31T05:57:40Z","git_url":"git://github.com/adrianmacneil/bundler-audit.git","ssh_url":"git@github.com:adrianmacneil/bundler-audit.git","clone_url":"https://github.com/adrianmacneil/bundler-audit.git","svn_url":"https://github.com/adrianmacneil/bundler-audit","homepage":null,"size":948,"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":"bd235b219463b9efea4f7435eb158a091e608f35","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-03-29T16:07:50Z","pushed_at":"2014-10-27T20:09:54Z","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":948,"stargazers_count":537,"watchers_count":537,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":17,"forks":35,"open_issues":17,"watchers":537,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubysec/bundler-audit/pulls/89"},"html":{"href":"https://github.com/rubysec/bundler-audit/pull/89"},"issue":{"href":"https://api.github.com/repos/rubysec/bundler-audit/issues/89"},"comments":{"href":"https://api.github.com/repos/rubysec/bundler-audit/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/rubysec/bundler-audit/pulls/89/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/89/commits"},"statuses":{"href":"https://api.github.com/repos/rubysec/bundler-audit/statuses/5dc924dc9ae9ba942991f1de3fea39ca710657db"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":2}}