Skip to content

Commit

Permalink
Merge pull request #1426 from mriddle/mriddle.minimum-version
Browse files Browse the repository at this point in the history
Use MINIMUM_VERSION in resque compatible? check
  • Loading branch information
marcotc authored Mar 23, 2021
2 parents 3f03730 + 1021997 commit b23f22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ddtrace/contrib/resque/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def self.loaded?

def self.compatible?
super \
&& version >= Gem::Version.new('1.0') \
&& version >= MINIMUM_VERSION \
&& version < MAXIMUM_VERSION
end

Expand Down

0 comments on commit b23f22f

Please sign in to comment.