Commit 48348936 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Remove `::EE::` prefix in prepend_mod_with

parent d882fac5
...@@ -55,4 +55,4 @@ class Profiles::PreferencesController < Profiles::ApplicationController ...@@ -55,4 +55,4 @@ class Profiles::PreferencesController < Profiles::ApplicationController
end end
end end
Profiles::PreferencesController.prepend_mod_with('::EE::Profiles::PreferencesController') Profiles::PreferencesController.prepend_mod_with('Profiles::PreferencesController')
...@@ -155,4 +155,4 @@ module Projects ...@@ -155,4 +155,4 @@ module Projects
end end
end end
Projects::Settings::OperationsController.prepend_mod_with('::EE::Projects::Settings::OperationsController') Projects::Settings::OperationsController.prepend_mod_with('Projects::Settings::OperationsController')
...@@ -94,4 +94,4 @@ module Ci ...@@ -94,4 +94,4 @@ module Ci
end end
end end
Ci::DailyBuildGroupReportResultsFinder.prepend_mod_with('::EE::Ci::DailyBuildGroupReportResultsFinder') Ci::DailyBuildGroupReportResultsFinder.prepend_mod_with('Ci::DailyBuildGroupReportResultsFinder')
...@@ -56,4 +56,4 @@ class LicenseTemplateFinder ...@@ -56,4 +56,4 @@ class LicenseTemplateFinder
end end
end end
LicenseTemplateFinder.prepend_mod_with('::EE::LicenseTemplateFinder') LicenseTemplateFinder.prepend_mod_with('LicenseTemplateFinder')
...@@ -60,4 +60,4 @@ module Namespaces ...@@ -60,4 +60,4 @@ module Namespaces
end end
end end
Namespaces::ProjectsFinder.prepend_mod_with('::EE::Namespaces::ProjectsFinder') Namespaces::ProjectsFinder.prepend_mod_with('Namespaces::ProjectsFinder')
...@@ -247,4 +247,4 @@ class ProjectsFinder < UnionFinder ...@@ -247,4 +247,4 @@ class ProjectsFinder < UnionFinder
end end
end end
ProjectsFinder.prepend_mod_with('::EE::ProjectsFinder') ProjectsFinder.prepend_mod_with('ProjectsFinder')
...@@ -70,4 +70,4 @@ class TemplateFinder ...@@ -70,4 +70,4 @@ class TemplateFinder
end end
end end
TemplateFinder.prepend_mod_with('::EE::TemplateFinder') TemplateFinder.prepend_mod_with('TemplateFinder')
...@@ -34,4 +34,4 @@ module Mutations ...@@ -34,4 +34,4 @@ module Mutations
end end
end end
Mutations::AlertManagement::HttpIntegration::Create.prepend_mod_with('::EE::Mutations::AlertManagement::HttpIntegration::Create') Mutations::AlertManagement::HttpIntegration::Create.prepend_mod_with('Mutations::AlertManagement::HttpIntegration::Create')
...@@ -33,4 +33,4 @@ module Mutations ...@@ -33,4 +33,4 @@ module Mutations
end end
end end
Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase.prepend_mod_with('::EE::Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase') Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase.prepend_mod_with('Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase')
...@@ -32,4 +32,4 @@ module Mutations ...@@ -32,4 +32,4 @@ module Mutations
end end
end end
Mutations::AlertManagement::HttpIntegration::Update.prepend_mod_with('::EE::Mutations::AlertManagement::HttpIntegration::Update') Mutations::AlertManagement::HttpIntegration::Update.prepend_mod_with('Mutations::AlertManagement::HttpIntegration::Update')
...@@ -30,4 +30,4 @@ module Mutations ...@@ -30,4 +30,4 @@ module Mutations
end end
end end
Mutations::Boards::Create.prepend_mod_with('::EE::Mutations::Boards::Create') Mutations::Boards::Create.prepend_mod_with('Mutations::Boards::Create')
...@@ -34,4 +34,4 @@ module Mutations ...@@ -34,4 +34,4 @@ module Mutations
end end
end end
Mutations::Boards::Lists::Create.prepend_mod_with('::EE::Mutations::Boards::Lists::Create') Mutations::Boards::Lists::Create.prepend_mod_with('Mutations::Boards::Lists::Create')
...@@ -42,4 +42,4 @@ module Mutations ...@@ -42,4 +42,4 @@ module Mutations
end end
end end
Mutations::Boards::Update.prepend_mod_with('::EE::Mutations::Boards::Update') Mutations::Boards::Update.prepend_mod_with('Mutations::Boards::Update')
...@@ -36,4 +36,4 @@ module Mutations ...@@ -36,4 +36,4 @@ module Mutations
end end
end end
Mutations::Ci::CiCdSettingsUpdate.prepend_mod_with('::EE::Mutations::Ci::CiCdSettingsUpdate') Mutations::Ci::CiCdSettingsUpdate.prepend_mod_with('Mutations::Ci::CiCdSettingsUpdate')
...@@ -38,4 +38,4 @@ module Mutations ...@@ -38,4 +38,4 @@ module Mutations
end end
end end
Mutations::ResolvesIssuable.prepend_mod_with('::EE::Mutations::ResolvesIssuable') Mutations::ResolvesIssuable.prepend_mod_with('Mutations::ResolvesIssuable')
...@@ -102,4 +102,4 @@ module Mutations ...@@ -102,4 +102,4 @@ module Mutations
end end
end end
Mutations::Issues::Create.prepend_mod_with('::EE::Mutations::Issues::Create') Mutations::Issues::Create.prepend_mod_with('Mutations::Issues::Create')
...@@ -42,4 +42,4 @@ module Mutations ...@@ -42,4 +42,4 @@ module Mutations
end end
end end
Mutations::Issues::Update.prepend_mod_with('::EE::Mutations::Issues::Update') Mutations::Issues::Update.prepend_mod_with('Mutations::Issues::Update')
...@@ -32,4 +32,4 @@ module BoardIssueFilterable ...@@ -32,4 +32,4 @@ module BoardIssueFilterable
end end
end end
::BoardIssueFilterable.prepend_mod_with('::EE::Resolvers::BoardIssueFilterable') ::BoardIssueFilterable.prepend_mod_with('Resolvers::BoardIssueFilterable')
...@@ -55,4 +55,4 @@ module Resolvers ...@@ -55,4 +55,4 @@ module Resolvers
end end
end end
Resolvers::IssuesResolver.prepend_mod_with('::EE::Resolvers::IssuesResolver') Resolvers::IssuesResolver.prepend_mod_with('Resolvers::IssuesResolver')
...@@ -64,4 +64,4 @@ module Resolvers ...@@ -64,4 +64,4 @@ module Resolvers
end end
end end
Resolvers::NamespaceProjectsResolver.prepend_mod_with('::EE::Resolvers::NamespaceProjectsResolver') Resolvers::NamespaceProjectsResolver.prepend_mod_with('Resolvers::NamespaceProjectsResolver')
...@@ -50,4 +50,4 @@ module Types ...@@ -50,4 +50,4 @@ module Types
# rubocop: enable Graphql/AuthorizeTypes # rubocop: enable Graphql/AuthorizeTypes
end end
Types::BoardListType.prepend_mod_with('::EE::Types::BoardListType') Types::BoardListType.prepend_mod_with('Types::BoardListType')
...@@ -41,4 +41,4 @@ module Types ...@@ -41,4 +41,4 @@ module Types
end end
end end
Types::BoardType.prepend_mod_with('::EE::Types::BoardType') Types::BoardType.prepend_mod_with('Types::BoardType')
...@@ -23,4 +23,4 @@ module Types ...@@ -23,4 +23,4 @@ module Types
end end
end end
Types::Boards::BoardIssueInputBaseType.prepend_mod_with('::EE::Types::Boards::BoardIssueInputBaseType') Types::Boards::BoardIssueInputBaseType.prepend_mod_with('Types::Boards::BoardIssueInputBaseType')
...@@ -21,4 +21,4 @@ module Types ...@@ -21,4 +21,4 @@ module Types
end end
end end
Types::Boards::BoardIssueInputType.prepend_mod_with('::EE::Types::Boards::BoardIssueInputType') Types::Boards::BoardIssueInputType.prepend_mod_with('Types::Boards::BoardIssueInputType')
...@@ -7,4 +7,4 @@ module Types ...@@ -7,4 +7,4 @@ module Types
end end
end end
Types::Boards::NegatedBoardIssueInputType.prepend_mod_with('::EE::Types::Boards::NegatedBoardIssueInputType') Types::Boards::NegatedBoardIssueInputType.prepend_mod_with('Types::Boards::NegatedBoardIssueInputType')
...@@ -179,4 +179,4 @@ module Types ...@@ -179,4 +179,4 @@ module Types
end end
end end
Types::Ci::PipelineType.prepend_mod_with('::EE::Types::Ci::PipelineType') Types::Ci::PipelineType.prepend_mod_with('Types::Ci::PipelineType')
...@@ -20,4 +20,4 @@ module Types ...@@ -20,4 +20,4 @@ module Types
end end
end end
Types::IssuableType.prepend_mod_with('::EE::Types::IssuableType') Types::IssuableType.prepend_mod_with('Types::IssuableType')
...@@ -6,4 +6,4 @@ module Types ...@@ -6,4 +6,4 @@ module Types
end end
end end
Types::IssueConnectionType.prepend_mod_with('::EE::Types::IssueConnectionType') Types::IssueConnectionType.prepend_mod_with('Types::IssueConnectionType')
...@@ -13,4 +13,4 @@ module Types ...@@ -13,4 +13,4 @@ module Types
end end
end end
Types::IssueSortEnum.prepend_mod_with('::EE::Types::IssueSortEnum') Types::IssueSortEnum.prepend_mod_with('Types::IssueSortEnum')
...@@ -153,4 +153,4 @@ module Types ...@@ -153,4 +153,4 @@ module Types
end end
end end
Types::IssueType.prepend_mod_with('::EE::Types::IssueType') Types::IssueType.prepend_mod_with('Types::IssueType')
...@@ -24,4 +24,4 @@ module Types ...@@ -24,4 +24,4 @@ module Types
end end
end end
Types::Issues::NegatedIssueFilterInputType.prepend_mod_with('::EE::Types::Issues::NegatedIssueFilterInputType') Types::Issues::NegatedIssueFilterInputType.prepend_mod_with('Types::Issues::NegatedIssueFilterInputType')
...@@ -263,4 +263,4 @@ module Types ...@@ -263,4 +263,4 @@ module Types
end end
end end
Types::MergeRequestType.prepend_mod_with('::EE::Types::MergeRequestType') Types::MergeRequestType.prepend_mod_with('Types::MergeRequestType')
...@@ -62,4 +62,4 @@ module Types ...@@ -62,4 +62,4 @@ module Types
end end
end end
Types::MilestoneType.prepend_mod_with('::EE::Types::MilestoneType') Types::MilestoneType.prepend_mod_with('Types::MilestoneType')
...@@ -105,4 +105,4 @@ module Types ...@@ -105,4 +105,4 @@ module Types
end end
::Types::MutationType.prepend(::Types::DeprecatedMutations) ::Types::MutationType.prepend(::Types::DeprecatedMutations)
::Types::MutationType.prepend_mod_with('::EE::Types::MutationType') ::Types::MutationType.prepend_mod_with('Types::MutationType')
...@@ -28,4 +28,4 @@ module Types ...@@ -28,4 +28,4 @@ module Types
end end
end end
Types::Notes::NoteableType.prepend_mod_with('::EE::Types::Notes::NoteableType') Types::Notes::NoteableType.prepend_mod_with('Types::Notes::NoteableType')
...@@ -391,4 +391,4 @@ module Types ...@@ -391,4 +391,4 @@ module Types
end end
end end
Types::ProjectType.prepend_mod_with('::EE::Types::ProjectType') Types::ProjectType.prepend_mod_with('Types::ProjectType')
...@@ -10,4 +10,4 @@ module Types ...@@ -10,4 +10,4 @@ module Types
end end
end end
Types::TodoTargetEnum.prepend_mod_with('::EE::Types::TodoTargetEnum') Types::TodoTargetEnum.prepend_mod_with('Types::TodoTargetEnum')
...@@ -36,4 +36,4 @@ module Ci ...@@ -36,4 +36,4 @@ module Ci
end end
end end
Ci::JobsHelper.prepend_mod_with('::EE::Ci::JobsHelper') Ci::JobsHelper.prepend_mod_with('Ci::JobsHelper')
...@@ -117,4 +117,4 @@ module EnvironmentsHelper ...@@ -117,4 +117,4 @@ module EnvironmentsHelper
end end
end end
EnvironmentsHelper.prepend_mod_with('::EE::EnvironmentsHelper') EnvironmentsHelper.prepend_mod_with('EnvironmentsHelper')
...@@ -16,4 +16,4 @@ module FeatureFlagsHelper ...@@ -16,4 +16,4 @@ module FeatureFlagsHelper
end end
end end
FeatureFlagsHelper.prepend_mod_with('::EE::FeatureFlagsHelper') FeatureFlagsHelper.prepend_mod_with('FeatureFlagsHelper')
...@@ -131,4 +131,4 @@ module FormHelper ...@@ -131,4 +131,4 @@ module FormHelper
end end
end end
FormHelper.prepend_mod_with('::EE::FormHelper') FormHelper.prepend_mod_with('FormHelper')
...@@ -43,4 +43,4 @@ module IdeHelper ...@@ -43,4 +43,4 @@ module IdeHelper
end end
end end
::IdeHelper.prepend_mod_with('::EE::IdeHelper') ::IdeHelper.prepend_mod_with('IdeHelper')
...@@ -10,4 +10,4 @@ module Projects ...@@ -10,4 +10,4 @@ module Projects
end end
end end
::Projects::Security::ConfigurationHelper.prepend_mod_with('::EE::Projects::Security::ConfigurationHelper') ::Projects::Security::ConfigurationHelper.prepend_mod_with('Projects::Security::ConfigurationHelper')
...@@ -301,4 +301,4 @@ module SortingHelper ...@@ -301,4 +301,4 @@ module SortingHelper
end end
end end
SortingHelper.prepend_mod_with('::EE::SortingHelper') SortingHelper.prepend_mod_with('SortingHelper')
...@@ -328,4 +328,4 @@ module SortingTitlesValuesHelper ...@@ -328,4 +328,4 @@ module SortingTitlesValuesHelper
end end
end end
SortingHelper.include_mod_with('::EE::SortingTitlesValuesHelper') SortingHelper.include_mod_with('SortingTitlesValuesHelper')
...@@ -205,4 +205,4 @@ module TreeHelper ...@@ -205,4 +205,4 @@ module TreeHelper
end end
end end
TreeHelper.prepend_mod_with('::EE::TreeHelper') TreeHelper.prepend_mod_with('TreeHelper')
...@@ -62,4 +62,4 @@ module BulkImports ...@@ -62,4 +62,4 @@ module BulkImports
end end
end end
::BulkImports::Stage.prepend_mod_with('::EE::BulkImports::Stage') ::BulkImports::Stage.prepend_mod_with('BulkImports::Stage')
...@@ -248,4 +248,4 @@ module Ci ...@@ -248,4 +248,4 @@ module Ci
end end
end end
::Ci::Bridge.prepend_mod_with('::EE::Ci::Bridge') ::Ci::Bridge.prepend_mod_with('Ci::Bridge')
...@@ -292,4 +292,4 @@ class CommitStatus < ApplicationRecord ...@@ -292,4 +292,4 @@ class CommitStatus < ApplicationRecord
end end
end end
CommitStatus.prepend_mod_with('::EE::CommitStatus') CommitStatus.prepend_mod_with('CommitStatus')
...@@ -13,4 +13,4 @@ class Iteration < ApplicationRecord ...@@ -13,4 +13,4 @@ class Iteration < ApplicationRecord
end end
end end
Iteration.prepend_mod_with('::EE::Iteration') Iteration.prepend_mod_with('Iteration')
...@@ -49,4 +49,4 @@ class List < ApplicationRecord ...@@ -49,4 +49,4 @@ class List < ApplicationRecord
end end
end end
List.prepend_mod_with('::EE::List') List.prepend_mod_with('List')
...@@ -1954,4 +1954,4 @@ class MergeRequest < ApplicationRecord ...@@ -1954,4 +1954,4 @@ class MergeRequest < ApplicationRecord
end end
end end
MergeRequest.prepend_mod_with('::EE::MergeRequest') MergeRequest.prepend_mod_with('MergeRequest')
...@@ -7,7 +7,7 @@ class Milestone < ApplicationRecord ...@@ -7,7 +7,7 @@ class Milestone < ApplicationRecord
include FromUnion include FromUnion
include Importable include Importable
prepend_mod_with('::EE::Milestone') # rubocop: disable Cop/InjectEnterpriseEditionModule prepend_mod_with('Milestone') # rubocop: disable Cop/InjectEnterpriseEditionModule
class Predefined class Predefined
ALL = [::Timebox::None, ::Timebox::Any, ::Timebox::Started, ::Timebox::Upcoming].freeze ALL = [::Timebox::None, ::Timebox::Any, ::Timebox::Started, ::Timebox::Upcoming].freeze
......
...@@ -311,4 +311,4 @@ class PagesDomain < ApplicationRecord ...@@ -311,4 +311,4 @@ class PagesDomain < ApplicationRecord
end end
end end
PagesDomain.prepend_mod_with('::EE::PagesDomain') PagesDomain.prepend_mod_with('PagesDomain')
...@@ -31,4 +31,4 @@ class ProjectAuthorization < ApplicationRecord ...@@ -31,4 +31,4 @@ class ProjectAuthorization < ApplicationRecord
end end
end end
ProjectAuthorization.prepend_mod_with('::EE::ProjectAuthorization') ProjectAuthorization.prepend_mod_with('ProjectAuthorization')
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'carrierwave/orm/activerecord' require 'carrierwave/orm/activerecord'
class ProjectImportData < ApplicationRecord class ProjectImportData < ApplicationRecord
prepend_mod_with('::EE::ProjectImportData') # rubocop: disable Cop/InjectEnterpriseEditionModule prepend_mod_with('ProjectImportData') # rubocop: disable Cop/InjectEnterpriseEditionModule
belongs_to :project, inverse_of: :import_data belongs_to :project, inverse_of: :import_data
attr_encrypted :credentials, attr_encrypted :credentials,
......
...@@ -40,4 +40,4 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated ...@@ -40,4 +40,4 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated
end end
end end
CommitStatusPresenter.prepend_mod_with('::EE::CommitStatusPresenter') CommitStatusPresenter.prepend_mod_with('CommitStatusPresenter')
...@@ -155,4 +155,4 @@ class BuildDetailsEntity < JobEntity ...@@ -155,4 +155,4 @@ class BuildDetailsEntity < JobEntity
end end
end end
BuildDetailsEntity.prepend_mod_with('::EE::BuildDetailEntity') BuildDetailsEntity.prepend_mod_with('BuildDetailEntity')
...@@ -122,4 +122,4 @@ class EnvironmentEntity < Grape::Entity ...@@ -122,4 +122,4 @@ class EnvironmentEntity < Grape::Entity
end end
end end
EnvironmentEntity.prepend_mod_with('::EE::EnvironmentEntity') EnvironmentEntity.prepend_mod_with('EnvironmentEntity')
...@@ -77,4 +77,4 @@ class IssueEntity < IssuableEntity ...@@ -77,4 +77,4 @@ class IssueEntity < IssuableEntity
end end
end end
IssueEntity.prepend_mod_with('::EE::IssueEntity') IssueEntity.prepend_mod_with('IssueEntity')
...@@ -8,4 +8,4 @@ class ProjectMirrorEntity < Grape::Entity ...@@ -8,4 +8,4 @@ class ProjectMirrorEntity < Grape::Entity
end end
end end
ProjectMirrorEntity.prepend_mod_with('::EE::ProjectMirrorEntity') ProjectMirrorEntity.prepend_mod_with('ProjectMirrorEntity')
...@@ -66,4 +66,4 @@ module AlertManagement ...@@ -66,4 +66,4 @@ module AlertManagement
end end
end end
::AlertManagement::HttpIntegrations::CreateService.prepend_mod_with('::EE::AlertManagement::HttpIntegrations::CreateService') ::AlertManagement::HttpIntegrations::CreateService.prepend_mod_with('AlertManagement::HttpIntegrations::CreateService')
...@@ -56,4 +56,4 @@ module AlertManagement ...@@ -56,4 +56,4 @@ module AlertManagement
end end
end end
::AlertManagement::HttpIntegrations::UpdateService.prepend_mod_with('::EE::AlertManagement::HttpIntegrations::UpdateService') ::AlertManagement::HttpIntegrations::UpdateService.prepend_mod_with('AlertManagement::HttpIntegrations::UpdateService')
...@@ -8,4 +8,4 @@ module DeployKeys ...@@ -8,4 +8,4 @@ module DeployKeys
end end
end end
DeployKeys::CreateService.prepend_mod_with('::EE::DeployKeys::CreateService') DeployKeys::CreateService.prepend_mod_with('DeployKeys::CreateService')
...@@ -12,4 +12,4 @@ module Emails ...@@ -12,4 +12,4 @@ module Emails
end end
end end
Emails::BaseService.prepend_mod_with('::EE::Emails::BaseService') Emails::BaseService.prepend_mod_with('Emails::BaseService')
...@@ -226,4 +226,4 @@ module Git ...@@ -226,4 +226,4 @@ module Git
end end
end end
Git::BranchHooksService.prepend_mod_with('::EE::Git::BranchHooksService') Git::BranchHooksService.prepend_mod_with('Git::BranchHooksService')
...@@ -94,4 +94,4 @@ module Git ...@@ -94,4 +94,4 @@ module Git
end end
end end
Git::BranchPushService.prepend_mod_with('::EE::Git::BranchPushService') Git::BranchPushService.prepend_mod_with('Git::BranchPushService')
...@@ -35,4 +35,4 @@ module Git ...@@ -35,4 +35,4 @@ module Git
end end
end end
Git::TagHooksService.prepend_mod_with('::EE::Git::TagHooksService') Git::TagHooksService.prepend_mod_with('Git::TagHooksService')
...@@ -46,4 +46,4 @@ module Ide ...@@ -46,4 +46,4 @@ module Ide
end end
end end
Ide::SchemasConfigService.prepend_mod_with('::EE::Ide::SchemasConfigService') Ide::SchemasConfigService.prepend_mod_with('Ide::SchemasConfigService')
...@@ -42,4 +42,4 @@ module Integrations ...@@ -42,4 +42,4 @@ module Integrations
end end
end end
Integrations::Test::ProjectService.prepend_mod_with('::EE::Integrations::Test::ProjectService') Integrations::Test::ProjectService.prepend_mod_with('Integrations::Test::ProjectService')
...@@ -135,4 +135,4 @@ module Projects ...@@ -135,4 +135,4 @@ module Projects
end end
end end
Projects::Operations::UpdateService.prepend_mod_with('::EE::Projects::Operations::UpdateService') Projects::Operations::UpdateService.prepend_mod_with('Projects::Operations::UpdateService')
...@@ -12,4 +12,4 @@ module Search ...@@ -12,4 +12,4 @@ module Search
end end
end end
Search::SnippetService.prepend_mod_with('::EE::Search::SnippetService') Search::SnippetService.prepend_mod_with('Search::SnippetService')
...@@ -420,4 +420,4 @@ module SystemNotes ...@@ -420,4 +420,4 @@ module SystemNotes
end end
end end
SystemNotes::IssuablesService.prepend_mod_with('::EE::SystemNotes::IssuablesService') SystemNotes::IssuablesService.prepend_mod_with('SystemNotes::IssuablesService')
...@@ -508,4 +508,4 @@ module ObjectStorage ...@@ -508,4 +508,4 @@ module ObjectStorage
end end
end end
ObjectStorage::Concern.include_mod_with('::EE::ObjectStorage::Concern') ObjectStorage::Concern.include_mod_with('ObjectStorage::Concern')
...@@ -49,4 +49,4 @@ class IssuableExportCsvWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -49,4 +49,4 @@ class IssuableExportCsvWorker # rubocop:disable Scalability/IdempotentWorker
end end
end end
IssuableExportCsvWorker.prepend_mod_with('::EE::IssuableExportCsvWorker') IssuableExportCsvWorker.prepend_mod_with('IssuableExportCsvWorker')
...@@ -97,4 +97,4 @@ module RepositoryCheck ...@@ -97,4 +97,4 @@ module RepositoryCheck
end end
end end
RepositoryCheck::BatchWorker.prepend_mod_with('::EE::RepositoryCheck::BatchWorker') RepositoryCheck::BatchWorker.prepend_mod_with('RepositoryCheck::BatchWorker')
...@@ -69,4 +69,4 @@ module RepositoryCheck ...@@ -69,4 +69,4 @@ module RepositoryCheck
end end
end end
RepositoryCheck::SingleRepositoryWorker.prepend_mod_with('::EE::RepositoryCheck::SingleRepositoryWorker') RepositoryCheck::SingleRepositoryWorker.prepend_mod_with('RepositoryCheck::SingleRepositoryWorker')
...@@ -122,7 +122,7 @@ class User ...@@ -122,7 +122,7 @@ class User
#... #...
end end
User.prepend_mod_with('::EE::UserExtension') User.prepend_mod_with('UserExtension')
``` ```
Since the module would require an `EE` namespace, the file should also be Since the module would require an `EE` namespace, the file should also be
......
...@@ -73,4 +73,4 @@ module EE ...@@ -73,4 +73,4 @@ module EE
end end
end end
EE::MergeRequestPresenter.include_mod_with('::EE::ProjectsHelper') EE::MergeRequestPresenter.include_mod_with('ProjectsHelper')
...@@ -56,4 +56,4 @@ class Vulnerabilities::FindingEntity < Grape::Entity ...@@ -56,4 +56,4 @@ class Vulnerabilities::FindingEntity < Grape::Entity
end end
end end
Vulnerabilities::FindingEntity.include_mod_with('::EE::ProjectsHelper') Vulnerabilities::FindingEntity.include_mod_with('ProjectsHelper')
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
module API module API
module Helpers module Helpers
module ProjectSnapshotsHelpers module ProjectSnapshotsHelpers
prepend_mod_with('::EE::API::Helpers::ProjectSnapshotsHelpers') # rubocop: disable Cop/InjectEnterpriseEditionModule prepend_mod_with('API::Helpers::ProjectSnapshotsHelpers') # rubocop: disable Cop/InjectEnterpriseEditionModule
def authorize_read_git_snapshot! def authorize_read_git_snapshot!
authenticated_with_can_read_all_resources! authenticated_with_can_read_all_resources!
......
...@@ -13,4 +13,4 @@ module Banzai ...@@ -13,4 +13,4 @@ module Banzai
end end
end end
Banzai::ReferenceParser::EpicParser.prepend_mod_with('::EE::Banzai::ReferenceParser::EpicParser') Banzai::ReferenceParser::EpicParser.prepend_mod_with('Banzai::ReferenceParser::EpicParser')
...@@ -19,4 +19,4 @@ module Banzai ...@@ -19,4 +19,4 @@ module Banzai
end end
end end
Banzai::ReferenceParser::IterationParser.prepend_mod_with('::EE::Banzai::ReferenceParser::IterationParser') Banzai::ReferenceParser::IterationParser.prepend_mod_with('Banzai::ReferenceParser::IterationParser')
...@@ -13,4 +13,4 @@ module Banzai ...@@ -13,4 +13,4 @@ module Banzai
end end
end end
Banzai::ReferenceParser::VulnerabilityParser.prepend_mod_with('::EE::Banzai::ReferenceParser::VulnerabilityParser') Banzai::ReferenceParser::VulnerabilityParser.prepend_mod_with('Banzai::ReferenceParser::VulnerabilityParser')
...@@ -85,4 +85,4 @@ module Gitlab ...@@ -85,4 +85,4 @@ module Gitlab
end end
end end
Gitlab::Analytics::CycleAnalytics::StageEvents.prepend_mod_with('::EE::Gitlab::Analytics::CycleAnalytics::StageEvents') Gitlab::Analytics::CycleAnalytics::StageEvents.prepend_mod_with('Gitlab::Analytics::CycleAnalytics::StageEvents')
...@@ -321,4 +321,4 @@ module Gitlab ...@@ -321,4 +321,4 @@ module Gitlab
end end
end end
Gitlab::Auth::AuthFinders.prepend_mod_with('::EE::Gitlab::Auth::AuthFinders') Gitlab::Auth::AuthFinders.prepend_mod_with('Gitlab::Auth::AuthFinders')
...@@ -117,4 +117,4 @@ module Gitlab ...@@ -117,4 +117,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Ldap::Access.prepend_mod_with('::EE::Gitlab::Auth::Ldap::Access') Gitlab::Auth::Ldap::Access.prepend_mod_with('Gitlab::Auth::Ldap::Access')
...@@ -141,4 +141,4 @@ module Gitlab ...@@ -141,4 +141,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Ldap::Adapter.prepend_mod_with('::EE::Gitlab::Auth::Ldap::Adapter') Gitlab::Auth::Ldap::Adapter.prepend_mod_with('Gitlab::Auth::Ldap::Adapter')
...@@ -320,4 +320,4 @@ module Gitlab ...@@ -320,4 +320,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Ldap::Config.prepend_mod_with('::EE::Gitlab::Auth::Ldap::Config') Gitlab::Auth::Ldap::Config.prepend_mod_with('Gitlab::Auth::Ldap::Config')
...@@ -121,4 +121,4 @@ module Gitlab ...@@ -121,4 +121,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Ldap::Person.prepend_mod_with('::EE::Gitlab::Auth::Ldap::Person') Gitlab::Auth::Ldap::Person.prepend_mod_with('Gitlab::Auth::Ldap::Person')
...@@ -49,4 +49,4 @@ module Gitlab ...@@ -49,4 +49,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Ldap::User.prepend_mod_with('::EE::Gitlab::Auth::Ldap::User') Gitlab::Auth::Ldap::User.prepend_mod_with('Gitlab::Auth::Ldap::User')
...@@ -92,4 +92,4 @@ module Gitlab ...@@ -92,4 +92,4 @@ module Gitlab
end end
end end
Gitlab::Auth::OAuth::AuthHash.prepend_mod_with('::EE::Gitlab::Auth::OAuth::AuthHash') Gitlab::Auth::OAuth::AuthHash.prepend_mod_with('Gitlab::Auth::OAuth::AuthHash')
...@@ -294,4 +294,4 @@ module Gitlab ...@@ -294,4 +294,4 @@ module Gitlab
end end
end end
Gitlab::Auth::OAuth::User.prepend_mod_with('::EE::Gitlab::Auth::OAuth::User') Gitlab::Auth::OAuth::User.prepend_mod_with('Gitlab::Auth::OAuth::User')
...@@ -25,4 +25,4 @@ module Gitlab ...@@ -25,4 +25,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Result.prepend_mod_with('::EE::Gitlab::Auth::Result') Gitlab::Auth::Result.prepend_mod_with('Gitlab::Auth::Result')
...@@ -30,4 +30,4 @@ module Gitlab ...@@ -30,4 +30,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Saml::Config.prepend_mod_with('::EE::Gitlab::Auth::Saml::Config') Gitlab::Auth::Saml::Config.prepend_mod_with('Gitlab::Auth::Saml::Config')
...@@ -62,4 +62,4 @@ module Gitlab ...@@ -62,4 +62,4 @@ module Gitlab
end end
end end
Gitlab::Auth::Saml::User.prepend_mod_with('::EE::Gitlab::Auth::Saml::User') Gitlab::Auth::Saml::User.prepend_mod_with('Gitlab::Auth::Saml::User')
...@@ -15,4 +15,4 @@ module Gitlab ...@@ -15,4 +15,4 @@ module Gitlab
end end
end end
Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings.prepend_mod_with('::EE::Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings') Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings.prepend_mod_with('Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings')
...@@ -38,4 +38,4 @@ module Gitlab ...@@ -38,4 +38,4 @@ module Gitlab
end end
end end
Namespace.prepend_mod_with('::EE::Namespace') Namespace.prepend_mod_with('Namespace')
...@@ -200,4 +200,4 @@ module Gitlab ...@@ -200,4 +200,4 @@ module Gitlab
end end
end end
::Gitlab::Ci::Config::Entry::Job.prepend_mod_with('::EE::Gitlab::Ci::Config::Entry::Job') ::Gitlab::Ci::Config::Entry::Job.prepend_mod_with('Gitlab::Ci::Config::Entry::Job')
...@@ -118,4 +118,4 @@ module Gitlab ...@@ -118,4 +118,4 @@ module Gitlab
end end
end end
::Gitlab::Ci::Config::Entry::Need.prepend_mod_with('::EE::Gitlab::Ci::Config::Entry::Need') ::Gitlab::Ci::Config::Entry::Need.prepend_mod_with('Gitlab::Ci::Config::Entry::Need')
...@@ -56,4 +56,4 @@ module Gitlab ...@@ -56,4 +56,4 @@ module Gitlab
end end
end end
::Gitlab::Ci::Config::Entry::Needs.prepend_mod_with('::EE::Gitlab::Ci::Config::Entry::Needs') ::Gitlab::Ci::Config::Entry::Needs.prepend_mod_with('Gitlab::Ci::Config::Entry::Needs')
...@@ -123,4 +123,4 @@ module Gitlab ...@@ -123,4 +123,4 @@ module Gitlab
end end
end end
Gitlab::Ci::Jwt.prepend_mod_with('::EE::Gitlab::Ci::Jwt') Gitlab::Ci::Jwt.prepend_mod_with('Gitlab::Ci::Jwt')
...@@ -28,4 +28,4 @@ module Gitlab ...@@ -28,4 +28,4 @@ module Gitlab
end end
end end
Gitlab::Ci::Parsers.prepend_mod_with('::EE::Gitlab::Ci::Parsers') Gitlab::Ci::Parsers.prepend_mod_with('Gitlab::Ci::Parsers')
...@@ -69,4 +69,4 @@ module Gitlab ...@@ -69,4 +69,4 @@ module Gitlab
end end
end end
Gitlab::Ci::Status::Build::Failed.prepend_mod_with('::EE::Gitlab::Ci::Status::Build::Failed') Gitlab::Ci::Status::Build::Failed.prepend_mod_with('Gitlab::Ci::Status::Build::Failed')
...@@ -100,4 +100,4 @@ module Gitlab ...@@ -100,4 +100,4 @@ module Gitlab
end end
end end
Gitlab::Email::Handler::ReplyProcessing.prepend_mod_with('::EE::Gitlab::Email::Handler::ReplyProcessing') Gitlab::Email::Handler::ReplyProcessing.prepend_mod_with('Gitlab::Email::Handler::ReplyProcessing')
...@@ -40,4 +40,4 @@ module Gitlab ...@@ -40,4 +40,4 @@ module Gitlab
end end
end end
Gitlab::GithubImport::ParallelImporter.prepend_mod_with('::EE::Gitlab::GithubImport::ParallelImporter') Gitlab::GithubImport::ParallelImporter.prepend_mod_with('Gitlab::GithubImport::ParallelImporter')
...@@ -175,4 +175,4 @@ module Gitlab ...@@ -175,4 +175,4 @@ module Gitlab
end end
end end
Gitlab::ImportExport::Project::RelationFactory.prepend_mod_with('::EE::Gitlab::ImportExport::Project::RelationFactory') Gitlab::ImportExport::Project::RelationFactory.prepend_mod_with('Gitlab::ImportExport::Project::RelationFactory')
...@@ -123,4 +123,4 @@ module Gitlab ...@@ -123,4 +123,4 @@ module Gitlab
end end
end end
Gitlab::OmniauthInitializer.prepend_mod_with('::EE::Gitlab::OmniauthInitializer') Gitlab::OmniauthInitializer.prepend_mod_with('Gitlab::OmniauthInitializer')
...@@ -171,4 +171,4 @@ module Gitlab ...@@ -171,4 +171,4 @@ module Gitlab
end end
end end
end end
::Gitlab::RackAttack.prepend_mod_with('::EE::Gitlab::RackAttack') ::Gitlab::RackAttack.prepend_mod_with('Gitlab::RackAttack')
...@@ -133,4 +133,4 @@ module Gitlab ...@@ -133,4 +133,4 @@ module Gitlab
end end
end end
end end
::Gitlab::RackAttack::Request.prepend_mod_with('::EE::Gitlab::RackAttack::Request') ::Gitlab::RackAttack::Request.prepend_mod_with('Gitlab::RackAttack::Request')
...@@ -45,4 +45,4 @@ module Gitlab ...@@ -45,4 +45,4 @@ module Gitlab
end end
end end
Gitlab::SnippetSearchResults.prepend_mod_with('::EE::Gitlab::SnippetSearchResults') Gitlab::SnippetSearchResults.prepend_mod_with('Gitlab::SnippetSearchResults')
...@@ -59,4 +59,4 @@ module Gitlab ...@@ -59,4 +59,4 @@ module Gitlab
end end
end end
Gitlab::Template::GitlabCiYmlTemplate.prepend_mod_with('::EE::Gitlab::Template::GitlabCiYmlTemplate') Gitlab::Template::GitlabCiYmlTemplate.prepend_mod_with('Gitlab::Template::GitlabCiYmlTemplate')
...@@ -161,4 +161,4 @@ module Gitlab ...@@ -161,4 +161,4 @@ module Gitlab
end end
end end
Gitlab::TreeSummary.prepend_mod_with('::EE::Gitlab::TreeSummary') Gitlab::TreeSummary.prepend_mod_with('Gitlab::TreeSummary')
...@@ -612,5 +612,5 @@ end ...@@ -612,5 +612,5 @@ end
require_relative('../../../ee/spec/support/helpers/ee/test_env') if Gitlab.ee? require_relative('../../../ee/spec/support/helpers/ee/test_env') if Gitlab.ee?
::TestEnv.prepend_mod_with('::EE::TestEnv') ::TestEnv.prepend_mod_with('TestEnv')
::TestEnv.extend_mod_with('::EE::TestEnv') ::TestEnv.extend_mod_with('TestEnv')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment