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 dirty-rubocop script to work with latest rubocop
Christophe Bliardf71d8a76bde7
diff --git a/bin/dirty-rubocop b/bin/dirty-rubocopindex ab2d781420e..319c6e32077 100755--- a/bin/dirty-rubocop+++ b/bin/dirty-rubocop@@ -183,15 +183,15 @@ module RuboCopalias from_file_unpatched from_fileend- def self.from_file(path, ruby_version)+ def self.from_file(path, ruby_version, **)if DirtyCop.staged_changes_only?pathname = Pathname.new(path)git_root = Pathname.new(`git rev-parse --show-toplevel`.strip)git_relative_path = pathname.relative_path_from(git_root).to_ssource = `git show :#{git_relative_path}`- new(source, ruby_version, path)+ new(source, ruby_version, path, **)else- from_file_unpatched(path, ruby_version)+ from_file_unpatched(path, ruby_version, **)endendend