FIX: Use top-level namespace for base classes (#33)
This commit is contained in:
parent
695d56a3dd
commit
154361e22c
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Jobs
|
||||
class DiscourseChatAddTypeField < Jobs::Onceoff
|
||||
class DiscourseChatAddTypeField < ::Jobs::Onceoff
|
||||
def execute_onceoff(args)
|
||||
DiscourseChat::Rule.find_each do |rule|
|
||||
rule.save(validate: false)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Jobs
|
||||
class DiscourseChatMigrateFromSlackOfficial < Jobs::Onceoff
|
||||
class DiscourseChatMigrateFromSlackOfficial < ::Jobs::Onceoff
|
||||
def execute_onceoff(args)
|
||||
slack_installed = PluginStoreRow.where(plugin_name: 'discourse-slack-official').exists?
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Jobs
|
||||
class NotifyChats < Jobs::Base
|
||||
class NotifyChats < ::Jobs::Base
|
||||
sidekiq_options retry: false
|
||||
|
||||
def execute(args)
|
||||
|
|
Loading…
Reference in New Issue