lib/opentelemetry/instrumentation/mongo/instrumentation.rb in opentelemetry-instrumentation-mongo-0.12.0 vs lib/opentelemetry/instrumentation/mongo/instrumentation.rb in opentelemetry-instrumentation-mongo-0.13.0

- old
+ new

@@ -15,10 +15,14 @@ require_dependencies register_subscriber end present do - !defined?(::Mongo::Monitoring::Global).nil? && gem_version >= MINIMUM_VERSION + !defined?(::Mongo::Monitoring::Global).nil? + end + + compatible do + gem_version >= MINIMUM_VERSION end private def gem_version