From 1021997f5eb7146c50db67179f682b27e81fcfd1 Mon Sep 17 00:00:00 2001 From: Matthew Riddle Date: Tue, 23 Mar 2021 11:20:35 +0100 Subject: [PATCH] Use MINIMUM_VERSION in resque compatible? check no-op, MINIMUM_VERSION was introduced but never used. https://github.com/DataDog/dd-trace-rb/pull/966/files#diff-634324f12f4d56be23939e039054a50248519155526f60647d113371e762c32eR12-R29 --- lib/ddtrace/contrib/resque/integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ddtrace/contrib/resque/integration.rb b/lib/ddtrace/contrib/resque/integration.rb index 78b0b86455d..9e3a7aca39b 100644 --- a/lib/ddtrace/contrib/resque/integration.rb +++ b/lib/ddtrace/contrib/resque/integration.rb @@ -25,7 +25,7 @@ def self.loaded? def self.compatible? super \ - && version >= Gem::Version.new('1.0') \ + && version >= MINIMUM_VERSION \ && version < MAXIMUM_VERSION end