From b1d02e7486650ea811dc1d5698f48c82e4d35884 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/suspenders/generators/advisories_generator.rb b/lib/suspenders/generators/advisories_generator.rb index e97b87faa..ca01312c4 100644 --- a/lib/suspenders/generators/advisories_generator.rb +++ b/lib/suspenders/generators/advisories_generator.rb @@ -3,7 +3,11 @@ 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