lib/opentelemetry/instrumentation/rails/instrumentation.rb in opentelemetry-instrumentation-rails-0.20.0 vs lib/opentelemetry/instrumentation/rails/instrumentation.rb in opentelemetry-instrumentation-rails-0.21.0
- old
+ new
@@ -22,10 +22,10 @@
compatible { gem_version >= MINIMUM_VERSION }
private
def gem_version
- Gem.loaded_specs['actionpack'].version
+ ::ActionPack.version
end
end
end
end
end