Capistrano::BundleAudit
Audit your Gemfile for known vulnerabilies before releasing.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-bundle_audit'
And then execute:
$ bundle
Add this line to your Capfile:
require 'capistrano/bundle_audit'
Usage
After deploy:updating (and before the deployed code is released as the current version), bundle-audit will be run against the pushed code. If any vulnerabilities are discovered, the release will be aborted.
Contributing
- Fork it ( https://github.com/[my-github-username]/capistrano-bundle_audit/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request