From 48f2069736ab6c5ae3872d6e190e4001c157ab83 Mon Sep 17 00:00:00 2001 From: Sunny Ripert Date: Wed, 25 Sep 2024 10:41:25 +0200 Subject: [PATCH] Add extra RuboCop thread-safety checks (#176) --- Gemfile.lock | 1 + service_actor.gemspec | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 9b19a19..1653a6f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -140,6 +140,7 @@ DEPENDENCIES rubocop-performance (>= 1.0) rubocop-rake (>= 0.1) rubocop-rspec (>= 2.0) + rubocop-thread_safety (>= 0.1) service_actor! simplecov standard-rubocop-lts (>= 1.0.10) diff --git a/service_actor.gemspec b/service_actor.gemspec index 7916ea4..e37c576 100644 --- a/service_actor.gemspec +++ b/service_actor.gemspec @@ -69,6 +69,9 @@ Gem::Specification.new do |spec| # Add Rakefile linting spec.add_development_dependency "rubocop-rake", ">= 0.1" + # Thread-safety checks + spec.add_development_dependency "rubocop-thread_safety", ">= 0.1" + # Formatter for GitHub’s code scanning spec.add_development_dependency "code-scanning-rubocop", ">= 0.6"