From ab81c8975e322728583b7ab115e773d48aad591d Mon Sep 17 00:00:00 2001 From: cn Date: Wed, 18 Dec 2019 20:19:56 +0100 Subject: [PATCH] gem: use bundler-audit --- Rakefile | 4 +++- openvpn-status-web.gemspec | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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