diff --git a/Rakefile b/Rakefile index 93cb943..ce2b809 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,8 @@ require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require 'bundler/audit/task' RSpec::Core::RakeTask.new(:spec) +Bundler::Audit::Task.new -task :default => :spec +task :default => [:spec, 'bundle:audit'] diff --git a/openvpn-status-web.gemspec b/openvpn-status-web.gemspec index d5aaa98..aeebff1 100644 --- a/openvpn-status-web.gemspec +++ b/openvpn-status-web.gemspec @@ -27,6 +27,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rake' s.add_development_dependency 'rspec' s.add_development_dependency 'rack-test' + s.add_development_dependency 'bundler-audit' s.add_development_dependency 'better_errors' s.add_development_dependency 'binding_of_caller' end