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
add rupocop-rails and rubocop-rspec (#8998)
ulferts8ab0732bc425
diff --git a/.rubocop.yml b/.rubocop.ymlindex 234a463d3fb..e34784660d9 100644--- a/.rubocop.yml+++ b/.rubocop.yml@@ -1,9 +1,12 @@+require:+ - rubocop-rails+ - rubocop-rspec+AllCops:TargetRubyVersion: 2.7Exclude:- db/schema.rb-Layout/ConditionPosition:Enabled: falsediff --git a/Gemfile b/Gemfileindex be10b6597dc..493135d6f15 100644--- a/Gemfile+++ b/Gemfile@@ -250,6 +250,8 @@ group :development dogem 'spring-commands-rspec'gem 'rubocop'+ gem 'rubocop-rails'+ gem 'rubocop-rspec'# Gems for living styleguidegem 'livingstyleguide', '~> 2.1.0'diff --git a/Gemfile.lock b/Gemfile.lockindex f8d0b34aa1b..06599597fd1 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -799,6 +799,13 @@ GEMunicode-display_width (>= 1.4.0, < 3.0)rubocop-ast (1.4.1)parser (>= 2.7.1.5)+ rubocop-rails (2.9.1)+ activesupport (>= 4.2.0)+ rack (>= 1.1)+ rubocop (>= 0.90.0, < 2.0)+ rubocop-rspec (2.2.0)+ rubocop (~> 1.0)+ rubocop-ast (>= 1.1.0)ruby-duration (3.2.3)activesupport (>= 3.0.0)i18n@@ -1050,6 +1057,8 @@ DEPENDENCIESrspec-rails (~> 4.0.0)rspec-retry (~> 0.6.1)rubocop+ rubocop-rails+ rubocop-rspecruby-duration (~> 3.2.0)ruby-profruby-progressbar (~> 1.11.0)