# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.8.1.
+# using RuboCop version 1.9.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Exclude:
- 'app/models/attachment.rb'
+# Cop supports --auto-correct.
+# Configuration parameters: AllowedMethods.
+# AllowedMethods: nonzero?
+Style/IfWithBooleanLiteralBranches:
+ Exclude:
+ - 'app/controllers/workflows_controller.rb'
+ - 'app/helpers/application_helper.rb'
+ - 'app/models/enumeration.rb'
+ - 'app/models/query.rb'
+ - 'lib/redmine/field_format.rb'
+
# Cop supports --auto-correct.
# Configuration parameters: InverseMethods, InverseBlocks.
Style/InverseMethods:
gem 'capybara', '~> 3.31.0'
gem "selenium-webdriver"
# RuboCop
- gem 'rubocop', '~> 1.8.1'
+ gem 'rubocop', '~> 1.9.1'
gem 'rubocop-performance', '~> 1.9.0'
gem 'rubocop-rails', '~> 2.9.0'
end