From 7eb4f573083864a496650b77d7ffb82fe867885b Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Sat, 30 Sep 2023 08:22:51 -0500 Subject: [PATCH] squash: gem version object instead of string --- .../lib/opentelemetry/instrumentation/rails/instrumentation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/rails/lib/opentelemetry/instrumentation/rails/instrumentation.rb b/instrumentation/rails/lib/opentelemetry/instrumentation/rails/instrumentation.rb index 07057de92..c928c0192 100644 --- a/instrumentation/rails/lib/opentelemetry/instrumentation/rails/instrumentation.rb +++ b/instrumentation/rails/lib/opentelemetry/instrumentation/rails/instrumentation.rb @@ -24,7 +24,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base private def gem_version - ::Rails.version + ::Rails.gem_version end end end