OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
CI fixes
Yegor Tovstikbb4a7bdfb4b5
diff --git a/app/models/watcher_added_notification_mailer.rb b/app/models/watcher_added_notification_mailer.rbindex 43f97fcf9a4..84be563c410 100644--- a/app/models/watcher_added_notification_mailer.rb+++ b/app/models/watcher_added_notification_mailer.rb@@ -1,4 +1,5 @@#-- encoding: UTF-8+#-- copyright# OpenProject is a project management system.# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)@@ -32,8 +33,8 @@ class WatcherAddedNotificationMailer < WatcherNotificationMailerprivatedef perform_notification_job(watcher, watcher_changer)- DeliverWatcherAddedNotificationJob.- perform_later(watcher.id, watcher.user.id, watcher_changer.id)+ DeliverWatcherAddedNotificationJob+ .perform_later(watcher.id, watcher.user.id, watcher_changer.id)endendenddiff --git a/app/models/watcher_notification_mailer.rb b/app/models/watcher_notification_mailer.rbindex a45a9da6f54..bc99e6927b2 100644--- a/app/models/watcher_notification_mailer.rb+++ b/app/models/watcher_notification_mailer.rb@@ -1,4 +1,5 @@#-- encoding: UTF-8+#-- copyright# OpenProject is a project management system.# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)@@ -41,7 +42,7 @@ class WatcherNotificationMailerprivate- def perform_notification_job(watcher, watcher_changer)+ def perform_notification_job(_watcher, _watcher_changer)raise NotImplementedError, 'Subclass has to implement #notification_job'enddiff --git a/app/models/watcher_removed_notification_mailer.rb b/app/models/watcher_removed_notification_mailer.rbindex b6861a4437c..af1fcd11b14 100644--- a/app/models/watcher_removed_notification_mailer.rb+++ b/app/models/watcher_removed_notification_mailer.rb@@ -1,4 +1,5 @@#-- encoding: UTF-8+#-- copyright# OpenProject is a project management system.# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)@@ -33,8 +34,8 @@ class WatcherRemovedNotificationMailer < WatcherNotificationMailerdef perform_notification_job(watcher, watcher_changer)# As watcher is already destroyed we need to pass a hash- DeliverWatcherRemovedNotificationJob.- perform_later(watcher.attributes, watcher.user.id, watcher_changer.id)+ DeliverWatcherRemovedNotificationJob+ .perform_later(watcher.attributes, watcher.user.id, watcher_changer.id)endendenddiff --git a/app/workers/deliver_watcher_added_notification_job.rb b/app/workers/deliver_watcher_added_notification_job.rbindex e7534a63400..0c4c7a57a58 100644--- a/app/workers/deliver_watcher_added_notification_job.rb+++ b/app/workers/deliver_watcher_added_notification_job.rb@@ -1,4 +1,5 @@#-- encoding: UTF-8+#-- copyright# OpenProject is a project management system.# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)diff --git a/app/workers/deliver_watcher_notification_job.rb b/app/workers/deliver_watcher_notification_job.rbindex 5b62672903e..61aef640763 100644--- a/app/workers/deliver_watcher_notification_job.rb+++ b/app/workers/deliver_watcher_notification_job.rb@@ -1,4 +1,5 @@#-- encoding: UTF-8+#-- copyright# OpenProject is a project management system.# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)@@ -34,7 +35,7 @@ class DeliverWatcherNotificationJob < DeliverNotificationJobsuper(recipient_id, watcher_changer_id)end- def render_mail(recipient:, sender:)+ def render_mail(recipient:, sender:) # rubocop:disable UnusedMethodArgumentraise NotImplementedError, 'Subclass has to implement #render_mail'enddiff --git a/app/workers/deliver_watcher_removed_notification_job.rb b/app/workers/deliver_watcher_removed_notification_job.rbindex 37b61b2b36e..a12f1d4ee44 100644--- a/app/workers/deliver_watcher_removed_notification_job.rb+++ b/app/workers/deliver_watcher_removed_notification_job.rb@@ -1,4 +1,5 @@#-- encoding: UTF-8+#-- copyright# OpenProject is a project management system.# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)