Skip to content

Commit cd765e3

Browse files
committed
Fix Job naming
1 parent 347467a commit cd765e3

11 files changed

Lines changed: 11 additions & 11 deletions

app/jobs/decidim/change_active_step_in_participatory_processes.rb renamed to app/jobs/decidim/change_active_step_in_participatory_processes_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Change active step in participatory processes
4-
class MetricsJob < CronJob
4+
class ChangeActiveStepInParticipatoryProcessesJob < CronJob
55
self.cron_expression = '*/15 * * * *'
66

77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Compute metrics
4-
class MetricsJob < CronJob
4+
class ComputeMetricsJob < CronJob
55
self.cron_expression = '1 0 * * *'
66

77
def perform
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Compute open data
44

55

6-
class MetricsJob < CronJob
6+
class ComputeOpenDataJob < CronJob
77
self.cron_expression = '2 0 * * *'
88

99
def perform

app/jobs/decidim/generate_reminders.rb renamed to app/jobs/decidim/generate_reminders_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Generate reminders
44

5-
class MetricsJob < CronJob
5+
class GenerateRemindersJob < CronJob
66
self.cron_expression = '4 0 * * *'
77

88
def perform

app/jobs/decidim/initiatives/move_unupdated_to_discarded.rb renamed to app/jobs/decidim/initiatives/move_unupdated_to_discarded_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Checks validating initiatives and moves all without changes for a configured time to discarded state
4-
class MetricsJob < CronJob
4+
class MoveUnupdatedToDiscardedJob < CronJob
55
self.cron_expression = '0 7 * * * '
66

77
def perform

app/jobs/decidim/initiatives/notify_progress.rb renamed to app/jobs/decidim/initiatives/notify_progress_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Notifies progress on published initiatives
4-
class MetricsJob < CronJob
4+
class NotifyProgressJob < CronJob
55
self.cron_expression = '0 8 * * *'
66

77
def perform

app/jobs/decidim/initiatives/update_accepted_rejected_state.rb renamed to app/jobs/decidim/initiatives/update_accepted_rejected_state_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Checks published initiatives and moves to accepted/rejected state depending on the votes collected when the signing period has finished
44

5-
class MetricsJob < CronJob
5+
class UpdateAcceptedRejectedStateJob < CronJob
66
self.cron_expression = '30 7 * * *'
77

88
def perform

app/jobs/decidim/meetings/delete_old_registration_forms.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Delete old registrations forms
4-
class MetricsJob < CronJob
4+
class DeleteOldRegistrationFormsJob < CronJob
55
self.cron_expression = '3 0 * * *'
66

77
def perform

app/jobs/decidim/remove_expired_download_your_data_files.rb renamed to app/jobs/decidim/remove_expired_download_your_data_files_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Remove expired download your data files
4-
class MetricsJob < CronJob
4+
class RemoveExpiredDownloadYourDataFilesJob < CronJob
55
self.cron_expression = '0 0 * * *'
66

77
def perform

app/jobs/decidim/send_notification_mail_digest_daily.rb renamed to app/jobs/decidim/send_notification_mail_digest_daily_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Send notification mail digest daily
4-
class MetricsJob < CronJob
4+
class SendNotificationMailDigestDailyJob < CronJob
55
self.cron_expression = '5 0 * * *'
66

77
def perform

0 commit comments

Comments
 (0)