From 731535a8e6a3082688716b78aa4d53f73ed708e9 Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Tue, 2 Apr 2024 12:16:33 -0700 Subject: [PATCH] Rails: Remove circular require --- lib/datadog/tracing/contrib/action_pack/integration.rb | 1 - lib/datadog/tracing/contrib/action_view/integration.rb | 1 - lib/datadog/tracing/contrib/active_record/integration.rb | 1 - lib/datadog/tracing/contrib/active_support/integration.rb | 1 - 4 files changed, 4 deletions(-) diff --git a/lib/datadog/tracing/contrib/action_pack/integration.rb b/lib/datadog/tracing/contrib/action_pack/integration.rb index 96d57f526a3..d5d7912d55d 100644 --- a/lib/datadog/tracing/contrib/action_pack/integration.rb +++ b/lib/datadog/tracing/contrib/action_pack/integration.rb @@ -3,7 +3,6 @@ require_relative 'configuration/settings' require_relative 'patcher' require_relative '../integration' -require_relative '../rails/integration' require_relative '../rails/utils' module Datadog diff --git a/lib/datadog/tracing/contrib/action_view/integration.rb b/lib/datadog/tracing/contrib/action_view/integration.rb index 0335d93d353..22c0413edd7 100644 --- a/lib/datadog/tracing/contrib/action_view/integration.rb +++ b/lib/datadog/tracing/contrib/action_view/integration.rb @@ -3,7 +3,6 @@ require_relative 'configuration/settings' require_relative 'patcher' require_relative '../integration' -require_relative '../rails/integration' require_relative '../rails/utils' module Datadog diff --git a/lib/datadog/tracing/contrib/active_record/integration.rb b/lib/datadog/tracing/contrib/active_record/integration.rb index f7cde3559ec..d06d2a4fe9c 100644 --- a/lib/datadog/tracing/contrib/active_record/integration.rb +++ b/lib/datadog/tracing/contrib/active_record/integration.rb @@ -5,7 +5,6 @@ require_relative 'events' require_relative 'patcher' require_relative '../integration' -require_relative '../rails/integration' require_relative '../rails/utils' module Datadog diff --git a/lib/datadog/tracing/contrib/active_support/integration.rb b/lib/datadog/tracing/contrib/active_support/integration.rb index 59df4e83827..c3331f749a6 100644 --- a/lib/datadog/tracing/contrib/active_support/integration.rb +++ b/lib/datadog/tracing/contrib/active_support/integration.rb @@ -4,7 +4,6 @@ require_relative 'configuration/settings' require_relative 'patcher' require_relative 'cache/redis' -require_relative '../rails/integration' require_relative '../rails/utils' module Datadog