From 673fc8ca14176fdbbe89d23f8f936c21a1ed9fbb Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Fri, 24 Apr 2020 16:58:31 -0400 Subject: [PATCH] bundler-audit 0.7.0 Use bundler-audit 0.7.0, currently in pre-release. It has an up-to-date Thor dependency, which fixes an incompatibility with Bundler 2. Here is a trail of bug reports and fixes against the repo: * * * --- lib/suspenders/generators/advisories_generator.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/suspenders/generators/advisories_generator.rb b/lib/suspenders/generators/advisories_generator.rb index e97b87faa..a1938b047 100644 --- a/lib/suspenders/generators/advisories_generator.rb +++ b/lib/suspenders/generators/advisories_generator.rb @@ -3,7 +3,8 @@ module Suspenders class AdvisoriesGenerator < Generators::Base def bundler_audit_gem - gem "bundler-audit", require: false, group: %i[development test] + gem "bundler-audit", require: false, group: %i[development test], + git: "https://github.com/rubysec/bundler-audit.git", branch: "0.7.0" Bundler.with_clean_env { run "bundle install" } end