From 0bb6e1c0633f5f07ac10682c6f056369afe3f92c Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Tue, 1 Oct 2024 21:59:58 -0400 Subject: [PATCH] Move constant to RailsGemsCheck --- app/services/compats/checks/rails_gems_check.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/app/services/compats/checks/rails_gems_check.rb b/app/services/compats/checks/rails_gems_check.rb index 11bf6e1..74099af 100644 --- a/app/services/compats/checks/rails_gems_check.rb +++ b/app/services/compats/checks/rails_gems_check.rb @@ -5,6 +5,22 @@ module Compats::Checks # # If that's the case, the compat is marked as incompatible. class RailsGemsCheck < Base + RAILS_GEMS = %w( + actioncable + actionmailbox + actionmailer + actionpack + actiontext + actionview + activejob + activemodel + activerecord + activestorage + activesupport + rails + railties + ) + def call return unless @compat.pending?