From 93d30c6ac9b82709fa228c07d260ae2d0e5c8771 Mon Sep 17 00:00:00 2001 From: Web-Go-To 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 e97b87f..ca01312 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