Skip to content

Commit

Permalink
use racecar VERSION constant for compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisholmes committed Jul 3, 2022
1 parent 645aeac commit 2c9c897
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base
MINIMUM_VERSION = Gem::Version.new('2.0')

compatible do
Gem.loaded_specs['racecar'].version >= MINIMUM_VERSION
::Racecar::VERSION >= MINIMUM_VERSION
end

install do |_config|
Expand Down

0 comments on commit 2c9c897

Please sign in to comment.