diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-12 15:09:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-12 15:09:33 +0300 |
commit | 26e44c6225a19c3ec4e7d607f92b16d42b437c80 (patch) | |
tree | 03c97705ad836eb6a89df451c7f4216d6eb9779a /danger/plugins | |
parent | 3159925155a86dfd41000c1467576927c18c8f58 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger/plugins')
-rw-r--r-- | danger/plugins/changelog.rb | 2 | ||||
-rw-r--r-- | danger/plugins/project_helper.rb (renamed from danger/plugins/helper.rb) | 8 | ||||
-rw-r--r-- | danger/plugins/roulette.rb | 10 | ||||
-rw-r--r-- | danger/plugins/sidekiq_queues.rb | 2 |
4 files changed, 6 insertions, 16 deletions
diff --git a/danger/plugins/changelog.rb b/danger/plugins/changelog.rb index fd2dad5932a..02ff405c410 100644 --- a/danger/plugins/changelog.rb +++ b/danger/plugins/changelog.rb @@ -3,7 +3,7 @@ require_relative '../../tooling/danger/changelog' module Danger - class Changelog < Plugin + class Changelog < ::Danger::Plugin # Put the helper code somewhere it can be tested include Tooling::Danger::Changelog end diff --git a/danger/plugins/helper.rb b/danger/plugins/project_helper.rb index 8602868d817..07a9de0894a 100644 --- a/danger/plugins/helper.rb +++ b/danger/plugins/project_helper.rb @@ -1,12 +1,12 @@ # frozen_string_literal: true -require_relative '../../tooling/danger/helper' +require_relative '../../tooling/danger/project_helper' module Danger - # Common helper functions for our danger scripts. See Tooling::Danger::Helper + # Common helper functions for our danger scripts. See Tooling::Danger::ProjectHelper # for more details - class Helper < Plugin + class ProjectHelper < ::Danger::Plugin # Put the helper code somewhere it can be tested - include Tooling::Danger::Helper + include Tooling::Danger::ProjectHelper end end diff --git a/danger/plugins/roulette.rb b/danger/plugins/roulette.rb deleted file mode 100644 index 2aa0132852e..00000000000 --- a/danger/plugins/roulette.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -require_relative '../../tooling/danger/roulette' - -module Danger - class Roulette < Plugin - # Put the helper code somewhere it can be tested - include Tooling::Danger::Roulette - end -end diff --git a/danger/plugins/sidekiq_queues.rb b/danger/plugins/sidekiq_queues.rb index dd436e5cb2b..d8d55f04e99 100644 --- a/danger/plugins/sidekiq_queues.rb +++ b/danger/plugins/sidekiq_queues.rb @@ -3,7 +3,7 @@ require_relative '../../tooling/danger/sidekiq_queues' module Danger - class SidekiqQueues < Plugin + class SidekiqQueues < ::Danger::Plugin # Put the helper code somewhere it can be tested include Tooling::Danger::SidekiqQueues end |