lib/opentelemetry/instrumentation/base.rb in opentelemetry-instrumentation-base-0.19.0 vs lib/opentelemetry/instrumentation/base.rb in opentelemetry-instrumentation-base-0.20.0
- old
+ new
@@ -30,10 +30,10 @@
# defined?(::Sinatra)
# end
#
# # if the target library is present, is it compatible?
# compatible do
- # Gem.loaded_specs['sinatra'].version > MIN_VERSION
+ # Gem::Version.new(Sinatra::VERSION)) > MIN_VERSION
# end
# end
# end
# end
# end