From d278e9be26fedd3c9a8791aec2ecbc4968d5b568 Mon Sep 17 00:00:00 2001 From: moozzi Date: Fri, 20 Feb 2026 13:29:51 +0100 Subject: [PATCH] Updated brakeman to `8.0.2` and added `rubocop` and `brakeman` commands to Makefile --- Gemfile.lock | 2 +- Makefile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9228e5a..28effa1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -86,7 +86,7 @@ GEM bindex (0.8.1) bootsnap (1.19.0) msgpack (~> 1.2) - brakeman (7.1.1) + brakeman (8.0.2) racc builder (3.3.0) bullet (8.1.0) diff --git a/Makefile b/Makefile index b3c8d54..4c97aa1 100644 --- a/Makefile +++ b/Makefile @@ -67,3 +67,9 @@ sim-email-once: ## Send a single simulated email (env: SENT_OFFSET_SECONDS, EXIS sim-email-stream: ## Start a continuous simulated email stream (env: MIN_INTERVAL_SECONDS, MAX_INTERVAL_SECONDS, EXISTING_ALIAS_PROB, EXISTING_TOPIC_PROB) $(COMPOSE) exec web ruby script/simulate_email_stream.rb + +rubocop: ## Run rubocop + $(COMPOSE) exec web bundle exec rubocop + +brakeman: ## Run brakeman + $(COMPOSE) exec web bin/brakeman