diff options
author | Ryan Cobb <rcobb@gitlab.com> | 2019-07-10 00:31:28 +0300 |
---|---|---|
committer | Ryan Cobb <rcobb@gitlab.com> | 2019-07-10 02:02:08 +0300 |
commit | df8a56e630a4f4df93fbc54de938f31542539d31 (patch) | |
tree | dd995a9294569374fe48b244c972b0b5456100d9 /lib | |
parent | 68b37a99f4032deb9b1f196451a09c051274480c (diff) |
Rename Gitlab::Importers module
In order to avoid confusion between Gitlab::Importers module and other
like named modules, this renamed it to Gitlab::DatabaseImporters.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/database_importers/common_metrics.rb (renamed from lib/gitlab/importers/common_metrics.rb) | 2 | ||||
-rw-r--r-- | lib/gitlab/database_importers/common_metrics/importer.rb (renamed from lib/gitlab/importers/common_metrics/importer.rb) | 2 | ||||
-rw-r--r-- | lib/gitlab/database_importers/common_metrics/prometheus_metric.rb (renamed from lib/gitlab/importers/common_metrics/prometheus_metric.rb) | 2 | ||||
-rw-r--r-- | lib/gitlab/database_importers/common_metrics/prometheus_metric_enums.rb (renamed from lib/gitlab/importers/common_metrics/prometheus_metric_enums.rb) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/importers/common_metrics.rb b/lib/gitlab/database_importers/common_metrics.rb index 532615c57a8..f964ae8a275 100644 --- a/lib/gitlab/importers/common_metrics.rb +++ b/lib/gitlab/database_importers/common_metrics.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Gitlab - module Importers + module DatabaseImporters module CommonMetrics end end diff --git a/lib/gitlab/importers/common_metrics/importer.rb b/lib/gitlab/database_importers/common_metrics/importer.rb index aded55c64c7..43be5a8ee59 100644 --- a/lib/gitlab/importers/common_metrics/importer.rb +++ b/lib/gitlab/database_importers/common_metrics/importer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Gitlab - module Importers + module DatabaseImporters module CommonMetrics class Importer MissingQueryId = Class.new(StandardError) diff --git a/lib/gitlab/importers/common_metrics/prometheus_metric.rb b/lib/gitlab/database_importers/common_metrics/prometheus_metric.rb index a9397f4c055..b4a392cbea9 100644 --- a/lib/gitlab/importers/common_metrics/prometheus_metric.rb +++ b/lib/gitlab/database_importers/common_metrics/prometheus_metric.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Gitlab - module Importers + module DatabaseImporters module CommonMetrics class PrometheusMetric < ApplicationRecord enum group: PrometheusMetricEnums.groups diff --git a/lib/gitlab/importers/common_metrics/prometheus_metric_enums.rb b/lib/gitlab/database_importers/common_metrics/prometheus_metric_enums.rb index dbf4c9e9b55..c9e957ec7c0 100644 --- a/lib/gitlab/importers/common_metrics/prometheus_metric_enums.rb +++ b/lib/gitlab/database_importers/common_metrics/prometheus_metric_enums.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Gitlab - module Importers + module DatabaseImporters module CommonMetrics module PrometheusMetricEnums def self.groups |