Skip to content

Commit 8eeca14

Browse files
committed
Move some integrations-related modules around
1 parent b197090 commit 8eeca14

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

lib/sentry/application.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ defmodule Sentry.Application do
4949

5050
defp start_integrations(config) do
5151
if config[:oban][:cron][:enabled] do
52-
Sentry.Cron.Oban.attach_telemetry_handler()
52+
Sentry.Integrations.Oban.Cron.attach_telemetry_handler()
5353
end
5454

5555
if config[:oban][:capture_errors] do

lib/sentry/cron/oban.ex renamed to lib/sentry/integrations/oban/cron.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Sentry.Cron.Oban do
1+
defmodule Sentry.Integrations.Oban.Cron do
22
@moduledoc false
33

44
@events [

lib/sentry/cron/quantum.ex renamed to lib/sentry/integrations/quantum/cron.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Sentry.Cron.Quantum do
1+
defmodule Sentry.Integrations.Quantum.Cron do
22
@moduledoc false
33

44
@events [

test/sentry/cron/oban_test.exs renamed to test/sentry/integrations/oban/cron_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# TODO: Oban requires Elixir 1.13+, remove this once we depend on that too.
22
if Version.match?(System.version(), "~> 1.13") do
3-
defmodule Sentry.Cron.ObanTest do
3+
defmodule Sentry.Integrations.Oban.CronTest do
44
use Sentry.Case, async: false
55

66
import Sentry.TestHelpers
77

88
setup_all do
9-
Sentry.Cron.Oban.attach_telemetry_handler()
9+
Sentry.Integrations.Oban.Cron.attach_telemetry_handler()
1010
end
1111

1212
setup do

test/sentry/cron/quantum_test.exs renamed to test/sentry/integrations/quantum/cron_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TODO: Quantum requires Elixir 1.12+, remove this once we depend on that too.
22
if Version.match?(System.version(), "~> 1.12") do
3-
defmodule Sentry.Cron.QuantumTest do
3+
defmodule Sentry.Integrations.Quantum.CronTest do
44
use Sentry.Case, async: false
55

66
import Sentry.TestHelpers
@@ -10,7 +10,7 @@ if Version.match?(System.version(), "~> 1.12") do
1010
end
1111

1212
setup_all do
13-
Sentry.Cron.Quantum.attach_telemetry_handler()
13+
Sentry.Integrations.Quantum.Cron.attach_telemetry_handler()
1414
end
1515

1616
setup do

0 commit comments

Comments
 (0)