From 9371e6011bf42b852d24ddc70c7c9b6e1d7b8a90 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/suspenders/generators/advisories_generator.rb b/lib/suspenders/generators/advisories_generator.rb index e97b87faa..65be53ff6 100644 --- a/lib/suspenders/generators/advisories_generator.rb +++ b/lib/suspenders/generators/advisories_generator.rb @@ -3,7 +3,10 @@ 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