Skip to content

Commit

Permalink
switch to guard-bundler-audit
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Jan 15, 2022
1 parent 3ab4963 commit 47cebb8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ group :development, :test do
end

group :development do
gem "brakeman", "~> 5.2", require: false
gem "bundler-audit", "~> 0.9.0", require: false
gem "erb_lint", "~> 0.1.1", require: false
gem "guard-bundler-audit", "~> 0.1.5", require: false
gem "guard-erb_lint", github: "Driversnote-Dev/guard-erb_lint", require: false
gem "guard-rspec", "~> 4.7", require: false
gem "guard-rubocop", "~> 1.5", require: false
Expand All @@ -24,7 +26,6 @@ group :development do
gem "rubocop-rspec", "~> 2.7", require: false
gem "standard", "~> 1.6", require: false
gem "web-console", "~> 4.2"
gem "brakeman", "~> 5.2", require: false
end

group :production do
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ GEM
pry (>= 0.13.0)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-bundler-audit (0.1.5)
bundler-audit (>= 0.6.0)
guard (~> 2.0)
guard-compat (1.2.1)
guard-rspec (4.7.3)
guard (~> 2.1)
Expand Down Expand Up @@ -356,6 +359,7 @@ DEPENDENCIES
erb_lint (~> 0.1.1)
feedvalidator (~> 0.2.2)
griddler-postmark (~> 1.0)!
guard-bundler-audit (~> 0.1.5)
guard-erb_lint!
guard-rspec (~> 4.7)
guard-rubocop (~> 1.5)
Expand Down
4 changes: 2 additions & 2 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ guard :shell do
end

# Audit dependencies for security issues as they change
guard :shell do
watch("Gemfile.lock") { `bin/bundler-audit --update` }
guard :bundler_audit, run_on_start: false do
watch("Gemfile.lock")
end

# Run tests, then lint if tests pass
Expand Down

0 comments on commit 47cebb8

Please sign in to comment.