Browse Source

gem: add bundler-audit for vulnerability scan

tags/v2.0.0
cn 9 months ago
parent
commit
1f35f60c55
2 changed files with 4 additions and 1 deletions
  1. 3
    1
      Rakefile
  2. 1
    0
      dyndnsd.gemspec

+ 3
- 1
Rakefile View File

@@ -1,8 +1,10 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'bundler/audit/task'

RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new
Bundler::Audit::Task.new

task default: [:rubocop, :spec]
task default: [:rubocop, :spec, 'bundle:audit']

+ 1
- 0
dyndnsd.gemspec View File

@@ -32,4 +32,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'rubocop', '~> 0.60.0'
s.add_development_dependency 'bundler-audit'
end

Loading…
Cancel
Save