lib/ddtrace/contrib/action_view/integration.rb in ddtrace-0.32.0 vs lib/ddtrace/contrib/action_view/integration.rb in ddtrace-0.33.0

- old
+ new

@@ -20,11 +20,11 @@ action_pack_version = Gem.loaded_specs['actionpack'].version action_pack_version unless action_pack_version >= Gem::Version.new('4.1') end end - def self.present? - super && defined?(::ActionView) + def self.loaded? + defined?(::ActionView) end def self.compatible? super && version >= Gem::Version.new('3.0') end