diff --git a/.rubocop.yml b/.rubocop.yml index ac9416c8b..0aaa5bfe6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -118,6 +118,9 @@ Rails/BulkChangeTable: - 'db/migrate/20120714122200_add_workflows_rule_fields.rb' - 'db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb' +Rails/EnvironmentVariableAccess: + Enabled: false + Rails/HelperInstanceVariable: Enabled: false diff --git a/Gemfile b/Gemfile index c7f19e26f..99ed8e331 100644 --- a/Gemfile +++ b/Gemfile @@ -94,7 +94,7 @@ group :test do # RuboCop gem 'rubocop', '~> 1.14.0' gem 'rubocop-performance', '~> 1.11.0' - gem 'rubocop-rails', '~> 2.9.0' + gem 'rubocop-rails', '~> 2.10.1' end local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")