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
Fix some rubocop linting errors
Christophe Bliardb41d7adea1ef
diff --git a/lib_static/plugins/acts_as_journalized/lib/journal_formatter.rb b/lib_static/plugins/acts_as_journalized/lib/journal_formatter.rbindex ab38c589045..b4135a99113 100644--- a/lib_static/plugins/acts_as_journalized/lib/journal_formatter.rb+++ b/lib_static/plugins/acts_as_journalized/lib/journal_formatter.rb@@ -110,7 +110,7 @@ module JournalFormatterreturn if formatter.nil?- formatter.render(key, values, options).html_safe+ formatter.render(key, values, options).html_safe # rubocop:disable Rails/OutputSafetyenddef formatter_instance(formatter_key)diff --git a/spec/lib/journal_formatter/active_status_spec.rb b/spec/lib/journal_formatter/active_status_spec.rbindex c280f1f5995..79dc8023ead 100644--- a/spec/lib/journal_formatter/active_status_spec.rb+++ b/spec/lib/journal_formatter/active_status_spec.rb@@ -26,7 +26,7 @@# See COPYRIGHT and LICENSE files for more details.#++-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')+require 'spec_helper'describe OpenProject::JournalFormatter::ActiveStatus dolet(:instance) { described_class.new(build(:journal)) }diff --git a/spec/lib/journal_formatter/attachment_spec.rb b/spec/lib/journal_formatter/attachment_spec.rbindex db35201394b..033b6b14ccf 100644--- a/spec/lib/journal_formatter/attachment_spec.rb+++ b/spec/lib/journal_formatter/attachment_spec.rb@@ -26,7 +26,7 @@# See COPYRIGHT and LICENSE files for more details.#++-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')+require 'spec_helper'describe OpenProject::JournalFormatter::Attachment doinclude ApplicationHelperdiff --git a/spec/lib/journal_formatter/diff_spec.rb b/spec/lib/journal_formatter/diff_spec.rbindex c48061017cb..5cda953f44d 100644--- a/spec/lib/journal_formatter/diff_spec.rb+++ b/spec/lib/journal_formatter/diff_spec.rb@@ -26,7 +26,7 @@# See COPYRIGHT and LICENSE files for more details.#++-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')+require 'spec_helper'describe OpenProject::JournalFormatter::Diff doinclude ActionView::Helpers::TagHelperdiff --git a/spec/lib/journal_formatter/schedule_manually_spec.rb b/spec/lib/journal_formatter/schedule_manually_spec.rbindex a4848a6b601..7531a642b41 100644--- a/spec/lib/journal_formatter/schedule_manually_spec.rb+++ b/spec/lib/journal_formatter/schedule_manually_spec.rb@@ -26,7 +26,7 @@# See COPYRIGHT and LICENSE files for more details.#++-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')+require 'spec_helper'describe OpenProject::JournalFormatter::ScheduleManually dolet(:klass) { described_class }diff --git a/spec/lib/journal_formatter/template_spec.rb b/spec/lib/journal_formatter/template_spec.rbindex 403bf718d70..cb2056c38e8 100644--- a/spec/lib/journal_formatter/template_spec.rb+++ b/spec/lib/journal_formatter/template_spec.rb@@ -26,7 +26,7 @@# See COPYRIGHT and LICENSE files for more details.#++-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')+require 'spec_helper'describe OpenProject::JournalFormatter::Template dolet(:instance) { described_class.new(build(:journal)) }