From c597ab25e6c38c267fa262409d9483dbb67aef81 Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Tue, 7 Jan 2025 14:09:48 -0600 Subject: [PATCH] squash: OMG --- .../opentelemetry/instrumentation/rdkafka/instrumentation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/instrumentation.rb b/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/instrumentation.rb index e321e6e43..e240b991e 100644 --- a/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/instrumentation.rb +++ b/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/instrumentation.rb @@ -10,7 +10,7 @@ module Rdkafka # The Instrumentation class contains logic to detect and install the Rdkafka instrumentation class Instrumentation < OpenTelemetry::Instrumentation::Base compatible do - gem_version = Gem::Version(::Rdkafka::VERSION) + gem_version = Gem::Version.new(::Rdkafka::VERSION) Gem::Requirement.new('>= 0.10.0', '< 0.15.0').satisfied_by?(gem_version) end